From 5059561607f9a47fbeeeeb803d3061876b801c1c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20Kr=C3=A4mer?= Date: Thu, 9 Oct 2025 02:17:38 +0200 Subject: [PATCH 01/21] Implemented Custom Exporters --- .../04/047e6c15d95d734924e5ab44a5bf16fa.cache | 762 ++ .../0d/0de27f94d6f300194d65f9f9b10f4d45.cache | 3938 +++++++++++ .../15/15475892ec2fe6e569a1f505255270d7.cache | 1272 ++++ .../19/196798dbec09747f48d80cfdca52472d.cache | 5278 ++++++++++++++ .../19/198de61574362eaedc78c9eae4c78ac3.cache | 813 +++ .../1b/1b5d2a0265f17399a1e7fccd66f984d9.cache | 2479 +++++++ .../20/20354a0f5515882fd2fd95c6dd153bbf.cache | 5041 ++++++++++++++ .../26/264c7c0fed41077dc1a80464cfc674b3.cache | 1686 +++++ .../2a/2af046cbb18ad9280bffb28b7072b164.cache | 1165 ++++ .../2e/2ec59b6747e6d8a65229481336ee3977.cache | 540 ++ .../2f/2fcde32ca958b21f6b2fc80ba238f0de.cache | 1000 +++ .../30/30b5d0cd6f7c4c612b704dc87ffa4b8b.cache | 654 ++ .../31/31bcaf288d8031eaa49efc922940cf36.cache | 1693 +++++ .../35/357653c8cf6b33b4448aadd9f6d43fef.cache | 1737 +++++ .../3f/3f391f1fde299423c2de6a261b97073f.cache | 5416 +++++++++++++++ .../46/465e8d6583b75d9445904e1a30209a1b.cache | 850 +++ .../4f/4f548467659a2d8b1b63950d505ee752.cache | 1878 +++++ .../5b/5b560a306921608ad02568abcf7b1284.cache | 540 ++ .../5b/5bd450eec023f6a341a0ce32a3d7f089.cache | 2362 +++++++ .../5c/5cf89effda08add59322ab2e2ca1fe25.cache | 1184 ++++ .../60/60256edd9d9172b2d39afc6b32cf5a00.cache | 3419 +++++++++ .../60/60f2f9aba13a1c361e78b7850bb2c8f8.cache | 4400 ++++++++++++ .../61/61ae7eaf2b7441f3ac1ec0a306c52300.cache | 2364 +++++++ .../61/61d189f2683227c3a63b990e2ec91afa.cache | 4108 +++++++++++ .../63/63ec13e4ee33795f3c36fcf4f678ccff.cache | 2609 +++++++ .../68/684957077098e05cc16556599d4c5582.cache | 442 ++ .../6d/6d574ec4d7bfe9eb4f74f3b861abe32f.cache | 1878 +++++ .../71/71ab65abe94b592e89564b3f041ef723.cache | 5120 ++++++++++++++ .../71/71c4ab0d2185d060cbcb0c9550191ffe.cache | 5446 +++++++++++++++ .../75/75a10d83af2391ec06cdd547875de3d8.cache | 4265 ++++++++++++ .../7f/7f617fc9b463b161bff8498a413e7b13.cache | 823 +++ .../82/828eaaf30f2dccec9484d143b57302ff.cache | 2617 +++++++ .../88/884ddbbf56530b7369bd1f608753ef9f.cache | 5764 +++++++++++++++ .../8a/8ac8f17016c111faee10a2099a1303eb.cache | 5109 ++++++++++++++ .../94/9461dfa3641f2f91486512ddb2e4f86b.cache | 4101 +++++++++++ .../96/964076a765aa13ec3431a60dd38c4fa2.cache | 1322 ++++ .../97/97aa92a1903454f3238d0c0bc9c3669b.cache | 950 +++ .../9f/9f79ee702d014eb40442a807e23a6d2d.cache | 442 ++ .../a1/a168ffba4ceb9e8f5c525b84a3ab779f.cache | 3469 +++++++++ .../a2/a280499ad110a86fd31ed7e3b54e1ef6.cache | 4407 ++++++++++++ .../a4/a48cd9157e0d22eecc24a5ba8f9f2bae.cache | 4439 ++++++++++++ .../a4/a4b50d6d91a0b9c1cb499741fa0b7bc3.cache | 4258 ++++++++++++ .../a4/a4e3d3db480a2fbe2536ea5058cf31d8.cache | 2019 ++++++ .../a6/a694bd32301ba8960fff46ce0067abbd.cache | 6151 ++++++++++++++++ .../a7/a73b4cc0abef322a14d9909b06eea860.cache | 4771 +++++++++++++ .../a7/a7f6e78cba22e5898f9bf9e3bc9a70ac.cache | 4154 +++++++++++ .../a8/a849208b283abdccc56926d1b948389a.cache | 3550 ++++++++++ .../ad/ad7d9af05f895adb8331b437106d2e00.cache | 386 + .../b5/b55bef25fe783a8a349d37aa777472a1.cache | 4835 +++++++++++++ .../b9/b9182645d874577019950161800ea61e.cache | 1421 ++++ .../be/be27960f2a5e3e43ad5515c673773827.cache | 2579 +++++++ .../c2/c2a184731f57bc4927d20d964e649c25.cache | 336 + .../c5/c51c33d880cf34e4ef2c6f15d11a5550.cache | 1603 +++++ .../c6/c698a0faf909cb3d5de18dc9a34d5886.cache | 2410 +++++++ .../c7/c7550b967df78bdea6d3f1b8f836c7c9.cache | 1379 ++++ .../c7/c7e7f6ca95bbd4b1618c2ff23df95c72.cache | 1689 +++++ .../cb/cb3b44df4ae490f35e8727bc6b05c092.cache | 658 ++ .../cd/cdf68c5a56114e41271670e6c89ecff2.cache | 4771 +++++++++++++ .../d2/d28d3a271a64ece0b8412a1d7f153085.cache | 3982 +++++++++++ .../d2/d2c539f9fdda4b190f3e90f8e31c3fa7.cache | 4269 ++++++++++++ .../d4/d4727a6d32efa0399b8fd3f536904e6e.cache | 3623 ++++++++++ .../d4/d4da30247444888cb54a5b51b0494352.cache | 2429 +++++++ .../db/dbad0c83acfa294de54e0bc687d08ec2.cache | 643 ++ .../e2/e2a49950dd07e0b975cbe0f75651167f.cache | 6187 +++++++++++++++++ .../e4/e42dae32fc5c6a37ae8340e84d857f29.cache | 4986 +++++++++++++ .../e5/e5110f94a95b2ec1e6bf8f45b80112ea.cache | 1038 +++ .../e9/e9f313b56e5bb74109bb7d07067c7b84.cache | 570 ++ .../ee/ee784ff4be30931a4281c15293ae9b60.cache | 2039 ++++++ .../f2/f216cd0f27a7f2ab16de7f23f175c13c.cache | 5789 +++++++++++++++ .../f2/f2e881ba1bfa52f09465fadc05130809.cache | 442 ++ .../f2/f2fc42afb7b0445f4cb4c070efb4d9e4.cache | 378 + .../f3/f39d176e14e300adf03e6ed5b029b843.cache | 1850 +++++ .../f5/f51d5eb63d52fe9ec7559800ffee29a1.cache | 332 + .../f5/f5d2d5e78dfa6ae4dc86216e6fc427fc.cache | 361 + .../f8/f807666f237cad663bd765d05880b44b.cache | 5787 +++++++++++++++ .../fa/fac54313fa8d01a49932cd8cbde772ce.cache | 773 ++ .../fb/fbe5346959e557af293feca9db32e058.cache | 1985 ++++++ .../fd/fd5898ab05f5118beab265780b4b110f.cache | 4131 +++++++++++ .../fe/feb65028938e641f74b73c5aa691ce83.cache | 5972 ++++++++++++++++ config.yml | 12 + .../Churn/Exporter/ChurnExporterFactory.php | 56 +- .../Exporter/CognitiveExporterFactory.php | 55 +- src/Business/Exporter/ExporterRegistry.php | 71 + src/Business/MetricsFacade.php | 11 +- src/Command/Handler/ChurnReportHandler.php | 4 +- .../Handler/CognitiveMetricsReportHandler.php | 7 +- src/Config/CognitiveConfig.php | 3 + src/Config/ConfigFactory.php | 3 +- src/Config/ConfigLoader.php | 33 + tests/Fixtures/config-exporter-config.yml | 20 + .../Fixtures/custom-churn-exporter-config.yml | 19 + .../custom-cognitive-exporter-config.yml | 20 + tests/Fixtures/custom-exporters-config.yml | 24 + .../invalid-custom-exporter-config.yml | 20 + .../ChurnExporterFactoryCustomTest.php | 212 + .../CognitiveExporterFactoryCustomTest.php | 337 + .../Exporter/ExporterRegistryTest.php | 161 + .../MetricsFacadeCustomExportersTest.php | 194 + .../Unit/Config/CustomExportersConfigTest.php | 310 + 99 files changed, 213878 insertions(+), 12 deletions(-) create mode 100644 .phpcca.cache/04/047e6c15d95d734924e5ab44a5bf16fa.cache create mode 100644 .phpcca.cache/0d/0de27f94d6f300194d65f9f9b10f4d45.cache create mode 100644 .phpcca.cache/15/15475892ec2fe6e569a1f505255270d7.cache create mode 100644 .phpcca.cache/19/196798dbec09747f48d80cfdca52472d.cache create mode 100644 .phpcca.cache/19/198de61574362eaedc78c9eae4c78ac3.cache create mode 100644 .phpcca.cache/1b/1b5d2a0265f17399a1e7fccd66f984d9.cache create mode 100644 .phpcca.cache/20/20354a0f5515882fd2fd95c6dd153bbf.cache create mode 100644 .phpcca.cache/26/264c7c0fed41077dc1a80464cfc674b3.cache create mode 100644 .phpcca.cache/2a/2af046cbb18ad9280bffb28b7072b164.cache create mode 100644 .phpcca.cache/2e/2ec59b6747e6d8a65229481336ee3977.cache create mode 100644 .phpcca.cache/2f/2fcde32ca958b21f6b2fc80ba238f0de.cache create mode 100644 .phpcca.cache/30/30b5d0cd6f7c4c612b704dc87ffa4b8b.cache create mode 100644 .phpcca.cache/31/31bcaf288d8031eaa49efc922940cf36.cache create mode 100644 .phpcca.cache/35/357653c8cf6b33b4448aadd9f6d43fef.cache create mode 100644 .phpcca.cache/3f/3f391f1fde299423c2de6a261b97073f.cache create mode 100644 .phpcca.cache/46/465e8d6583b75d9445904e1a30209a1b.cache create mode 100644 .phpcca.cache/4f/4f548467659a2d8b1b63950d505ee752.cache create mode 100644 .phpcca.cache/5b/5b560a306921608ad02568abcf7b1284.cache create mode 100644 .phpcca.cache/5b/5bd450eec023f6a341a0ce32a3d7f089.cache create mode 100644 .phpcca.cache/5c/5cf89effda08add59322ab2e2ca1fe25.cache create mode 100644 .phpcca.cache/60/60256edd9d9172b2d39afc6b32cf5a00.cache create mode 100644 .phpcca.cache/60/60f2f9aba13a1c361e78b7850bb2c8f8.cache create mode 100644 .phpcca.cache/61/61ae7eaf2b7441f3ac1ec0a306c52300.cache create mode 100644 .phpcca.cache/61/61d189f2683227c3a63b990e2ec91afa.cache create mode 100644 .phpcca.cache/63/63ec13e4ee33795f3c36fcf4f678ccff.cache create mode 100644 .phpcca.cache/68/684957077098e05cc16556599d4c5582.cache create mode 100644 .phpcca.cache/6d/6d574ec4d7bfe9eb4f74f3b861abe32f.cache create mode 100644 .phpcca.cache/71/71ab65abe94b592e89564b3f041ef723.cache create mode 100644 .phpcca.cache/71/71c4ab0d2185d060cbcb0c9550191ffe.cache create mode 100644 .phpcca.cache/75/75a10d83af2391ec06cdd547875de3d8.cache create mode 100644 .phpcca.cache/7f/7f617fc9b463b161bff8498a413e7b13.cache create mode 100644 .phpcca.cache/82/828eaaf30f2dccec9484d143b57302ff.cache create mode 100644 .phpcca.cache/88/884ddbbf56530b7369bd1f608753ef9f.cache create mode 100644 .phpcca.cache/8a/8ac8f17016c111faee10a2099a1303eb.cache create mode 100644 .phpcca.cache/94/9461dfa3641f2f91486512ddb2e4f86b.cache create mode 100644 .phpcca.cache/96/964076a765aa13ec3431a60dd38c4fa2.cache create mode 100644 .phpcca.cache/97/97aa92a1903454f3238d0c0bc9c3669b.cache create mode 100644 .phpcca.cache/9f/9f79ee702d014eb40442a807e23a6d2d.cache create mode 100644 .phpcca.cache/a1/a168ffba4ceb9e8f5c525b84a3ab779f.cache create mode 100644 .phpcca.cache/a2/a280499ad110a86fd31ed7e3b54e1ef6.cache create mode 100644 .phpcca.cache/a4/a48cd9157e0d22eecc24a5ba8f9f2bae.cache create mode 100644 .phpcca.cache/a4/a4b50d6d91a0b9c1cb499741fa0b7bc3.cache create mode 100644 .phpcca.cache/a4/a4e3d3db480a2fbe2536ea5058cf31d8.cache create mode 100644 .phpcca.cache/a6/a694bd32301ba8960fff46ce0067abbd.cache create mode 100644 .phpcca.cache/a7/a73b4cc0abef322a14d9909b06eea860.cache create mode 100644 .phpcca.cache/a7/a7f6e78cba22e5898f9bf9e3bc9a70ac.cache create mode 100644 .phpcca.cache/a8/a849208b283abdccc56926d1b948389a.cache create mode 100644 .phpcca.cache/ad/ad7d9af05f895adb8331b437106d2e00.cache create mode 100644 .phpcca.cache/b5/b55bef25fe783a8a349d37aa777472a1.cache create mode 100644 .phpcca.cache/b9/b9182645d874577019950161800ea61e.cache create mode 100644 .phpcca.cache/be/be27960f2a5e3e43ad5515c673773827.cache create mode 100644 .phpcca.cache/c2/c2a184731f57bc4927d20d964e649c25.cache create mode 100644 .phpcca.cache/c5/c51c33d880cf34e4ef2c6f15d11a5550.cache create mode 100644 .phpcca.cache/c6/c698a0faf909cb3d5de18dc9a34d5886.cache create mode 100644 .phpcca.cache/c7/c7550b967df78bdea6d3f1b8f836c7c9.cache create mode 100644 .phpcca.cache/c7/c7e7f6ca95bbd4b1618c2ff23df95c72.cache create mode 100644 .phpcca.cache/cb/cb3b44df4ae490f35e8727bc6b05c092.cache create mode 100644 .phpcca.cache/cd/cdf68c5a56114e41271670e6c89ecff2.cache create mode 100644 .phpcca.cache/d2/d28d3a271a64ece0b8412a1d7f153085.cache create mode 100644 .phpcca.cache/d2/d2c539f9fdda4b190f3e90f8e31c3fa7.cache create mode 100644 .phpcca.cache/d4/d4727a6d32efa0399b8fd3f536904e6e.cache create mode 100644 .phpcca.cache/d4/d4da30247444888cb54a5b51b0494352.cache create mode 100644 .phpcca.cache/db/dbad0c83acfa294de54e0bc687d08ec2.cache create mode 100644 .phpcca.cache/e2/e2a49950dd07e0b975cbe0f75651167f.cache create mode 100644 .phpcca.cache/e4/e42dae32fc5c6a37ae8340e84d857f29.cache create mode 100644 .phpcca.cache/e5/e5110f94a95b2ec1e6bf8f45b80112ea.cache create mode 100644 .phpcca.cache/e9/e9f313b56e5bb74109bb7d07067c7b84.cache create mode 100644 .phpcca.cache/ee/ee784ff4be30931a4281c15293ae9b60.cache create mode 100644 .phpcca.cache/f2/f216cd0f27a7f2ab16de7f23f175c13c.cache create mode 100644 .phpcca.cache/f2/f2e881ba1bfa52f09465fadc05130809.cache create mode 100644 .phpcca.cache/f2/f2fc42afb7b0445f4cb4c070efb4d9e4.cache create mode 100644 .phpcca.cache/f3/f39d176e14e300adf03e6ed5b029b843.cache create mode 100644 .phpcca.cache/f5/f51d5eb63d52fe9ec7559800ffee29a1.cache create mode 100644 .phpcca.cache/f5/f5d2d5e78dfa6ae4dc86216e6fc427fc.cache create mode 100644 .phpcca.cache/f8/f807666f237cad663bd765d05880b44b.cache create mode 100644 .phpcca.cache/fa/fac54313fa8d01a49932cd8cbde772ce.cache create mode 100644 .phpcca.cache/fb/fbe5346959e557af293feca9db32e058.cache create mode 100644 .phpcca.cache/fd/fd5898ab05f5118beab265780b4b110f.cache create mode 100644 .phpcca.cache/fe/feb65028938e641f74b73c5aa691ce83.cache create mode 100644 src/Business/Exporter/ExporterRegistry.php create mode 100644 tests/Fixtures/config-exporter-config.yml create mode 100644 tests/Fixtures/custom-churn-exporter-config.yml create mode 100644 tests/Fixtures/custom-cognitive-exporter-config.yml create mode 100644 tests/Fixtures/custom-exporters-config.yml create mode 100644 tests/Fixtures/invalid-custom-exporter-config.yml create mode 100644 tests/Unit/Business/Churn/Exporter/ChurnExporterFactoryCustomTest.php create mode 100644 tests/Unit/Business/Cognitive/Exporter/CognitiveExporterFactoryCustomTest.php create mode 100644 tests/Unit/Business/Exporter/ExporterRegistryTest.php create mode 100644 tests/Unit/Business/MetricsFacadeCustomExportersTest.php create mode 100644 tests/Unit/Config/CustomExportersConfigTest.php diff --git a/.phpcca.cache/04/047e6c15d95d734924e5ab44a5bf16fa.cache b/.phpcca.cache/04/047e6c15d95d734924e5ab44a5bf16fa.cache new file mode 100644 index 0000000..2f82d29 --- /dev/null +++ b/.phpcca.cache/04/047e6c15d95d734924e5ab44a5bf16fa.cache @@ -0,0 +1,762 @@ +{ + "version": "1.0", + "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/Business\/Churn\/Exporter\/HtmlExporter.php", + "file_mtime": 1759784766, + "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", + "analysis_result": { + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct": { + "line": 60, + "lineCount": 5, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 1, + "N1": 2, + "N2": 2, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 2, + "effort": 12.679700005769249, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices": { + "line": 66, + "lineCount": 95, + "argCount": 0, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 5, + "N1": 58, + "N2": 32, + "programLength": 90, + "programVocabulary": 9, + "volume": 285.2932501298081, + "difficulty": 12.8, + "effort": 3651.7536016615436, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap": { + "line": 162, + "lineCount": 10, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 7, + "N2": 7, + "programLength": 14, + "programVocabulary": 2, + "volume": 14, + "difficulty": 3.5, + "effort": 49, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors": { + "line": 173, + "lineCount": 12, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 3, + "N2": 1, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0.5, + "effort": 2, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus": { + "line": 186, + "lineCount": 19, + "argCount": 0, + "returnCount": 0, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 9, + "N2": 13, + "programLength": 22, + "programVocabulary": 7, + "volume": 61.76180828526729, + "difficulty": 2.6, + "effort": 160.58070154169496, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService": { + "line": 206, + "lineCount": 9, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 3, + "N2": 1, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0.5, + "effort": 2, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade": { + "line": 216, + "lineCount": 13, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 3, + "N2": 1, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0.5, + "effort": 2, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands": { + "line": 230, + "lineCount": 21, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 6, + "N2": 2, + "programLength": 8, + "programVocabulary": 2, + "volume": 8, + "difficulty": 1, + "effort": 8, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication": { + "line": 252, + "lineCount": 11, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 5, + "N2": 4, + "programLength": 9, + "programVocabulary": 4, + "volume": 18, + "difficulty": 0.6666666666666666, + "effort": 12, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run": { + "line": 264, + "lineCount": 9, + "argCount": 0, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 5, + "N2": 5, + "programLength": 10, + "programVocabulary": 4, + "volume": 20, + "difficulty": 2.5, + "effort": 50, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get": { + "line": 274, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer": { + "line": 279, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator": { + "line": 289, + "lineCount": 16, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 7, + "programLength": 8, + "programVocabulary": 4, + "volume": 16, + "difficulty": 1.1666666666666667, + "effort": 18.666666666666668, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create": { + "line": 18, + "lineCount": 7, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 4, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile": { + "line": 17, + "lineCount": 17, + "argCount": 2, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 8, + "N1": 11, + "N2": 19, + "programLength": 30, + "programVocabulary": 11, + "volume": 103.78294855911892, + "difficulty": 3.5625, + "effort": 369.72675424186116, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode": { + "line": 42, + "lineCount": 8, + "argCount": 3, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 3, + "N2": 8, + "programLength": 11, + "programVocabulary": 8, + "volume": 33, + "difficulty": 2.4000000000000004, + "effort": 79.20000000000002, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate": { + "line": 22, + "lineCount": 10, + "argCount": 2, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 6, + "N2": 13, + "programLength": 19, + "programVocabulary": 6, + "volume": 49.11428751370197, + "difficulty": 3.25, + "effort": 159.6214344195314, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending": { + "line": 37, + "lineCount": 8, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 2, + "N2": 9, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 2.25, + "effort": 63.97782189284862, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn": { + "line": 51, + "lineCount": 24, + "argCount": 2, + "returnCount": 1, + "variableCount": 6, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 15, + "N1": 17, + "N2": 46, + "programLength": 63, + "programVocabulary": 20, + "volume": 272.28146997790384, + "difficulty": 7.666666666666667, + "effort": 2087.491269830596, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses": { + "line": 81, + "lineCount": 20, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 2, + "n2": 7, + "N1": 10, + "N2": 24, + "programLength": 34, + "programVocabulary": 9, + "volume": 107.7774500490386, + "difficulty": 3.4285714285714284, + "effort": 369.52268588241805, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass": { + "line": 109, + "lineCount": 9, + "argCount": 2, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 6, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 10, + "volume": 49.82892142331043, + "difficulty": 3.3333333333333335, + "effort": 166.09640474436813, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel": { + "line": 126, + "lineCount": 16, + "argCount": 2, + "returnCount": 4, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 12, + "N1": 9, + "N2": 18, + "programLength": 27, + "programVocabulary": 15, + "volume": 105.48604608143, + "difficulty": 2.25, + "effort": 237.3436036832175, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile": { + "line": 14, + "lineCount": 6, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 2, + "N2": 5, + "programLength": 7, + "programVocabulary": 4, + "volume": 14, + "difficulty": 2.5, + "effort": 35, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable": { + "line": 24, + "lineCount": 11, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 10, + "N2": 12, + "programLength": 22, + "programVocabulary": 8, + "volume": 66, + "difficulty": 6, + "effort": 396, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create": { + "line": 21, + "lineCount": 11, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 7, + "N1": 0, + "N2": 9, + "programLength": 9, + "programVocabulary": 7, + "volume": 25.26619429851844, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes": { + "line": 38, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 6, + "N1": 0, + "N2": 6, + "programLength": 6, + "programVocabulary": 6, + "volume": 15.509775004326936, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported": { + "line": 49, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 2, + "N2": 3, + "programLength": 5, + "programVocabulary": 4, + "volume": 10, + "difficulty": 1.5, + "effort": 15, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export": { + "line": 30, + "lineCount": 23, + "argCount": 2, + "returnCount": 0, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 16, + "N1": 10, + "N2": 33, + "programLength": 43, + "programVocabulary": 20, + "volume": 185.8429080801566, + "difficulty": 4.125, + "effort": 766.601995830646, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export": { + "line": 28, + "lineCount": 8, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 6, + "volume": 36.18947501009619, + "difficulty": 2.5, + "effort": 90.47368752524048, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape": { + "line": 37, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber": { + "line": 42, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml": { + "line": 52, + "lineCount": 50, + "argCount": 1, + "returnCount": 1, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "cyclomatic_complexity": { + "complexity": 4, + "risk_level": "low" + }, + "halstead": { + "n1": 5, + "n2": 12, + "N1": 11, + "N2": 25, + "programLength": 36, + "programVocabulary": 17, + "volume": 147.14866228501222, + "difficulty": 5.208333333333334, + "effort": 766.3992827344388, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml" + } + } + }, + "ignored_items": [], + "cached_at": 1759967600 +} \ No newline at end of file diff --git a/.phpcca.cache/0d/0de27f94d6f300194d65f9f9b10f4d45.cache b/.phpcca.cache/0d/0de27f94d6f300194d65f9f9b10f4d45.cache new file mode 100644 index 0000000..62ee347 --- /dev/null +++ b/.phpcca.cache/0d/0de27f94d6f300194d65f9f9b10f4d45.cache @@ -0,0 +1,3938 @@ +{ + "version": "1.0", + "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/Business\/Cognitive\/CognitiveMetricsCollector.php", + "file_mtime": 1759964701, + "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", + "analysis_result": { + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct": { + "line": 60, + "lineCount": 5, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 1, + "N1": 2, + "N2": 2, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 2, + "effort": 12.679700005769249, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices": { + "line": 66, + "lineCount": 95, + "argCount": 0, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 5, + "N1": 58, + "N2": 32, + "programLength": 90, + "programVocabulary": 9, + "volume": 285.2932501298081, + "difficulty": 12.8, + "effort": 3651.7536016615436, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap": { + "line": 162, + "lineCount": 10, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 7, + "N2": 7, + "programLength": 14, + "programVocabulary": 2, + "volume": 14, + "difficulty": 3.5, + "effort": 49, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors": { + "line": 173, + "lineCount": 12, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 3, + "N2": 1, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0.5, + "effort": 2, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus": { + "line": 186, + "lineCount": 19, + "argCount": 0, + "returnCount": 0, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 9, + "N2": 13, + "programLength": 22, + "programVocabulary": 7, + "volume": 61.76180828526729, + "difficulty": 2.6, + "effort": 160.58070154169496, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService": { + "line": 206, + "lineCount": 9, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 3, + "N2": 1, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0.5, + "effort": 2, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade": { + "line": 216, + "lineCount": 13, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 3, + "N2": 1, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0.5, + "effort": 2, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands": { + "line": 230, + "lineCount": 21, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 6, + "N2": 2, + "programLength": 8, + "programVocabulary": 2, + "volume": 8, + "difficulty": 1, + "effort": 8, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication": { + "line": 252, + "lineCount": 11, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 5, + "N2": 4, + "programLength": 9, + "programVocabulary": 4, + "volume": 18, + "difficulty": 0.6666666666666666, + "effort": 12, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run": { + "line": 264, + "lineCount": 9, + "argCount": 0, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 5, + "N2": 5, + "programLength": 10, + "programVocabulary": 4, + "volume": 20, + "difficulty": 2.5, + "effort": 50, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get": { + "line": 274, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer": { + "line": 279, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator": { + "line": 289, + "lineCount": 16, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 7, + "programLength": 8, + "programVocabulary": 4, + "volume": 16, + "difficulty": 1.1666666666666667, + "effort": 18.666666666666668, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create": { + "line": 18, + "lineCount": 7, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 4, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile": { + "line": 17, + "lineCount": 17, + "argCount": 2, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 8, + "N1": 11, + "N2": 19, + "programLength": 30, + "programVocabulary": 11, + "volume": 103.78294855911892, + "difficulty": 3.5625, + "effort": 369.72675424186116, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode": { + "line": 42, + "lineCount": 8, + "argCount": 3, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 3, + "N2": 8, + "programLength": 11, + "programVocabulary": 8, + "volume": 33, + "difficulty": 2.4000000000000004, + "effort": 79.20000000000002, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate": { + "line": 22, + "lineCount": 10, + "argCount": 2, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 6, + "N2": 13, + "programLength": 19, + "programVocabulary": 6, + "volume": 49.11428751370197, + "difficulty": 3.25, + "effort": 159.6214344195314, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending": { + "line": 37, + "lineCount": 8, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 2, + "N2": 9, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 2.25, + "effort": 63.97782189284862, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn": { + "line": 51, + "lineCount": 24, + "argCount": 2, + "returnCount": 1, + "variableCount": 6, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 15, + "N1": 17, + "N2": 46, + "programLength": 63, + "programVocabulary": 20, + "volume": 272.28146997790384, + "difficulty": 7.666666666666667, + "effort": 2087.491269830596, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses": { + "line": 81, + "lineCount": 20, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 2, + "n2": 7, + "N1": 10, + "N2": 24, + "programLength": 34, + "programVocabulary": 9, + "volume": 107.7774500490386, + "difficulty": 3.4285714285714284, + "effort": 369.52268588241805, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass": { + "line": 109, + "lineCount": 9, + "argCount": 2, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 6, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 10, + "volume": 49.82892142331043, + "difficulty": 3.3333333333333335, + "effort": 166.09640474436813, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel": { + "line": 126, + "lineCount": 16, + "argCount": 2, + "returnCount": 4, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 12, + "N1": 9, + "N2": 18, + "programLength": 27, + "programVocabulary": 15, + "volume": 105.48604608143, + "difficulty": 2.25, + "effort": 237.3436036832175, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile": { + "line": 14, + "lineCount": 6, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 2, + "N2": 5, + "programLength": 7, + "programVocabulary": 4, + "volume": 14, + "difficulty": 2.5, + "effort": 35, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable": { + "line": 24, + "lineCount": 11, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 10, + "N2": 12, + "programLength": 22, + "programVocabulary": 8, + "volume": 66, + "difficulty": 6, + "effort": 396, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create": { + "line": 21, + "lineCount": 11, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 7, + "N1": 0, + "N2": 9, + "programLength": 9, + "programVocabulary": 7, + "volume": 25.26619429851844, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes": { + "line": 38, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 6, + "N1": 0, + "N2": 6, + "programLength": 6, + "programVocabulary": 6, + "volume": 15.509775004326936, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported": { + "line": 49, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 2, + "N2": 3, + "programLength": 5, + "programVocabulary": 4, + "volume": 10, + "difficulty": 1.5, + "effort": 15, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export": { + "line": 30, + "lineCount": 23, + "argCount": 2, + "returnCount": 0, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 16, + "N1": 10, + "N2": 33, + "programLength": 43, + "programVocabulary": 20, + "volume": 185.8429080801566, + "difficulty": 4.125, + "effort": 766.601995830646, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export": { + "line": 28, + "lineCount": 8, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 6, + "volume": 36.18947501009619, + "difficulty": 2.5, + "effort": 90.47368752524048, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape": { + "line": 37, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber": { + "line": 42, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml": { + "line": 52, + "lineCount": 50, + "argCount": 1, + "returnCount": 1, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 12, + "N1": 11, + "N2": 25, + "programLength": 36, + "programVocabulary": 17, + "volume": 147.14866228501222, + "difficulty": 5.208333333333334, + "effort": 766.3992827344388, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export": { + "line": 17, + "lineCount": 13, + "argCount": 2, + "returnCount": 0, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 8, + "N1": 7, + "N2": 14, + "programLength": 21, + "programVocabulary": 12, + "volume": 75.28421251514428, + "difficulty": 3.5, + "effort": 263.49474380300495, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export": { + "line": 48, + "lineCount": 8, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 6, + "volume": 36.18947501009619, + "difficulty": 2.5, + "effort": 90.47368752524048, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown": { + "line": 61, + "lineCount": 24, + "argCount": 1, + "returnCount": 1, + "variableCount": 6, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 6, + "n2": 16, + "N1": 19, + "N2": 41, + "programLength": 60, + "programVocabulary": 22, + "volume": 267.56589711823784, + "difficulty": 7.6875, + "effort": 2056.9128340964535, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow": { + "line": 94, + "lineCount": 21, + "argCount": 3, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 7, + "n2": 18, + "N1": 16, + "N2": 39, + "programLength": 55, + "programVocabulary": 25, + "volume": 255.41209043760983, + "difficulty": 7.583333333333333, + "effort": 1936.8750191518745, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::__construct": { + "line": 26, + "lineCount": 4, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::export": { + "line": 36, + "lineCount": 10, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 8, + "volume": 45, + "difficulty": 5, + "effort": 225, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::generateSvgTreemap": { + "line": 53, + "lineCount": 20, + "argCount": 1, + "returnCount": 1, + "variableCount": 6, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 8, + "N1": 9, + "N2": 20, + "programLength": 29, + "programVocabulary": 10, + "volume": 96.3359147517335, + "difficulty": 2.5, + "effort": 240.83978687933376, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::generateSvgTreemap" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRects": { + "line": 82, + "lineCount": 10, + "argCount": 3, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 9, + "N1": 6, + "N2": 18, + "programLength": 24, + "programVocabulary": 12, + "volume": 86.03910001730775, + "difficulty": 3, + "effort": 258.1173000519232, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRects" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRect": { + "line": 100, + "lineCount": 29, + "argCount": 2, + "returnCount": 1, + "variableCount": 12, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 6, + "n2": 28, + "N1": 26, + "N2": 54, + "programLength": 80, + "programVocabulary": 34, + "volume": 406.9970273000271, + "difficulty": 5.785714285714286, + "effort": 2354.7685150930142, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRect" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::wrapSvg": { + "line": 136, + "lineCount": 21, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 2, + "N2": 8, + "programLength": 10, + "programVocabulary": 4, + "volume": 20, + "difficulty": 1.3333333333333333, + "effort": 26.666666666666664, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::wrapSvg" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::prepareItems": { + "line": 28, + "lineCount": 18, + "argCount": 1, + "returnCount": 1, + "variableCount": 7, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 12, + "N1": 9, + "N2": 30, + "programLength": 39, + "programVocabulary": 17, + "volume": 159.41105080876324, + "difficulty": 6.25, + "effort": 996.3190675547702, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::prepareItems" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findScoreRange": { + "line": 53, + "lineCount": 16, + "argCount": 1, + "returnCount": 3, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 7, + "N2": 13, + "programLength": 20, + "programVocabulary": 8, + "volume": 60, + "difficulty": 3.9000000000000004, + "effort": 234.00000000000003, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findScoreRange" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::normalizeScore": { + "line": 78, + "lineCount": 8, + "argCount": 3, + "returnCount": 2, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 8, + "volume": 45, + "difficulty": 5, + "effort": 225, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::normalizeScore" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::scoreToColor": { + "line": 93, + "lineCount": 9, + "argCount": 1, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 5, + "n2": 9, + "N1": 12, + "N2": 16, + "programLength": 28, + "programVocabulary": 14, + "volume": 106.60593781761291, + "difficulty": 4.444444444444445, + "effort": 473.80416807827964, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::scoreToColor" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::calculateTreemapLayout": { + "line": 115, + "lineCount": 23, + "argCount": 7, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 9, + "N1": 2, + "N2": 18, + "programLength": 20, + "programVocabulary": 11, + "volume": 69.18863237274594, + "difficulty": 2, + "effort": 138.37726474549189, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::calculateTreemapLayout" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::layoutTreemap": { + "line": 152, + "lineCount": 89, + "argCount": 8, + "returnCount": 3, + "variableCount": 11, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 8, + "n2": 28, + "N1": 32, + "N2": 98, + "programLength": 130, + "programVocabulary": 36, + "volume": 672.0902501875006, + "difficulty": 14, + "effort": 9409.263502625008, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::layoutTreemap" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findSplitIndex": { + "line": 249, + "lineCount": 13, + "argCount": 2, + "returnCount": 2, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 7, + "n2": 10, + "N1": 9, + "N2": 23, + "programLength": 32, + "programVocabulary": 17, + "volume": 130.79881092001085, + "difficulty": 8.049999999999999, + "effort": 1052.9304279060873, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findSplitIndex" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::__construct": { + "line": 23, + "lineCount": 18, + "argCount": 1, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 7, + "N2": 11, + "programLength": 18, + "programVocabulary": 6, + "volume": 46.529325012980806, + "difficulty": 5.5, + "effort": 255.91128757139444, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::getAllClasses": { + "line": 47, + "lineCount": 17, + "argCount": 0, + "returnCount": 2, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 6, + "N2": 12, + "programLength": 18, + "programVocabulary": 9, + "volume": 57.05865002596162, + "difficulty": 3, + "effort": 171.17595007788486, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::getAllClasses" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::withClassNode": { + "line": 73, + "lineCount": 8, + "argCount": 2, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 4, + "N2": 8, + "programLength": 12, + "programVocabulary": 8, + "volume": 36, + "difficulty": 4, + "effort": 144, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::withClassNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::findClassNode": { + "line": 85, + "lineCount": 25, + "argCount": 1, + "returnCount": 4, + "variableCount": 5, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 13, + "N2": 29, + "programLength": 42, + "programVocabulary": 11, + "volume": 145.29612798276648, + "difficulty": 8.285714285714286, + "effort": 1203.8822032857795, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::findClassNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::escapeXPathValue": { + "line": 114, + "lineCount": 16, + "argCount": 1, + "returnCount": 3, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 9, + "N1": 11, + "N2": 18, + "programLength": 29, + "programVocabulary": 13, + "volume": 107.31275182609167, + "difficulty": 4, + "effort": 429.2510073043667, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::escapeXPathValue" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getLineCoverage": { + "line": 22, + "lineCount": 18, + "argCount": 1, + "returnCount": 4, + "variableCount": 5, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 9, + "N1": 10, + "N2": 19, + "programLength": 29, + "programVocabulary": 13, + "volume": 107.31275182609167, + "difficulty": 4.222222222222222, + "effort": 453.09828548794263, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getLineCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getBranchCoverage": { + "line": 48, + "lineCount": 18, + "argCount": 1, + "returnCount": 4, + "variableCount": 5, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 9, + "N1": 10, + "N2": 19, + "programLength": 29, + "programVocabulary": 13, + "volume": 107.31275182609167, + "difficulty": 4.222222222222222, + "effort": 453.09828548794263, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getBranchCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getComplexity": { + "line": 73, + "lineCount": 13, + "argCount": 1, + "returnCount": 3, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 7, + "N2": 14, + "programLength": 21, + "programVocabulary": 11, + "volume": 72.64806399138324, + "difficulty": 4, + "effort": 290.59225596553296, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getComplexity" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getCoverageDetails": { + "line": 93, + "lineCount": 26, + "argCount": 1, + "returnCount": 3, + "variableCount": 9, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 17, + "N1": 22, + "N2": 42, + "programLength": 64, + "programVocabulary": 22, + "volume": 285.403623592787, + "difficulty": 6.176470588235294, + "effort": 1762.7870868966259, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getCoverageDetails" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getMetricsNode": { + "line": 123, + "lineCount": 12, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 6, + "N1": 7, + "N2": 13, + "programLength": 20, + "programVocabulary": 10, + "volume": 66.43856189774725, + "difficulty": 4.333333333333333, + "effort": 287.90043489023805, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getMetricsNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getFilenameForClass": { + "line": 139, + "lineCount": 9, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 5, + "N1": 4, + "N2": 9, + "programLength": 13, + "programVocabulary": 9, + "volume": 41.209025018750054, + "difficulty": 3.6, + "effort": 148.3524900675002, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getFilenameForClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodsCoverage": { + "line": 154, + "lineCount": 36, + "argCount": 1, + "returnCount": 3, + "variableCount": 8, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 13, + "N1": 12, + "N2": 30, + "programLength": 42, + "programVocabulary": 16, + "volume": 168, + "difficulty": 3.4615384615384612, + "effort": 581.5384615384614, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodsCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::calculateMethodCoverage": { + "line": 194, + "lineCount": 15, + "argCount": 2, + "returnCount": 2, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 11, + "N1": 9, + "N2": 23, + "programLength": 32, + "programVocabulary": 16, + "volume": 128, + "difficulty": 5.227272727272727, + "effort": 669.090909090909, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::calculateMethodCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodCoverageFromLines": { + "line": 215, + "lineCount": 36, + "argCount": 2, + "returnCount": 1, + "variableCount": 7, + "propertyCallCount": 0, + "ifNestingLevel": 2, + "elseCount": 0, + "ifCount": 5, + "halstead": { + "n1": 2, + "n2": 14, + "N1": 12, + "N2": 35, + "programLength": 47, + "programVocabulary": 16, + "volume": 188, + "difficulty": 2.5, + "effort": 470, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodCoverageFromLines" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStart": { + "line": 252, + "lineCount": 4, + "argCount": 3, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 3, + "N2": 7, + "programLength": 10, + "programVocabulary": 6, + "volume": 25.84962500721156, + "difficulty": 1.75, + "effort": 45.23684376262023, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStart" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodEnd": { + "line": 257, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 5, + "programLength": 7, + "programVocabulary": 5, + "volume": 16.253496664211536, + "difficulty": 1.6666666666666667, + "effort": 27.089161107019226, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodEnd" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStatement": { + "line": 262, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 5, + "programLength": 7, + "programVocabulary": 5, + "volume": 16.253496664211536, + "difficulty": 1.6666666666666667, + "effort": 27.089161107019226, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStatement" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isStatementCovered": { + "line": 267, + "lineCount": 5, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 4, + "N1": 3, + "N2": 6, + "programLength": 9, + "programVocabulary": 7, + "volume": 25.26619429851844, + "difficulty": 2.25, + "effort": 56.848937171666485, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isStatementCovered" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getLineCoverage": { + "line": 20, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 9, + "volume": 44.37895002019237, + "difficulty": 2.5, + "effort": 110.94737505048093, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getLineCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getBranchCoverage": { + "line": 34, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 9, + "volume": 44.37895002019237, + "difficulty": 2.5, + "effort": 110.94737505048093, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getBranchCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getComplexity": { + "line": 48, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 9, + "volume": 44.37895002019237, + "difficulty": 2.5, + "effort": 110.94737505048093, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getComplexity" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getCoverageDetails": { + "line": 62, + "lineCount": 13, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 8, + "N1": 7, + "N2": 16, + "programLength": 23, + "programVocabulary": 9, + "volume": 72.90827503317318, + "difficulty": 1, + "effort": 72.90827503317318, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getCoverageDetails" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::extractMethodsCoverage": { + "line": 81, + "lineCount": 23, + "argCount": 1, + "returnCount": 2, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 11, + "N1": 10, + "N2": 23, + "programLength": 33, + "programVocabulary": 14, + "volume": 125.64271242790093, + "difficulty": 3.1363636363636362, + "effort": 394.061234432962, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::extractMethodsCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CodeCoverageFactory::createFromName": { + "line": 14, + "lineCount": 8, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 4, + "N1": 1, + "N2": 8, + "programLength": 9, + "programVocabulary": 5, + "volume": 20.89735285398626, + "difficulty": 1, + "effort": 20.89735285398626, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CodeCoverageFactory::createFromName" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::__construct": { + "line": 28, + "lineCount": 15, + "argCount": 6, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 6, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 7, + "N1": 6, + "N2": 18, + "programLength": 24, + "programVocabulary": 8, + "volume": 72, + "difficulty": 1.2857142857142858, + "effort": 92.57142857142858, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getName": { + "line": 44, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getName" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getFilename": { + "line": 49, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getFilename" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getLineRate": { + "line": 54, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getLineRate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getBranchRate": { + "line": 59, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getBranchRate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getComplexity": { + "line": 64, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getComplexity" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getMethods": { + "line": 72, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getMethods" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::__construct": { + "line": 17, + "lineCount": 11, + "argCount": 4, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 4, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 5, + "N1": 4, + "N2": 12, + "programLength": 16, + "programVocabulary": 6, + "volume": 41.3594000115385, + "difficulty": 1.2, + "effort": 49.631280013846194, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getName": { + "line": 29, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getName" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getLineRate": { + "line": 34, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getLineRate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getBranchRate": { + "line": 39, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getBranchRate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getComplexity": { + "line": 44, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getComplexity" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::calculateDeltas": { + "line": 19, + "lineCount": 14, + "argCount": 2, + "returnCount": 0, + "variableCount": 6, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 9, + "N1": 4, + "N2": 18, + "programLength": 22, + "programVocabulary": 11, + "volume": 76.10749561002054, + "difficulty": 2, + "effort": 152.21499122004107, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::calculateDeltas" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::loadBaseline": { + "line": 41, + "lineCount": 13, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 5, + "N2": 9, + "programLength": 14, + "programVocabulary": 8, + "volume": 42, + "difficulty": 2.7, + "effort": 113.4, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::loadBaseline" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::__construct": { + "line": 72, + "lineCount": 21, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 6, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 9, + "N1": 12, + "N2": 34, + "programLength": 46, + "programVocabulary": 12, + "volume": 164.90827503317317, + "difficulty": 5.666666666666666, + "effort": 934.4802251879812, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setRequiredMetricProperties": { + "line": 98, + "lineCount": 30, + "argCount": 1, + "returnCount": 0, + "variableCount": 6, + "propertyCallCount": 9, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 21, + "N1": 21, + "N2": 51, + "programLength": 72, + "programVocabulary": 24, + "volume": 330.1173000519232, + "difficulty": 3.6428571428571423, + "effort": 1202.570164474863, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setRequiredMetricProperties" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setOptionalMetricProperties": { + "line": 133, + "lineCount": 12, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 8, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 11, + "N1": 16, + "N2": 33, + "programLength": 49, + "programVocabulary": 13, + "volume": 181.32154618891352, + "difficulty": 3, + "effort": 543.9646385667405, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setOptionalMetricProperties" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setTimesChanged": { + "line": 146, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setTimesChanged" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertSame": { + "line": 151, + "lineCount": 14, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 6, + "N2": 8, + "programLength": 14, + "programVocabulary": 5, + "volume": 32.50699332842307, + "difficulty": 2.6666666666666665, + "effort": 86.68531554246152, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertSame" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::calculateDeltas": { + "line": 169, + "lineCount": 13, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 16, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 17, + "N2": 27, + "programLength": 44, + "programVocabulary": 4, + "volume": 88, + "difficulty": 13.5, + "effort": 1188, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::calculateDeltas" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::fromArray": { + "line": 187, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::fromArray" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertArrayKeyIsPresent": { + "line": 197, + "lineCount": 6, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 5, + "programLength": 5, + "programVocabulary": 2, + "volume": 5, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertArrayKeyIsPresent" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getClass": { + "line": 204, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getMethod": { + "line": 209, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getMethod" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCount": { + "line": 214, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCount": { + "line": 219, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCount": { + "line": 224, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCount": { + "line": 229, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCount": { + "line": 234, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCount": { + "line": 239, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevel": { + "line": 244, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevel" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCount": { + "line": 249, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeight": { + "line": 254, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setLineCountWeight": { + "line": 259, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setLineCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeight": { + "line": 264, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setArgCountWeight": { + "line": 269, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setArgCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeight": { + "line": 274, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setReturnCountWeight": { + "line": 279, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setReturnCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeight": { + "line": 284, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setVariableCountWeight": { + "line": 289, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setVariableCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeight": { + "line": 294, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setPropertyCallCountWeight": { + "line": 299, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setPropertyCallCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeight": { + "line": 304, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfCountWeight": { + "line": 309, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeight": { + "line": 314, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfNestingLevelWeight": { + "line": 319, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfNestingLevelWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeight": { + "line": 324, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setElseCountWeight": { + "line": 329, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setElseCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setScore": { + "line": 334, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setScore" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getScore": { + "line": 339, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getScore" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setCoverage": { + "line": 344, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCoverage": { + "line": 349, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeightDelta": { + "line": 354, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeightDelta": { + "line": 359, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeightDelta": { + "line": 364, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeightDelta": { + "line": 369, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeightDelta": { + "line": 374, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeightDelta": { + "line": 379, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeightDelta": { + "line": 384, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeightDelta": { + "line": 389, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getTimesChanged": { + "line": 394, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 2, + "programLength": 3, + "programVocabulary": 3, + "volume": 4.754887502163468, + "difficulty": 0.5, + "effort": 2.377443751081734, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getTimesChanged" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getFileName": { + "line": 399, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getFileName" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLine": { + "line": 404, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLine" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::equals": { + "line": 409, + "lineCount": 5, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 2, + "N1": 5, + "N2": 5, + "programLength": 10, + "programVocabulary": 5, + "volume": 23.21928094887362, + "difficulty": 3.75, + "effort": 87.07230355827608, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::equals" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::toArray": { + "line": 418, + "lineCount": 34, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 29, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 30, + "N1": 0, + "N2": 58, + "programLength": 58, + "programVocabulary": 30, + "volume": 284.5996545452941, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::toArray" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::jsonSerialize": { + "line": 456, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::jsonSerialize" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getHalstead": { + "line": 464, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getHalstead" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCyclomatic": { + "line": 472, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCyclomatic" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::add": { + "line": 30, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 5, + "N2": 6, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 3, + "effort": 85.30376252379816, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::add" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filter": { + "line": 40, + "lineCount": 11, + "argCount": 1, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 8, + "volume": 42, + "difficulty": 3, + "effort": 126, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filter" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getIterator": { + "line": 57, + "lineCount": 5, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getIterator" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::count": { + "line": 66, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::count" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterWithScoreGreaterThan": { + "line": 71, + "lineCount": 6, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 3, + "N2": 6, + "programLength": 9, + "programVocabulary": 5, + "volume": 20.89735285398626, + "difficulty": 2, + "effort": 41.79470570797252, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterWithScoreGreaterThan" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::contains": { + "line": 78, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 4, + "N2": 5, + "programLength": 9, + "programVocabulary": 5, + "volume": 20.89735285398626, + "difficulty": 1.6666666666666667, + "effort": 34.82892142331043, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::contains" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getClassWithMethod": { + "line": 83, + "lineCount": 9, + "argCount": 2, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 3, + "N2": 10, + "programLength": 13, + "programVocabulary": 7, + "volume": 36.49561398674886, + "difficulty": 2, + "effort": 72.99122797349771, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getClassWithMethod" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterByClassName": { + "line": 93, + "lineCount": 6, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 3, + "N2": 6, + "programLength": 9, + "programVocabulary": 5, + "volume": 20.89735285398626, + "difficulty": 2, + "effort": 41.79470570797252, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterByClassName" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::assertMetricHasGetter": { + "line": 100, + "lineCount": 9, + "argCount": 3, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 6, + "programLength": 7, + "programVocabulary": 4, + "volume": 14, + "difficulty": 1, + "effort": 14, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::assertMetricHasGetter" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::groupBy": { + "line": 117, + "lineCount": 20, + "argCount": 1, + "returnCount": 1, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 10, + "N2": 23, + "programLength": 33, + "programVocabulary": 11, + "volume": 114.16124341503081, + "difficulty": 6.571428571428571, + "effort": 750.2024567273453, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::groupBy" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::jsonSerialize": { + "line": 141, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::jsonSerialize" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::__construct": { + "line": 32, + "lineCount": 8, + "argCount": 5, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 0, + "n2": 5, + "N1": 0, + "N2": 5, + "programLength": 5, + "programVocabulary": 5, + "volume": 11.60964047443681, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collect": { + "line": 49, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 5, + "programLength": 6, + "programVocabulary": 4, + "volume": 12, + "difficulty": 0.8333333333333334, + "effort": 10, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collect" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collectFromPaths": { + "line": 62, + "lineCount": 13, + "argCount": 2, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 2, + "risk_level": "low" + }, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 8, + "N2": 16, + "programLength": 24, + "programVocabulary": 9, + "volume": 76.07820003461549, + "difficulty": 4, + "effort": 304.31280013846197, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collectFromPaths" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCodeFromFile": { + "line": 79, + "lineCount": 10, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "cyclomatic_complexity": { + "complexity": 2, + "risk_level": "low" + }, + "halstead": { + "n1": 4, + "n2": 2, + "N1": 5, + "N2": 6, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 6, + "effort": 170.6075250475963, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCodeFromFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findMetrics": { + "line": 98, + "lineCount": 31, + "argCount": 1, + "returnCount": 1, + "variableCount": 9, + "propertyCallCount": 2, + "ifNestingLevel": 2, + "elseCount": 0, + "ifCount": 2, + "cyclomatic_complexity": { + "complexity": 4, + "risk_level": "low" + }, + "halstead": { + "n1": 3, + "n2": 13, + "N1": 18, + "N2": 38, + "programLength": 56, + "programVocabulary": 16, + "volume": 224, + "difficulty": 4.384615384615384, + "effort": 982.1538461538461, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findMetrics" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processMethodMetrics": { + "line": 136, + "lineCount": 29, + "argCount": 3, + "returnCount": 1, + "variableCount": 7, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "cyclomatic_complexity": { + "complexity": 4, + "risk_level": "low" + }, + "halstead": { + "n1": 3, + "n2": 14, + "N1": 8, + "N2": 27, + "programLength": 35, + "programVocabulary": 17, + "volume": 143.06119944376186, + "difficulty": 2.892857142857143, + "effort": 413.8556126765968, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processMethodMetrics" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::isExcluded": { + "line": 166, + "lineCount": 12, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "cyclomatic_complexity": { + "complexity": 3, + "risk_level": "low" + }, + "halstead": { + "n1": 4, + "n2": 5, + "N1": 5, + "N2": 9, + "programLength": 14, + "programVocabulary": 9, + "volume": 44.37895002019237, + "difficulty": 3.6, + "effort": 159.76422007269252, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::isExcluded" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findSourceFiles": { + "line": 187, + "lineCount": 7, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 2, + "N2": 6, + "programLength": 8, + "programVocabulary": 6, + "volume": 20.67970000576925, + "difficulty": 1.5, + "effort": 31.019550008653873, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findSourceFiles" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getProjectRoot": { + "line": 202, + "lineCount": 13, + "argCount": 0, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "cyclomatic_complexity": { + "complexity": 3, + "risk_level": "low" + }, + "halstead": { + "n1": 4, + "n2": 2, + "N1": 8, + "N2": 8, + "programLength": 16, + "programVocabulary": 6, + "volume": 41.3594000115385, + "difficulty": 8, + "effort": 330.875200092308, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getProjectRoot" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateCacheKey": { + "line": 219, + "lineCount": 7, + "argCount": 2, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 4, + "n2": 6, + "N1": 10, + "N2": 12, + "programLength": 22, + "programVocabulary": 10, + "volume": 73.08241808752197, + "difficulty": 4, + "effort": 292.3296723500879, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateCacheKey" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateConfigHash": { + "line": 230, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 2, + "n2": 1, + "N1": 3, + "N2": 2, + "programLength": 5, + "programVocabulary": 3, + "volume": 7.92481250360578, + "difficulty": 2, + "effort": 15.84962500721156, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateConfigHash" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::cacheResult": { + "line": 239, + "lineCount": 14, + "argCount": 4, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 2, + "n2": 13, + "N1": 5, + "N2": 20, + "programLength": 25, + "programVocabulary": 15, + "volume": 97.67226489021297, + "difficulty": 1.5384615384615385, + "effort": 150.26502290801997, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::cacheResult" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::clearCache": { + "line": 254, + "lineCount": 4, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::clearCache" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::normalizeFilename": { + "line": 264, + "lineCount": 15, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "cyclomatic_complexity": { + "complexity": 3, + "risk_level": "low" + }, + "halstead": { + "n1": 6, + "n2": 7, + "N1": 12, + "N2": 16, + "programLength": 28, + "programVocabulary": 13, + "volume": 103.61231210795059, + "difficulty": 6.857142857142857, + "effort": 710.4844258830897, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::normalizeFilename" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCachedMetrics": { + "line": 286, + "lineCount": 19, + "argCount": 3, + "returnCount": 3, + "variableCount": 4, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "cyclomatic_complexity": { + "complexity": 3, + "risk_level": "low" + }, + "halstead": { + "n1": 3, + "n2": 11, + "N1": 10, + "N2": 29, + "programLength": 39, + "programVocabulary": 14, + "volume": 148.48684196024655, + "difficulty": 3.954545454545454, + "effort": 587.1979659337022, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCachedMetrics" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processFile": { + "line": 312, + "lineCount": 37, + "argCount": 5, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "cyclomatic_complexity": { + "complexity": 4, + "risk_level": "low" + }, + "halstead": { + "n1": 7, + "n2": 10, + "N1": 12, + "N2": 28, + "programLength": 40, + "programVocabulary": 17, + "volume": 163.49851365001356, + "difficulty": 9.799999999999999, + "effort": 1602.2854337701328, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processFile" + } + } + }, + "ignored_items": [], + "cached_at": 1759967601 +} \ No newline at end of file diff --git a/.phpcca.cache/15/15475892ec2fe6e569a1f505255270d7.cache b/.phpcca.cache/15/15475892ec2fe6e569a1f505255270d7.cache new file mode 100644 index 0000000..3f16e6f --- /dev/null +++ b/.phpcca.cache/15/15475892ec2fe6e569a1f505255270d7.cache @@ -0,0 +1,1272 @@ +{ + "version": "1.0", + "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/Business\/CodeCoverage\/AbstractXmlCoverageReader.php", + "file_mtime": 1759784766, + "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", + "analysis_result": { + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct": { + "line": 60, + "lineCount": 5, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 1, + "N1": 2, + "N2": 2, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 2, + "effort": 12.679700005769249, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices": { + "line": 66, + "lineCount": 95, + "argCount": 0, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 5, + "N1": 58, + "N2": 32, + "programLength": 90, + "programVocabulary": 9, + "volume": 285.2932501298081, + "difficulty": 12.8, + "effort": 3651.7536016615436, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap": { + "line": 162, + "lineCount": 10, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 7, + "N2": 7, + "programLength": 14, + "programVocabulary": 2, + "volume": 14, + "difficulty": 3.5, + "effort": 49, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors": { + "line": 173, + "lineCount": 12, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 3, + "N2": 1, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0.5, + "effort": 2, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus": { + "line": 186, + "lineCount": 19, + "argCount": 0, + "returnCount": 0, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 9, + "N2": 13, + "programLength": 22, + "programVocabulary": 7, + "volume": 61.76180828526729, + "difficulty": 2.6, + "effort": 160.58070154169496, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService": { + "line": 206, + "lineCount": 9, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 3, + "N2": 1, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0.5, + "effort": 2, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade": { + "line": 216, + "lineCount": 13, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 3, + "N2": 1, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0.5, + "effort": 2, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands": { + "line": 230, + "lineCount": 21, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 6, + "N2": 2, + "programLength": 8, + "programVocabulary": 2, + "volume": 8, + "difficulty": 1, + "effort": 8, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication": { + "line": 252, + "lineCount": 11, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 5, + "N2": 4, + "programLength": 9, + "programVocabulary": 4, + "volume": 18, + "difficulty": 0.6666666666666666, + "effort": 12, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run": { + "line": 264, + "lineCount": 9, + "argCount": 0, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 5, + "N2": 5, + "programLength": 10, + "programVocabulary": 4, + "volume": 20, + "difficulty": 2.5, + "effort": 50, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get": { + "line": 274, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer": { + "line": 279, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator": { + "line": 289, + "lineCount": 16, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 7, + "programLength": 8, + "programVocabulary": 4, + "volume": 16, + "difficulty": 1.1666666666666667, + "effort": 18.666666666666668, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create": { + "line": 18, + "lineCount": 7, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 4, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile": { + "line": 17, + "lineCount": 17, + "argCount": 2, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 8, + "N1": 11, + "N2": 19, + "programLength": 30, + "programVocabulary": 11, + "volume": 103.78294855911892, + "difficulty": 3.5625, + "effort": 369.72675424186116, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode": { + "line": 42, + "lineCount": 8, + "argCount": 3, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 3, + "N2": 8, + "programLength": 11, + "programVocabulary": 8, + "volume": 33, + "difficulty": 2.4000000000000004, + "effort": 79.20000000000002, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate": { + "line": 22, + "lineCount": 10, + "argCount": 2, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 6, + "N2": 13, + "programLength": 19, + "programVocabulary": 6, + "volume": 49.11428751370197, + "difficulty": 3.25, + "effort": 159.6214344195314, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending": { + "line": 37, + "lineCount": 8, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 2, + "N2": 9, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 2.25, + "effort": 63.97782189284862, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn": { + "line": 51, + "lineCount": 24, + "argCount": 2, + "returnCount": 1, + "variableCount": 6, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 15, + "N1": 17, + "N2": 46, + "programLength": 63, + "programVocabulary": 20, + "volume": 272.28146997790384, + "difficulty": 7.666666666666667, + "effort": 2087.491269830596, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses": { + "line": 81, + "lineCount": 20, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 2, + "n2": 7, + "N1": 10, + "N2": 24, + "programLength": 34, + "programVocabulary": 9, + "volume": 107.7774500490386, + "difficulty": 3.4285714285714284, + "effort": 369.52268588241805, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass": { + "line": 109, + "lineCount": 9, + "argCount": 2, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 6, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 10, + "volume": 49.82892142331043, + "difficulty": 3.3333333333333335, + "effort": 166.09640474436813, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel": { + "line": 126, + "lineCount": 16, + "argCount": 2, + "returnCount": 4, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 12, + "N1": 9, + "N2": 18, + "programLength": 27, + "programVocabulary": 15, + "volume": 105.48604608143, + "difficulty": 2.25, + "effort": 237.3436036832175, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile": { + "line": 14, + "lineCount": 6, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 2, + "N2": 5, + "programLength": 7, + "programVocabulary": 4, + "volume": 14, + "difficulty": 2.5, + "effort": 35, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable": { + "line": 24, + "lineCount": 11, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 10, + "N2": 12, + "programLength": 22, + "programVocabulary": 8, + "volume": 66, + "difficulty": 6, + "effort": 396, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create": { + "line": 21, + "lineCount": 11, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 7, + "N1": 0, + "N2": 9, + "programLength": 9, + "programVocabulary": 7, + "volume": 25.26619429851844, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes": { + "line": 38, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 6, + "N1": 0, + "N2": 6, + "programLength": 6, + "programVocabulary": 6, + "volume": 15.509775004326936, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported": { + "line": 49, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 2, + "N2": 3, + "programLength": 5, + "programVocabulary": 4, + "volume": 10, + "difficulty": 1.5, + "effort": 15, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export": { + "line": 30, + "lineCount": 23, + "argCount": 2, + "returnCount": 0, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 16, + "N1": 10, + "N2": 33, + "programLength": 43, + "programVocabulary": 20, + "volume": 185.8429080801566, + "difficulty": 4.125, + "effort": 766.601995830646, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export": { + "line": 28, + "lineCount": 8, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 6, + "volume": 36.18947501009619, + "difficulty": 2.5, + "effort": 90.47368752524048, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape": { + "line": 37, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber": { + "line": 42, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml": { + "line": 52, + "lineCount": 50, + "argCount": 1, + "returnCount": 1, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 12, + "N1": 11, + "N2": 25, + "programLength": 36, + "programVocabulary": 17, + "volume": 147.14866228501222, + "difficulty": 5.208333333333334, + "effort": 766.3992827344388, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export": { + "line": 17, + "lineCount": 13, + "argCount": 2, + "returnCount": 0, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 8, + "N1": 7, + "N2": 14, + "programLength": 21, + "programVocabulary": 12, + "volume": 75.28421251514428, + "difficulty": 3.5, + "effort": 263.49474380300495, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export": { + "line": 48, + "lineCount": 8, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 6, + "volume": 36.18947501009619, + "difficulty": 2.5, + "effort": 90.47368752524048, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown": { + "line": 61, + "lineCount": 24, + "argCount": 1, + "returnCount": 1, + "variableCount": 6, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 6, + "n2": 16, + "N1": 19, + "N2": 41, + "programLength": 60, + "programVocabulary": 22, + "volume": 267.56589711823784, + "difficulty": 7.6875, + "effort": 2056.9128340964535, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow": { + "line": 94, + "lineCount": 21, + "argCount": 3, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 7, + "n2": 18, + "N1": 16, + "N2": 39, + "programLength": 55, + "programVocabulary": 25, + "volume": 255.41209043760983, + "difficulty": 7.583333333333333, + "effort": 1936.8750191518745, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::__construct": { + "line": 26, + "lineCount": 4, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::export": { + "line": 36, + "lineCount": 10, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 8, + "volume": 45, + "difficulty": 5, + "effort": 225, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::generateSvgTreemap": { + "line": 53, + "lineCount": 20, + "argCount": 1, + "returnCount": 1, + "variableCount": 6, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 8, + "N1": 9, + "N2": 20, + "programLength": 29, + "programVocabulary": 10, + "volume": 96.3359147517335, + "difficulty": 2.5, + "effort": 240.83978687933376, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::generateSvgTreemap" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRects": { + "line": 82, + "lineCount": 10, + "argCount": 3, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 9, + "N1": 6, + "N2": 18, + "programLength": 24, + "programVocabulary": 12, + "volume": 86.03910001730775, + "difficulty": 3, + "effort": 258.1173000519232, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRects" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRect": { + "line": 100, + "lineCount": 29, + "argCount": 2, + "returnCount": 1, + "variableCount": 12, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 6, + "n2": 28, + "N1": 26, + "N2": 54, + "programLength": 80, + "programVocabulary": 34, + "volume": 406.9970273000271, + "difficulty": 5.785714285714286, + "effort": 2354.7685150930142, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRect" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::wrapSvg": { + "line": 136, + "lineCount": 21, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 2, + "N2": 8, + "programLength": 10, + "programVocabulary": 4, + "volume": 20, + "difficulty": 1.3333333333333333, + "effort": 26.666666666666664, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::wrapSvg" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::prepareItems": { + "line": 28, + "lineCount": 18, + "argCount": 1, + "returnCount": 1, + "variableCount": 7, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 12, + "N1": 9, + "N2": 30, + "programLength": 39, + "programVocabulary": 17, + "volume": 159.41105080876324, + "difficulty": 6.25, + "effort": 996.3190675547702, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::prepareItems" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findScoreRange": { + "line": 53, + "lineCount": 16, + "argCount": 1, + "returnCount": 3, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 7, + "N2": 13, + "programLength": 20, + "programVocabulary": 8, + "volume": 60, + "difficulty": 3.9000000000000004, + "effort": 234.00000000000003, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findScoreRange" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::normalizeScore": { + "line": 78, + "lineCount": 8, + "argCount": 3, + "returnCount": 2, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 8, + "volume": 45, + "difficulty": 5, + "effort": 225, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::normalizeScore" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::scoreToColor": { + "line": 93, + "lineCount": 9, + "argCount": 1, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 5, + "n2": 9, + "N1": 12, + "N2": 16, + "programLength": 28, + "programVocabulary": 14, + "volume": 106.60593781761291, + "difficulty": 4.444444444444445, + "effort": 473.80416807827964, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::scoreToColor" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::calculateTreemapLayout": { + "line": 115, + "lineCount": 23, + "argCount": 7, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 9, + "N1": 2, + "N2": 18, + "programLength": 20, + "programVocabulary": 11, + "volume": 69.18863237274594, + "difficulty": 2, + "effort": 138.37726474549189, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::calculateTreemapLayout" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::layoutTreemap": { + "line": 152, + "lineCount": 89, + "argCount": 8, + "returnCount": 3, + "variableCount": 11, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 8, + "n2": 28, + "N1": 32, + "N2": 98, + "programLength": 130, + "programVocabulary": 36, + "volume": 672.0902501875006, + "difficulty": 14, + "effort": 9409.263502625008, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::layoutTreemap" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findSplitIndex": { + "line": 249, + "lineCount": 13, + "argCount": 2, + "returnCount": 2, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 7, + "n2": 10, + "N1": 9, + "N2": 23, + "programLength": 32, + "programVocabulary": 17, + "volume": 130.79881092001085, + "difficulty": 8.049999999999999, + "effort": 1052.9304279060873, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findSplitIndex" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::__construct": { + "line": 23, + "lineCount": 18, + "argCount": 1, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "cyclomatic_complexity": { + "complexity": 3, + "risk_level": "low" + }, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 7, + "N2": 11, + "programLength": 18, + "programVocabulary": 6, + "volume": 46.529325012980806, + "difficulty": 5.5, + "effort": 255.91128757139444, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::getAllClasses": { + "line": 47, + "lineCount": 17, + "argCount": 0, + "returnCount": 2, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "cyclomatic_complexity": { + "complexity": 4, + "risk_level": "low" + }, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 6, + "N2": 12, + "programLength": 18, + "programVocabulary": 9, + "volume": 57.05865002596162, + "difficulty": 3, + "effort": 171.17595007788486, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::getAllClasses" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::withClassNode": { + "line": 73, + "lineCount": 8, + "argCount": 2, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "cyclomatic_complexity": { + "complexity": 2, + "risk_level": "low" + }, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 4, + "N2": 8, + "programLength": 12, + "programVocabulary": 8, + "volume": 36, + "difficulty": 4, + "effort": 144, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::withClassNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::findClassNode": { + "line": 85, + "lineCount": 25, + "argCount": 1, + "returnCount": 4, + "variableCount": 5, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "cyclomatic_complexity": { + "complexity": 4, + "risk_level": "low" + }, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 13, + "N2": 29, + "programLength": 42, + "programVocabulary": 11, + "volume": 145.29612798276648, + "difficulty": 8.285714285714286, + "effort": 1203.8822032857795, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::findClassNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::escapeXPathValue": { + "line": 114, + "lineCount": 16, + "argCount": 1, + "returnCount": 3, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "cyclomatic_complexity": { + "complexity": 3, + "risk_level": "low" + }, + "halstead": { + "n1": 4, + "n2": 9, + "N1": 11, + "N2": 18, + "programLength": 29, + "programVocabulary": 13, + "volume": 107.31275182609167, + "difficulty": 4, + "effort": 429.2510073043667, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::escapeXPathValue" + } + } + }, + "ignored_items": [], + "cached_at": 1759967600 +} \ No newline at end of file diff --git a/.phpcca.cache/19/196798dbec09747f48d80cfdca52472d.cache b/.phpcca.cache/19/196798dbec09747f48d80cfdca52472d.cache new file mode 100644 index 0000000..0f78fb0 --- /dev/null +++ b/.phpcca.cache/19/196798dbec09747f48d80cfdca52472d.cache @@ -0,0 +1,5278 @@ +{ + "version": "1.0", + "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/Business\/Exporter\/AbstractMarkdownExporter.php", + "file_mtime": 1759784766, + "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", + "analysis_result": { + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct": { + "line": 60, + "lineCount": 5, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 1, + "N1": 2, + "N2": 2, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 2, + "effort": 12.679700005769249, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices": { + "line": 66, + "lineCount": 95, + "argCount": 0, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 5, + "N1": 58, + "N2": 32, + "programLength": 90, + "programVocabulary": 9, + "volume": 285.2932501298081, + "difficulty": 12.8, + "effort": 3651.7536016615436, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap": { + "line": 162, + "lineCount": 10, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 7, + "N2": 7, + "programLength": 14, + "programVocabulary": 2, + "volume": 14, + "difficulty": 3.5, + "effort": 49, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors": { + "line": 173, + "lineCount": 12, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 3, + "N2": 1, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0.5, + "effort": 2, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus": { + "line": 186, + "lineCount": 19, + "argCount": 0, + "returnCount": 0, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 9, + "N2": 13, + "programLength": 22, + "programVocabulary": 7, + "volume": 61.76180828526729, + "difficulty": 2.6, + "effort": 160.58070154169496, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService": { + "line": 206, + "lineCount": 9, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 3, + "N2": 1, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0.5, + "effort": 2, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade": { + "line": 216, + "lineCount": 13, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 3, + "N2": 1, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0.5, + "effort": 2, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands": { + "line": 230, + "lineCount": 21, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 6, + "N2": 2, + "programLength": 8, + "programVocabulary": 2, + "volume": 8, + "difficulty": 1, + "effort": 8, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication": { + "line": 252, + "lineCount": 11, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 5, + "N2": 4, + "programLength": 9, + "programVocabulary": 4, + "volume": 18, + "difficulty": 0.6666666666666666, + "effort": 12, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run": { + "line": 264, + "lineCount": 9, + "argCount": 0, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 5, + "N2": 5, + "programLength": 10, + "programVocabulary": 4, + "volume": 20, + "difficulty": 2.5, + "effort": 50, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get": { + "line": 274, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer": { + "line": 279, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator": { + "line": 289, + "lineCount": 16, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 7, + "programLength": 8, + "programVocabulary": 4, + "volume": 16, + "difficulty": 1.1666666666666667, + "effort": 18.666666666666668, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create": { + "line": 18, + "lineCount": 7, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 4, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile": { + "line": 17, + "lineCount": 17, + "argCount": 2, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 8, + "N1": 11, + "N2": 19, + "programLength": 30, + "programVocabulary": 11, + "volume": 103.78294855911892, + "difficulty": 3.5625, + "effort": 369.72675424186116, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode": { + "line": 42, + "lineCount": 8, + "argCount": 3, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 3, + "N2": 8, + "programLength": 11, + "programVocabulary": 8, + "volume": 33, + "difficulty": 2.4000000000000004, + "effort": 79.20000000000002, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate": { + "line": 22, + "lineCount": 10, + "argCount": 2, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 6, + "N2": 13, + "programLength": 19, + "programVocabulary": 6, + "volume": 49.11428751370197, + "difficulty": 3.25, + "effort": 159.6214344195314, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending": { + "line": 37, + "lineCount": 8, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 2, + "N2": 9, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 2.25, + "effort": 63.97782189284862, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn": { + "line": 51, + "lineCount": 24, + "argCount": 2, + "returnCount": 1, + "variableCount": 6, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 15, + "N1": 17, + "N2": 46, + "programLength": 63, + "programVocabulary": 20, + "volume": 272.28146997790384, + "difficulty": 7.666666666666667, + "effort": 2087.491269830596, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses": { + "line": 81, + "lineCount": 20, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 2, + "n2": 7, + "N1": 10, + "N2": 24, + "programLength": 34, + "programVocabulary": 9, + "volume": 107.7774500490386, + "difficulty": 3.4285714285714284, + "effort": 369.52268588241805, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass": { + "line": 109, + "lineCount": 9, + "argCount": 2, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 6, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 10, + "volume": 49.82892142331043, + "difficulty": 3.3333333333333335, + "effort": 166.09640474436813, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel": { + "line": 126, + "lineCount": 16, + "argCount": 2, + "returnCount": 4, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 12, + "N1": 9, + "N2": 18, + "programLength": 27, + "programVocabulary": 15, + "volume": 105.48604608143, + "difficulty": 2.25, + "effort": 237.3436036832175, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile": { + "line": 14, + "lineCount": 6, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 2, + "N2": 5, + "programLength": 7, + "programVocabulary": 4, + "volume": 14, + "difficulty": 2.5, + "effort": 35, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable": { + "line": 24, + "lineCount": 11, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 10, + "N2": 12, + "programLength": 22, + "programVocabulary": 8, + "volume": 66, + "difficulty": 6, + "effort": 396, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create": { + "line": 21, + "lineCount": 11, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 7, + "N1": 0, + "N2": 9, + "programLength": 9, + "programVocabulary": 7, + "volume": 25.26619429851844, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes": { + "line": 38, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 6, + "N1": 0, + "N2": 6, + "programLength": 6, + "programVocabulary": 6, + "volume": 15.509775004326936, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported": { + "line": 49, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 2, + "N2": 3, + "programLength": 5, + "programVocabulary": 4, + "volume": 10, + "difficulty": 1.5, + "effort": 15, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export": { + "line": 30, + "lineCount": 23, + "argCount": 2, + "returnCount": 0, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 16, + "N1": 10, + "N2": 33, + "programLength": 43, + "programVocabulary": 20, + "volume": 185.8429080801566, + "difficulty": 4.125, + "effort": 766.601995830646, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export": { + "line": 28, + "lineCount": 8, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 6, + "volume": 36.18947501009619, + "difficulty": 2.5, + "effort": 90.47368752524048, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape": { + "line": 37, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber": { + "line": 42, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml": { + "line": 52, + "lineCount": 50, + "argCount": 1, + "returnCount": 1, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 12, + "N1": 11, + "N2": 25, + "programLength": 36, + "programVocabulary": 17, + "volume": 147.14866228501222, + "difficulty": 5.208333333333334, + "effort": 766.3992827344388, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export": { + "line": 17, + "lineCount": 13, + "argCount": 2, + "returnCount": 0, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 8, + "N1": 7, + "N2": 14, + "programLength": 21, + "programVocabulary": 12, + "volume": 75.28421251514428, + "difficulty": 3.5, + "effort": 263.49474380300495, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export": { + "line": 48, + "lineCount": 8, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 6, + "volume": 36.18947501009619, + "difficulty": 2.5, + "effort": 90.47368752524048, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown": { + "line": 61, + "lineCount": 24, + "argCount": 1, + "returnCount": 1, + "variableCount": 6, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 6, + "n2": 16, + "N1": 19, + "N2": 41, + "programLength": 60, + "programVocabulary": 22, + "volume": 267.56589711823784, + "difficulty": 7.6875, + "effort": 2056.9128340964535, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow": { + "line": 94, + "lineCount": 21, + "argCount": 3, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 7, + "n2": 18, + "N1": 16, + "N2": 39, + "programLength": 55, + "programVocabulary": 25, + "volume": 255.41209043760983, + "difficulty": 7.583333333333333, + "effort": 1936.8750191518745, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::__construct": { + "line": 26, + "lineCount": 4, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::export": { + "line": 36, + "lineCount": 10, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 8, + "volume": 45, + "difficulty": 5, + "effort": 225, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::generateSvgTreemap": { + "line": 53, + "lineCount": 20, + "argCount": 1, + "returnCount": 1, + "variableCount": 6, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 8, + "N1": 9, + "N2": 20, + "programLength": 29, + "programVocabulary": 10, + "volume": 96.3359147517335, + "difficulty": 2.5, + "effort": 240.83978687933376, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::generateSvgTreemap" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRects": { + "line": 82, + "lineCount": 10, + "argCount": 3, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 9, + "N1": 6, + "N2": 18, + "programLength": 24, + "programVocabulary": 12, + "volume": 86.03910001730775, + "difficulty": 3, + "effort": 258.1173000519232, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRects" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRect": { + "line": 100, + "lineCount": 29, + "argCount": 2, + "returnCount": 1, + "variableCount": 12, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 6, + "n2": 28, + "N1": 26, + "N2": 54, + "programLength": 80, + "programVocabulary": 34, + "volume": 406.9970273000271, + "difficulty": 5.785714285714286, + "effort": 2354.7685150930142, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRect" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::wrapSvg": { + "line": 136, + "lineCount": 21, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 2, + "N2": 8, + "programLength": 10, + "programVocabulary": 4, + "volume": 20, + "difficulty": 1.3333333333333333, + "effort": 26.666666666666664, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::wrapSvg" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::prepareItems": { + "line": 28, + "lineCount": 18, + "argCount": 1, + "returnCount": 1, + "variableCount": 7, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 12, + "N1": 9, + "N2": 30, + "programLength": 39, + "programVocabulary": 17, + "volume": 159.41105080876324, + "difficulty": 6.25, + "effort": 996.3190675547702, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::prepareItems" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findScoreRange": { + "line": 53, + "lineCount": 16, + "argCount": 1, + "returnCount": 3, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 7, + "N2": 13, + "programLength": 20, + "programVocabulary": 8, + "volume": 60, + "difficulty": 3.9000000000000004, + "effort": 234.00000000000003, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findScoreRange" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::normalizeScore": { + "line": 78, + "lineCount": 8, + "argCount": 3, + "returnCount": 2, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 8, + "volume": 45, + "difficulty": 5, + "effort": 225, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::normalizeScore" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::scoreToColor": { + "line": 93, + "lineCount": 9, + "argCount": 1, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 5, + "n2": 9, + "N1": 12, + "N2": 16, + "programLength": 28, + "programVocabulary": 14, + "volume": 106.60593781761291, + "difficulty": 4.444444444444445, + "effort": 473.80416807827964, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::scoreToColor" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::calculateTreemapLayout": { + "line": 115, + "lineCount": 23, + "argCount": 7, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 9, + "N1": 2, + "N2": 18, + "programLength": 20, + "programVocabulary": 11, + "volume": 69.18863237274594, + "difficulty": 2, + "effort": 138.37726474549189, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::calculateTreemapLayout" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::layoutTreemap": { + "line": 152, + "lineCount": 89, + "argCount": 8, + "returnCount": 3, + "variableCount": 11, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 8, + "n2": 28, + "N1": 32, + "N2": 98, + "programLength": 130, + "programVocabulary": 36, + "volume": 672.0902501875006, + "difficulty": 14, + "effort": 9409.263502625008, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::layoutTreemap" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findSplitIndex": { + "line": 249, + "lineCount": 13, + "argCount": 2, + "returnCount": 2, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 7, + "n2": 10, + "N1": 9, + "N2": 23, + "programLength": 32, + "programVocabulary": 17, + "volume": 130.79881092001085, + "difficulty": 8.049999999999999, + "effort": 1052.9304279060873, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findSplitIndex" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::__construct": { + "line": 23, + "lineCount": 18, + "argCount": 1, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 7, + "N2": 11, + "programLength": 18, + "programVocabulary": 6, + "volume": 46.529325012980806, + "difficulty": 5.5, + "effort": 255.91128757139444, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::getAllClasses": { + "line": 47, + "lineCount": 17, + "argCount": 0, + "returnCount": 2, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 6, + "N2": 12, + "programLength": 18, + "programVocabulary": 9, + "volume": 57.05865002596162, + "difficulty": 3, + "effort": 171.17595007788486, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::getAllClasses" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::withClassNode": { + "line": 73, + "lineCount": 8, + "argCount": 2, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 4, + "N2": 8, + "programLength": 12, + "programVocabulary": 8, + "volume": 36, + "difficulty": 4, + "effort": 144, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::withClassNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::findClassNode": { + "line": 85, + "lineCount": 25, + "argCount": 1, + "returnCount": 4, + "variableCount": 5, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 13, + "N2": 29, + "programLength": 42, + "programVocabulary": 11, + "volume": 145.29612798276648, + "difficulty": 8.285714285714286, + "effort": 1203.8822032857795, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::findClassNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::escapeXPathValue": { + "line": 114, + "lineCount": 16, + "argCount": 1, + "returnCount": 3, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 9, + "N1": 11, + "N2": 18, + "programLength": 29, + "programVocabulary": 13, + "volume": 107.31275182609167, + "difficulty": 4, + "effort": 429.2510073043667, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::escapeXPathValue" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getLineCoverage": { + "line": 22, + "lineCount": 18, + "argCount": 1, + "returnCount": 4, + "variableCount": 5, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 9, + "N1": 10, + "N2": 19, + "programLength": 29, + "programVocabulary": 13, + "volume": 107.31275182609167, + "difficulty": 4.222222222222222, + "effort": 453.09828548794263, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getLineCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getBranchCoverage": { + "line": 48, + "lineCount": 18, + "argCount": 1, + "returnCount": 4, + "variableCount": 5, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 9, + "N1": 10, + "N2": 19, + "programLength": 29, + "programVocabulary": 13, + "volume": 107.31275182609167, + "difficulty": 4.222222222222222, + "effort": 453.09828548794263, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getBranchCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getComplexity": { + "line": 73, + "lineCount": 13, + "argCount": 1, + "returnCount": 3, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 7, + "N2": 14, + "programLength": 21, + "programVocabulary": 11, + "volume": 72.64806399138324, + "difficulty": 4, + "effort": 290.59225596553296, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getComplexity" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getCoverageDetails": { + "line": 93, + "lineCount": 26, + "argCount": 1, + "returnCount": 3, + "variableCount": 9, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 17, + "N1": 22, + "N2": 42, + "programLength": 64, + "programVocabulary": 22, + "volume": 285.403623592787, + "difficulty": 6.176470588235294, + "effort": 1762.7870868966259, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getCoverageDetails" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getMetricsNode": { + "line": 123, + "lineCount": 12, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 6, + "N1": 7, + "N2": 13, + "programLength": 20, + "programVocabulary": 10, + "volume": 66.43856189774725, + "difficulty": 4.333333333333333, + "effort": 287.90043489023805, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getMetricsNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getFilenameForClass": { + "line": 139, + "lineCount": 9, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 5, + "N1": 4, + "N2": 9, + "programLength": 13, + "programVocabulary": 9, + "volume": 41.209025018750054, + "difficulty": 3.6, + "effort": 148.3524900675002, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getFilenameForClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodsCoverage": { + "line": 154, + "lineCount": 36, + "argCount": 1, + "returnCount": 3, + "variableCount": 8, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 13, + "N1": 12, + "N2": 30, + "programLength": 42, + "programVocabulary": 16, + "volume": 168, + "difficulty": 3.4615384615384612, + "effort": 581.5384615384614, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodsCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::calculateMethodCoverage": { + "line": 194, + "lineCount": 15, + "argCount": 2, + "returnCount": 2, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 11, + "N1": 9, + "N2": 23, + "programLength": 32, + "programVocabulary": 16, + "volume": 128, + "difficulty": 5.227272727272727, + "effort": 669.090909090909, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::calculateMethodCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodCoverageFromLines": { + "line": 215, + "lineCount": 36, + "argCount": 2, + "returnCount": 1, + "variableCount": 7, + "propertyCallCount": 0, + "ifNestingLevel": 2, + "elseCount": 0, + "ifCount": 5, + "halstead": { + "n1": 2, + "n2": 14, + "N1": 12, + "N2": 35, + "programLength": 47, + "programVocabulary": 16, + "volume": 188, + "difficulty": 2.5, + "effort": 470, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodCoverageFromLines" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStart": { + "line": 252, + "lineCount": 4, + "argCount": 3, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 3, + "N2": 7, + "programLength": 10, + "programVocabulary": 6, + "volume": 25.84962500721156, + "difficulty": 1.75, + "effort": 45.23684376262023, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStart" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodEnd": { + "line": 257, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 5, + "programLength": 7, + "programVocabulary": 5, + "volume": 16.253496664211536, + "difficulty": 1.6666666666666667, + "effort": 27.089161107019226, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodEnd" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStatement": { + "line": 262, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 5, + "programLength": 7, + "programVocabulary": 5, + "volume": 16.253496664211536, + "difficulty": 1.6666666666666667, + "effort": 27.089161107019226, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStatement" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isStatementCovered": { + "line": 267, + "lineCount": 5, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 4, + "N1": 3, + "N2": 6, + "programLength": 9, + "programVocabulary": 7, + "volume": 25.26619429851844, + "difficulty": 2.25, + "effort": 56.848937171666485, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isStatementCovered" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getLineCoverage": { + "line": 20, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 9, + "volume": 44.37895002019237, + "difficulty": 2.5, + "effort": 110.94737505048093, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getLineCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getBranchCoverage": { + "line": 34, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 9, + "volume": 44.37895002019237, + "difficulty": 2.5, + "effort": 110.94737505048093, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getBranchCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getComplexity": { + "line": 48, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 9, + "volume": 44.37895002019237, + "difficulty": 2.5, + "effort": 110.94737505048093, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getComplexity" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getCoverageDetails": { + "line": 62, + "lineCount": 13, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 8, + "N1": 7, + "N2": 16, + "programLength": 23, + "programVocabulary": 9, + "volume": 72.90827503317318, + "difficulty": 1, + "effort": 72.90827503317318, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getCoverageDetails" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::extractMethodsCoverage": { + "line": 81, + "lineCount": 23, + "argCount": 1, + "returnCount": 2, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 11, + "N1": 10, + "N2": 23, + "programLength": 33, + "programVocabulary": 14, + "volume": 125.64271242790093, + "difficulty": 3.1363636363636362, + "effort": 394.061234432962, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::extractMethodsCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CodeCoverageFactory::createFromName": { + "line": 14, + "lineCount": 8, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 4, + "N1": 1, + "N2": 8, + "programLength": 9, + "programVocabulary": 5, + "volume": 20.89735285398626, + "difficulty": 1, + "effort": 20.89735285398626, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CodeCoverageFactory::createFromName" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::__construct": { + "line": 28, + "lineCount": 15, + "argCount": 6, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 6, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 7, + "N1": 6, + "N2": 18, + "programLength": 24, + "programVocabulary": 8, + "volume": 72, + "difficulty": 1.2857142857142858, + "effort": 92.57142857142858, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getName": { + "line": 44, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getName" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getFilename": { + "line": 49, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getFilename" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getLineRate": { + "line": 54, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getLineRate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getBranchRate": { + "line": 59, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getBranchRate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getComplexity": { + "line": 64, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getComplexity" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getMethods": { + "line": 72, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getMethods" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::__construct": { + "line": 17, + "lineCount": 11, + "argCount": 4, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 4, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 5, + "N1": 4, + "N2": 12, + "programLength": 16, + "programVocabulary": 6, + "volume": 41.3594000115385, + "difficulty": 1.2, + "effort": 49.631280013846194, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getName": { + "line": 29, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getName" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getLineRate": { + "line": 34, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getLineRate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getBranchRate": { + "line": 39, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getBranchRate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getComplexity": { + "line": 44, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getComplexity" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::calculateDeltas": { + "line": 19, + "lineCount": 14, + "argCount": 2, + "returnCount": 0, + "variableCount": 6, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 9, + "N1": 4, + "N2": 18, + "programLength": 22, + "programVocabulary": 11, + "volume": 76.10749561002054, + "difficulty": 2, + "effort": 152.21499122004107, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::calculateDeltas" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::loadBaseline": { + "line": 41, + "lineCount": 13, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 5, + "N2": 9, + "programLength": 14, + "programVocabulary": 8, + "volume": 42, + "difficulty": 2.7, + "effort": 113.4, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::loadBaseline" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::__construct": { + "line": 72, + "lineCount": 21, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 6, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 9, + "N1": 12, + "N2": 34, + "programLength": 46, + "programVocabulary": 12, + "volume": 164.90827503317317, + "difficulty": 5.666666666666666, + "effort": 934.4802251879812, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setRequiredMetricProperties": { + "line": 98, + "lineCount": 30, + "argCount": 1, + "returnCount": 0, + "variableCount": 6, + "propertyCallCount": 9, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 21, + "N1": 21, + "N2": 51, + "programLength": 72, + "programVocabulary": 24, + "volume": 330.1173000519232, + "difficulty": 3.6428571428571423, + "effort": 1202.570164474863, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setRequiredMetricProperties" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setOptionalMetricProperties": { + "line": 133, + "lineCount": 12, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 8, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 11, + "N1": 16, + "N2": 33, + "programLength": 49, + "programVocabulary": 13, + "volume": 181.32154618891352, + "difficulty": 3, + "effort": 543.9646385667405, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setOptionalMetricProperties" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setTimesChanged": { + "line": 146, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setTimesChanged" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertSame": { + "line": 151, + "lineCount": 14, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 6, + "N2": 8, + "programLength": 14, + "programVocabulary": 5, + "volume": 32.50699332842307, + "difficulty": 2.6666666666666665, + "effort": 86.68531554246152, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertSame" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::calculateDeltas": { + "line": 169, + "lineCount": 13, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 16, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 17, + "N2": 27, + "programLength": 44, + "programVocabulary": 4, + "volume": 88, + "difficulty": 13.5, + "effort": 1188, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::calculateDeltas" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::fromArray": { + "line": 187, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::fromArray" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertArrayKeyIsPresent": { + "line": 197, + "lineCount": 6, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 5, + "programLength": 5, + "programVocabulary": 2, + "volume": 5, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertArrayKeyIsPresent" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getClass": { + "line": 204, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getMethod": { + "line": 209, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getMethod" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCount": { + "line": 214, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCount": { + "line": 219, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCount": { + "line": 224, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCount": { + "line": 229, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCount": { + "line": 234, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCount": { + "line": 239, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevel": { + "line": 244, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevel" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCount": { + "line": 249, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeight": { + "line": 254, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setLineCountWeight": { + "line": 259, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setLineCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeight": { + "line": 264, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setArgCountWeight": { + "line": 269, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setArgCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeight": { + "line": 274, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setReturnCountWeight": { + "line": 279, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setReturnCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeight": { + "line": 284, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setVariableCountWeight": { + "line": 289, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setVariableCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeight": { + "line": 294, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setPropertyCallCountWeight": { + "line": 299, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setPropertyCallCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeight": { + "line": 304, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfCountWeight": { + "line": 309, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeight": { + "line": 314, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfNestingLevelWeight": { + "line": 319, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfNestingLevelWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeight": { + "line": 324, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setElseCountWeight": { + "line": 329, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setElseCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setScore": { + "line": 334, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setScore" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getScore": { + "line": 339, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getScore" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setCoverage": { + "line": 344, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCoverage": { + "line": 349, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeightDelta": { + "line": 354, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeightDelta": { + "line": 359, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeightDelta": { + "line": 364, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeightDelta": { + "line": 369, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeightDelta": { + "line": 374, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeightDelta": { + "line": 379, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeightDelta": { + "line": 384, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeightDelta": { + "line": 389, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getTimesChanged": { + "line": 394, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 2, + "programLength": 3, + "programVocabulary": 3, + "volume": 4.754887502163468, + "difficulty": 0.5, + "effort": 2.377443751081734, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getTimesChanged" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getFileName": { + "line": 399, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getFileName" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLine": { + "line": 404, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLine" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::equals": { + "line": 409, + "lineCount": 5, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 2, + "N1": 5, + "N2": 5, + "programLength": 10, + "programVocabulary": 5, + "volume": 23.21928094887362, + "difficulty": 3.75, + "effort": 87.07230355827608, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::equals" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::toArray": { + "line": 418, + "lineCount": 34, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 29, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 30, + "N1": 0, + "N2": 58, + "programLength": 58, + "programVocabulary": 30, + "volume": 284.5996545452941, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::toArray" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::jsonSerialize": { + "line": 456, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::jsonSerialize" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getHalstead": { + "line": 464, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getHalstead" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCyclomatic": { + "line": 472, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCyclomatic" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::add": { + "line": 30, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 5, + "N2": 6, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 3, + "effort": 85.30376252379816, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::add" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filter": { + "line": 40, + "lineCount": 11, + "argCount": 1, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 8, + "volume": 42, + "difficulty": 3, + "effort": 126, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filter" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getIterator": { + "line": 57, + "lineCount": 5, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getIterator" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::count": { + "line": 66, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::count" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterWithScoreGreaterThan": { + "line": 71, + "lineCount": 6, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 3, + "N2": 6, + "programLength": 9, + "programVocabulary": 5, + "volume": 20.89735285398626, + "difficulty": 2, + "effort": 41.79470570797252, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterWithScoreGreaterThan" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::contains": { + "line": 78, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 4, + "N2": 5, + "programLength": 9, + "programVocabulary": 5, + "volume": 20.89735285398626, + "difficulty": 1.6666666666666667, + "effort": 34.82892142331043, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::contains" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getClassWithMethod": { + "line": 83, + "lineCount": 9, + "argCount": 2, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 3, + "N2": 10, + "programLength": 13, + "programVocabulary": 7, + "volume": 36.49561398674886, + "difficulty": 2, + "effort": 72.99122797349771, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getClassWithMethod" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterByClassName": { + "line": 93, + "lineCount": 6, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 3, + "N2": 6, + "programLength": 9, + "programVocabulary": 5, + "volume": 20.89735285398626, + "difficulty": 2, + "effort": 41.79470570797252, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterByClassName" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::assertMetricHasGetter": { + "line": 100, + "lineCount": 9, + "argCount": 3, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 6, + "programLength": 7, + "programVocabulary": 4, + "volume": 14, + "difficulty": 1, + "effort": 14, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::assertMetricHasGetter" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::groupBy": { + "line": 117, + "lineCount": 20, + "argCount": 1, + "returnCount": 1, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 10, + "N2": 23, + "programLength": 33, + "programVocabulary": 11, + "volume": 114.16124341503081, + "difficulty": 6.571428571428571, + "effort": 750.2024567273453, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::groupBy" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::jsonSerialize": { + "line": 141, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::jsonSerialize" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::__construct": { + "line": 32, + "lineCount": 8, + "argCount": 5, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 5, + "N1": 0, + "N2": 5, + "programLength": 5, + "programVocabulary": 5, + "volume": 11.60964047443681, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collect": { + "line": 49, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 5, + "programLength": 6, + "programVocabulary": 4, + "volume": 12, + "difficulty": 0.8333333333333334, + "effort": 10, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collect" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collectFromPaths": { + "line": 62, + "lineCount": 13, + "argCount": 2, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 8, + "N2": 16, + "programLength": 24, + "programVocabulary": 9, + "volume": 76.07820003461549, + "difficulty": 4, + "effort": 304.31280013846197, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collectFromPaths" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCodeFromFile": { + "line": 79, + "lineCount": 10, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 2, + "N1": 5, + "N2": 6, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 6, + "effort": 170.6075250475963, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCodeFromFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findMetrics": { + "line": 98, + "lineCount": 31, + "argCount": 1, + "returnCount": 1, + "variableCount": 9, + "propertyCallCount": 2, + "ifNestingLevel": 2, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 13, + "N1": 18, + "N2": 38, + "programLength": 56, + "programVocabulary": 16, + "volume": 224, + "difficulty": 4.384615384615384, + "effort": 982.1538461538461, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findMetrics" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processMethodMetrics": { + "line": 136, + "lineCount": 29, + "argCount": 3, + "returnCount": 1, + "variableCount": 7, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 14, + "N1": 8, + "N2": 27, + "programLength": 35, + "programVocabulary": 17, + "volume": 143.06119944376186, + "difficulty": 2.892857142857143, + "effort": 413.8556126765968, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processMethodMetrics" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::isExcluded": { + "line": 166, + "lineCount": 12, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 5, + "N1": 5, + "N2": 9, + "programLength": 14, + "programVocabulary": 9, + "volume": 44.37895002019237, + "difficulty": 3.6, + "effort": 159.76422007269252, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::isExcluded" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findSourceFiles": { + "line": 187, + "lineCount": 7, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 2, + "N2": 6, + "programLength": 8, + "programVocabulary": 6, + "volume": 20.67970000576925, + "difficulty": 1.5, + "effort": 31.019550008653873, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findSourceFiles" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getProjectRoot": { + "line": 202, + "lineCount": 13, + "argCount": 0, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 2, + "N1": 8, + "N2": 8, + "programLength": 16, + "programVocabulary": 6, + "volume": 41.3594000115385, + "difficulty": 8, + "effort": 330.875200092308, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getProjectRoot" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateCacheKey": { + "line": 219, + "lineCount": 7, + "argCount": 2, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 6, + "N1": 10, + "N2": 12, + "programLength": 22, + "programVocabulary": 10, + "volume": 73.08241808752197, + "difficulty": 4, + "effort": 292.3296723500879, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateCacheKey" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateConfigHash": { + "line": 230, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 1, + "N1": 3, + "N2": 2, + "programLength": 5, + "programVocabulary": 3, + "volume": 7.92481250360578, + "difficulty": 2, + "effort": 15.84962500721156, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateConfigHash" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::cacheResult": { + "line": 239, + "lineCount": 14, + "argCount": 4, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 13, + "N1": 5, + "N2": 20, + "programLength": 25, + "programVocabulary": 15, + "volume": 97.67226489021297, + "difficulty": 1.5384615384615385, + "effort": 150.26502290801997, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::cacheResult" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::clearCache": { + "line": 254, + "lineCount": 4, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::clearCache" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::normalizeFilename": { + "line": 264, + "lineCount": 15, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 6, + "n2": 7, + "N1": 12, + "N2": 16, + "programLength": 28, + "programVocabulary": 13, + "volume": 103.61231210795059, + "difficulty": 6.857142857142857, + "effort": 710.4844258830897, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::normalizeFilename" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCachedMetrics": { + "line": 286, + "lineCount": 19, + "argCount": 3, + "returnCount": 3, + "variableCount": 4, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 11, + "N1": 10, + "N2": 29, + "programLength": 39, + "programVocabulary": 14, + "volume": 148.48684196024655, + "difficulty": 3.954545454545454, + "effort": 587.1979659337022, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCachedMetrics" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processFile": { + "line": 312, + "lineCount": 37, + "argCount": 5, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 7, + "n2": 10, + "N1": 12, + "N2": 28, + "programLength": 40, + "programVocabulary": 17, + "volume": 163.49851365001356, + "difficulty": 9.799999999999999, + "effort": 1602.2854337701328, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::sort": { + "line": 51, + "lineCount": 41, + "argCount": 3, + "returnCount": 2, + "variableCount": 10, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 18, + "N1": 20, + "N2": 43, + "programLength": 63, + "programVocabulary": 22, + "volume": 280.9441919741497, + "difficulty": 4.777777777777778, + "effort": 1342.2889172098264, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::sort" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getFieldValue": { + "line": 100, + "lineCount": 28, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 25, + "N1": 24, + "N2": 50, + "programLength": 74, + "programVocabulary": 27, + "volume": 351.86167516009664, + "difficulty": 2, + "effort": 703.7233503201933, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getFieldValue" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::compareValues": { + "line": 136, + "lineCount": 13, + "argCount": 2, + "returnCount": 3, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 2, + "N1": 9, + "N2": 12, + "programLength": 21, + "programVocabulary": 5, + "volume": 48.760489992634604, + "difficulty": 9, + "effort": 438.8444099337114, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::compareValues" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getSortableFields": { + "line": 155, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 0, + "N1": 0, + "N2": 0, + "programLength": 0, + "programVocabulary": 0, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getSortableFields" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__construct": { + "line": 15, + "lineCount": 11, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 7, + "N2": 12, + "programLength": 19, + "programVocabulary": 6, + "volume": 49.11428751370197, + "difficulty": 6, + "effort": 294.6857250822118, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::getValue": { + "line": 27, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::getValue" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasIncreased": { + "line": 32, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasIncreased" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__toString": { + "line": 37, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__toString" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasNotChanged": { + "line": 42, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 2, + "programLength": 3, + "programVocabulary": 3, + "volume": 4.754887502163468, + "difficulty": 0.5, + "effort": 2.377443751081734, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasNotChanged" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\FileProcessed::__construct": { + "line": 14, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\FileProcessed::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\ParserFailed::__construct": { + "line": 15, + "lineCount": 5, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\ParserFailed::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\SourceFilesFound::__construct": { + "line": 17, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\SourceFilesFound::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::__construct": { + "line": 15, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::create": { + "line": 27, + "lineCount": 10, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 6, + "N1": 0, + "N2": 8, + "programLength": 8, + "programVocabulary": 6, + "volume": 20.67970000576925, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::create" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::getSupportedTypes": { + "line": 43, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 4, + "N1": 0, + "N2": 4, + "programLength": 4, + "programVocabulary": 4, + "volume": 8, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::getSupportedTypes" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::isSupported": { + "line": 54, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 2, + "N2": 3, + "programLength": 5, + "programVocabulary": 4, + "volume": 10, + "difficulty": 1.5, + "effort": 15, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::isSupported" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CsvExporter::export": { + "line": 46, + "lineCount": 57, + "argCount": 2, + "returnCount": 0, + "variableCount": 6, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 15, + "N1": 37, + "N2": 54, + "programLength": 91, + "programVocabulary": 19, + "volume": 386.56140372336625, + "difficulty": 7.2, + "effort": 2783.242106808237, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CsvExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::export": { + "line": 40, + "lineCount": 8, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 5, + "N1": 4, + "N2": 8, + "programLength": 12, + "programVocabulary": 9, + "volume": 38.039100017307746, + "difficulty": 3.2, + "effort": 121.72512005538479, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::escape": { + "line": 49, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::escape" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::formatNumber": { + "line": 54, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::formatNumber" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::generateMetricRow": { + "line": 59, + "lineCount": 12, + "argCount": 3, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 16, + "N1": 19, + "N2": 27, + "programLength": 46, + "programVocabulary": 21, + "volume": 202.04660144782298, + "difficulty": 4.21875, + "effort": 852.3840998580032, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::generateMetricRow" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::generateHtml": { + "line": 78, + "lineCount": 64, + "argCount": 1, + "returnCount": 1, + "variableCount": 7, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 11, + "N1": 46, + "N2": 57, + "programLength": 103, + "programVocabulary": 15, + "volume": 402.40973134767745, + "difficulty": 10.363636363636363, + "effort": 4170.42812487593, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::generateHtml" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\JsonExporter::export": { + "line": 19, + "lineCount": 38, + "argCount": 2, + "returnCount": 0, + "variableCount": 5, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 27, + "N1": 29, + "N2": 58, + "programLength": 87, + "programVocabulary": 32, + "volume": 435, + "difficulty": 5.370370370370371, + "effort": 2336.1111111111113, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\JsonExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::__construct": { + "line": 24, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::export": { + "line": 36, + "lineCount": 8, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 5, + "N1": 4, + "N2": 8, + "programLength": 12, + "programVocabulary": 9, + "volume": 38.039100017307746, + "difficulty": 3.2, + "effort": 121.72512005538479, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::escape": { + "line": 48, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::escape" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateMetricCell": { + "line": 56, + "lineCount": 12, + "argCount": 3, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 12, + "N1": 16, + "N2": 24, + "programLength": 40, + "programVocabulary": 17, + "volume": 163.49851365001356, + "difficulty": 5, + "effort": 817.4925682500678, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateMetricCell" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::filterMetrics": { + "line": 75, + "lineCount": 15, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 4, + "N1": 4, + "N2": 11, + "programLength": 15, + "programVocabulary": 7, + "volume": 42.11032383086406, + "difficulty": 4.125, + "effort": 173.70508580231424, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::filterMetrics" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableHeader": { + "line": 94, + "lineCount": 33, + "argCount": 0, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 4, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 19, + "N1": 10, + "N2": 28, + "programLength": 38, + "programVocabulary": 22, + "volume": 169.4584015082173, + "difficulty": 2.2105263157894735, + "effort": 374.5922559655329, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableHeader" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableHeaderWithClass": { + "line": 131, + "lineCount": 33, + "argCount": 0, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 4, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 20, + "N1": 10, + "N2": 29, + "programLength": 39, + "programVocabulary": 23, + "volume": 176.41891628622352, + "difficulty": 2.175, + "effort": 383.7111429225361, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableHeaderWithClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableSeparator": { + "line": 168, + "lineCount": 20, + "argCount": 0, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 4, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 7, + "N1": 3, + "N2": 16, + "programLength": 19, + "programVocabulary": 10, + "volume": 63.11663380285988, + "difficulty": 3.4285714285714284, + "effort": 216.399887324091, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableSeparator" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableSeparatorWithClass": { + "line": 192, + "lineCount": 20, + "argCount": 0, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 4, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 8, + "N1": 3, + "N2": 16, + "programLength": 19, + "programVocabulary": 11, + "volume": 65.72920075410865, + "difficulty": 3, + "effort": 197.18760226232592, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableSeparatorWithClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableRow": { + "line": 216, + "lineCount": 22, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 6, + "N1": 53, + "N2": 60, + "programLength": 113, + "programVocabulary": 10, + "volume": 375.37787472227194, + "difficulty": 20, + "effort": 7507.557494445438, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableRow" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableRowWithClass": { + "line": 242, + "lineCount": 25, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 6, + "N1": 55, + "N2": 62, + "programLength": 117, + "programVocabulary": 10, + "volume": 388.66558710182136, + "difficulty": 20.666666666666668, + "effort": 8032.422133437642, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableRowWithClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::addHalsteadCells": { + "line": 274, + "lineCount": 20, + "argCount": 2, + "returnCount": 3, + "variableCount": 2, + "propertyCallCount": 5, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 12, + "N2": 24, + "programLength": 36, + "programVocabulary": 8, + "volume": 108, + "difficulty": 7.199999999999999, + "effort": 777.5999999999999, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::addHalsteadCells" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::addCyclomaticCell": { + "line": 301, + "lineCount": 16, + "argCount": 2, + "returnCount": 3, + "variableCount": 2, + "propertyCallCount": 4, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 8, + "N2": 16, + "programLength": 24, + "programVocabulary": 11, + "volume": 83.02635884729514, + "difficulty": 4.571428571428571, + "effort": 379.5490690162063, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::addCyclomaticCell" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateMarkdown": { + "line": 325, + "lineCount": 8, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 2, + "N2": 6, + "programLength": 8, + "programVocabulary": 3, + "volume": 12.679700005769249, + "difficulty": 1.5, + "effort": 19.019550008653873, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateMarkdown" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateGroupedMarkdown": { + "line": 337, + "lineCount": 49, + "argCount": 1, + "returnCount": 1, + "variableCount": 10, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 8, + "n2": 23, + "N1": 33, + "N2": 65, + "programLength": 98, + "programVocabulary": 31, + "volume": 485.5112384179137, + "difficulty": 11.304347826086957, + "effort": 5488.387912550329, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateGroupedMarkdown" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateSingleTableMarkdown": { + "line": 390, + "lineCount": 28, + "argCount": 1, + "returnCount": 1, + "variableCount": 6, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 6, + "n2": 13, + "N1": 19, + "N2": 37, + "programLength": 56, + "programVocabulary": 19, + "volume": 237.88394075284077, + "difficulty": 8.538461538461538, + "effort": 2031.1628787357943, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateSingleTableMarkdown" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::__construct": { + "line": 32, + "lineCount": 26, + "argCount": 2, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 7, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 14, + "N2": 22, + "programLength": 36, + "programVocabulary": 5, + "volume": 83.58941141594504, + "difficulty": 7.333333333333333, + "effort": 612.9890170502636, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::parse": { + "line": 63, + "lineCount": 37, + "argCount": 1, + "returnCount": 1, + "variableCount": 9, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 14, + "N1": 16, + "N2": 43, + "programLength": 59, + "programVocabulary": 17, + "volume": 241.16030763377, + "difficulty": 4.607142857142858, + "effort": 1111.0599887412977, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::parse" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::scanForAnnotations": { + "line": 104, + "lineCount": 20, + "argCount": 1, + "returnCount": 0, + "variableCount": 4, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 7, + "N1": 8, + "N2": 16, + "programLength": 24, + "programVocabulary": 10, + "volume": 79.7262742772967, + "difficulty": 3.4285714285714284, + "effort": 273.34722609358863, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::scanForAnnotations" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::traverseAbstractSyntaxTreeWithCombinedVisitor": { + "line": 129, + "lineCount": 17, + "argCount": 1, + "returnCount": 0, + "variableCount": 4, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 7, + "N1": 7, + "N2": 15, + "programLength": 22, + "programVocabulary": 10, + "volume": 73.08241808752197, + "difficulty": 3.2142857142857144, + "effort": 234.90777242417778, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::traverseAbstractSyntaxTreeWithCombinedVisitor" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getIgnored": { + "line": 153, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getIgnored" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getIgnoredClasses": { + "line": 163, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getIgnoredClasses" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getIgnoredMethods": { + "line": 173, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getIgnoredMethods" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::clearStaticCaches": { + "line": 181, + "lineCount": 15, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 9, + "N1": 7, + "N2": 19, + "programLength": 26, + "programVocabulary": 10, + "volume": 86.37013046707142, + "difficulty": 1.0555555555555556, + "effort": 91.16847104857538, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::clearStaticCaches" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::clearStaticProperty": { + "line": 200, + "lineCount": 14, + "argCount": 2, + "returnCount": 0, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 6, + "N2": 12, + "programLength": 18, + "programVocabulary": 7, + "volume": 50.53238859703688, + "difficulty": 2.4, + "effort": 121.2777326328885, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::clearStaticProperty" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getRiskLevel": { + "line": 218, + "lineCount": 9, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 8, + "N1": 3, + "N2": 11, + "programLength": 14, + "programVocabulary": 9, + "volume": 44.37895002019237, + "difficulty": 0.6875, + "effort": 30.510528138882254, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getRiskLevel" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculate": { + "line": 47, + "lineCount": 5, + "argCount": 2, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 2, + "N2": 8, + "programLength": 10, + "programVocabulary": 4, + "volume": 20, + "difficulty": 1.3333333333333333, + "effort": 26.666666666666664, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculateScore": { + "line": 53, + "lineCount": 10, + "argCount": 1, + "returnCount": 0, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 9, + "N1": 7, + "N2": 15, + "programLength": 22, + "programVocabulary": 13, + "volume": 81.40967379910403, + "difficulty": 3.3333333333333335, + "effort": 271.36557933034675, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculateScore" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculateMetricWeights": { + "line": 70, + "lineCount": 17, + "argCount": 3, + "returnCount": 0, + "variableCount": 6, + "propertyCallCount": 3, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 12, + "N1": 9, + "N2": 24, + "programLength": 33, + "programVocabulary": 15, + "volume": 128.92738965508113, + "difficulty": 3, + "effort": 386.7821689652434, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculateMetricWeights" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculateLogWeight": { + "line": 132, + "lineCount": 8, + "argCount": 3, + "returnCount": 2, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 5, + "N1": 5, + "N2": 11, + "programLength": 16, + "programVocabulary": 10, + "volume": 53.150849518197795, + "difficulty": 5.5, + "effort": 292.3296723500879, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculateLogWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cyclomatic\\CyclomaticMetrics::__construct": { + "line": 129, + "lineCount": 23, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 19, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 43, + "N1": 56, + "N2": 130, + "programLength": 186, + "programVocabulary": 45, + "volume": 1021.4846759173195, + "difficulty": 3.0232558139534884, + "effort": 3088.209485331431, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cyclomatic\\CyclomaticMetrics::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::escapeMarkdown": { + "line": 18, + "lineCount": 6, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 1, + "n2": 5, + "N1": 1, + "N2": 6, + "programLength": 7, + "programVocabulary": 6, + "volume": 18.094737505048094, + "difficulty": 0.6, + "effort": 10.856842503028856, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::escapeMarkdown" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::formatNumber": { + "line": 32, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 5, + "programLength": 6, + "programVocabulary": 4, + "volume": 12, + "difficulty": 0.8333333333333334, + "effort": 10, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::formatNumber" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::buildTableHeader": { + "line": 43, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 3, + "N2": 5, + "programLength": 8, + "programVocabulary": 6, + "volume": 20.67970000576925, + "difficulty": 1.25, + "effort": 25.84962500721156, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::buildTableHeader" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::buildTableSeparator": { + "line": 54, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 4, + "programLength": 6, + "programVocabulary": 5, + "volume": 13.931568569324174, + "difficulty": 1.3333333333333333, + "effort": 18.575424759098897, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::buildTableSeparator" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::buildTableRow": { + "line": 65, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 3, + "N2": 5, + "programLength": 8, + "programVocabulary": 6, + "volume": 20.67970000576925, + "difficulty": 1.25, + "effort": 25.84962500721156, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::buildTableRow" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::formatPercentage": { + "line": 77, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 2, + "N2": 6, + "programLength": 8, + "programVocabulary": 6, + "volume": 20.67970000576925, + "difficulty": 1.5, + "effort": 31.019550008653873, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::formatPercentage" + } + } + }, + "ignored_items": [], + "cached_at": 1759967601 +} \ No newline at end of file diff --git a/.phpcca.cache/19/198de61574362eaedc78c9eae4c78ac3.cache b/.phpcca.cache/19/198de61574362eaedc78c9eae4c78ac3.cache new file mode 100644 index 0000000..2f992fe --- /dev/null +++ b/.phpcca.cache/19/198de61574362eaedc78c9eae4c78ac3.cache @@ -0,0 +1,813 @@ +{ + "version": "1.0", + "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/Command\/CognitiveMetricsCommand.php", + "file_mtime": 1759964701, + "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", + "analysis_result": { + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::__construct": { + "line": 26, + "lineCount": 5, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 4, + "N1": 3, + "N2": 6, + "programLength": 9, + "programVocabulary": 7, + "volume": 25.26619429851844, + "difficulty": 2.25, + "effort": 56.848937171666485, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItem": { + "line": 35, + "lineCount": 15, + "argCount": 1, + "returnCount": 3, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 6, + "N2": 13, + "programLength": 19, + "programVocabulary": 8, + "volume": 57, + "difficulty": 6.5, + "effort": 370.5, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItem" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItems": { + "line": 55, + "lineCount": 9, + "argCount": 1, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 3, + "N2": 9, + "programLength": 12, + "programVocabulary": 6, + "volume": 31.019550008653873, + "difficulty": 2.25, + "effort": 69.79398751947122, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItems" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::hasItem": { + "line": 68, + "lineCount": 6, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 5, + "n2": 3, + "N1": 6, + "N2": 7, + "programLength": 13, + "programVocabulary": 8, + "volume": 39, + "difficulty": 5.833333333333334, + "effort": 227.50000000000003, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::hasItem" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::clear": { + "line": 75, + "lineCount": 10, + "argCount": 0, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 2, + "N2": 4, + "programLength": 6, + "programVocabulary": 3, + "volume": 9.509775004326936, + "difficulty": 1, + "effort": 9.509775004326936, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::clear" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItem": { + "line": 89, + "lineCount": 10, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 4, + "N2": 6, + "programLength": 10, + "programVocabulary": 6, + "volume": 25.84962500721156, + "difficulty": 3, + "effort": 77.54887502163469, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItem" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItems": { + "line": 103, + "lineCount": 10, + "argCount": 1, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 3, + "N2": 8, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 2, + "effort": 56.86917501586544, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItems" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::save": { + "line": 117, + "lineCount": 11, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 4, + "N1": 9, + "N2": 12, + "programLength": 21, + "programVocabulary": 7, + "volume": 58.95445336320969, + "difficulty": 4.5, + "effort": 265.2950401344436, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::save" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveDeferred": { + "line": 129, + "lineCount": 6, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveDeferred" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::commit": { + "line": 136, + "lineCount": 11, + "argCount": 0, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 4, + "N2": 8, + "programLength": 12, + "programVocabulary": 5, + "volume": 27.863137138648348, + "difficulty": 2.6666666666666665, + "effort": 74.30169903639559, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::commit" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::ensureCacheDirectory": { + "line": 152, + "lineCount": 9, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 3, + "N2": 4, + "programLength": 7, + "programVocabulary": 4, + "volume": 14, + "difficulty": 2, + "effort": 28, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::ensureCacheDirectory" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getCacheFilePath": { + "line": 168, + "lineCount": 15, + "argCount": 1, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 10, + "N1": 13, + "N2": 19, + "programLength": 32, + "programVocabulary": 14, + "volume": 121.83535750584333, + "difficulty": 3.8, + "effort": 462.9743585222046, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getCacheFilePath" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::loadCacheData": { + "line": 187, + "lineCount": 14, + "argCount": 1, + "returnCount": 3, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 6, + "N2": 8, + "programLength": 14, + "programVocabulary": 6, + "volume": 36.18947501009619, + "difficulty": 4, + "effort": 144.75790004038475, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::loadCacheData" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveCacheData": { + "line": 209, + "lineCount": 21, + "argCount": 2, + "returnCount": 3, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 6, + "n2": 7, + "N1": 13, + "N2": 17, + "programLength": 30, + "programVocabulary": 13, + "volume": 111.01319154423277, + "difficulty": 7.285714285714285, + "effort": 808.810395536553, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveCacheData" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::sanitizeUtf8": { + "line": 234, + "lineCount": 25, + "argCount": 1, + "returnCount": 4, + "variableCount": 6, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 8, + "N1": 13, + "N2": 29, + "programLength": 42, + "programVocabulary": 11, + "volume": 145.29612798276648, + "difficulty": 5.4375, + "effort": 790.0476959062927, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::sanitizeUtf8" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::removeDirectory": { + "line": 260, + "lineCount": 23, + "argCount": 1, + "returnCount": 2, + "variableCount": 5, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 5, + "n2": 9, + "N1": 13, + "N2": 20, + "programLength": 33, + "programVocabulary": 14, + "volume": 125.64271242790093, + "difficulty": 5.555555555555555, + "effort": 698.0150690438941, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::removeDirectory" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::__construct": { + "line": 42, + "lineCount": 7, + "argCount": 3, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 3, + "N1": 0, + "N2": 3, + "programLength": 3, + "programVocabulary": 3, + "volume": 4.754887502163468, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::configure": { + "line": 53, + "lineCount": 57, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 15, + "N1": 9, + "N2": 16, + "programLength": 25, + "programVocabulary": 16, + "volume": 100, + "difficulty": 0.5333333333333333, + "effort": 53.333333333333336, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::configure" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::execute": { + "line": 119, + "lineCount": 43, + "argCount": 2, + "returnCount": 5, + "variableCount": 9, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 4, + "halstead": { + "n1": 7, + "n2": 14, + "N1": 31, + "N2": 45, + "programLength": 76, + "programVocabulary": 21, + "volume": 333.8161241311858, + "difficulty": 11.25, + "effort": 3755.4313964758403, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::execute" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::loadCoverageReader": { + "line": 171, + "lineCount": 32, + "argCount": 3, + "returnCount": 4, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 2, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 4, + "n2": 9, + "N1": 9, + "N2": 21, + "programLength": 30, + "programVocabulary": 13, + "volume": 111.01319154423277, + "difficulty": 4.666666666666667, + "effort": 518.0615605397529, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::loadCoverageReader" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::detectCoverageFormat": { + "line": 207, + "lineCount": 19, + "argCount": 1, + "returnCount": 4, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 9, + "volume": 47.548875021634686, + "difficulty": 2.5, + "effort": 118.87218755408671, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::detectCoverageFormat" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::coverageFileExists": { + "line": 227, + "lineCount": 20, + "argCount": 2, + "returnCount": 3, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 4, + "N2": 7, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 3.5, + "effort": 99.52105627776452, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::coverageFileExists" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::__construct": { + "line": 49, + "lineCount": 10, + "argCount": 6, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 0, + "n2": 6, + "N1": 0, + "N2": 6, + "programLength": 6, + "programVocabulary": 6, + "volume": 15.509775004326936, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::configure": { + "line": 63, + "lineCount": 76, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 1, + "n2": 20, + "N1": 13, + "N2": 20, + "programLength": 33, + "programVocabulary": 21, + "volume": 144.94647495169912, + "difficulty": 0.5, + "effort": 72.47323747584956, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::configure" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::execute": { + "line": 150, + "lineCount": 52, + "argCount": 2, + "returnCount": 5, + "variableCount": 11, + "propertyCallCount": 6, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 7, + "cyclomatic_complexity": { + "complexity": 8, + "risk_level": "medium" + }, + "halstead": { + "n1": 6, + "n2": 15, + "N1": 43, + "N2": 61, + "programLength": 104, + "programVocabulary": 21, + "volume": 456.80101196899113, + "difficulty": 12.2, + "effort": 5572.972346021692, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::execute" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::parsePaths": { + "line": 209, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 4, + "N2": 8, + "programLength": 12, + "programVocabulary": 7, + "volume": 33.68825906469125, + "difficulty": 1.6, + "effort": 53.901214503506004, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::parsePaths" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleBaseLine": { + "line": 224, + "lineCount": 8, + "argCount": 2, + "returnCount": 0, + "variableCount": 3, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "cyclomatic_complexity": { + "complexity": 2, + "risk_level": "low" + }, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 5, + "N2": 11, + "programLength": 16, + "programVocabulary": 7, + "volume": 44.91767875292167, + "difficulty": 2.2, + "effort": 98.81889325642767, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleBaseLine" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleCoverageOptions": { + "line": 238, + "lineCount": 20, + "argCount": 2, + "returnCount": 3, + "variableCount": 5, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "cyclomatic_complexity": { + "complexity": 5, + "risk_level": "low" + }, + "halstead": { + "n1": 5, + "n2": 10, + "N1": 15, + "N2": 25, + "programLength": 40, + "programVocabulary": 15, + "volume": 156.27562382434076, + "difficulty": 6.25, + "effort": 976.7226489021298, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleCoverageOptions" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::applySorting": { + "line": 264, + "lineCount": 21, + "argCount": 3, + "returnCount": 3, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "cyclomatic_complexity": { + "complexity": 3, + "risk_level": "low" + }, + "halstead": { + "n1": 5, + "n2": 15, + "N1": 16, + "N2": 32, + "programLength": 48, + "programVocabulary": 20, + "volume": 207.45254855459342, + "difficulty": 5.333333333333333, + "effort": 1106.4135922911648, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::applySorting" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadConfiguration": { + "line": 293, + "lineCount": 10, + "argCount": 2, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 2, + "risk_level": "low" + }, + "halstead": { + "n1": 2, + "n2": 6, + "N1": 5, + "N2": 9, + "programLength": 14, + "programVocabulary": 8, + "volume": 42, + "difficulty": 1.5, + "effort": 63, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadConfiguration" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadCoverageReader": { + "line": 313, + "lineCount": 28, + "argCount": 3, + "returnCount": 4, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 2, + "elseCount": 0, + "ifCount": 3, + "cyclomatic_complexity": { + "complexity": 5, + "risk_level": "low" + }, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 10, + "N2": 18, + "programLength": 28, + "programVocabulary": 11, + "volume": 96.86408532184433, + "difficulty": 5.142857142857143, + "effort": 498.15815308377086, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadCoverageReader" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::detectCoverageFormat": { + "line": 345, + "lineCount": 19, + "argCount": 1, + "returnCount": 4, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "cyclomatic_complexity": { + "complexity": 4, + "risk_level": "low" + }, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 9, + "volume": 47.548875021634686, + "difficulty": 2.5, + "effort": 118.87218755408671, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::detectCoverageFormat" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::coverageFileExists": { + "line": 365, + "lineCount": 20, + "argCount": 2, + "returnCount": 3, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "cyclomatic_complexity": { + "complexity": 3, + "risk_level": "low" + }, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 4, + "N2": 7, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 3.5, + "effort": 99.52105627776452, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::coverageFileExists" + } + } + }, + "ignored_items": [], + "cached_at": 1759967601 +} \ No newline at end of file diff --git a/.phpcca.cache/1b/1b5d2a0265f17399a1e7fccd66f984d9.cache b/.phpcca.cache/1b/1b5d2a0265f17399a1e7fccd66f984d9.cache new file mode 100644 index 0000000..6a0dac2 --- /dev/null +++ b/.phpcca.cache/1b/1b5d2a0265f17399a1e7fccd66f984d9.cache @@ -0,0 +1,2479 @@ +{ + "version": "1.0", + "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/Config\/ConfigLoader.php", + "file_mtime": 1759965497, + "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", + "analysis_result": { + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::__construct": { + "line": 26, + "lineCount": 5, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 4, + "N1": 3, + "N2": 6, + "programLength": 9, + "programVocabulary": 7, + "volume": 25.26619429851844, + "difficulty": 2.25, + "effort": 56.848937171666485, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItem": { + "line": 35, + "lineCount": 15, + "argCount": 1, + "returnCount": 3, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 6, + "N2": 13, + "programLength": 19, + "programVocabulary": 8, + "volume": 57, + "difficulty": 6.5, + "effort": 370.5, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItem" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItems": { + "line": 55, + "lineCount": 9, + "argCount": 1, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 3, + "N2": 9, + "programLength": 12, + "programVocabulary": 6, + "volume": 31.019550008653873, + "difficulty": 2.25, + "effort": 69.79398751947122, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItems" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::hasItem": { + "line": 68, + "lineCount": 6, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 5, + "n2": 3, + "N1": 6, + "N2": 7, + "programLength": 13, + "programVocabulary": 8, + "volume": 39, + "difficulty": 5.833333333333334, + "effort": 227.50000000000003, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::hasItem" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::clear": { + "line": 75, + "lineCount": 10, + "argCount": 0, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 2, + "N2": 4, + "programLength": 6, + "programVocabulary": 3, + "volume": 9.509775004326936, + "difficulty": 1, + "effort": 9.509775004326936, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::clear" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItem": { + "line": 89, + "lineCount": 10, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 4, + "N2": 6, + "programLength": 10, + "programVocabulary": 6, + "volume": 25.84962500721156, + "difficulty": 3, + "effort": 77.54887502163469, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItem" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItems": { + "line": 103, + "lineCount": 10, + "argCount": 1, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 3, + "N2": 8, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 2, + "effort": 56.86917501586544, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItems" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::save": { + "line": 117, + "lineCount": 11, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 4, + "N1": 9, + "N2": 12, + "programLength": 21, + "programVocabulary": 7, + "volume": 58.95445336320969, + "difficulty": 4.5, + "effort": 265.2950401344436, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::save" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveDeferred": { + "line": 129, + "lineCount": 6, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveDeferred" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::commit": { + "line": 136, + "lineCount": 11, + "argCount": 0, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 4, + "N2": 8, + "programLength": 12, + "programVocabulary": 5, + "volume": 27.863137138648348, + "difficulty": 2.6666666666666665, + "effort": 74.30169903639559, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::commit" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::ensureCacheDirectory": { + "line": 152, + "lineCount": 9, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 3, + "N2": 4, + "programLength": 7, + "programVocabulary": 4, + "volume": 14, + "difficulty": 2, + "effort": 28, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::ensureCacheDirectory" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getCacheFilePath": { + "line": 168, + "lineCount": 15, + "argCount": 1, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 10, + "N1": 13, + "N2": 19, + "programLength": 32, + "programVocabulary": 14, + "volume": 121.83535750584333, + "difficulty": 3.8, + "effort": 462.9743585222046, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getCacheFilePath" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::loadCacheData": { + "line": 187, + "lineCount": 14, + "argCount": 1, + "returnCount": 3, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 6, + "N2": 8, + "programLength": 14, + "programVocabulary": 6, + "volume": 36.18947501009619, + "difficulty": 4, + "effort": 144.75790004038475, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::loadCacheData" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveCacheData": { + "line": 209, + "lineCount": 21, + "argCount": 2, + "returnCount": 3, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 6, + "n2": 7, + "N1": 13, + "N2": 17, + "programLength": 30, + "programVocabulary": 13, + "volume": 111.01319154423277, + "difficulty": 7.285714285714285, + "effort": 808.810395536553, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveCacheData" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::sanitizeUtf8": { + "line": 234, + "lineCount": 25, + "argCount": 1, + "returnCount": 4, + "variableCount": 6, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 8, + "N1": 13, + "N2": 29, + "programLength": 42, + "programVocabulary": 11, + "volume": 145.29612798276648, + "difficulty": 5.4375, + "effort": 790.0476959062927, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::sanitizeUtf8" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::removeDirectory": { + "line": 260, + "lineCount": 23, + "argCount": 1, + "returnCount": 2, + "variableCount": 5, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 5, + "n2": 9, + "N1": 13, + "N2": 20, + "programLength": 33, + "programVocabulary": 14, + "volume": 125.64271242790093, + "difficulty": 5.555555555555555, + "effort": 698.0150690438941, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::removeDirectory" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::__construct": { + "line": 42, + "lineCount": 7, + "argCount": 3, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 3, + "N1": 0, + "N2": 3, + "programLength": 3, + "programVocabulary": 3, + "volume": 4.754887502163468, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::configure": { + "line": 53, + "lineCount": 57, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 15, + "N1": 9, + "N2": 16, + "programLength": 25, + "programVocabulary": 16, + "volume": 100, + "difficulty": 0.5333333333333333, + "effort": 53.333333333333336, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::configure" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::execute": { + "line": 119, + "lineCount": 43, + "argCount": 2, + "returnCount": 5, + "variableCount": 9, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 4, + "halstead": { + "n1": 7, + "n2": 14, + "N1": 31, + "N2": 45, + "programLength": 76, + "programVocabulary": 21, + "volume": 333.8161241311858, + "difficulty": 11.25, + "effort": 3755.4313964758403, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::execute" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::loadCoverageReader": { + "line": 171, + "lineCount": 32, + "argCount": 3, + "returnCount": 4, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 2, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 4, + "n2": 9, + "N1": 9, + "N2": 21, + "programLength": 30, + "programVocabulary": 13, + "volume": 111.01319154423277, + "difficulty": 4.666666666666667, + "effort": 518.0615605397529, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::loadCoverageReader" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::detectCoverageFormat": { + "line": 207, + "lineCount": 19, + "argCount": 1, + "returnCount": 4, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 9, + "volume": 47.548875021634686, + "difficulty": 2.5, + "effort": 118.87218755408671, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::detectCoverageFormat" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::coverageFileExists": { + "line": 227, + "lineCount": 20, + "argCount": 2, + "returnCount": 3, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 4, + "N2": 7, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 3.5, + "effort": 99.52105627776452, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::coverageFileExists" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::__construct": { + "line": 49, + "lineCount": 10, + "argCount": 6, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 6, + "N1": 0, + "N2": 6, + "programLength": 6, + "programVocabulary": 6, + "volume": 15.509775004326936, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::configure": { + "line": 63, + "lineCount": 76, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 20, + "N1": 13, + "N2": 20, + "programLength": 33, + "programVocabulary": 21, + "volume": 144.94647495169912, + "difficulty": 0.5, + "effort": 72.47323747584956, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::configure" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::execute": { + "line": 150, + "lineCount": 52, + "argCount": 2, + "returnCount": 5, + "variableCount": 11, + "propertyCallCount": 6, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 7, + "halstead": { + "n1": 6, + "n2": 15, + "N1": 43, + "N2": 61, + "programLength": 104, + "programVocabulary": 21, + "volume": 456.80101196899113, + "difficulty": 12.2, + "effort": 5572.972346021692, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::execute" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::parsePaths": { + "line": 209, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 4, + "N2": 8, + "programLength": 12, + "programVocabulary": 7, + "volume": 33.68825906469125, + "difficulty": 1.6, + "effort": 53.901214503506004, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::parsePaths" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleBaseLine": { + "line": 224, + "lineCount": 8, + "argCount": 2, + "returnCount": 0, + "variableCount": 3, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 5, + "N2": 11, + "programLength": 16, + "programVocabulary": 7, + "volume": 44.91767875292167, + "difficulty": 2.2, + "effort": 98.81889325642767, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleBaseLine" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleCoverageOptions": { + "line": 238, + "lineCount": 20, + "argCount": 2, + "returnCount": 3, + "variableCount": 5, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 5, + "n2": 10, + "N1": 15, + "N2": 25, + "programLength": 40, + "programVocabulary": 15, + "volume": 156.27562382434076, + "difficulty": 6.25, + "effort": 976.7226489021298, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleCoverageOptions" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::applySorting": { + "line": 264, + "lineCount": 21, + "argCount": 3, + "returnCount": 3, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 15, + "N1": 16, + "N2": 32, + "programLength": 48, + "programVocabulary": 20, + "volume": 207.45254855459342, + "difficulty": 5.333333333333333, + "effort": 1106.4135922911648, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::applySorting" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadConfiguration": { + "line": 293, + "lineCount": 10, + "argCount": 2, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 6, + "N1": 5, + "N2": 9, + "programLength": 14, + "programVocabulary": 8, + "volume": 42, + "difficulty": 1.5, + "effort": 63, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadConfiguration" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadCoverageReader": { + "line": 313, + "lineCount": 28, + "argCount": 3, + "returnCount": 4, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 2, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 10, + "N2": 18, + "programLength": 28, + "programVocabulary": 11, + "volume": 96.86408532184433, + "difficulty": 5.142857142857143, + "effort": 498.15815308377086, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadCoverageReader" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::detectCoverageFormat": { + "line": 345, + "lineCount": 19, + "argCount": 1, + "returnCount": 4, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 9, + "volume": 47.548875021634686, + "difficulty": 2.5, + "effort": 118.87218755408671, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::detectCoverageFormat" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::coverageFileExists": { + "line": 365, + "lineCount": 20, + "argCount": 2, + "returnCount": 3, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 4, + "N2": 7, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 3.5, + "effort": 99.52105627776452, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::coverageFileExists" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__construct": { + "line": 12, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__invoke": { + "line": 17, + "lineCount": 22, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 3, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 10, + "N2": 11, + "programLength": 21, + "programVocabulary": 7, + "volume": 58.95445336320969, + "difficulty": 2.2, + "effort": 129.6997973990613, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__invoke" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__construct": { + "line": 21, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__invoke": { + "line": 26, + "lineCount": 11, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 4, + "N2": 9, + "programLength": 13, + "programVocabulary": 4, + "volume": 26, + "difficulty": 4.5, + "effort": 117, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__invoke" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleSourceFilesFound": { + "line": 38, + "lineCount": 6, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 4, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 6, + "N2": 10, + "programLength": 16, + "programVocabulary": 8, + "volume": 48, + "difficulty": 5, + "effort": 240, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleSourceFilesFound" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleFileProcessed": { + "line": 45, + "lineCount": 5, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleFileProcessed" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleAllFilesProcessed": { + "line": 51, + "lineCount": 6, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 3, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 3, + "N2": 5, + "programLength": 8, + "programVocabulary": 5, + "volume": 18.575424759098897, + "difficulty": 1.6666666666666667, + "effort": 30.95904126516483, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleAllFilesProcessed" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__construct": { + "line": 20, + "lineCount": 5, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__invoke": { + "line": 26, + "lineCount": 17, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 5, + "n2": 8, + "N1": 17, + "N2": 17, + "programLength": 34, + "programVocabulary": 13, + "volume": 125.81495041679713, + "difficulty": 5.3125, + "effort": 668.3919240892347, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__invoke" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::formatBytes": { + "line": 50, + "lineCount": 12, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 7, + "n2": 13, + "N1": 10, + "N2": 22, + "programLength": 32, + "programVocabulary": 20, + "volume": 138.3016990363956, + "difficulty": 5.923076923076923, + "effort": 819.1716019848047, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::formatBytes" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::isDebugEnabled": { + "line": 66, + "lineCount": 5, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 1, + "N1": 4, + "N2": 2, + "programLength": 6, + "programVocabulary": 4, + "volume": 12, + "difficulty": 3, + "effort": 36, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::isDebugEnabled" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::__construct": { + "line": 20, + "lineCount": 6, + "argCount": 2, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 4, + "volume": 8, + "difficulty": 0.5, + "effort": 4, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::exportToFile": { + "line": 32, + "lineCount": 27, + "argCount": 3, + "returnCount": 4, + "variableCount": 2, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 1, + "n2": 6, + "N1": 6, + "N2": 19, + "programLength": 25, + "programVocabulary": 7, + "volume": 70.1838730514401, + "difficulty": 1.5833333333333333, + "effort": 111.12446566478016, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::exportToFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::hasIncompleteReportOptions": { + "line": 60, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 2, + "N1": 7, + "N2": 6, + "programLength": 13, + "programVocabulary": 6, + "volume": 33.60451250937503, + "difficulty": 6, + "effort": 201.62707505625016, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::hasIncompleteReportOptions" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::isValidReportType": { + "line": 65, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 2, + "N2": 4, + "programLength": 6, + "programVocabulary": 4, + "volume": 12, + "difficulty": 2, + "effort": 24, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::isValidReportType" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleExceptions": { + "line": 77, + "lineCount": 9, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 3, + "N2": 4, + "programLength": 7, + "programVocabulary": 5, + "volume": 16.253496664211536, + "difficulty": 1.3333333333333333, + "effort": 21.67132888561538, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleExceptions" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleInvalidReportType": { + "line": 91, + "lineCount": 11, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 5, + "N2": 8, + "programLength": 13, + "programVocabulary": 8, + "volume": 39, + "difficulty": 2.4000000000000004, + "effort": 93.60000000000001, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleInvalidReportType" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::__construct": { + "line": 15, + "lineCount": 5, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handle": { + "line": 24, + "lineCount": 27, + "argCount": 3, + "returnCount": 4, + "variableCount": 2, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 1, + "n2": 6, + "N1": 6, + "N2": 19, + "programLength": 25, + "programVocabulary": 7, + "volume": 70.1838730514401, + "difficulty": 1.5833333333333333, + "effort": 111.12446566478016, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handle" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::hasIncompleteReportOptions": { + "line": 52, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 2, + "N1": 7, + "N2": 6, + "programLength": 13, + "programVocabulary": 6, + "volume": 33.60451250937503, + "difficulty": 6, + "effort": 201.62707505625016, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::hasIncompleteReportOptions" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::isValidReportType": { + "line": 57, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 5, + "N1": 1, + "N2": 6, + "programLength": 7, + "programVocabulary": 6, + "volume": 18.094737505048094, + "difficulty": 0.6, + "effort": 10.856842503028856, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::isValidReportType" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handleExceptions": { + "line": 66, + "lineCount": 9, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 3, + "N2": 4, + "programLength": 7, + "programVocabulary": 5, + "volume": 16.253496664211536, + "difficulty": 1.3333333333333333, + "effort": 21.67132888561538, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handleExceptions" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handleInvalidReporType": { + "line": 80, + "lineCount": 9, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 4, + "programLength": 6, + "programVocabulary": 5, + "volume": 13.931568569324174, + "difficulty": 1.3333333333333333, + "effort": 18.575424759098897, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handleInvalidReporType" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::__construct": { + "line": 42, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::reportWritten": { + "line": 47, + "lineCount": 7, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 4, + "programLength": 6, + "programVocabulary": 5, + "volume": 13.931568569324174, + "difficulty": 1.3333333333333333, + "effort": 18.575424759098897, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::reportWritten" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::renderChurnTable": { + "line": 59, + "lineCount": 35, + "argCount": 1, + "returnCount": 0, + "variableCount": 6, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 8, + "n2": 18, + "N1": 21, + "N2": 53, + "programLength": 74, + "programVocabulary": 26, + "volume": 347.8325391424408, + "difficulty": 11.777777777777779, + "effort": 4096.694349899859, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::renderChurnTable" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricSummaryTextRenderer::__construct": { + "line": 18, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricSummaryTextRenderer::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricSummaryTextRenderer::render": { + "line": 23, + "lineCount": 32, + "argCount": 2, + "returnCount": 0, + "variableCount": 6, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 6, + "n2": 16, + "N1": 27, + "N2": 38, + "programLength": 65, + "programVocabulary": 22, + "volume": 289.86305521142435, + "difficulty": 7.125, + "effort": 2065.2742683813985, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricSummaryTextRenderer::render" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::__construct": { + "line": 27, + "lineCount": 5, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::metricExceedsThreshold": { + "line": 33, + "lineCount": 6, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 2, + "N1": 3, + "N2": 5, + "programLength": 8, + "programVocabulary": 5, + "volume": 18.575424759098897, + "difficulty": 3.75, + "effort": 69.65784284662087, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::metricExceedsThreshold" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::hasCoverageInCollection": { + "line": 43, + "lineCount": 10, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 2, + "N2": 4, + "programLength": 6, + "programVocabulary": 4, + "volume": 12, + "difficulty": 2, + "effort": 24, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::hasCoverageInCollection" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::render": { + "line": 58, + "lineCount": 17, + "argCount": 2, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 6, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 9, + "N2": 25, + "programLength": 34, + "programVocabulary": 6, + "volume": 87.8887250245193, + "difficulty": 6.25, + "effort": 549.3045314032456, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::render" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderGroupedByClass": { + "line": 81, + "lineCount": 19, + "argCount": 3, + "returnCount": 0, + "variableCount": 6, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 5, + "n2": 11, + "N1": 11, + "N2": 25, + "programLength": 36, + "programVocabulary": 16, + "volume": 144, + "difficulty": 5.6818181818181825, + "effort": 818.1818181818182, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderGroupedByClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::buildRowsForClass": { + "line": 106, + "lineCount": 13, + "argCount": 2, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 4, + "N2": 12, + "programLength": 16, + "programVocabulary": 7, + "volume": 44.91767875292167, + "difficulty": 2.4, + "effort": 107.802429007012, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::buildRowsForClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::getFilenameFromMetrics": { + "line": 123, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 5, + "programLength": 6, + "programVocabulary": 4, + "volume": 12, + "difficulty": 0.8333333333333334, + "effort": 10, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::getFilenameFromMetrics" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderAllMethodsInSingleTable": { + "line": 136, + "lineCount": 12, + "argCount": 3, + "returnCount": 0, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 6, + "N2": 15, + "programLength": 21, + "programVocabulary": 11, + "volume": 72.64806399138324, + "difficulty": 4.285714285714286, + "effort": 311.34884567735673, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderAllMethodsInSingleTable" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::buildRowsForSingleTable": { + "line": 154, + "lineCount": 13, + "argCount": 2, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 4, + "N2": 12, + "programLength": 16, + "programVocabulary": 7, + "volume": 44.91767875292167, + "difficulty": 2.4, + "effort": 107.802429007012, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::buildRowsForSingleTable" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderTableCommon": { + "line": 173, + "lineCount": 19, + "argCount": 4, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 8, + "N1": 7, + "N2": 19, + "programLength": 26, + "programVocabulary": 10, + "volume": 86.37013046707142, + "difficulty": 2.375, + "effort": 205.1290598592946, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderTableCommon" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderTable": { + "line": 196, + "lineCount": 13, + "argCount": 4, + "returnCount": 0, + "variableCount": 3, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 7, + "N1": 4, + "N2": 14, + "programLength": 18, + "programVocabulary": 9, + "volume": 57.05865002596162, + "difficulty": 2, + "effort": 114.11730005192324, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderTable" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderSingleTable": { + "line": 213, + "lineCount": 11, + "argCount": 3, + "returnCount": 0, + "variableCount": 3, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 6, + "N1": 4, + "N2": 12, + "programLength": 16, + "programVocabulary": 8, + "volume": 48, + "difficulty": 2, + "effort": 96, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderSingleTable" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::__construct": { + "line": 16, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatScore": { + "line": 21, + "lineCount": 6, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 6, + "N1": 5, + "N2": 9, + "programLength": 14, + "programVocabulary": 8, + "volume": 42, + "difficulty": 1.5, + "effort": 63, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatScore" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadVolume": { + "line": 28, + "lineCount": 14, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 10, + "N1": 9, + "N2": 17, + "programLength": 26, + "programVocabulary": 15, + "volume": 101.57915548582149, + "difficulty": 4.25, + "effort": 431.7114108147413, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadVolume" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadDifficulty": { + "line": 43, + "lineCount": 13, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 10, + "N1": 8, + "N2": 17, + "programLength": 25, + "programVocabulary": 14, + "volume": 95.1838730514401, + "difficulty": 3.4, + "effort": 323.62516837489636, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadDifficulty" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadEffort": { + "line": 57, + "lineCount": 13, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 10, + "N1": 8, + "N2": 17, + "programLength": 25, + "programVocabulary": 14, + "volume": 95.1838730514401, + "difficulty": 3.4, + "effort": 323.62516837489636, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadEffort" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatCyclomaticComplexity": { + "line": 71, + "lineCount": 13, + "argCount": 1, + "returnCount": 3, + "variableCount": 4, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 5, + "n2": 9, + "N1": 9, + "N2": 18, + "programLength": 27, + "programVocabulary": 14, + "volume": 102.79858289555531, + "difficulty": 5, + "effort": 513.9929144777766, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatCyclomaticComplexity" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::colorCyclomaticRisk": { + "line": 85, + "lineCount": 8, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 7, + "N1": 5, + "N2": 11, + "programLength": 16, + "programVocabulary": 9, + "volume": 50.718800023076994, + "difficulty": 1.5714285714285714, + "effort": 79.70097146483528, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::colorCyclomaticRisk" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::__construct": { + "line": 17, + "lineCount": 5, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::getGroupedTableHeaders": { + "line": 28, + "lineCount": 16, + "argCount": 0, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 10, + "N2": 17, + "programLength": 27, + "programVocabulary": 6, + "volume": 69.79398751947122, + "difficulty": 4.25, + "effort": 296.62444695775264, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::getGroupedTableHeaders" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCoverageHeader": { + "line": 49, + "lineCount": 10, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 6, + "programLength": 7, + "programVocabulary": 4, + "volume": 14, + "difficulty": 1, + "effort": 14, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCoverageHeader" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::getSingleTableHeaders": { + "line": 65, + "lineCount": 20, + "argCount": 0, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 6, + "N1": 9, + "N2": 18, + "programLength": 27, + "programVocabulary": 8, + "volume": 81, + "difficulty": 3, + "effort": 243, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::getSingleTableHeaders" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addHalsteadHeaders": { + "line": 92, + "lineCount": 10, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 1, + "n2": 5, + "N1": 3, + "N2": 9, + "programLength": 12, + "programVocabulary": 6, + "volume": 31.019550008653873, + "difficulty": 0.9, + "effort": 27.917595007788485, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addHalsteadHeaders" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCyclomaticHeaders": { + "line": 109, + "lineCount": 8, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 5, + "programLength": 6, + "programVocabulary": 4, + "volume": 12, + "difficulty": 0.8333333333333334, + "effort": 10, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCyclomaticHeaders" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCognitiveMetricDetails": { + "line": 122, + "lineCount": 16, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 10, + "N1": 2, + "N2": 13, + "programLength": 15, + "programVocabulary": 12, + "volume": 53.77443751081734, + "difficulty": 1.3, + "effort": 69.90676876406255, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCognitiveMetricDetails" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::__construct": { + "line": 21, + "lineCount": 6, + "argCount": 3, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 3, + "N1": 0, + "N2": 3, + "programLength": 3, + "programVocabulary": 3, + "volume": 4.754887502163468, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::buildRow": { + "line": 34, + "lineCount": 16, + "argCount": 1, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 10, + "N2": 24, + "programLength": 34, + "programVocabulary": 7, + "volume": 95.45006734995854, + "difficulty": 4.8, + "effort": 458.160323279801, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::buildRow" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::buildRowWithClassInfo": { + "line": 57, + "lineCount": 16, + "argCount": 1, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 10, + "N2": 24, + "programLength": 34, + "programVocabulary": 7, + "volume": 95.45006734995854, + "difficulty": 4.8, + "effort": 458.160323279801, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::buildRowWithClassInfo" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::metricsToArray": { + "line": 79, + "lineCount": 8, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 3, + "N2": 7, + "programLength": 10, + "programVocabulary": 6, + "volume": 25.84962500721156, + "difficulty": 1.75, + "effort": 45.23684376262023, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::metricsToArray" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::metricsToArrayWithClassInfo": { + "line": 93, + "lineCount": 9, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 4, + "N2": 9, + "programLength": 13, + "programVocabulary": 7, + "volume": 36.49561398674886, + "difficulty": 1.8, + "effort": 65.69210517614795, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::metricsToArrayWithClassInfo" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addHalsteadFields": { + "line": 109, + "lineCount": 10, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 6, + "N1": 6, + "N2": 16, + "programLength": 22, + "programVocabulary": 8, + "volume": 66, + "difficulty": 2.6666666666666665, + "effort": 176, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addHalsteadFields" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addCyclomaticFields": { + "line": 126, + "lineCount": 8, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 2, + "N2": 8, + "programLength": 10, + "programVocabulary": 6, + "volume": 25.84962500721156, + "difficulty": 2, + "effort": 51.69925001442312, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addCyclomaticFields" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addWeightedValue": { + "line": 141, + "lineCount": 10, + "argCount": 3, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 11, + "N1": 13, + "N2": 22, + "programLength": 35, + "programVocabulary": 15, + "volume": 136.74117084629816, + "difficulty": 4, + "effort": 546.9646833851926, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addWeightedValue" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addDelta": { + "line": 158, + "lineCount": 20, + "argCount": 3, + "returnCount": 3, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 6, + "n2": 13, + "N1": 19, + "N2": 30, + "programLength": 49, + "programVocabulary": 19, + "volume": 208.14844815873568, + "difficulty": 6.9230769230769225, + "effort": 1441.0277180220162, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::getKeys": { + "line": 184, + "lineCount": 17, + "argCount": 0, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 0, + "n2": 9, + "N1": 0, + "N2": 9, + "programLength": 9, + "programVocabulary": 9, + "volume": 28.52932501298081, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::getKeys" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::assertDeltaMethodExists": { + "line": 205, + "lineCount": 6, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 6, + "programLength": 8, + "programVocabulary": 5, + "volume": 18.575424759098897, + "difficulty": 2, + "effort": 37.150849518197795, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::assertDeltaMethodExists" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addCoverageValue": { + "line": 216, + "lineCount": 11, + "argCount": 2, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 7, + "N1": 7, + "N2": 15, + "programLength": 22, + "programVocabulary": 12, + "volume": 78.86917501586544, + "difficulty": 5.357142857142857, + "effort": 422.51343758499337, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addCoverageValue" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::extracted": { + "line": 233, + "lineCount": 22, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 12, + "N1": 19, + "N2": 34, + "programLength": 53, + "programVocabulary": 15, + "volume": 207.06520156725148, + "difficulty": 4.25, + "effort": 880.0271066608187, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::extracted" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CacheConfig::__construct": { + "line": 12, + "lineCount": 5, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CacheConfig::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CacheConfig::toArray": { + "line": 23, + "lineCount": 7, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 3, + "N1": 0, + "N2": 4, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CacheConfig::toArray" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CognitiveConfig::__construct": { + "line": 20, + "lineCount": 13, + "argCount": 10, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 10, + "N1": 0, + "N2": 10, + "programLength": 10, + "programVocabulary": 10, + "volume": 33.219280948873624, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CognitiveConfig::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CognitiveConfig::toArray": { + "line": 39, + "lineCount": 20, + "argCount": 0, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 10, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 14, + "N1": 3, + "N2": 27, + "programLength": 30, + "programVocabulary": 16, + "volume": 120, + "difficulty": 1.9285714285714286, + "effort": 231.42857142857144, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CognitiveConfig::toArray" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigFactory::fromArray": { + "line": 16, + "lineCount": 31, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 20, + "N1": 10, + "N2": 52, + "programLength": 62, + "programVocabulary": 23, + "volume": 280.4608412755348, + "difficulty": 3.9000000000000004, + "effort": 1093.7972809745859, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigFactory::fromArray" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigLoader::getCognitiveMetricDefaults": { + "line": 27, + "lineCount": 45, + "argCount": 0, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 0, + "n2": 8, + "N1": 0, + "N2": 16, + "programLength": 16, + "programVocabulary": 8, + "volume": 48, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigLoader::getCognitiveMetricDefaults" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigLoader::getConfigTreeBuilder": { + "line": 73, + "lineCount": 75, + "argCount": 0, + "returnCount": 2, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 3, + "n2": 24, + "N1": 68, + "N2": 29, + "programLength": 97, + "programVocabulary": 27, + "volume": 461.2240877098564, + "difficulty": 1.8125, + "effort": 835.9686589741148, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigLoader::getConfigTreeBuilder" + } + } + }, + "ignored_items": [], + "cached_at": 1759967602 +} \ No newline at end of file diff --git a/.phpcca.cache/20/20354a0f5515882fd2fd95c6dd153bbf.cache b/.phpcca.cache/20/20354a0f5515882fd2fd95c6dd153bbf.cache new file mode 100644 index 0000000..f62578e --- /dev/null +++ b/.phpcca.cache/20/20354a0f5515882fd2fd95c6dd153bbf.cache @@ -0,0 +1,5041 @@ +{ + "version": "1.0", + "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/Business\/Cognitive\/Parser.php", + "file_mtime": 1759964701, + "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", + "analysis_result": { + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct": { + "line": 60, + "lineCount": 5, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 1, + "N1": 2, + "N2": 2, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 2, + "effort": 12.679700005769249, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices": { + "line": 66, + "lineCount": 95, + "argCount": 0, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 5, + "N1": 58, + "N2": 32, + "programLength": 90, + "programVocabulary": 9, + "volume": 285.2932501298081, + "difficulty": 12.8, + "effort": 3651.7536016615436, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap": { + "line": 162, + "lineCount": 10, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 7, + "N2": 7, + "programLength": 14, + "programVocabulary": 2, + "volume": 14, + "difficulty": 3.5, + "effort": 49, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors": { + "line": 173, + "lineCount": 12, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 3, + "N2": 1, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0.5, + "effort": 2, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus": { + "line": 186, + "lineCount": 19, + "argCount": 0, + "returnCount": 0, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 9, + "N2": 13, + "programLength": 22, + "programVocabulary": 7, + "volume": 61.76180828526729, + "difficulty": 2.6, + "effort": 160.58070154169496, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService": { + "line": 206, + "lineCount": 9, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 3, + "N2": 1, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0.5, + "effort": 2, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade": { + "line": 216, + "lineCount": 13, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 3, + "N2": 1, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0.5, + "effort": 2, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands": { + "line": 230, + "lineCount": 21, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 6, + "N2": 2, + "programLength": 8, + "programVocabulary": 2, + "volume": 8, + "difficulty": 1, + "effort": 8, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication": { + "line": 252, + "lineCount": 11, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 5, + "N2": 4, + "programLength": 9, + "programVocabulary": 4, + "volume": 18, + "difficulty": 0.6666666666666666, + "effort": 12, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run": { + "line": 264, + "lineCount": 9, + "argCount": 0, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 5, + "N2": 5, + "programLength": 10, + "programVocabulary": 4, + "volume": 20, + "difficulty": 2.5, + "effort": 50, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get": { + "line": 274, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer": { + "line": 279, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator": { + "line": 289, + "lineCount": 16, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 7, + "programLength": 8, + "programVocabulary": 4, + "volume": 16, + "difficulty": 1.1666666666666667, + "effort": 18.666666666666668, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create": { + "line": 18, + "lineCount": 7, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 4, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile": { + "line": 17, + "lineCount": 17, + "argCount": 2, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 8, + "N1": 11, + "N2": 19, + "programLength": 30, + "programVocabulary": 11, + "volume": 103.78294855911892, + "difficulty": 3.5625, + "effort": 369.72675424186116, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode": { + "line": 42, + "lineCount": 8, + "argCount": 3, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 3, + "N2": 8, + "programLength": 11, + "programVocabulary": 8, + "volume": 33, + "difficulty": 2.4000000000000004, + "effort": 79.20000000000002, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate": { + "line": 22, + "lineCount": 10, + "argCount": 2, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 6, + "N2": 13, + "programLength": 19, + "programVocabulary": 6, + "volume": 49.11428751370197, + "difficulty": 3.25, + "effort": 159.6214344195314, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending": { + "line": 37, + "lineCount": 8, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 2, + "N2": 9, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 2.25, + "effort": 63.97782189284862, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn": { + "line": 51, + "lineCount": 24, + "argCount": 2, + "returnCount": 1, + "variableCount": 6, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 15, + "N1": 17, + "N2": 46, + "programLength": 63, + "programVocabulary": 20, + "volume": 272.28146997790384, + "difficulty": 7.666666666666667, + "effort": 2087.491269830596, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses": { + "line": 81, + "lineCount": 20, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 2, + "n2": 7, + "N1": 10, + "N2": 24, + "programLength": 34, + "programVocabulary": 9, + "volume": 107.7774500490386, + "difficulty": 3.4285714285714284, + "effort": 369.52268588241805, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass": { + "line": 109, + "lineCount": 9, + "argCount": 2, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 6, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 10, + "volume": 49.82892142331043, + "difficulty": 3.3333333333333335, + "effort": 166.09640474436813, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel": { + "line": 126, + "lineCount": 16, + "argCount": 2, + "returnCount": 4, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 12, + "N1": 9, + "N2": 18, + "programLength": 27, + "programVocabulary": 15, + "volume": 105.48604608143, + "difficulty": 2.25, + "effort": 237.3436036832175, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile": { + "line": 14, + "lineCount": 6, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 2, + "N2": 5, + "programLength": 7, + "programVocabulary": 4, + "volume": 14, + "difficulty": 2.5, + "effort": 35, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable": { + "line": 24, + "lineCount": 11, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 10, + "N2": 12, + "programLength": 22, + "programVocabulary": 8, + "volume": 66, + "difficulty": 6, + "effort": 396, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create": { + "line": 21, + "lineCount": 11, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 7, + "N1": 0, + "N2": 9, + "programLength": 9, + "programVocabulary": 7, + "volume": 25.26619429851844, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes": { + "line": 38, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 6, + "N1": 0, + "N2": 6, + "programLength": 6, + "programVocabulary": 6, + "volume": 15.509775004326936, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported": { + "line": 49, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 2, + "N2": 3, + "programLength": 5, + "programVocabulary": 4, + "volume": 10, + "difficulty": 1.5, + "effort": 15, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export": { + "line": 30, + "lineCount": 23, + "argCount": 2, + "returnCount": 0, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 16, + "N1": 10, + "N2": 33, + "programLength": 43, + "programVocabulary": 20, + "volume": 185.8429080801566, + "difficulty": 4.125, + "effort": 766.601995830646, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export": { + "line": 28, + "lineCount": 8, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 6, + "volume": 36.18947501009619, + "difficulty": 2.5, + "effort": 90.47368752524048, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape": { + "line": 37, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber": { + "line": 42, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml": { + "line": 52, + "lineCount": 50, + "argCount": 1, + "returnCount": 1, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 12, + "N1": 11, + "N2": 25, + "programLength": 36, + "programVocabulary": 17, + "volume": 147.14866228501222, + "difficulty": 5.208333333333334, + "effort": 766.3992827344388, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export": { + "line": 17, + "lineCount": 13, + "argCount": 2, + "returnCount": 0, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 8, + "N1": 7, + "N2": 14, + "programLength": 21, + "programVocabulary": 12, + "volume": 75.28421251514428, + "difficulty": 3.5, + "effort": 263.49474380300495, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export": { + "line": 48, + "lineCount": 8, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 6, + "volume": 36.18947501009619, + "difficulty": 2.5, + "effort": 90.47368752524048, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown": { + "line": 61, + "lineCount": 24, + "argCount": 1, + "returnCount": 1, + "variableCount": 6, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 6, + "n2": 16, + "N1": 19, + "N2": 41, + "programLength": 60, + "programVocabulary": 22, + "volume": 267.56589711823784, + "difficulty": 7.6875, + "effort": 2056.9128340964535, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow": { + "line": 94, + "lineCount": 21, + "argCount": 3, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 7, + "n2": 18, + "N1": 16, + "N2": 39, + "programLength": 55, + "programVocabulary": 25, + "volume": 255.41209043760983, + "difficulty": 7.583333333333333, + "effort": 1936.8750191518745, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::__construct": { + "line": 26, + "lineCount": 4, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::export": { + "line": 36, + "lineCount": 10, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 8, + "volume": 45, + "difficulty": 5, + "effort": 225, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::generateSvgTreemap": { + "line": 53, + "lineCount": 20, + "argCount": 1, + "returnCount": 1, + "variableCount": 6, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 8, + "N1": 9, + "N2": 20, + "programLength": 29, + "programVocabulary": 10, + "volume": 96.3359147517335, + "difficulty": 2.5, + "effort": 240.83978687933376, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::generateSvgTreemap" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRects": { + "line": 82, + "lineCount": 10, + "argCount": 3, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 9, + "N1": 6, + "N2": 18, + "programLength": 24, + "programVocabulary": 12, + "volume": 86.03910001730775, + "difficulty": 3, + "effort": 258.1173000519232, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRects" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRect": { + "line": 100, + "lineCount": 29, + "argCount": 2, + "returnCount": 1, + "variableCount": 12, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 6, + "n2": 28, + "N1": 26, + "N2": 54, + "programLength": 80, + "programVocabulary": 34, + "volume": 406.9970273000271, + "difficulty": 5.785714285714286, + "effort": 2354.7685150930142, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRect" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::wrapSvg": { + "line": 136, + "lineCount": 21, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 2, + "N2": 8, + "programLength": 10, + "programVocabulary": 4, + "volume": 20, + "difficulty": 1.3333333333333333, + "effort": 26.666666666666664, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::wrapSvg" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::prepareItems": { + "line": 28, + "lineCount": 18, + "argCount": 1, + "returnCount": 1, + "variableCount": 7, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 12, + "N1": 9, + "N2": 30, + "programLength": 39, + "programVocabulary": 17, + "volume": 159.41105080876324, + "difficulty": 6.25, + "effort": 996.3190675547702, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::prepareItems" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findScoreRange": { + "line": 53, + "lineCount": 16, + "argCount": 1, + "returnCount": 3, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 7, + "N2": 13, + "programLength": 20, + "programVocabulary": 8, + "volume": 60, + "difficulty": 3.9000000000000004, + "effort": 234.00000000000003, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findScoreRange" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::normalizeScore": { + "line": 78, + "lineCount": 8, + "argCount": 3, + "returnCount": 2, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 8, + "volume": 45, + "difficulty": 5, + "effort": 225, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::normalizeScore" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::scoreToColor": { + "line": 93, + "lineCount": 9, + "argCount": 1, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 5, + "n2": 9, + "N1": 12, + "N2": 16, + "programLength": 28, + "programVocabulary": 14, + "volume": 106.60593781761291, + "difficulty": 4.444444444444445, + "effort": 473.80416807827964, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::scoreToColor" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::calculateTreemapLayout": { + "line": 115, + "lineCount": 23, + "argCount": 7, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 9, + "N1": 2, + "N2": 18, + "programLength": 20, + "programVocabulary": 11, + "volume": 69.18863237274594, + "difficulty": 2, + "effort": 138.37726474549189, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::calculateTreemapLayout" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::layoutTreemap": { + "line": 152, + "lineCount": 89, + "argCount": 8, + "returnCount": 3, + "variableCount": 11, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 8, + "n2": 28, + "N1": 32, + "N2": 98, + "programLength": 130, + "programVocabulary": 36, + "volume": 672.0902501875006, + "difficulty": 14, + "effort": 9409.263502625008, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::layoutTreemap" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findSplitIndex": { + "line": 249, + "lineCount": 13, + "argCount": 2, + "returnCount": 2, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 7, + "n2": 10, + "N1": 9, + "N2": 23, + "programLength": 32, + "programVocabulary": 17, + "volume": 130.79881092001085, + "difficulty": 8.049999999999999, + "effort": 1052.9304279060873, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findSplitIndex" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::__construct": { + "line": 23, + "lineCount": 18, + "argCount": 1, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 7, + "N2": 11, + "programLength": 18, + "programVocabulary": 6, + "volume": 46.529325012980806, + "difficulty": 5.5, + "effort": 255.91128757139444, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::getAllClasses": { + "line": 47, + "lineCount": 17, + "argCount": 0, + "returnCount": 2, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 6, + "N2": 12, + "programLength": 18, + "programVocabulary": 9, + "volume": 57.05865002596162, + "difficulty": 3, + "effort": 171.17595007788486, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::getAllClasses" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::withClassNode": { + "line": 73, + "lineCount": 8, + "argCount": 2, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 4, + "N2": 8, + "programLength": 12, + "programVocabulary": 8, + "volume": 36, + "difficulty": 4, + "effort": 144, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::withClassNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::findClassNode": { + "line": 85, + "lineCount": 25, + "argCount": 1, + "returnCount": 4, + "variableCount": 5, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 13, + "N2": 29, + "programLength": 42, + "programVocabulary": 11, + "volume": 145.29612798276648, + "difficulty": 8.285714285714286, + "effort": 1203.8822032857795, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::findClassNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::escapeXPathValue": { + "line": 114, + "lineCount": 16, + "argCount": 1, + "returnCount": 3, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 9, + "N1": 11, + "N2": 18, + "programLength": 29, + "programVocabulary": 13, + "volume": 107.31275182609167, + "difficulty": 4, + "effort": 429.2510073043667, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::escapeXPathValue" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getLineCoverage": { + "line": 22, + "lineCount": 18, + "argCount": 1, + "returnCount": 4, + "variableCount": 5, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 9, + "N1": 10, + "N2": 19, + "programLength": 29, + "programVocabulary": 13, + "volume": 107.31275182609167, + "difficulty": 4.222222222222222, + "effort": 453.09828548794263, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getLineCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getBranchCoverage": { + "line": 48, + "lineCount": 18, + "argCount": 1, + "returnCount": 4, + "variableCount": 5, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 9, + "N1": 10, + "N2": 19, + "programLength": 29, + "programVocabulary": 13, + "volume": 107.31275182609167, + "difficulty": 4.222222222222222, + "effort": 453.09828548794263, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getBranchCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getComplexity": { + "line": 73, + "lineCount": 13, + "argCount": 1, + "returnCount": 3, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 7, + "N2": 14, + "programLength": 21, + "programVocabulary": 11, + "volume": 72.64806399138324, + "difficulty": 4, + "effort": 290.59225596553296, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getComplexity" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getCoverageDetails": { + "line": 93, + "lineCount": 26, + "argCount": 1, + "returnCount": 3, + "variableCount": 9, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 17, + "N1": 22, + "N2": 42, + "programLength": 64, + "programVocabulary": 22, + "volume": 285.403623592787, + "difficulty": 6.176470588235294, + "effort": 1762.7870868966259, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getCoverageDetails" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getMetricsNode": { + "line": 123, + "lineCount": 12, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 6, + "N1": 7, + "N2": 13, + "programLength": 20, + "programVocabulary": 10, + "volume": 66.43856189774725, + "difficulty": 4.333333333333333, + "effort": 287.90043489023805, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getMetricsNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getFilenameForClass": { + "line": 139, + "lineCount": 9, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 5, + "N1": 4, + "N2": 9, + "programLength": 13, + "programVocabulary": 9, + "volume": 41.209025018750054, + "difficulty": 3.6, + "effort": 148.3524900675002, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getFilenameForClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodsCoverage": { + "line": 154, + "lineCount": 36, + "argCount": 1, + "returnCount": 3, + "variableCount": 8, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 13, + "N1": 12, + "N2": 30, + "programLength": 42, + "programVocabulary": 16, + "volume": 168, + "difficulty": 3.4615384615384612, + "effort": 581.5384615384614, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodsCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::calculateMethodCoverage": { + "line": 194, + "lineCount": 15, + "argCount": 2, + "returnCount": 2, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 11, + "N1": 9, + "N2": 23, + "programLength": 32, + "programVocabulary": 16, + "volume": 128, + "difficulty": 5.227272727272727, + "effort": 669.090909090909, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::calculateMethodCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodCoverageFromLines": { + "line": 215, + "lineCount": 36, + "argCount": 2, + "returnCount": 1, + "variableCount": 7, + "propertyCallCount": 0, + "ifNestingLevel": 2, + "elseCount": 0, + "ifCount": 5, + "halstead": { + "n1": 2, + "n2": 14, + "N1": 12, + "N2": 35, + "programLength": 47, + "programVocabulary": 16, + "volume": 188, + "difficulty": 2.5, + "effort": 470, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodCoverageFromLines" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStart": { + "line": 252, + "lineCount": 4, + "argCount": 3, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 3, + "N2": 7, + "programLength": 10, + "programVocabulary": 6, + "volume": 25.84962500721156, + "difficulty": 1.75, + "effort": 45.23684376262023, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStart" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodEnd": { + "line": 257, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 5, + "programLength": 7, + "programVocabulary": 5, + "volume": 16.253496664211536, + "difficulty": 1.6666666666666667, + "effort": 27.089161107019226, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodEnd" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStatement": { + "line": 262, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 5, + "programLength": 7, + "programVocabulary": 5, + "volume": 16.253496664211536, + "difficulty": 1.6666666666666667, + "effort": 27.089161107019226, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStatement" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isStatementCovered": { + "line": 267, + "lineCount": 5, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 4, + "N1": 3, + "N2": 6, + "programLength": 9, + "programVocabulary": 7, + "volume": 25.26619429851844, + "difficulty": 2.25, + "effort": 56.848937171666485, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isStatementCovered" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getLineCoverage": { + "line": 20, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 9, + "volume": 44.37895002019237, + "difficulty": 2.5, + "effort": 110.94737505048093, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getLineCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getBranchCoverage": { + "line": 34, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 9, + "volume": 44.37895002019237, + "difficulty": 2.5, + "effort": 110.94737505048093, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getBranchCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getComplexity": { + "line": 48, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 9, + "volume": 44.37895002019237, + "difficulty": 2.5, + "effort": 110.94737505048093, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getComplexity" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getCoverageDetails": { + "line": 62, + "lineCount": 13, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 8, + "N1": 7, + "N2": 16, + "programLength": 23, + "programVocabulary": 9, + "volume": 72.90827503317318, + "difficulty": 1, + "effort": 72.90827503317318, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getCoverageDetails" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::extractMethodsCoverage": { + "line": 81, + "lineCount": 23, + "argCount": 1, + "returnCount": 2, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 11, + "N1": 10, + "N2": 23, + "programLength": 33, + "programVocabulary": 14, + "volume": 125.64271242790093, + "difficulty": 3.1363636363636362, + "effort": 394.061234432962, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::extractMethodsCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CodeCoverageFactory::createFromName": { + "line": 14, + "lineCount": 8, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 4, + "N1": 1, + "N2": 8, + "programLength": 9, + "programVocabulary": 5, + "volume": 20.89735285398626, + "difficulty": 1, + "effort": 20.89735285398626, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CodeCoverageFactory::createFromName" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::__construct": { + "line": 28, + "lineCount": 15, + "argCount": 6, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 6, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 7, + "N1": 6, + "N2": 18, + "programLength": 24, + "programVocabulary": 8, + "volume": 72, + "difficulty": 1.2857142857142858, + "effort": 92.57142857142858, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getName": { + "line": 44, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getName" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getFilename": { + "line": 49, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getFilename" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getLineRate": { + "line": 54, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getLineRate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getBranchRate": { + "line": 59, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getBranchRate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getComplexity": { + "line": 64, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getComplexity" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getMethods": { + "line": 72, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getMethods" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::__construct": { + "line": 17, + "lineCount": 11, + "argCount": 4, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 4, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 5, + "N1": 4, + "N2": 12, + "programLength": 16, + "programVocabulary": 6, + "volume": 41.3594000115385, + "difficulty": 1.2, + "effort": 49.631280013846194, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getName": { + "line": 29, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getName" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getLineRate": { + "line": 34, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getLineRate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getBranchRate": { + "line": 39, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getBranchRate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getComplexity": { + "line": 44, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getComplexity" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::calculateDeltas": { + "line": 19, + "lineCount": 14, + "argCount": 2, + "returnCount": 0, + "variableCount": 6, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 9, + "N1": 4, + "N2": 18, + "programLength": 22, + "programVocabulary": 11, + "volume": 76.10749561002054, + "difficulty": 2, + "effort": 152.21499122004107, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::calculateDeltas" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::loadBaseline": { + "line": 41, + "lineCount": 13, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 5, + "N2": 9, + "programLength": 14, + "programVocabulary": 8, + "volume": 42, + "difficulty": 2.7, + "effort": 113.4, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::loadBaseline" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::__construct": { + "line": 72, + "lineCount": 21, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 6, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 9, + "N1": 12, + "N2": 34, + "programLength": 46, + "programVocabulary": 12, + "volume": 164.90827503317317, + "difficulty": 5.666666666666666, + "effort": 934.4802251879812, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setRequiredMetricProperties": { + "line": 98, + "lineCount": 30, + "argCount": 1, + "returnCount": 0, + "variableCount": 6, + "propertyCallCount": 9, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 21, + "N1": 21, + "N2": 51, + "programLength": 72, + "programVocabulary": 24, + "volume": 330.1173000519232, + "difficulty": 3.6428571428571423, + "effort": 1202.570164474863, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setRequiredMetricProperties" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setOptionalMetricProperties": { + "line": 133, + "lineCount": 12, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 8, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 11, + "N1": 16, + "N2": 33, + "programLength": 49, + "programVocabulary": 13, + "volume": 181.32154618891352, + "difficulty": 3, + "effort": 543.9646385667405, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setOptionalMetricProperties" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setTimesChanged": { + "line": 146, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setTimesChanged" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertSame": { + "line": 151, + "lineCount": 14, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 6, + "N2": 8, + "programLength": 14, + "programVocabulary": 5, + "volume": 32.50699332842307, + "difficulty": 2.6666666666666665, + "effort": 86.68531554246152, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertSame" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::calculateDeltas": { + "line": 169, + "lineCount": 13, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 16, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 17, + "N2": 27, + "programLength": 44, + "programVocabulary": 4, + "volume": 88, + "difficulty": 13.5, + "effort": 1188, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::calculateDeltas" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::fromArray": { + "line": 187, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::fromArray" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertArrayKeyIsPresent": { + "line": 197, + "lineCount": 6, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 5, + "programLength": 5, + "programVocabulary": 2, + "volume": 5, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertArrayKeyIsPresent" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getClass": { + "line": 204, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getMethod": { + "line": 209, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getMethod" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCount": { + "line": 214, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCount": { + "line": 219, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCount": { + "line": 224, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCount": { + "line": 229, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCount": { + "line": 234, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCount": { + "line": 239, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevel": { + "line": 244, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevel" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCount": { + "line": 249, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeight": { + "line": 254, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setLineCountWeight": { + "line": 259, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setLineCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeight": { + "line": 264, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setArgCountWeight": { + "line": 269, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setArgCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeight": { + "line": 274, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setReturnCountWeight": { + "line": 279, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setReturnCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeight": { + "line": 284, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setVariableCountWeight": { + "line": 289, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setVariableCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeight": { + "line": 294, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setPropertyCallCountWeight": { + "line": 299, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setPropertyCallCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeight": { + "line": 304, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfCountWeight": { + "line": 309, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeight": { + "line": 314, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfNestingLevelWeight": { + "line": 319, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfNestingLevelWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeight": { + "line": 324, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setElseCountWeight": { + "line": 329, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setElseCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setScore": { + "line": 334, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setScore" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getScore": { + "line": 339, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getScore" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setCoverage": { + "line": 344, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCoverage": { + "line": 349, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeightDelta": { + "line": 354, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeightDelta": { + "line": 359, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeightDelta": { + "line": 364, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeightDelta": { + "line": 369, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeightDelta": { + "line": 374, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeightDelta": { + "line": 379, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeightDelta": { + "line": 384, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeightDelta": { + "line": 389, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getTimesChanged": { + "line": 394, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 2, + "programLength": 3, + "programVocabulary": 3, + "volume": 4.754887502163468, + "difficulty": 0.5, + "effort": 2.377443751081734, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getTimesChanged" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getFileName": { + "line": 399, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getFileName" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLine": { + "line": 404, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLine" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::equals": { + "line": 409, + "lineCount": 5, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 2, + "N1": 5, + "N2": 5, + "programLength": 10, + "programVocabulary": 5, + "volume": 23.21928094887362, + "difficulty": 3.75, + "effort": 87.07230355827608, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::equals" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::toArray": { + "line": 418, + "lineCount": 34, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 29, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 30, + "N1": 0, + "N2": 58, + "programLength": 58, + "programVocabulary": 30, + "volume": 284.5996545452941, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::toArray" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::jsonSerialize": { + "line": 456, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::jsonSerialize" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getHalstead": { + "line": 464, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getHalstead" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCyclomatic": { + "line": 472, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCyclomatic" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::add": { + "line": 30, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 5, + "N2": 6, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 3, + "effort": 85.30376252379816, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::add" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filter": { + "line": 40, + "lineCount": 11, + "argCount": 1, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 8, + "volume": 42, + "difficulty": 3, + "effort": 126, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filter" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getIterator": { + "line": 57, + "lineCount": 5, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getIterator" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::count": { + "line": 66, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::count" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterWithScoreGreaterThan": { + "line": 71, + "lineCount": 6, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 3, + "N2": 6, + "programLength": 9, + "programVocabulary": 5, + "volume": 20.89735285398626, + "difficulty": 2, + "effort": 41.79470570797252, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterWithScoreGreaterThan" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::contains": { + "line": 78, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 4, + "N2": 5, + "programLength": 9, + "programVocabulary": 5, + "volume": 20.89735285398626, + "difficulty": 1.6666666666666667, + "effort": 34.82892142331043, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::contains" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getClassWithMethod": { + "line": 83, + "lineCount": 9, + "argCount": 2, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 3, + "N2": 10, + "programLength": 13, + "programVocabulary": 7, + "volume": 36.49561398674886, + "difficulty": 2, + "effort": 72.99122797349771, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getClassWithMethod" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterByClassName": { + "line": 93, + "lineCount": 6, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 3, + "N2": 6, + "programLength": 9, + "programVocabulary": 5, + "volume": 20.89735285398626, + "difficulty": 2, + "effort": 41.79470570797252, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterByClassName" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::assertMetricHasGetter": { + "line": 100, + "lineCount": 9, + "argCount": 3, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 6, + "programLength": 7, + "programVocabulary": 4, + "volume": 14, + "difficulty": 1, + "effort": 14, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::assertMetricHasGetter" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::groupBy": { + "line": 117, + "lineCount": 20, + "argCount": 1, + "returnCount": 1, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 10, + "N2": 23, + "programLength": 33, + "programVocabulary": 11, + "volume": 114.16124341503081, + "difficulty": 6.571428571428571, + "effort": 750.2024567273453, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::groupBy" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::jsonSerialize": { + "line": 141, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::jsonSerialize" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::__construct": { + "line": 32, + "lineCount": 8, + "argCount": 5, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 5, + "N1": 0, + "N2": 5, + "programLength": 5, + "programVocabulary": 5, + "volume": 11.60964047443681, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collect": { + "line": 49, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 5, + "programLength": 6, + "programVocabulary": 4, + "volume": 12, + "difficulty": 0.8333333333333334, + "effort": 10, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collect" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collectFromPaths": { + "line": 62, + "lineCount": 13, + "argCount": 2, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 8, + "N2": 16, + "programLength": 24, + "programVocabulary": 9, + "volume": 76.07820003461549, + "difficulty": 4, + "effort": 304.31280013846197, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collectFromPaths" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCodeFromFile": { + "line": 79, + "lineCount": 10, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 2, + "N1": 5, + "N2": 6, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 6, + "effort": 170.6075250475963, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCodeFromFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findMetrics": { + "line": 98, + "lineCount": 31, + "argCount": 1, + "returnCount": 1, + "variableCount": 9, + "propertyCallCount": 2, + "ifNestingLevel": 2, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 13, + "N1": 18, + "N2": 38, + "programLength": 56, + "programVocabulary": 16, + "volume": 224, + "difficulty": 4.384615384615384, + "effort": 982.1538461538461, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findMetrics" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processMethodMetrics": { + "line": 136, + "lineCount": 29, + "argCount": 3, + "returnCount": 1, + "variableCount": 7, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 14, + "N1": 8, + "N2": 27, + "programLength": 35, + "programVocabulary": 17, + "volume": 143.06119944376186, + "difficulty": 2.892857142857143, + "effort": 413.8556126765968, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processMethodMetrics" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::isExcluded": { + "line": 166, + "lineCount": 12, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 5, + "N1": 5, + "N2": 9, + "programLength": 14, + "programVocabulary": 9, + "volume": 44.37895002019237, + "difficulty": 3.6, + "effort": 159.76422007269252, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::isExcluded" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findSourceFiles": { + "line": 187, + "lineCount": 7, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 2, + "N2": 6, + "programLength": 8, + "programVocabulary": 6, + "volume": 20.67970000576925, + "difficulty": 1.5, + "effort": 31.019550008653873, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findSourceFiles" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getProjectRoot": { + "line": 202, + "lineCount": 13, + "argCount": 0, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 2, + "N1": 8, + "N2": 8, + "programLength": 16, + "programVocabulary": 6, + "volume": 41.3594000115385, + "difficulty": 8, + "effort": 330.875200092308, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getProjectRoot" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateCacheKey": { + "line": 219, + "lineCount": 7, + "argCount": 2, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 6, + "N1": 10, + "N2": 12, + "programLength": 22, + "programVocabulary": 10, + "volume": 73.08241808752197, + "difficulty": 4, + "effort": 292.3296723500879, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateCacheKey" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateConfigHash": { + "line": 230, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 1, + "N1": 3, + "N2": 2, + "programLength": 5, + "programVocabulary": 3, + "volume": 7.92481250360578, + "difficulty": 2, + "effort": 15.84962500721156, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateConfigHash" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::cacheResult": { + "line": 239, + "lineCount": 14, + "argCount": 4, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 13, + "N1": 5, + "N2": 20, + "programLength": 25, + "programVocabulary": 15, + "volume": 97.67226489021297, + "difficulty": 1.5384615384615385, + "effort": 150.26502290801997, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::cacheResult" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::clearCache": { + "line": 254, + "lineCount": 4, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::clearCache" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::normalizeFilename": { + "line": 264, + "lineCount": 15, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 6, + "n2": 7, + "N1": 12, + "N2": 16, + "programLength": 28, + "programVocabulary": 13, + "volume": 103.61231210795059, + "difficulty": 6.857142857142857, + "effort": 710.4844258830897, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::normalizeFilename" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCachedMetrics": { + "line": 286, + "lineCount": 19, + "argCount": 3, + "returnCount": 3, + "variableCount": 4, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 11, + "N1": 10, + "N2": 29, + "programLength": 39, + "programVocabulary": 14, + "volume": 148.48684196024655, + "difficulty": 3.954545454545454, + "effort": 587.1979659337022, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCachedMetrics" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processFile": { + "line": 312, + "lineCount": 37, + "argCount": 5, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 7, + "n2": 10, + "N1": 12, + "N2": 28, + "programLength": 40, + "programVocabulary": 17, + "volume": 163.49851365001356, + "difficulty": 9.799999999999999, + "effort": 1602.2854337701328, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::sort": { + "line": 51, + "lineCount": 41, + "argCount": 3, + "returnCount": 2, + "variableCount": 10, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 18, + "N1": 20, + "N2": 43, + "programLength": 63, + "programVocabulary": 22, + "volume": 280.9441919741497, + "difficulty": 4.777777777777778, + "effort": 1342.2889172098264, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::sort" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getFieldValue": { + "line": 100, + "lineCount": 28, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 25, + "N1": 24, + "N2": 50, + "programLength": 74, + "programVocabulary": 27, + "volume": 351.86167516009664, + "difficulty": 2, + "effort": 703.7233503201933, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getFieldValue" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::compareValues": { + "line": 136, + "lineCount": 13, + "argCount": 2, + "returnCount": 3, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 2, + "N1": 9, + "N2": 12, + "programLength": 21, + "programVocabulary": 5, + "volume": 48.760489992634604, + "difficulty": 9, + "effort": 438.8444099337114, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::compareValues" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getSortableFields": { + "line": 155, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 0, + "N1": 0, + "N2": 0, + "programLength": 0, + "programVocabulary": 0, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getSortableFields" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__construct": { + "line": 15, + "lineCount": 11, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 7, + "N2": 12, + "programLength": 19, + "programVocabulary": 6, + "volume": 49.11428751370197, + "difficulty": 6, + "effort": 294.6857250822118, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::getValue": { + "line": 27, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::getValue" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasIncreased": { + "line": 32, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasIncreased" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__toString": { + "line": 37, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__toString" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasNotChanged": { + "line": 42, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 2, + "programLength": 3, + "programVocabulary": 3, + "volume": 4.754887502163468, + "difficulty": 0.5, + "effort": 2.377443751081734, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasNotChanged" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\FileProcessed::__construct": { + "line": 14, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\FileProcessed::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\ParserFailed::__construct": { + "line": 15, + "lineCount": 5, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\ParserFailed::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\SourceFilesFound::__construct": { + "line": 17, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\SourceFilesFound::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::__construct": { + "line": 15, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::create": { + "line": 27, + "lineCount": 10, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 6, + "N1": 0, + "N2": 8, + "programLength": 8, + "programVocabulary": 6, + "volume": 20.67970000576925, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::create" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::getSupportedTypes": { + "line": 43, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 4, + "N1": 0, + "N2": 4, + "programLength": 4, + "programVocabulary": 4, + "volume": 8, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::getSupportedTypes" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::isSupported": { + "line": 54, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 2, + "N2": 3, + "programLength": 5, + "programVocabulary": 4, + "volume": 10, + "difficulty": 1.5, + "effort": 15, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::isSupported" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CsvExporter::export": { + "line": 46, + "lineCount": 57, + "argCount": 2, + "returnCount": 0, + "variableCount": 6, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 15, + "N1": 37, + "N2": 54, + "programLength": 91, + "programVocabulary": 19, + "volume": 386.56140372336625, + "difficulty": 7.2, + "effort": 2783.242106808237, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CsvExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::export": { + "line": 40, + "lineCount": 8, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 5, + "N1": 4, + "N2": 8, + "programLength": 12, + "programVocabulary": 9, + "volume": 38.039100017307746, + "difficulty": 3.2, + "effort": 121.72512005538479, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::escape": { + "line": 49, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::escape" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::formatNumber": { + "line": 54, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::formatNumber" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::generateMetricRow": { + "line": 59, + "lineCount": 12, + "argCount": 3, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 16, + "N1": 19, + "N2": 27, + "programLength": 46, + "programVocabulary": 21, + "volume": 202.04660144782298, + "difficulty": 4.21875, + "effort": 852.3840998580032, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::generateMetricRow" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::generateHtml": { + "line": 78, + "lineCount": 64, + "argCount": 1, + "returnCount": 1, + "variableCount": 7, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 11, + "N1": 46, + "N2": 57, + "programLength": 103, + "programVocabulary": 15, + "volume": 402.40973134767745, + "difficulty": 10.363636363636363, + "effort": 4170.42812487593, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::generateHtml" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\JsonExporter::export": { + "line": 19, + "lineCount": 38, + "argCount": 2, + "returnCount": 0, + "variableCount": 5, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 27, + "N1": 29, + "N2": 58, + "programLength": 87, + "programVocabulary": 32, + "volume": 435, + "difficulty": 5.370370370370371, + "effort": 2336.1111111111113, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\JsonExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::__construct": { + "line": 24, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::export": { + "line": 36, + "lineCount": 8, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 5, + "N1": 4, + "N2": 8, + "programLength": 12, + "programVocabulary": 9, + "volume": 38.039100017307746, + "difficulty": 3.2, + "effort": 121.72512005538479, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::escape": { + "line": 48, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::escape" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateMetricCell": { + "line": 56, + "lineCount": 12, + "argCount": 3, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 12, + "N1": 16, + "N2": 24, + "programLength": 40, + "programVocabulary": 17, + "volume": 163.49851365001356, + "difficulty": 5, + "effort": 817.4925682500678, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateMetricCell" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::filterMetrics": { + "line": 75, + "lineCount": 15, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 4, + "N1": 4, + "N2": 11, + "programLength": 15, + "programVocabulary": 7, + "volume": 42.11032383086406, + "difficulty": 4.125, + "effort": 173.70508580231424, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::filterMetrics" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableHeader": { + "line": 94, + "lineCount": 33, + "argCount": 0, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 4, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 19, + "N1": 10, + "N2": 28, + "programLength": 38, + "programVocabulary": 22, + "volume": 169.4584015082173, + "difficulty": 2.2105263157894735, + "effort": 374.5922559655329, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableHeader" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableHeaderWithClass": { + "line": 131, + "lineCount": 33, + "argCount": 0, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 4, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 20, + "N1": 10, + "N2": 29, + "programLength": 39, + "programVocabulary": 23, + "volume": 176.41891628622352, + "difficulty": 2.175, + "effort": 383.7111429225361, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableHeaderWithClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableSeparator": { + "line": 168, + "lineCount": 20, + "argCount": 0, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 4, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 7, + "N1": 3, + "N2": 16, + "programLength": 19, + "programVocabulary": 10, + "volume": 63.11663380285988, + "difficulty": 3.4285714285714284, + "effort": 216.399887324091, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableSeparator" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableSeparatorWithClass": { + "line": 192, + "lineCount": 20, + "argCount": 0, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 4, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 8, + "N1": 3, + "N2": 16, + "programLength": 19, + "programVocabulary": 11, + "volume": 65.72920075410865, + "difficulty": 3, + "effort": 197.18760226232592, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableSeparatorWithClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableRow": { + "line": 216, + "lineCount": 22, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 6, + "N1": 53, + "N2": 60, + "programLength": 113, + "programVocabulary": 10, + "volume": 375.37787472227194, + "difficulty": 20, + "effort": 7507.557494445438, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableRow" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableRowWithClass": { + "line": 242, + "lineCount": 25, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 6, + "N1": 55, + "N2": 62, + "programLength": 117, + "programVocabulary": 10, + "volume": 388.66558710182136, + "difficulty": 20.666666666666668, + "effort": 8032.422133437642, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableRowWithClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::addHalsteadCells": { + "line": 274, + "lineCount": 20, + "argCount": 2, + "returnCount": 3, + "variableCount": 2, + "propertyCallCount": 5, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 12, + "N2": 24, + "programLength": 36, + "programVocabulary": 8, + "volume": 108, + "difficulty": 7.199999999999999, + "effort": 777.5999999999999, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::addHalsteadCells" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::addCyclomaticCell": { + "line": 301, + "lineCount": 16, + "argCount": 2, + "returnCount": 3, + "variableCount": 2, + "propertyCallCount": 4, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 8, + "N2": 16, + "programLength": 24, + "programVocabulary": 11, + "volume": 83.02635884729514, + "difficulty": 4.571428571428571, + "effort": 379.5490690162063, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::addCyclomaticCell" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateMarkdown": { + "line": 325, + "lineCount": 8, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 2, + "N2": 6, + "programLength": 8, + "programVocabulary": 3, + "volume": 12.679700005769249, + "difficulty": 1.5, + "effort": 19.019550008653873, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateMarkdown" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateGroupedMarkdown": { + "line": 337, + "lineCount": 49, + "argCount": 1, + "returnCount": 1, + "variableCount": 10, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 8, + "n2": 23, + "N1": 33, + "N2": 65, + "programLength": 98, + "programVocabulary": 31, + "volume": 485.5112384179137, + "difficulty": 11.304347826086957, + "effort": 5488.387912550329, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateGroupedMarkdown" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateSingleTableMarkdown": { + "line": 390, + "lineCount": 28, + "argCount": 1, + "returnCount": 1, + "variableCount": 6, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 6, + "n2": 13, + "N1": 19, + "N2": 37, + "programLength": 56, + "programVocabulary": 19, + "volume": 237.88394075284077, + "difficulty": 8.538461538461538, + "effort": 2031.1628787357943, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateSingleTableMarkdown" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::__construct": { + "line": 32, + "lineCount": 26, + "argCount": 2, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 7, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 14, + "N2": 22, + "programLength": 36, + "programVocabulary": 5, + "volume": 83.58941141594504, + "difficulty": 7.333333333333333, + "effort": 612.9890170502636, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::parse": { + "line": 63, + "lineCount": 37, + "argCount": 1, + "returnCount": 1, + "variableCount": 9, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "cyclomatic_complexity": { + "complexity": 5, + "risk_level": "low" + }, + "halstead": { + "n1": 3, + "n2": 14, + "N1": 16, + "N2": 43, + "programLength": 59, + "programVocabulary": 17, + "volume": 241.16030763377, + "difficulty": 4.607142857142858, + "effort": 1111.0599887412977, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::parse" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::scanForAnnotations": { + "line": 104, + "lineCount": 20, + "argCount": 1, + "returnCount": 0, + "variableCount": 4, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "cyclomatic_complexity": { + "complexity": 3, + "risk_level": "low" + }, + "halstead": { + "n1": 3, + "n2": 7, + "N1": 8, + "N2": 16, + "programLength": 24, + "programVocabulary": 10, + "volume": 79.7262742772967, + "difficulty": 3.4285714285714284, + "effort": 273.34722609358863, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::scanForAnnotations" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::traverseAbstractSyntaxTreeWithCombinedVisitor": { + "line": 129, + "lineCount": 17, + "argCount": 1, + "returnCount": 0, + "variableCount": 4, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "cyclomatic_complexity": { + "complexity": 3, + "risk_level": "low" + }, + "halstead": { + "n1": 3, + "n2": 7, + "N1": 7, + "N2": 15, + "programLength": 22, + "programVocabulary": 10, + "volume": 73.08241808752197, + "difficulty": 3.2142857142857144, + "effort": 234.90777242417778, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::traverseAbstractSyntaxTreeWithCombinedVisitor" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getIgnored": { + "line": 153, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getIgnored" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getIgnoredClasses": { + "line": 163, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getIgnoredClasses" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getIgnoredMethods": { + "line": 173, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getIgnoredMethods" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::clearStaticCaches": { + "line": 181, + "lineCount": 15, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 1, + "n2": 9, + "N1": 7, + "N2": 19, + "programLength": 26, + "programVocabulary": 10, + "volume": 86.37013046707142, + "difficulty": 1.0555555555555556, + "effort": 91.16847104857538, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::clearStaticCaches" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::clearStaticProperty": { + "line": 200, + "lineCount": 14, + "argCount": 2, + "returnCount": 0, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "cyclomatic_complexity": { + "complexity": 3, + "risk_level": "low" + }, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 6, + "N2": 12, + "programLength": 18, + "programVocabulary": 7, + "volume": 50.53238859703688, + "difficulty": 2.4, + "effort": 121.2777326328885, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::clearStaticProperty" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getRiskLevel": { + "line": 218, + "lineCount": 9, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 1, + "n2": 8, + "N1": 3, + "N2": 11, + "programLength": 14, + "programVocabulary": 9, + "volume": 44.37895002019237, + "difficulty": 0.6875, + "effort": 30.510528138882254, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getRiskLevel" + } + } + }, + "ignored_items": [], + "cached_at": 1759967601 +} \ No newline at end of file diff --git a/.phpcca.cache/26/264c7c0fed41077dc1a80464cfc674b3.cache b/.phpcca.cache/26/264c7c0fed41077dc1a80464cfc674b3.cache new file mode 100644 index 0000000..1f43803 --- /dev/null +++ b/.phpcca.cache/26/264c7c0fed41077dc1a80464cfc674b3.cache @@ -0,0 +1,1686 @@ +{ + "version": "1.0", + "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/Business\/CodeCoverage\/CoberturaReader.php", + "file_mtime": 1759784766, + "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", + "analysis_result": { + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct": { + "line": 60, + "lineCount": 5, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 1, + "N1": 2, + "N2": 2, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 2, + "effort": 12.679700005769249, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices": { + "line": 66, + "lineCount": 95, + "argCount": 0, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 5, + "N1": 58, + "N2": 32, + "programLength": 90, + "programVocabulary": 9, + "volume": 285.2932501298081, + "difficulty": 12.8, + "effort": 3651.7536016615436, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap": { + "line": 162, + "lineCount": 10, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 7, + "N2": 7, + "programLength": 14, + "programVocabulary": 2, + "volume": 14, + "difficulty": 3.5, + "effort": 49, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors": { + "line": 173, + "lineCount": 12, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 3, + "N2": 1, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0.5, + "effort": 2, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus": { + "line": 186, + "lineCount": 19, + "argCount": 0, + "returnCount": 0, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 9, + "N2": 13, + "programLength": 22, + "programVocabulary": 7, + "volume": 61.76180828526729, + "difficulty": 2.6, + "effort": 160.58070154169496, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService": { + "line": 206, + "lineCount": 9, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 3, + "N2": 1, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0.5, + "effort": 2, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade": { + "line": 216, + "lineCount": 13, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 3, + "N2": 1, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0.5, + "effort": 2, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands": { + "line": 230, + "lineCount": 21, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 6, + "N2": 2, + "programLength": 8, + "programVocabulary": 2, + "volume": 8, + "difficulty": 1, + "effort": 8, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication": { + "line": 252, + "lineCount": 11, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 5, + "N2": 4, + "programLength": 9, + "programVocabulary": 4, + "volume": 18, + "difficulty": 0.6666666666666666, + "effort": 12, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run": { + "line": 264, + "lineCount": 9, + "argCount": 0, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 5, + "N2": 5, + "programLength": 10, + "programVocabulary": 4, + "volume": 20, + "difficulty": 2.5, + "effort": 50, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get": { + "line": 274, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer": { + "line": 279, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator": { + "line": 289, + "lineCount": 16, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 7, + "programLength": 8, + "programVocabulary": 4, + "volume": 16, + "difficulty": 1.1666666666666667, + "effort": 18.666666666666668, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create": { + "line": 18, + "lineCount": 7, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 4, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile": { + "line": 17, + "lineCount": 17, + "argCount": 2, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 8, + "N1": 11, + "N2": 19, + "programLength": 30, + "programVocabulary": 11, + "volume": 103.78294855911892, + "difficulty": 3.5625, + "effort": 369.72675424186116, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode": { + "line": 42, + "lineCount": 8, + "argCount": 3, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 3, + "N2": 8, + "programLength": 11, + "programVocabulary": 8, + "volume": 33, + "difficulty": 2.4000000000000004, + "effort": 79.20000000000002, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate": { + "line": 22, + "lineCount": 10, + "argCount": 2, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 6, + "N2": 13, + "programLength": 19, + "programVocabulary": 6, + "volume": 49.11428751370197, + "difficulty": 3.25, + "effort": 159.6214344195314, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending": { + "line": 37, + "lineCount": 8, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 2, + "N2": 9, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 2.25, + "effort": 63.97782189284862, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn": { + "line": 51, + "lineCount": 24, + "argCount": 2, + "returnCount": 1, + "variableCount": 6, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 15, + "N1": 17, + "N2": 46, + "programLength": 63, + "programVocabulary": 20, + "volume": 272.28146997790384, + "difficulty": 7.666666666666667, + "effort": 2087.491269830596, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses": { + "line": 81, + "lineCount": 20, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 2, + "n2": 7, + "N1": 10, + "N2": 24, + "programLength": 34, + "programVocabulary": 9, + "volume": 107.7774500490386, + "difficulty": 3.4285714285714284, + "effort": 369.52268588241805, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass": { + "line": 109, + "lineCount": 9, + "argCount": 2, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 6, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 10, + "volume": 49.82892142331043, + "difficulty": 3.3333333333333335, + "effort": 166.09640474436813, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel": { + "line": 126, + "lineCount": 16, + "argCount": 2, + "returnCount": 4, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 12, + "N1": 9, + "N2": 18, + "programLength": 27, + "programVocabulary": 15, + "volume": 105.48604608143, + "difficulty": 2.25, + "effort": 237.3436036832175, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile": { + "line": 14, + "lineCount": 6, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 2, + "N2": 5, + "programLength": 7, + "programVocabulary": 4, + "volume": 14, + "difficulty": 2.5, + "effort": 35, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable": { + "line": 24, + "lineCount": 11, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 10, + "N2": 12, + "programLength": 22, + "programVocabulary": 8, + "volume": 66, + "difficulty": 6, + "effort": 396, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create": { + "line": 21, + "lineCount": 11, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 7, + "N1": 0, + "N2": 9, + "programLength": 9, + "programVocabulary": 7, + "volume": 25.26619429851844, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes": { + "line": 38, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 6, + "N1": 0, + "N2": 6, + "programLength": 6, + "programVocabulary": 6, + "volume": 15.509775004326936, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported": { + "line": 49, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 2, + "N2": 3, + "programLength": 5, + "programVocabulary": 4, + "volume": 10, + "difficulty": 1.5, + "effort": 15, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export": { + "line": 30, + "lineCount": 23, + "argCount": 2, + "returnCount": 0, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 16, + "N1": 10, + "N2": 33, + "programLength": 43, + "programVocabulary": 20, + "volume": 185.8429080801566, + "difficulty": 4.125, + "effort": 766.601995830646, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export": { + "line": 28, + "lineCount": 8, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 6, + "volume": 36.18947501009619, + "difficulty": 2.5, + "effort": 90.47368752524048, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape": { + "line": 37, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber": { + "line": 42, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml": { + "line": 52, + "lineCount": 50, + "argCount": 1, + "returnCount": 1, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 12, + "N1": 11, + "N2": 25, + "programLength": 36, + "programVocabulary": 17, + "volume": 147.14866228501222, + "difficulty": 5.208333333333334, + "effort": 766.3992827344388, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export": { + "line": 17, + "lineCount": 13, + "argCount": 2, + "returnCount": 0, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 8, + "N1": 7, + "N2": 14, + "programLength": 21, + "programVocabulary": 12, + "volume": 75.28421251514428, + "difficulty": 3.5, + "effort": 263.49474380300495, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export": { + "line": 48, + "lineCount": 8, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 6, + "volume": 36.18947501009619, + "difficulty": 2.5, + "effort": 90.47368752524048, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown": { + "line": 61, + "lineCount": 24, + "argCount": 1, + "returnCount": 1, + "variableCount": 6, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 6, + "n2": 16, + "N1": 19, + "N2": 41, + "programLength": 60, + "programVocabulary": 22, + "volume": 267.56589711823784, + "difficulty": 7.6875, + "effort": 2056.9128340964535, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow": { + "line": 94, + "lineCount": 21, + "argCount": 3, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 7, + "n2": 18, + "N1": 16, + "N2": 39, + "programLength": 55, + "programVocabulary": 25, + "volume": 255.41209043760983, + "difficulty": 7.583333333333333, + "effort": 1936.8750191518745, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::__construct": { + "line": 26, + "lineCount": 4, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::export": { + "line": 36, + "lineCount": 10, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 8, + "volume": 45, + "difficulty": 5, + "effort": 225, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::generateSvgTreemap": { + "line": 53, + "lineCount": 20, + "argCount": 1, + "returnCount": 1, + "variableCount": 6, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 8, + "N1": 9, + "N2": 20, + "programLength": 29, + "programVocabulary": 10, + "volume": 96.3359147517335, + "difficulty": 2.5, + "effort": 240.83978687933376, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::generateSvgTreemap" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRects": { + "line": 82, + "lineCount": 10, + "argCount": 3, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 9, + "N1": 6, + "N2": 18, + "programLength": 24, + "programVocabulary": 12, + "volume": 86.03910001730775, + "difficulty": 3, + "effort": 258.1173000519232, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRects" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRect": { + "line": 100, + "lineCount": 29, + "argCount": 2, + "returnCount": 1, + "variableCount": 12, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 6, + "n2": 28, + "N1": 26, + "N2": 54, + "programLength": 80, + "programVocabulary": 34, + "volume": 406.9970273000271, + "difficulty": 5.785714285714286, + "effort": 2354.7685150930142, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRect" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::wrapSvg": { + "line": 136, + "lineCount": 21, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 2, + "N2": 8, + "programLength": 10, + "programVocabulary": 4, + "volume": 20, + "difficulty": 1.3333333333333333, + "effort": 26.666666666666664, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::wrapSvg" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::prepareItems": { + "line": 28, + "lineCount": 18, + "argCount": 1, + "returnCount": 1, + "variableCount": 7, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 12, + "N1": 9, + "N2": 30, + "programLength": 39, + "programVocabulary": 17, + "volume": 159.41105080876324, + "difficulty": 6.25, + "effort": 996.3190675547702, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::prepareItems" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findScoreRange": { + "line": 53, + "lineCount": 16, + "argCount": 1, + "returnCount": 3, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 7, + "N2": 13, + "programLength": 20, + "programVocabulary": 8, + "volume": 60, + "difficulty": 3.9000000000000004, + "effort": 234.00000000000003, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findScoreRange" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::normalizeScore": { + "line": 78, + "lineCount": 8, + "argCount": 3, + "returnCount": 2, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 8, + "volume": 45, + "difficulty": 5, + "effort": 225, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::normalizeScore" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::scoreToColor": { + "line": 93, + "lineCount": 9, + "argCount": 1, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 5, + "n2": 9, + "N1": 12, + "N2": 16, + "programLength": 28, + "programVocabulary": 14, + "volume": 106.60593781761291, + "difficulty": 4.444444444444445, + "effort": 473.80416807827964, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::scoreToColor" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::calculateTreemapLayout": { + "line": 115, + "lineCount": 23, + "argCount": 7, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 9, + "N1": 2, + "N2": 18, + "programLength": 20, + "programVocabulary": 11, + "volume": 69.18863237274594, + "difficulty": 2, + "effort": 138.37726474549189, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::calculateTreemapLayout" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::layoutTreemap": { + "line": 152, + "lineCount": 89, + "argCount": 8, + "returnCount": 3, + "variableCount": 11, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 8, + "n2": 28, + "N1": 32, + "N2": 98, + "programLength": 130, + "programVocabulary": 36, + "volume": 672.0902501875006, + "difficulty": 14, + "effort": 9409.263502625008, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::layoutTreemap" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findSplitIndex": { + "line": 249, + "lineCount": 13, + "argCount": 2, + "returnCount": 2, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 7, + "n2": 10, + "N1": 9, + "N2": 23, + "programLength": 32, + "programVocabulary": 17, + "volume": 130.79881092001085, + "difficulty": 8.049999999999999, + "effort": 1052.9304279060873, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findSplitIndex" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::__construct": { + "line": 23, + "lineCount": 18, + "argCount": 1, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 7, + "N2": 11, + "programLength": 18, + "programVocabulary": 6, + "volume": 46.529325012980806, + "difficulty": 5.5, + "effort": 255.91128757139444, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::getAllClasses": { + "line": 47, + "lineCount": 17, + "argCount": 0, + "returnCount": 2, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 6, + "N2": 12, + "programLength": 18, + "programVocabulary": 9, + "volume": 57.05865002596162, + "difficulty": 3, + "effort": 171.17595007788486, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::getAllClasses" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::withClassNode": { + "line": 73, + "lineCount": 8, + "argCount": 2, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 4, + "N2": 8, + "programLength": 12, + "programVocabulary": 8, + "volume": 36, + "difficulty": 4, + "effort": 144, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::withClassNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::findClassNode": { + "line": 85, + "lineCount": 25, + "argCount": 1, + "returnCount": 4, + "variableCount": 5, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 13, + "N2": 29, + "programLength": 42, + "programVocabulary": 11, + "volume": 145.29612798276648, + "difficulty": 8.285714285714286, + "effort": 1203.8822032857795, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::findClassNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::escapeXPathValue": { + "line": 114, + "lineCount": 16, + "argCount": 1, + "returnCount": 3, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 9, + "N1": 11, + "N2": 18, + "programLength": 29, + "programVocabulary": 13, + "volume": 107.31275182609167, + "difficulty": 4, + "effort": 429.2510073043667, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::escapeXPathValue" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getLineCoverage": { + "line": 22, + "lineCount": 18, + "argCount": 1, + "returnCount": 4, + "variableCount": 5, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 9, + "N1": 10, + "N2": 19, + "programLength": 29, + "programVocabulary": 13, + "volume": 107.31275182609167, + "difficulty": 4.222222222222222, + "effort": 453.09828548794263, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getLineCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getBranchCoverage": { + "line": 48, + "lineCount": 18, + "argCount": 1, + "returnCount": 4, + "variableCount": 5, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 9, + "N1": 10, + "N2": 19, + "programLength": 29, + "programVocabulary": 13, + "volume": 107.31275182609167, + "difficulty": 4.222222222222222, + "effort": 453.09828548794263, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getBranchCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getComplexity": { + "line": 73, + "lineCount": 13, + "argCount": 1, + "returnCount": 3, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 7, + "N2": 14, + "programLength": 21, + "programVocabulary": 11, + "volume": 72.64806399138324, + "difficulty": 4, + "effort": 290.59225596553296, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getComplexity" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getCoverageDetails": { + "line": 93, + "lineCount": 26, + "argCount": 1, + "returnCount": 3, + "variableCount": 9, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 17, + "N1": 22, + "N2": 42, + "programLength": 64, + "programVocabulary": 22, + "volume": 285.403623592787, + "difficulty": 6.176470588235294, + "effort": 1762.7870868966259, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getCoverageDetails" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getMetricsNode": { + "line": 123, + "lineCount": 12, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 6, + "N1": 7, + "N2": 13, + "programLength": 20, + "programVocabulary": 10, + "volume": 66.43856189774725, + "difficulty": 4.333333333333333, + "effort": 287.90043489023805, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getMetricsNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getFilenameForClass": { + "line": 139, + "lineCount": 9, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 5, + "N1": 4, + "N2": 9, + "programLength": 13, + "programVocabulary": 9, + "volume": 41.209025018750054, + "difficulty": 3.6, + "effort": 148.3524900675002, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getFilenameForClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodsCoverage": { + "line": 154, + "lineCount": 36, + "argCount": 1, + "returnCount": 3, + "variableCount": 8, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 13, + "N1": 12, + "N2": 30, + "programLength": 42, + "programVocabulary": 16, + "volume": 168, + "difficulty": 3.4615384615384612, + "effort": 581.5384615384614, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodsCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::calculateMethodCoverage": { + "line": 194, + "lineCount": 15, + "argCount": 2, + "returnCount": 2, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 11, + "N1": 9, + "N2": 23, + "programLength": 32, + "programVocabulary": 16, + "volume": 128, + "difficulty": 5.227272727272727, + "effort": 669.090909090909, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::calculateMethodCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodCoverageFromLines": { + "line": 215, + "lineCount": 36, + "argCount": 2, + "returnCount": 1, + "variableCount": 7, + "propertyCallCount": 0, + "ifNestingLevel": 2, + "elseCount": 0, + "ifCount": 5, + "halstead": { + "n1": 2, + "n2": 14, + "N1": 12, + "N2": 35, + "programLength": 47, + "programVocabulary": 16, + "volume": 188, + "difficulty": 2.5, + "effort": 470, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodCoverageFromLines" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStart": { + "line": 252, + "lineCount": 4, + "argCount": 3, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 3, + "N2": 7, + "programLength": 10, + "programVocabulary": 6, + "volume": 25.84962500721156, + "difficulty": 1.75, + "effort": 45.23684376262023, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStart" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodEnd": { + "line": 257, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 5, + "programLength": 7, + "programVocabulary": 5, + "volume": 16.253496664211536, + "difficulty": 1.6666666666666667, + "effort": 27.089161107019226, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodEnd" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStatement": { + "line": 262, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 5, + "programLength": 7, + "programVocabulary": 5, + "volume": 16.253496664211536, + "difficulty": 1.6666666666666667, + "effort": 27.089161107019226, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStatement" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isStatementCovered": { + "line": 267, + "lineCount": 5, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 4, + "N1": 3, + "N2": 6, + "programLength": 9, + "programVocabulary": 7, + "volume": 25.26619429851844, + "difficulty": 2.25, + "effort": 56.848937171666485, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isStatementCovered" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getLineCoverage": { + "line": 20, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 2, + "risk_level": "low" + }, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 9, + "volume": 44.37895002019237, + "difficulty": 2.5, + "effort": 110.94737505048093, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getLineCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getBranchCoverage": { + "line": 34, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 2, + "risk_level": "low" + }, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 9, + "volume": 44.37895002019237, + "difficulty": 2.5, + "effort": 110.94737505048093, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getBranchCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getComplexity": { + "line": 48, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 2, + "risk_level": "low" + }, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 9, + "volume": 44.37895002019237, + "difficulty": 2.5, + "effort": 110.94737505048093, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getComplexity" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getCoverageDetails": { + "line": 62, + "lineCount": 13, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 1, + "n2": 8, + "N1": 7, + "N2": 16, + "programLength": 23, + "programVocabulary": 9, + "volume": 72.90827503317318, + "difficulty": 1, + "effort": 72.90827503317318, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getCoverageDetails" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::extractMethodsCoverage": { + "line": 81, + "lineCount": 23, + "argCount": 1, + "returnCount": 2, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "cyclomatic_complexity": { + "complexity": 4, + "risk_level": "low" + }, + "halstead": { + "n1": 3, + "n2": 11, + "N1": 10, + "N2": 23, + "programLength": 33, + "programVocabulary": 14, + "volume": 125.64271242790093, + "difficulty": 3.1363636363636362, + "effort": 394.061234432962, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::extractMethodsCoverage" + } + } + }, + "ignored_items": [], + "cached_at": 1759967600 +} \ No newline at end of file diff --git a/.phpcca.cache/2a/2af046cbb18ad9280bffb28b7072b164.cache b/.phpcca.cache/2a/2af046cbb18ad9280bffb28b7072b164.cache new file mode 100644 index 0000000..47e7d3d --- /dev/null +++ b/.phpcca.cache/2a/2af046cbb18ad9280bffb28b7072b164.cache @@ -0,0 +1,1165 @@ +{ + "version": "1.0", + "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/Business\/Churn\/Exporter\/TreemapMath.php", + "file_mtime": 1752612112, + "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", + "analysis_result": { + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct": { + "line": 60, + "lineCount": 5, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 1, + "N1": 2, + "N2": 2, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 2, + "effort": 12.679700005769249, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices": { + "line": 66, + "lineCount": 95, + "argCount": 0, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 5, + "N1": 58, + "N2": 32, + "programLength": 90, + "programVocabulary": 9, + "volume": 285.2932501298081, + "difficulty": 12.8, + "effort": 3651.7536016615436, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap": { + "line": 162, + "lineCount": 10, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 7, + "N2": 7, + "programLength": 14, + "programVocabulary": 2, + "volume": 14, + "difficulty": 3.5, + "effort": 49, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors": { + "line": 173, + "lineCount": 12, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 3, + "N2": 1, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0.5, + "effort": 2, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus": { + "line": 186, + "lineCount": 19, + "argCount": 0, + "returnCount": 0, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 9, + "N2": 13, + "programLength": 22, + "programVocabulary": 7, + "volume": 61.76180828526729, + "difficulty": 2.6, + "effort": 160.58070154169496, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService": { + "line": 206, + "lineCount": 9, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 3, + "N2": 1, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0.5, + "effort": 2, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade": { + "line": 216, + "lineCount": 13, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 3, + "N2": 1, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0.5, + "effort": 2, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands": { + "line": 230, + "lineCount": 21, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 6, + "N2": 2, + "programLength": 8, + "programVocabulary": 2, + "volume": 8, + "difficulty": 1, + "effort": 8, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication": { + "line": 252, + "lineCount": 11, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 5, + "N2": 4, + "programLength": 9, + "programVocabulary": 4, + "volume": 18, + "difficulty": 0.6666666666666666, + "effort": 12, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run": { + "line": 264, + "lineCount": 9, + "argCount": 0, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 5, + "N2": 5, + "programLength": 10, + "programVocabulary": 4, + "volume": 20, + "difficulty": 2.5, + "effort": 50, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get": { + "line": 274, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer": { + "line": 279, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator": { + "line": 289, + "lineCount": 16, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 7, + "programLength": 8, + "programVocabulary": 4, + "volume": 16, + "difficulty": 1.1666666666666667, + "effort": 18.666666666666668, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create": { + "line": 18, + "lineCount": 7, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 4, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile": { + "line": 17, + "lineCount": 17, + "argCount": 2, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 8, + "N1": 11, + "N2": 19, + "programLength": 30, + "programVocabulary": 11, + "volume": 103.78294855911892, + "difficulty": 3.5625, + "effort": 369.72675424186116, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode": { + "line": 42, + "lineCount": 8, + "argCount": 3, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 3, + "N2": 8, + "programLength": 11, + "programVocabulary": 8, + "volume": 33, + "difficulty": 2.4000000000000004, + "effort": 79.20000000000002, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate": { + "line": 22, + "lineCount": 10, + "argCount": 2, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 6, + "N2": 13, + "programLength": 19, + "programVocabulary": 6, + "volume": 49.11428751370197, + "difficulty": 3.25, + "effort": 159.6214344195314, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending": { + "line": 37, + "lineCount": 8, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 2, + "N2": 9, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 2.25, + "effort": 63.97782189284862, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn": { + "line": 51, + "lineCount": 24, + "argCount": 2, + "returnCount": 1, + "variableCount": 6, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 15, + "N1": 17, + "N2": 46, + "programLength": 63, + "programVocabulary": 20, + "volume": 272.28146997790384, + "difficulty": 7.666666666666667, + "effort": 2087.491269830596, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses": { + "line": 81, + "lineCount": 20, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 2, + "n2": 7, + "N1": 10, + "N2": 24, + "programLength": 34, + "programVocabulary": 9, + "volume": 107.7774500490386, + "difficulty": 3.4285714285714284, + "effort": 369.52268588241805, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass": { + "line": 109, + "lineCount": 9, + "argCount": 2, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 6, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 10, + "volume": 49.82892142331043, + "difficulty": 3.3333333333333335, + "effort": 166.09640474436813, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel": { + "line": 126, + "lineCount": 16, + "argCount": 2, + "returnCount": 4, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 12, + "N1": 9, + "N2": 18, + "programLength": 27, + "programVocabulary": 15, + "volume": 105.48604608143, + "difficulty": 2.25, + "effort": 237.3436036832175, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile": { + "line": 14, + "lineCount": 6, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 2, + "N2": 5, + "programLength": 7, + "programVocabulary": 4, + "volume": 14, + "difficulty": 2.5, + "effort": 35, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable": { + "line": 24, + "lineCount": 11, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 10, + "N2": 12, + "programLength": 22, + "programVocabulary": 8, + "volume": 66, + "difficulty": 6, + "effort": 396, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create": { + "line": 21, + "lineCount": 11, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 7, + "N1": 0, + "N2": 9, + "programLength": 9, + "programVocabulary": 7, + "volume": 25.26619429851844, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes": { + "line": 38, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 6, + "N1": 0, + "N2": 6, + "programLength": 6, + "programVocabulary": 6, + "volume": 15.509775004326936, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported": { + "line": 49, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 2, + "N2": 3, + "programLength": 5, + "programVocabulary": 4, + "volume": 10, + "difficulty": 1.5, + "effort": 15, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export": { + "line": 30, + "lineCount": 23, + "argCount": 2, + "returnCount": 0, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 16, + "N1": 10, + "N2": 33, + "programLength": 43, + "programVocabulary": 20, + "volume": 185.8429080801566, + "difficulty": 4.125, + "effort": 766.601995830646, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export": { + "line": 28, + "lineCount": 8, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 6, + "volume": 36.18947501009619, + "difficulty": 2.5, + "effort": 90.47368752524048, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape": { + "line": 37, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber": { + "line": 42, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml": { + "line": 52, + "lineCount": 50, + "argCount": 1, + "returnCount": 1, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 12, + "N1": 11, + "N2": 25, + "programLength": 36, + "programVocabulary": 17, + "volume": 147.14866228501222, + "difficulty": 5.208333333333334, + "effort": 766.3992827344388, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export": { + "line": 17, + "lineCount": 13, + "argCount": 2, + "returnCount": 0, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 8, + "N1": 7, + "N2": 14, + "programLength": 21, + "programVocabulary": 12, + "volume": 75.28421251514428, + "difficulty": 3.5, + "effort": 263.49474380300495, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export": { + "line": 48, + "lineCount": 8, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 6, + "volume": 36.18947501009619, + "difficulty": 2.5, + "effort": 90.47368752524048, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown": { + "line": 61, + "lineCount": 24, + "argCount": 1, + "returnCount": 1, + "variableCount": 6, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 6, + "n2": 16, + "N1": 19, + "N2": 41, + "programLength": 60, + "programVocabulary": 22, + "volume": 267.56589711823784, + "difficulty": 7.6875, + "effort": 2056.9128340964535, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow": { + "line": 94, + "lineCount": 21, + "argCount": 3, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 7, + "n2": 18, + "N1": 16, + "N2": 39, + "programLength": 55, + "programVocabulary": 25, + "volume": 255.41209043760983, + "difficulty": 7.583333333333333, + "effort": 1936.8750191518745, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::__construct": { + "line": 26, + "lineCount": 4, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::export": { + "line": 36, + "lineCount": 10, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 8, + "volume": 45, + "difficulty": 5, + "effort": 225, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::generateSvgTreemap": { + "line": 53, + "lineCount": 20, + "argCount": 1, + "returnCount": 1, + "variableCount": 6, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 8, + "N1": 9, + "N2": 20, + "programLength": 29, + "programVocabulary": 10, + "volume": 96.3359147517335, + "difficulty": 2.5, + "effort": 240.83978687933376, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::generateSvgTreemap" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRects": { + "line": 82, + "lineCount": 10, + "argCount": 3, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 9, + "N1": 6, + "N2": 18, + "programLength": 24, + "programVocabulary": 12, + "volume": 86.03910001730775, + "difficulty": 3, + "effort": 258.1173000519232, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRects" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRect": { + "line": 100, + "lineCount": 29, + "argCount": 2, + "returnCount": 1, + "variableCount": 12, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 6, + "n2": 28, + "N1": 26, + "N2": 54, + "programLength": 80, + "programVocabulary": 34, + "volume": 406.9970273000271, + "difficulty": 5.785714285714286, + "effort": 2354.7685150930142, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRect" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::wrapSvg": { + "line": 136, + "lineCount": 21, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 2, + "N2": 8, + "programLength": 10, + "programVocabulary": 4, + "volume": 20, + "difficulty": 1.3333333333333333, + "effort": 26.666666666666664, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::wrapSvg" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::prepareItems": { + "line": 28, + "lineCount": 18, + "argCount": 1, + "returnCount": 1, + "variableCount": 7, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "cyclomatic_complexity": { + "complexity": 3, + "risk_level": "low" + }, + "halstead": { + "n1": 5, + "n2": 12, + "N1": 9, + "N2": 30, + "programLength": 39, + "programVocabulary": 17, + "volume": 159.41105080876324, + "difficulty": 6.25, + "effort": 996.3190675547702, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::prepareItems" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findScoreRange": { + "line": 53, + "lineCount": 16, + "argCount": 1, + "returnCount": 3, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "cyclomatic_complexity": { + "complexity": 3, + "risk_level": "low" + }, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 7, + "N2": 13, + "programLength": 20, + "programVocabulary": 8, + "volume": 60, + "difficulty": 3.9000000000000004, + "effort": 234.00000000000003, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findScoreRange" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::normalizeScore": { + "line": 78, + "lineCount": 8, + "argCount": 3, + "returnCount": 2, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "cyclomatic_complexity": { + "complexity": 2, + "risk_level": "low" + }, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 8, + "volume": 45, + "difficulty": 5, + "effort": 225, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::normalizeScore" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::scoreToColor": { + "line": 93, + "lineCount": 9, + "argCount": 1, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 5, + "n2": 9, + "N1": 12, + "N2": 16, + "programLength": 28, + "programVocabulary": 14, + "volume": 106.60593781761291, + "difficulty": 4.444444444444445, + "effort": 473.80416807827964, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::scoreToColor" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::calculateTreemapLayout": { + "line": 115, + "lineCount": 23, + "argCount": 7, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 2, + "n2": 9, + "N1": 2, + "N2": 18, + "programLength": 20, + "programVocabulary": 11, + "volume": 69.18863237274594, + "difficulty": 2, + "effort": 138.37726474549189, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::calculateTreemapLayout" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::layoutTreemap": { + "line": 152, + "lineCount": 89, + "argCount": 8, + "returnCount": 3, + "variableCount": 11, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "cyclomatic_complexity": { + "complexity": 4, + "risk_level": "low" + }, + "halstead": { + "n1": 8, + "n2": 28, + "N1": 32, + "N2": 98, + "programLength": 130, + "programVocabulary": 36, + "volume": 672.0902501875006, + "difficulty": 14, + "effort": 9409.263502625008, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::layoutTreemap" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findSplitIndex": { + "line": 249, + "lineCount": 13, + "argCount": 2, + "returnCount": 2, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "cyclomatic_complexity": { + "complexity": 4, + "risk_level": "low" + }, + "halstead": { + "n1": 7, + "n2": 10, + "N1": 9, + "N2": 23, + "programLength": 32, + "programVocabulary": 17, + "volume": 130.79881092001085, + "difficulty": 8.049999999999999, + "effort": 1052.9304279060873, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findSplitIndex" + } + } + }, + "ignored_items": [], + "cached_at": 1759967600 +} \ No newline at end of file diff --git a/.phpcca.cache/2e/2ec59b6747e6d8a65229481336ee3977.cache b/.phpcca.cache/2e/2ec59b6747e6d8a65229481336ee3977.cache new file mode 100644 index 0000000..d3b6c2a --- /dev/null +++ b/.phpcca.cache/2e/2ec59b6747e6d8a65229481336ee3977.cache @@ -0,0 +1,540 @@ +{ + "version": "1.0", + "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/Business\/Churn\/ChurnCalculator.php", + "file_mtime": 1759784766, + "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", + "analysis_result": { + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct": { + "line": 60, + "lineCount": 5, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 1, + "N1": 2, + "N2": 2, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 2, + "effort": 12.679700005769249, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices": { + "line": 66, + "lineCount": 95, + "argCount": 0, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 5, + "N1": 58, + "N2": 32, + "programLength": 90, + "programVocabulary": 9, + "volume": 285.2932501298081, + "difficulty": 12.8, + "effort": 3651.7536016615436, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap": { + "line": 162, + "lineCount": 10, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 7, + "N2": 7, + "programLength": 14, + "programVocabulary": 2, + "volume": 14, + "difficulty": 3.5, + "effort": 49, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors": { + "line": 173, + "lineCount": 12, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 3, + "N2": 1, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0.5, + "effort": 2, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus": { + "line": 186, + "lineCount": 19, + "argCount": 0, + "returnCount": 0, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 9, + "N2": 13, + "programLength": 22, + "programVocabulary": 7, + "volume": 61.76180828526729, + "difficulty": 2.6, + "effort": 160.58070154169496, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService": { + "line": 206, + "lineCount": 9, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 3, + "N2": 1, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0.5, + "effort": 2, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade": { + "line": 216, + "lineCount": 13, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 3, + "N2": 1, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0.5, + "effort": 2, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands": { + "line": 230, + "lineCount": 21, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 6, + "N2": 2, + "programLength": 8, + "programVocabulary": 2, + "volume": 8, + "difficulty": 1, + "effort": 8, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication": { + "line": 252, + "lineCount": 11, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 5, + "N2": 4, + "programLength": 9, + "programVocabulary": 4, + "volume": 18, + "difficulty": 0.6666666666666666, + "effort": 12, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run": { + "line": 264, + "lineCount": 9, + "argCount": 0, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 5, + "N2": 5, + "programLength": 10, + "programVocabulary": 4, + "volume": 20, + "difficulty": 2.5, + "effort": 50, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get": { + "line": 274, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer": { + "line": 279, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator": { + "line": 289, + "lineCount": 16, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 7, + "programLength": 8, + "programVocabulary": 4, + "volume": 16, + "difficulty": 1.1666666666666667, + "effort": 18.666666666666668, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create": { + "line": 18, + "lineCount": 7, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 4, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile": { + "line": 17, + "lineCount": 17, + "argCount": 2, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 8, + "N1": 11, + "N2": 19, + "programLength": 30, + "programVocabulary": 11, + "volume": 103.78294855911892, + "difficulty": 3.5625, + "effort": 369.72675424186116, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode": { + "line": 42, + "lineCount": 8, + "argCount": 3, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 3, + "N2": 8, + "programLength": 11, + "programVocabulary": 8, + "volume": 33, + "difficulty": 2.4000000000000004, + "effort": 79.20000000000002, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate": { + "line": 22, + "lineCount": 10, + "argCount": 2, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 6, + "N2": 13, + "programLength": 19, + "programVocabulary": 6, + "volume": 49.11428751370197, + "difficulty": 3.25, + "effort": 159.6214344195314, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending": { + "line": 37, + "lineCount": 8, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 2, + "N2": 9, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 2.25, + "effort": 63.97782189284862, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn": { + "line": 51, + "lineCount": 24, + "argCount": 2, + "returnCount": 1, + "variableCount": 6, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "cyclomatic_complexity": { + "complexity": 3, + "risk_level": "low" + }, + "halstead": { + "n1": 5, + "n2": 15, + "N1": 17, + "N2": 46, + "programLength": 63, + "programVocabulary": 20, + "volume": 272.28146997790384, + "difficulty": 7.666666666666667, + "effort": 2087.491269830596, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses": { + "line": 81, + "lineCount": 20, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "cyclomatic_complexity": { + "complexity": 4, + "risk_level": "low" + }, + "halstead": { + "n1": 2, + "n2": 7, + "N1": 10, + "N2": 24, + "programLength": 34, + "programVocabulary": 9, + "volume": 107.7774500490386, + "difficulty": 3.4285714285714284, + "effort": 369.52268588241805, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass": { + "line": 109, + "lineCount": 9, + "argCount": 2, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 4, + "n2": 6, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 10, + "volume": 49.82892142331043, + "difficulty": 3.3333333333333335, + "effort": 166.09640474436813, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel": { + "line": 126, + "lineCount": 16, + "argCount": 2, + "returnCount": 4, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "cyclomatic_complexity": { + "complexity": 4, + "risk_level": "low" + }, + "halstead": { + "n1": 3, + "n2": 12, + "N1": 9, + "N2": 18, + "programLength": 27, + "programVocabulary": 15, + "volume": 105.48604608143, + "difficulty": 2.25, + "effort": 237.3436036832175, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel" + } + } + }, + "ignored_items": [], + "cached_at": 1759967600 +} \ No newline at end of file diff --git a/.phpcca.cache/2f/2fcde32ca958b21f6b2fc80ba238f0de.cache b/.phpcca.cache/2f/2fcde32ca958b21f6b2fc80ba238f0de.cache new file mode 100644 index 0000000..af60632 --- /dev/null +++ b/.phpcca.cache/2f/2fcde32ca958b21f6b2fc80ba238f0de.cache @@ -0,0 +1,1000 @@ +{ + "version": "1.0", + "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/Business\/Churn\/Exporter\/SvgTreemapExporter.php", + "file_mtime": 1759784766, + "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", + "analysis_result": { + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct": { + "line": 60, + "lineCount": 5, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 1, + "N1": 2, + "N2": 2, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 2, + "effort": 12.679700005769249, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices": { + "line": 66, + "lineCount": 95, + "argCount": 0, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 5, + "N1": 58, + "N2": 32, + "programLength": 90, + "programVocabulary": 9, + "volume": 285.2932501298081, + "difficulty": 12.8, + "effort": 3651.7536016615436, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap": { + "line": 162, + "lineCount": 10, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 7, + "N2": 7, + "programLength": 14, + "programVocabulary": 2, + "volume": 14, + "difficulty": 3.5, + "effort": 49, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors": { + "line": 173, + "lineCount": 12, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 3, + "N2": 1, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0.5, + "effort": 2, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus": { + "line": 186, + "lineCount": 19, + "argCount": 0, + "returnCount": 0, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 9, + "N2": 13, + "programLength": 22, + "programVocabulary": 7, + "volume": 61.76180828526729, + "difficulty": 2.6, + "effort": 160.58070154169496, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService": { + "line": 206, + "lineCount": 9, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 3, + "N2": 1, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0.5, + "effort": 2, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade": { + "line": 216, + "lineCount": 13, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 3, + "N2": 1, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0.5, + "effort": 2, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands": { + "line": 230, + "lineCount": 21, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 6, + "N2": 2, + "programLength": 8, + "programVocabulary": 2, + "volume": 8, + "difficulty": 1, + "effort": 8, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication": { + "line": 252, + "lineCount": 11, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 5, + "N2": 4, + "programLength": 9, + "programVocabulary": 4, + "volume": 18, + "difficulty": 0.6666666666666666, + "effort": 12, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run": { + "line": 264, + "lineCount": 9, + "argCount": 0, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 5, + "N2": 5, + "programLength": 10, + "programVocabulary": 4, + "volume": 20, + "difficulty": 2.5, + "effort": 50, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get": { + "line": 274, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer": { + "line": 279, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator": { + "line": 289, + "lineCount": 16, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 7, + "programLength": 8, + "programVocabulary": 4, + "volume": 16, + "difficulty": 1.1666666666666667, + "effort": 18.666666666666668, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create": { + "line": 18, + "lineCount": 7, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 4, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile": { + "line": 17, + "lineCount": 17, + "argCount": 2, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 8, + "N1": 11, + "N2": 19, + "programLength": 30, + "programVocabulary": 11, + "volume": 103.78294855911892, + "difficulty": 3.5625, + "effort": 369.72675424186116, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode": { + "line": 42, + "lineCount": 8, + "argCount": 3, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 3, + "N2": 8, + "programLength": 11, + "programVocabulary": 8, + "volume": 33, + "difficulty": 2.4000000000000004, + "effort": 79.20000000000002, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate": { + "line": 22, + "lineCount": 10, + "argCount": 2, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 6, + "N2": 13, + "programLength": 19, + "programVocabulary": 6, + "volume": 49.11428751370197, + "difficulty": 3.25, + "effort": 159.6214344195314, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending": { + "line": 37, + "lineCount": 8, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 2, + "N2": 9, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 2.25, + "effort": 63.97782189284862, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn": { + "line": 51, + "lineCount": 24, + "argCount": 2, + "returnCount": 1, + "variableCount": 6, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 15, + "N1": 17, + "N2": 46, + "programLength": 63, + "programVocabulary": 20, + "volume": 272.28146997790384, + "difficulty": 7.666666666666667, + "effort": 2087.491269830596, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses": { + "line": 81, + "lineCount": 20, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 2, + "n2": 7, + "N1": 10, + "N2": 24, + "programLength": 34, + "programVocabulary": 9, + "volume": 107.7774500490386, + "difficulty": 3.4285714285714284, + "effort": 369.52268588241805, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass": { + "line": 109, + "lineCount": 9, + "argCount": 2, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 6, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 10, + "volume": 49.82892142331043, + "difficulty": 3.3333333333333335, + "effort": 166.09640474436813, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel": { + "line": 126, + "lineCount": 16, + "argCount": 2, + "returnCount": 4, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 12, + "N1": 9, + "N2": 18, + "programLength": 27, + "programVocabulary": 15, + "volume": 105.48604608143, + "difficulty": 2.25, + "effort": 237.3436036832175, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile": { + "line": 14, + "lineCount": 6, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 2, + "N2": 5, + "programLength": 7, + "programVocabulary": 4, + "volume": 14, + "difficulty": 2.5, + "effort": 35, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable": { + "line": 24, + "lineCount": 11, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 10, + "N2": 12, + "programLength": 22, + "programVocabulary": 8, + "volume": 66, + "difficulty": 6, + "effort": 396, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create": { + "line": 21, + "lineCount": 11, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 7, + "N1": 0, + "N2": 9, + "programLength": 9, + "programVocabulary": 7, + "volume": 25.26619429851844, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes": { + "line": 38, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 6, + "N1": 0, + "N2": 6, + "programLength": 6, + "programVocabulary": 6, + "volume": 15.509775004326936, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported": { + "line": 49, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 2, + "N2": 3, + "programLength": 5, + "programVocabulary": 4, + "volume": 10, + "difficulty": 1.5, + "effort": 15, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export": { + "line": 30, + "lineCount": 23, + "argCount": 2, + "returnCount": 0, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 16, + "N1": 10, + "N2": 33, + "programLength": 43, + "programVocabulary": 20, + "volume": 185.8429080801566, + "difficulty": 4.125, + "effort": 766.601995830646, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export": { + "line": 28, + "lineCount": 8, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 6, + "volume": 36.18947501009619, + "difficulty": 2.5, + "effort": 90.47368752524048, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape": { + "line": 37, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber": { + "line": 42, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml": { + "line": 52, + "lineCount": 50, + "argCount": 1, + "returnCount": 1, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 12, + "N1": 11, + "N2": 25, + "programLength": 36, + "programVocabulary": 17, + "volume": 147.14866228501222, + "difficulty": 5.208333333333334, + "effort": 766.3992827344388, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export": { + "line": 17, + "lineCount": 13, + "argCount": 2, + "returnCount": 0, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 8, + "N1": 7, + "N2": 14, + "programLength": 21, + "programVocabulary": 12, + "volume": 75.28421251514428, + "difficulty": 3.5, + "effort": 263.49474380300495, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export": { + "line": 48, + "lineCount": 8, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 6, + "volume": 36.18947501009619, + "difficulty": 2.5, + "effort": 90.47368752524048, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown": { + "line": 61, + "lineCount": 24, + "argCount": 1, + "returnCount": 1, + "variableCount": 6, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 6, + "n2": 16, + "N1": 19, + "N2": 41, + "programLength": 60, + "programVocabulary": 22, + "volume": 267.56589711823784, + "difficulty": 7.6875, + "effort": 2056.9128340964535, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow": { + "line": 94, + "lineCount": 21, + "argCount": 3, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 7, + "n2": 18, + "N1": 16, + "N2": 39, + "programLength": 55, + "programVocabulary": 25, + "volume": 255.41209043760983, + "difficulty": 7.583333333333333, + "effort": 1936.8750191518745, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::__construct": { + "line": 26, + "lineCount": 4, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::export": { + "line": 36, + "lineCount": 10, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "cyclomatic_complexity": { + "complexity": 2, + "risk_level": "low" + }, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 8, + "volume": 45, + "difficulty": 5, + "effort": 225, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::generateSvgTreemap": { + "line": 53, + "lineCount": 20, + "argCount": 1, + "returnCount": 1, + "variableCount": 6, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 2, + "n2": 8, + "N1": 9, + "N2": 20, + "programLength": 29, + "programVocabulary": 10, + "volume": 96.3359147517335, + "difficulty": 2.5, + "effort": 240.83978687933376, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::generateSvgTreemap" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRects": { + "line": 82, + "lineCount": 10, + "argCount": 3, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 2, + "risk_level": "low" + }, + "halstead": { + "n1": 3, + "n2": 9, + "N1": 6, + "N2": 18, + "programLength": 24, + "programVocabulary": 12, + "volume": 86.03910001730775, + "difficulty": 3, + "effort": 258.1173000519232, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRects" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRect": { + "line": 100, + "lineCount": 29, + "argCount": 2, + "returnCount": 1, + "variableCount": 12, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 6, + "n2": 28, + "N1": 26, + "N2": 54, + "programLength": 80, + "programVocabulary": 34, + "volume": 406.9970273000271, + "difficulty": 5.785714285714286, + "effort": 2354.7685150930142, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRect" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::wrapSvg": { + "line": 136, + "lineCount": 21, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 2, + "N2": 8, + "programLength": 10, + "programVocabulary": 4, + "volume": 20, + "difficulty": 1.3333333333333333, + "effort": 26.666666666666664, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::wrapSvg" + } + } + }, + "ignored_items": [], + "cached_at": 1759967600 +} \ No newline at end of file diff --git a/.phpcca.cache/30/30b5d0cd6f7c4c612b704dc87ffa4b8b.cache b/.phpcca.cache/30/30b5d0cd6f7c4c612b704dc87ffa4b8b.cache new file mode 100644 index 0000000..b6e1f60 --- /dev/null +++ b/.phpcca.cache/30/30b5d0cd6f7c4c612b704dc87ffa4b8b.cache @@ -0,0 +1,654 @@ +{ + "version": "1.0", + "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/Business\/Churn\/Exporter\/DataExporterInterface.php", + "file_mtime": 1752612112, + "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", + "analysis_result": { + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct": { + "line": 60, + "lineCount": 5, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 1, + "N1": 2, + "N2": 2, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 2, + "effort": 12.679700005769249, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices": { + "line": 66, + "lineCount": 95, + "argCount": 0, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 5, + "N1": 58, + "N2": 32, + "programLength": 90, + "programVocabulary": 9, + "volume": 285.2932501298081, + "difficulty": 12.8, + "effort": 3651.7536016615436, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap": { + "line": 162, + "lineCount": 10, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 7, + "N2": 7, + "programLength": 14, + "programVocabulary": 2, + "volume": 14, + "difficulty": 3.5, + "effort": 49, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors": { + "line": 173, + "lineCount": 12, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 3, + "N2": 1, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0.5, + "effort": 2, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus": { + "line": 186, + "lineCount": 19, + "argCount": 0, + "returnCount": 0, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 9, + "N2": 13, + "programLength": 22, + "programVocabulary": 7, + "volume": 61.76180828526729, + "difficulty": 2.6, + "effort": 160.58070154169496, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService": { + "line": 206, + "lineCount": 9, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 3, + "N2": 1, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0.5, + "effort": 2, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade": { + "line": 216, + "lineCount": 13, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 3, + "N2": 1, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0.5, + "effort": 2, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands": { + "line": 230, + "lineCount": 21, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 6, + "N2": 2, + "programLength": 8, + "programVocabulary": 2, + "volume": 8, + "difficulty": 1, + "effort": 8, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication": { + "line": 252, + "lineCount": 11, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 5, + "N2": 4, + "programLength": 9, + "programVocabulary": 4, + "volume": 18, + "difficulty": 0.6666666666666666, + "effort": 12, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run": { + "line": 264, + "lineCount": 9, + "argCount": 0, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 5, + "N2": 5, + "programLength": 10, + "programVocabulary": 4, + "volume": 20, + "difficulty": 2.5, + "effort": 50, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get": { + "line": 274, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer": { + "line": 279, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator": { + "line": 289, + "lineCount": 16, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 7, + "programLength": 8, + "programVocabulary": 4, + "volume": 16, + "difficulty": 1.1666666666666667, + "effort": 18.666666666666668, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create": { + "line": 18, + "lineCount": 7, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 4, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile": { + "line": 17, + "lineCount": 17, + "argCount": 2, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 8, + "N1": 11, + "N2": 19, + "programLength": 30, + "programVocabulary": 11, + "volume": 103.78294855911892, + "difficulty": 3.5625, + "effort": 369.72675424186116, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode": { + "line": 42, + "lineCount": 8, + "argCount": 3, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 3, + "N2": 8, + "programLength": 11, + "programVocabulary": 8, + "volume": 33, + "difficulty": 2.4000000000000004, + "effort": 79.20000000000002, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate": { + "line": 22, + "lineCount": 10, + "argCount": 2, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 6, + "N2": 13, + "programLength": 19, + "programVocabulary": 6, + "volume": 49.11428751370197, + "difficulty": 3.25, + "effort": 159.6214344195314, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending": { + "line": 37, + "lineCount": 8, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 2, + "N2": 9, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 2.25, + "effort": 63.97782189284862, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn": { + "line": 51, + "lineCount": 24, + "argCount": 2, + "returnCount": 1, + "variableCount": 6, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 15, + "N1": 17, + "N2": 46, + "programLength": 63, + "programVocabulary": 20, + "volume": 272.28146997790384, + "difficulty": 7.666666666666667, + "effort": 2087.491269830596, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses": { + "line": 81, + "lineCount": 20, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 2, + "n2": 7, + "N1": 10, + "N2": 24, + "programLength": 34, + "programVocabulary": 9, + "volume": 107.7774500490386, + "difficulty": 3.4285714285714284, + "effort": 369.52268588241805, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass": { + "line": 109, + "lineCount": 9, + "argCount": 2, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 6, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 10, + "volume": 49.82892142331043, + "difficulty": 3.3333333333333335, + "effort": 166.09640474436813, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel": { + "line": 126, + "lineCount": 16, + "argCount": 2, + "returnCount": 4, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 12, + "N1": 9, + "N2": 18, + "programLength": 27, + "programVocabulary": 15, + "volume": 105.48604608143, + "difficulty": 2.25, + "effort": 237.3436036832175, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile": { + "line": 14, + "lineCount": 6, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 2, + "N2": 5, + "programLength": 7, + "programVocabulary": 4, + "volume": 14, + "difficulty": 2.5, + "effort": 35, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable": { + "line": 24, + "lineCount": 11, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 10, + "N2": 12, + "programLength": 22, + "programVocabulary": 8, + "volume": 66, + "difficulty": 6, + "effort": 396, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create": { + "line": 21, + "lineCount": 11, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 7, + "N1": 0, + "N2": 9, + "programLength": 9, + "programVocabulary": 7, + "volume": 25.26619429851844, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes": { + "line": 38, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 6, + "N1": 0, + "N2": 6, + "programLength": 6, + "programVocabulary": 6, + "volume": 15.509775004326936, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported": { + "line": 49, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 2, + "N2": 3, + "programLength": 5, + "programVocabulary": 4, + "volume": 10, + "difficulty": 1.5, + "effort": 15, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export": { + "line": 30, + "lineCount": 23, + "argCount": 2, + "returnCount": 0, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 16, + "N1": 10, + "N2": 33, + "programLength": 43, + "programVocabulary": 20, + "volume": 185.8429080801566, + "difficulty": 4.125, + "effort": 766.601995830646, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export" + } + } + }, + "ignored_items": [], + "cached_at": 1759967600 +} \ No newline at end of file diff --git a/.phpcca.cache/31/31bcaf288d8031eaa49efc922940cf36.cache b/.phpcca.cache/31/31bcaf288d8031eaa49efc922940cf36.cache new file mode 100644 index 0000000..3eb6e31 --- /dev/null +++ b/.phpcca.cache/31/31bcaf288d8031eaa49efc922940cf36.cache @@ -0,0 +1,1693 @@ +{ + "version": "1.0", + "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/Business\/CodeCoverage\/CodeCoverageFactory.php", + "file_mtime": 1759870485, + "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", + "analysis_result": { + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct": { + "line": 60, + "lineCount": 5, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 1, + "N1": 2, + "N2": 2, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 2, + "effort": 12.679700005769249, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices": { + "line": 66, + "lineCount": 95, + "argCount": 0, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 5, + "N1": 58, + "N2": 32, + "programLength": 90, + "programVocabulary": 9, + "volume": 285.2932501298081, + "difficulty": 12.8, + "effort": 3651.7536016615436, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap": { + "line": 162, + "lineCount": 10, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 7, + "N2": 7, + "programLength": 14, + "programVocabulary": 2, + "volume": 14, + "difficulty": 3.5, + "effort": 49, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors": { + "line": 173, + "lineCount": 12, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 3, + "N2": 1, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0.5, + "effort": 2, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus": { + "line": 186, + "lineCount": 19, + "argCount": 0, + "returnCount": 0, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 9, + "N2": 13, + "programLength": 22, + "programVocabulary": 7, + "volume": 61.76180828526729, + "difficulty": 2.6, + "effort": 160.58070154169496, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService": { + "line": 206, + "lineCount": 9, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 3, + "N2": 1, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0.5, + "effort": 2, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade": { + "line": 216, + "lineCount": 13, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 3, + "N2": 1, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0.5, + "effort": 2, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands": { + "line": 230, + "lineCount": 21, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 6, + "N2": 2, + "programLength": 8, + "programVocabulary": 2, + "volume": 8, + "difficulty": 1, + "effort": 8, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication": { + "line": 252, + "lineCount": 11, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 5, + "N2": 4, + "programLength": 9, + "programVocabulary": 4, + "volume": 18, + "difficulty": 0.6666666666666666, + "effort": 12, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run": { + "line": 264, + "lineCount": 9, + "argCount": 0, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 5, + "N2": 5, + "programLength": 10, + "programVocabulary": 4, + "volume": 20, + "difficulty": 2.5, + "effort": 50, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get": { + "line": 274, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer": { + "line": 279, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator": { + "line": 289, + "lineCount": 16, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 7, + "programLength": 8, + "programVocabulary": 4, + "volume": 16, + "difficulty": 1.1666666666666667, + "effort": 18.666666666666668, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create": { + "line": 18, + "lineCount": 7, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 4, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile": { + "line": 17, + "lineCount": 17, + "argCount": 2, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 8, + "N1": 11, + "N2": 19, + "programLength": 30, + "programVocabulary": 11, + "volume": 103.78294855911892, + "difficulty": 3.5625, + "effort": 369.72675424186116, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode": { + "line": 42, + "lineCount": 8, + "argCount": 3, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 3, + "N2": 8, + "programLength": 11, + "programVocabulary": 8, + "volume": 33, + "difficulty": 2.4000000000000004, + "effort": 79.20000000000002, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate": { + "line": 22, + "lineCount": 10, + "argCount": 2, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 6, + "N2": 13, + "programLength": 19, + "programVocabulary": 6, + "volume": 49.11428751370197, + "difficulty": 3.25, + "effort": 159.6214344195314, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending": { + "line": 37, + "lineCount": 8, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 2, + "N2": 9, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 2.25, + "effort": 63.97782189284862, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn": { + "line": 51, + "lineCount": 24, + "argCount": 2, + "returnCount": 1, + "variableCount": 6, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 15, + "N1": 17, + "N2": 46, + "programLength": 63, + "programVocabulary": 20, + "volume": 272.28146997790384, + "difficulty": 7.666666666666667, + "effort": 2087.491269830596, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses": { + "line": 81, + "lineCount": 20, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 2, + "n2": 7, + "N1": 10, + "N2": 24, + "programLength": 34, + "programVocabulary": 9, + "volume": 107.7774500490386, + "difficulty": 3.4285714285714284, + "effort": 369.52268588241805, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass": { + "line": 109, + "lineCount": 9, + "argCount": 2, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 6, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 10, + "volume": 49.82892142331043, + "difficulty": 3.3333333333333335, + "effort": 166.09640474436813, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel": { + "line": 126, + "lineCount": 16, + "argCount": 2, + "returnCount": 4, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 12, + "N1": 9, + "N2": 18, + "programLength": 27, + "programVocabulary": 15, + "volume": 105.48604608143, + "difficulty": 2.25, + "effort": 237.3436036832175, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile": { + "line": 14, + "lineCount": 6, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 2, + "N2": 5, + "programLength": 7, + "programVocabulary": 4, + "volume": 14, + "difficulty": 2.5, + "effort": 35, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable": { + "line": 24, + "lineCount": 11, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 10, + "N2": 12, + "programLength": 22, + "programVocabulary": 8, + "volume": 66, + "difficulty": 6, + "effort": 396, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create": { + "line": 21, + "lineCount": 11, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 7, + "N1": 0, + "N2": 9, + "programLength": 9, + "programVocabulary": 7, + "volume": 25.26619429851844, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes": { + "line": 38, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 6, + "N1": 0, + "N2": 6, + "programLength": 6, + "programVocabulary": 6, + "volume": 15.509775004326936, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported": { + "line": 49, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 2, + "N2": 3, + "programLength": 5, + "programVocabulary": 4, + "volume": 10, + "difficulty": 1.5, + "effort": 15, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export": { + "line": 30, + "lineCount": 23, + "argCount": 2, + "returnCount": 0, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 16, + "N1": 10, + "N2": 33, + "programLength": 43, + "programVocabulary": 20, + "volume": 185.8429080801566, + "difficulty": 4.125, + "effort": 766.601995830646, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export": { + "line": 28, + "lineCount": 8, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 6, + "volume": 36.18947501009619, + "difficulty": 2.5, + "effort": 90.47368752524048, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape": { + "line": 37, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber": { + "line": 42, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml": { + "line": 52, + "lineCount": 50, + "argCount": 1, + "returnCount": 1, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 12, + "N1": 11, + "N2": 25, + "programLength": 36, + "programVocabulary": 17, + "volume": 147.14866228501222, + "difficulty": 5.208333333333334, + "effort": 766.3992827344388, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export": { + "line": 17, + "lineCount": 13, + "argCount": 2, + "returnCount": 0, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 8, + "N1": 7, + "N2": 14, + "programLength": 21, + "programVocabulary": 12, + "volume": 75.28421251514428, + "difficulty": 3.5, + "effort": 263.49474380300495, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export": { + "line": 48, + "lineCount": 8, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 6, + "volume": 36.18947501009619, + "difficulty": 2.5, + "effort": 90.47368752524048, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown": { + "line": 61, + "lineCount": 24, + "argCount": 1, + "returnCount": 1, + "variableCount": 6, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 6, + "n2": 16, + "N1": 19, + "N2": 41, + "programLength": 60, + "programVocabulary": 22, + "volume": 267.56589711823784, + "difficulty": 7.6875, + "effort": 2056.9128340964535, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow": { + "line": 94, + "lineCount": 21, + "argCount": 3, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 7, + "n2": 18, + "N1": 16, + "N2": 39, + "programLength": 55, + "programVocabulary": 25, + "volume": 255.41209043760983, + "difficulty": 7.583333333333333, + "effort": 1936.8750191518745, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::__construct": { + "line": 26, + "lineCount": 4, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::export": { + "line": 36, + "lineCount": 10, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 8, + "volume": 45, + "difficulty": 5, + "effort": 225, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::generateSvgTreemap": { + "line": 53, + "lineCount": 20, + "argCount": 1, + "returnCount": 1, + "variableCount": 6, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 8, + "N1": 9, + "N2": 20, + "programLength": 29, + "programVocabulary": 10, + "volume": 96.3359147517335, + "difficulty": 2.5, + "effort": 240.83978687933376, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::generateSvgTreemap" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRects": { + "line": 82, + "lineCount": 10, + "argCount": 3, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 9, + "N1": 6, + "N2": 18, + "programLength": 24, + "programVocabulary": 12, + "volume": 86.03910001730775, + "difficulty": 3, + "effort": 258.1173000519232, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRects" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRect": { + "line": 100, + "lineCount": 29, + "argCount": 2, + "returnCount": 1, + "variableCount": 12, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 6, + "n2": 28, + "N1": 26, + "N2": 54, + "programLength": 80, + "programVocabulary": 34, + "volume": 406.9970273000271, + "difficulty": 5.785714285714286, + "effort": 2354.7685150930142, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRect" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::wrapSvg": { + "line": 136, + "lineCount": 21, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 2, + "N2": 8, + "programLength": 10, + "programVocabulary": 4, + "volume": 20, + "difficulty": 1.3333333333333333, + "effort": 26.666666666666664, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::wrapSvg" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::prepareItems": { + "line": 28, + "lineCount": 18, + "argCount": 1, + "returnCount": 1, + "variableCount": 7, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 12, + "N1": 9, + "N2": 30, + "programLength": 39, + "programVocabulary": 17, + "volume": 159.41105080876324, + "difficulty": 6.25, + "effort": 996.3190675547702, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::prepareItems" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findScoreRange": { + "line": 53, + "lineCount": 16, + "argCount": 1, + "returnCount": 3, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 7, + "N2": 13, + "programLength": 20, + "programVocabulary": 8, + "volume": 60, + "difficulty": 3.9000000000000004, + "effort": 234.00000000000003, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findScoreRange" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::normalizeScore": { + "line": 78, + "lineCount": 8, + "argCount": 3, + "returnCount": 2, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 8, + "volume": 45, + "difficulty": 5, + "effort": 225, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::normalizeScore" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::scoreToColor": { + "line": 93, + "lineCount": 9, + "argCount": 1, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 5, + "n2": 9, + "N1": 12, + "N2": 16, + "programLength": 28, + "programVocabulary": 14, + "volume": 106.60593781761291, + "difficulty": 4.444444444444445, + "effort": 473.80416807827964, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::scoreToColor" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::calculateTreemapLayout": { + "line": 115, + "lineCount": 23, + "argCount": 7, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 9, + "N1": 2, + "N2": 18, + "programLength": 20, + "programVocabulary": 11, + "volume": 69.18863237274594, + "difficulty": 2, + "effort": 138.37726474549189, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::calculateTreemapLayout" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::layoutTreemap": { + "line": 152, + "lineCount": 89, + "argCount": 8, + "returnCount": 3, + "variableCount": 11, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 8, + "n2": 28, + "N1": 32, + "N2": 98, + "programLength": 130, + "programVocabulary": 36, + "volume": 672.0902501875006, + "difficulty": 14, + "effort": 9409.263502625008, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::layoutTreemap" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findSplitIndex": { + "line": 249, + "lineCount": 13, + "argCount": 2, + "returnCount": 2, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 7, + "n2": 10, + "N1": 9, + "N2": 23, + "programLength": 32, + "programVocabulary": 17, + "volume": 130.79881092001085, + "difficulty": 8.049999999999999, + "effort": 1052.9304279060873, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findSplitIndex" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::__construct": { + "line": 23, + "lineCount": 18, + "argCount": 1, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 7, + "N2": 11, + "programLength": 18, + "programVocabulary": 6, + "volume": 46.529325012980806, + "difficulty": 5.5, + "effort": 255.91128757139444, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::getAllClasses": { + "line": 47, + "lineCount": 17, + "argCount": 0, + "returnCount": 2, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 6, + "N2": 12, + "programLength": 18, + "programVocabulary": 9, + "volume": 57.05865002596162, + "difficulty": 3, + "effort": 171.17595007788486, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::getAllClasses" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::withClassNode": { + "line": 73, + "lineCount": 8, + "argCount": 2, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 4, + "N2": 8, + "programLength": 12, + "programVocabulary": 8, + "volume": 36, + "difficulty": 4, + "effort": 144, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::withClassNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::findClassNode": { + "line": 85, + "lineCount": 25, + "argCount": 1, + "returnCount": 4, + "variableCount": 5, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 13, + "N2": 29, + "programLength": 42, + "programVocabulary": 11, + "volume": 145.29612798276648, + "difficulty": 8.285714285714286, + "effort": 1203.8822032857795, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::findClassNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::escapeXPathValue": { + "line": 114, + "lineCount": 16, + "argCount": 1, + "returnCount": 3, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 9, + "N1": 11, + "N2": 18, + "programLength": 29, + "programVocabulary": 13, + "volume": 107.31275182609167, + "difficulty": 4, + "effort": 429.2510073043667, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::escapeXPathValue" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getLineCoverage": { + "line": 22, + "lineCount": 18, + "argCount": 1, + "returnCount": 4, + "variableCount": 5, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 9, + "N1": 10, + "N2": 19, + "programLength": 29, + "programVocabulary": 13, + "volume": 107.31275182609167, + "difficulty": 4.222222222222222, + "effort": 453.09828548794263, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getLineCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getBranchCoverage": { + "line": 48, + "lineCount": 18, + "argCount": 1, + "returnCount": 4, + "variableCount": 5, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 9, + "N1": 10, + "N2": 19, + "programLength": 29, + "programVocabulary": 13, + "volume": 107.31275182609167, + "difficulty": 4.222222222222222, + "effort": 453.09828548794263, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getBranchCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getComplexity": { + "line": 73, + "lineCount": 13, + "argCount": 1, + "returnCount": 3, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 7, + "N2": 14, + "programLength": 21, + "programVocabulary": 11, + "volume": 72.64806399138324, + "difficulty": 4, + "effort": 290.59225596553296, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getComplexity" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getCoverageDetails": { + "line": 93, + "lineCount": 26, + "argCount": 1, + "returnCount": 3, + "variableCount": 9, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 17, + "N1": 22, + "N2": 42, + "programLength": 64, + "programVocabulary": 22, + "volume": 285.403623592787, + "difficulty": 6.176470588235294, + "effort": 1762.7870868966259, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getCoverageDetails" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getMetricsNode": { + "line": 123, + "lineCount": 12, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 6, + "N1": 7, + "N2": 13, + "programLength": 20, + "programVocabulary": 10, + "volume": 66.43856189774725, + "difficulty": 4.333333333333333, + "effort": 287.90043489023805, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getMetricsNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getFilenameForClass": { + "line": 139, + "lineCount": 9, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 5, + "N1": 4, + "N2": 9, + "programLength": 13, + "programVocabulary": 9, + "volume": 41.209025018750054, + "difficulty": 3.6, + "effort": 148.3524900675002, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getFilenameForClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodsCoverage": { + "line": 154, + "lineCount": 36, + "argCount": 1, + "returnCount": 3, + "variableCount": 8, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 13, + "N1": 12, + "N2": 30, + "programLength": 42, + "programVocabulary": 16, + "volume": 168, + "difficulty": 3.4615384615384612, + "effort": 581.5384615384614, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodsCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::calculateMethodCoverage": { + "line": 194, + "lineCount": 15, + "argCount": 2, + "returnCount": 2, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 11, + "N1": 9, + "N2": 23, + "programLength": 32, + "programVocabulary": 16, + "volume": 128, + "difficulty": 5.227272727272727, + "effort": 669.090909090909, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::calculateMethodCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodCoverageFromLines": { + "line": 215, + "lineCount": 36, + "argCount": 2, + "returnCount": 1, + "variableCount": 7, + "propertyCallCount": 0, + "ifNestingLevel": 2, + "elseCount": 0, + "ifCount": 5, + "halstead": { + "n1": 2, + "n2": 14, + "N1": 12, + "N2": 35, + "programLength": 47, + "programVocabulary": 16, + "volume": 188, + "difficulty": 2.5, + "effort": 470, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodCoverageFromLines" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStart": { + "line": 252, + "lineCount": 4, + "argCount": 3, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 3, + "N2": 7, + "programLength": 10, + "programVocabulary": 6, + "volume": 25.84962500721156, + "difficulty": 1.75, + "effort": 45.23684376262023, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStart" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodEnd": { + "line": 257, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 5, + "programLength": 7, + "programVocabulary": 5, + "volume": 16.253496664211536, + "difficulty": 1.6666666666666667, + "effort": 27.089161107019226, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodEnd" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStatement": { + "line": 262, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 5, + "programLength": 7, + "programVocabulary": 5, + "volume": 16.253496664211536, + "difficulty": 1.6666666666666667, + "effort": 27.089161107019226, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStatement" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isStatementCovered": { + "line": 267, + "lineCount": 5, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 4, + "N1": 3, + "N2": 6, + "programLength": 9, + "programVocabulary": 7, + "volume": 25.26619429851844, + "difficulty": 2.25, + "effort": 56.848937171666485, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isStatementCovered" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getLineCoverage": { + "line": 20, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 9, + "volume": 44.37895002019237, + "difficulty": 2.5, + "effort": 110.94737505048093, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getLineCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getBranchCoverage": { + "line": 34, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 9, + "volume": 44.37895002019237, + "difficulty": 2.5, + "effort": 110.94737505048093, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getBranchCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getComplexity": { + "line": 48, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 9, + "volume": 44.37895002019237, + "difficulty": 2.5, + "effort": 110.94737505048093, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getComplexity" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getCoverageDetails": { + "line": 62, + "lineCount": 13, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 8, + "N1": 7, + "N2": 16, + "programLength": 23, + "programVocabulary": 9, + "volume": 72.90827503317318, + "difficulty": 1, + "effort": 72.90827503317318, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getCoverageDetails" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::extractMethodsCoverage": { + "line": 81, + "lineCount": 23, + "argCount": 1, + "returnCount": 2, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 11, + "N1": 10, + "N2": 23, + "programLength": 33, + "programVocabulary": 14, + "volume": 125.64271242790093, + "difficulty": 3.1363636363636362, + "effort": 394.061234432962, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::extractMethodsCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CodeCoverageFactory::createFromName": { + "line": 14, + "lineCount": 8, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 1, + "n2": 4, + "N1": 1, + "N2": 8, + "programLength": 9, + "programVocabulary": 5, + "volume": 20.89735285398626, + "difficulty": 1, + "effort": 20.89735285398626, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CodeCoverageFactory::createFromName" + } + } + }, + "ignored_items": [], + "cached_at": 1759967600 +} \ No newline at end of file diff --git a/.phpcca.cache/35/357653c8cf6b33b4448aadd9f6d43fef.cache b/.phpcca.cache/35/357653c8cf6b33b4448aadd9f6d43fef.cache new file mode 100644 index 0000000..0d15d8c --- /dev/null +++ b/.phpcca.cache/35/357653c8cf6b33b4448aadd9f6d43fef.cache @@ -0,0 +1,1737 @@ +{ + "version": "1.0", + "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/Command\/Presentation\/CognitiveMetricTextRenderer.php", + "file_mtime": 1759870485, + "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", + "analysis_result": { + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::__construct": { + "line": 26, + "lineCount": 5, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 4, + "N1": 3, + "N2": 6, + "programLength": 9, + "programVocabulary": 7, + "volume": 25.26619429851844, + "difficulty": 2.25, + "effort": 56.848937171666485, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItem": { + "line": 35, + "lineCount": 15, + "argCount": 1, + "returnCount": 3, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 6, + "N2": 13, + "programLength": 19, + "programVocabulary": 8, + "volume": 57, + "difficulty": 6.5, + "effort": 370.5, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItem" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItems": { + "line": 55, + "lineCount": 9, + "argCount": 1, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 3, + "N2": 9, + "programLength": 12, + "programVocabulary": 6, + "volume": 31.019550008653873, + "difficulty": 2.25, + "effort": 69.79398751947122, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItems" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::hasItem": { + "line": 68, + "lineCount": 6, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 5, + "n2": 3, + "N1": 6, + "N2": 7, + "programLength": 13, + "programVocabulary": 8, + "volume": 39, + "difficulty": 5.833333333333334, + "effort": 227.50000000000003, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::hasItem" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::clear": { + "line": 75, + "lineCount": 10, + "argCount": 0, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 2, + "N2": 4, + "programLength": 6, + "programVocabulary": 3, + "volume": 9.509775004326936, + "difficulty": 1, + "effort": 9.509775004326936, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::clear" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItem": { + "line": 89, + "lineCount": 10, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 4, + "N2": 6, + "programLength": 10, + "programVocabulary": 6, + "volume": 25.84962500721156, + "difficulty": 3, + "effort": 77.54887502163469, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItem" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItems": { + "line": 103, + "lineCount": 10, + "argCount": 1, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 3, + "N2": 8, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 2, + "effort": 56.86917501586544, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItems" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::save": { + "line": 117, + "lineCount": 11, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 4, + "N1": 9, + "N2": 12, + "programLength": 21, + "programVocabulary": 7, + "volume": 58.95445336320969, + "difficulty": 4.5, + "effort": 265.2950401344436, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::save" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveDeferred": { + "line": 129, + "lineCount": 6, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveDeferred" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::commit": { + "line": 136, + "lineCount": 11, + "argCount": 0, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 4, + "N2": 8, + "programLength": 12, + "programVocabulary": 5, + "volume": 27.863137138648348, + "difficulty": 2.6666666666666665, + "effort": 74.30169903639559, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::commit" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::ensureCacheDirectory": { + "line": 152, + "lineCount": 9, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 3, + "N2": 4, + "programLength": 7, + "programVocabulary": 4, + "volume": 14, + "difficulty": 2, + "effort": 28, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::ensureCacheDirectory" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getCacheFilePath": { + "line": 168, + "lineCount": 15, + "argCount": 1, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 10, + "N1": 13, + "N2": 19, + "programLength": 32, + "programVocabulary": 14, + "volume": 121.83535750584333, + "difficulty": 3.8, + "effort": 462.9743585222046, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getCacheFilePath" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::loadCacheData": { + "line": 187, + "lineCount": 14, + "argCount": 1, + "returnCount": 3, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 6, + "N2": 8, + "programLength": 14, + "programVocabulary": 6, + "volume": 36.18947501009619, + "difficulty": 4, + "effort": 144.75790004038475, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::loadCacheData" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveCacheData": { + "line": 209, + "lineCount": 21, + "argCount": 2, + "returnCount": 3, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 6, + "n2": 7, + "N1": 13, + "N2": 17, + "programLength": 30, + "programVocabulary": 13, + "volume": 111.01319154423277, + "difficulty": 7.285714285714285, + "effort": 808.810395536553, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveCacheData" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::sanitizeUtf8": { + "line": 234, + "lineCount": 25, + "argCount": 1, + "returnCount": 4, + "variableCount": 6, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 8, + "N1": 13, + "N2": 29, + "programLength": 42, + "programVocabulary": 11, + "volume": 145.29612798276648, + "difficulty": 5.4375, + "effort": 790.0476959062927, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::sanitizeUtf8" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::removeDirectory": { + "line": 260, + "lineCount": 23, + "argCount": 1, + "returnCount": 2, + "variableCount": 5, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 5, + "n2": 9, + "N1": 13, + "N2": 20, + "programLength": 33, + "programVocabulary": 14, + "volume": 125.64271242790093, + "difficulty": 5.555555555555555, + "effort": 698.0150690438941, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::removeDirectory" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::__construct": { + "line": 42, + "lineCount": 7, + "argCount": 3, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 3, + "N1": 0, + "N2": 3, + "programLength": 3, + "programVocabulary": 3, + "volume": 4.754887502163468, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::configure": { + "line": 53, + "lineCount": 57, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 15, + "N1": 9, + "N2": 16, + "programLength": 25, + "programVocabulary": 16, + "volume": 100, + "difficulty": 0.5333333333333333, + "effort": 53.333333333333336, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::configure" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::execute": { + "line": 119, + "lineCount": 43, + "argCount": 2, + "returnCount": 5, + "variableCount": 9, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 4, + "halstead": { + "n1": 7, + "n2": 14, + "N1": 31, + "N2": 45, + "programLength": 76, + "programVocabulary": 21, + "volume": 333.8161241311858, + "difficulty": 11.25, + "effort": 3755.4313964758403, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::execute" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::loadCoverageReader": { + "line": 171, + "lineCount": 32, + "argCount": 3, + "returnCount": 4, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 2, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 4, + "n2": 9, + "N1": 9, + "N2": 21, + "programLength": 30, + "programVocabulary": 13, + "volume": 111.01319154423277, + "difficulty": 4.666666666666667, + "effort": 518.0615605397529, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::loadCoverageReader" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::detectCoverageFormat": { + "line": 207, + "lineCount": 19, + "argCount": 1, + "returnCount": 4, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 9, + "volume": 47.548875021634686, + "difficulty": 2.5, + "effort": 118.87218755408671, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::detectCoverageFormat" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::coverageFileExists": { + "line": 227, + "lineCount": 20, + "argCount": 2, + "returnCount": 3, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 4, + "N2": 7, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 3.5, + "effort": 99.52105627776452, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::coverageFileExists" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::__construct": { + "line": 49, + "lineCount": 10, + "argCount": 6, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 6, + "N1": 0, + "N2": 6, + "programLength": 6, + "programVocabulary": 6, + "volume": 15.509775004326936, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::configure": { + "line": 63, + "lineCount": 76, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 20, + "N1": 13, + "N2": 20, + "programLength": 33, + "programVocabulary": 21, + "volume": 144.94647495169912, + "difficulty": 0.5, + "effort": 72.47323747584956, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::configure" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::execute": { + "line": 150, + "lineCount": 52, + "argCount": 2, + "returnCount": 5, + "variableCount": 11, + "propertyCallCount": 6, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 7, + "halstead": { + "n1": 6, + "n2": 15, + "N1": 43, + "N2": 61, + "programLength": 104, + "programVocabulary": 21, + "volume": 456.80101196899113, + "difficulty": 12.2, + "effort": 5572.972346021692, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::execute" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::parsePaths": { + "line": 209, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 4, + "N2": 8, + "programLength": 12, + "programVocabulary": 7, + "volume": 33.68825906469125, + "difficulty": 1.6, + "effort": 53.901214503506004, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::parsePaths" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleBaseLine": { + "line": 224, + "lineCount": 8, + "argCount": 2, + "returnCount": 0, + "variableCount": 3, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 5, + "N2": 11, + "programLength": 16, + "programVocabulary": 7, + "volume": 44.91767875292167, + "difficulty": 2.2, + "effort": 98.81889325642767, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleBaseLine" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleCoverageOptions": { + "line": 238, + "lineCount": 20, + "argCount": 2, + "returnCount": 3, + "variableCount": 5, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 5, + "n2": 10, + "N1": 15, + "N2": 25, + "programLength": 40, + "programVocabulary": 15, + "volume": 156.27562382434076, + "difficulty": 6.25, + "effort": 976.7226489021298, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleCoverageOptions" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::applySorting": { + "line": 264, + "lineCount": 21, + "argCount": 3, + "returnCount": 3, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 15, + "N1": 16, + "N2": 32, + "programLength": 48, + "programVocabulary": 20, + "volume": 207.45254855459342, + "difficulty": 5.333333333333333, + "effort": 1106.4135922911648, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::applySorting" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadConfiguration": { + "line": 293, + "lineCount": 10, + "argCount": 2, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 6, + "N1": 5, + "N2": 9, + "programLength": 14, + "programVocabulary": 8, + "volume": 42, + "difficulty": 1.5, + "effort": 63, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadConfiguration" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadCoverageReader": { + "line": 313, + "lineCount": 28, + "argCount": 3, + "returnCount": 4, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 2, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 10, + "N2": 18, + "programLength": 28, + "programVocabulary": 11, + "volume": 96.86408532184433, + "difficulty": 5.142857142857143, + "effort": 498.15815308377086, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadCoverageReader" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::detectCoverageFormat": { + "line": 345, + "lineCount": 19, + "argCount": 1, + "returnCount": 4, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 9, + "volume": 47.548875021634686, + "difficulty": 2.5, + "effort": 118.87218755408671, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::detectCoverageFormat" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::coverageFileExists": { + "line": 365, + "lineCount": 20, + "argCount": 2, + "returnCount": 3, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 4, + "N2": 7, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 3.5, + "effort": 99.52105627776452, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::coverageFileExists" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__construct": { + "line": 12, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__invoke": { + "line": 17, + "lineCount": 22, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 3, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 10, + "N2": 11, + "programLength": 21, + "programVocabulary": 7, + "volume": 58.95445336320969, + "difficulty": 2.2, + "effort": 129.6997973990613, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__invoke" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__construct": { + "line": 21, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__invoke": { + "line": 26, + "lineCount": 11, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 4, + "N2": 9, + "programLength": 13, + "programVocabulary": 4, + "volume": 26, + "difficulty": 4.5, + "effort": 117, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__invoke" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleSourceFilesFound": { + "line": 38, + "lineCount": 6, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 4, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 6, + "N2": 10, + "programLength": 16, + "programVocabulary": 8, + "volume": 48, + "difficulty": 5, + "effort": 240, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleSourceFilesFound" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleFileProcessed": { + "line": 45, + "lineCount": 5, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleFileProcessed" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleAllFilesProcessed": { + "line": 51, + "lineCount": 6, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 3, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 3, + "N2": 5, + "programLength": 8, + "programVocabulary": 5, + "volume": 18.575424759098897, + "difficulty": 1.6666666666666667, + "effort": 30.95904126516483, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleAllFilesProcessed" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__construct": { + "line": 20, + "lineCount": 5, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__invoke": { + "line": 26, + "lineCount": 17, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 5, + "n2": 8, + "N1": 17, + "N2": 17, + "programLength": 34, + "programVocabulary": 13, + "volume": 125.81495041679713, + "difficulty": 5.3125, + "effort": 668.3919240892347, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__invoke" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::formatBytes": { + "line": 50, + "lineCount": 12, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 7, + "n2": 13, + "N1": 10, + "N2": 22, + "programLength": 32, + "programVocabulary": 20, + "volume": 138.3016990363956, + "difficulty": 5.923076923076923, + "effort": 819.1716019848047, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::formatBytes" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::isDebugEnabled": { + "line": 66, + "lineCount": 5, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 1, + "N1": 4, + "N2": 2, + "programLength": 6, + "programVocabulary": 4, + "volume": 12, + "difficulty": 3, + "effort": 36, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::isDebugEnabled" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::__construct": { + "line": 20, + "lineCount": 6, + "argCount": 2, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 4, + "volume": 8, + "difficulty": 0.5, + "effort": 4, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::exportToFile": { + "line": 32, + "lineCount": 27, + "argCount": 3, + "returnCount": 4, + "variableCount": 2, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 1, + "n2": 6, + "N1": 6, + "N2": 19, + "programLength": 25, + "programVocabulary": 7, + "volume": 70.1838730514401, + "difficulty": 1.5833333333333333, + "effort": 111.12446566478016, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::exportToFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::hasIncompleteReportOptions": { + "line": 60, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 2, + "N1": 7, + "N2": 6, + "programLength": 13, + "programVocabulary": 6, + "volume": 33.60451250937503, + "difficulty": 6, + "effort": 201.62707505625016, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::hasIncompleteReportOptions" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::isValidReportType": { + "line": 65, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 2, + "N2": 4, + "programLength": 6, + "programVocabulary": 4, + "volume": 12, + "difficulty": 2, + "effort": 24, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::isValidReportType" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleExceptions": { + "line": 77, + "lineCount": 9, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 3, + "N2": 4, + "programLength": 7, + "programVocabulary": 5, + "volume": 16.253496664211536, + "difficulty": 1.3333333333333333, + "effort": 21.67132888561538, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleExceptions" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleInvalidReportType": { + "line": 91, + "lineCount": 11, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 5, + "N2": 8, + "programLength": 13, + "programVocabulary": 8, + "volume": 39, + "difficulty": 2.4000000000000004, + "effort": 93.60000000000001, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleInvalidReportType" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::__construct": { + "line": 15, + "lineCount": 5, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handle": { + "line": 24, + "lineCount": 27, + "argCount": 3, + "returnCount": 4, + "variableCount": 2, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 1, + "n2": 6, + "N1": 6, + "N2": 19, + "programLength": 25, + "programVocabulary": 7, + "volume": 70.1838730514401, + "difficulty": 1.5833333333333333, + "effort": 111.12446566478016, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handle" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::hasIncompleteReportOptions": { + "line": 52, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 2, + "N1": 7, + "N2": 6, + "programLength": 13, + "programVocabulary": 6, + "volume": 33.60451250937503, + "difficulty": 6, + "effort": 201.62707505625016, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::hasIncompleteReportOptions" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::isValidReportType": { + "line": 57, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 5, + "N1": 1, + "N2": 6, + "programLength": 7, + "programVocabulary": 6, + "volume": 18.094737505048094, + "difficulty": 0.6, + "effort": 10.856842503028856, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::isValidReportType" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handleExceptions": { + "line": 66, + "lineCount": 9, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 3, + "N2": 4, + "programLength": 7, + "programVocabulary": 5, + "volume": 16.253496664211536, + "difficulty": 1.3333333333333333, + "effort": 21.67132888561538, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handleExceptions" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handleInvalidReporType": { + "line": 80, + "lineCount": 9, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 4, + "programLength": 6, + "programVocabulary": 5, + "volume": 13.931568569324174, + "difficulty": 1.3333333333333333, + "effort": 18.575424759098897, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handleInvalidReporType" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::__construct": { + "line": 42, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::reportWritten": { + "line": 47, + "lineCount": 7, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 4, + "programLength": 6, + "programVocabulary": 5, + "volume": 13.931568569324174, + "difficulty": 1.3333333333333333, + "effort": 18.575424759098897, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::reportWritten" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::renderChurnTable": { + "line": 59, + "lineCount": 35, + "argCount": 1, + "returnCount": 0, + "variableCount": 6, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 8, + "n2": 18, + "N1": 21, + "N2": 53, + "programLength": 74, + "programVocabulary": 26, + "volume": 347.8325391424408, + "difficulty": 11.777777777777779, + "effort": 4096.694349899859, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::renderChurnTable" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricSummaryTextRenderer::__construct": { + "line": 18, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricSummaryTextRenderer::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricSummaryTextRenderer::render": { + "line": 23, + "lineCount": 32, + "argCount": 2, + "returnCount": 0, + "variableCount": 6, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 6, + "n2": 16, + "N1": 27, + "N2": 38, + "programLength": 65, + "programVocabulary": 22, + "volume": 289.86305521142435, + "difficulty": 7.125, + "effort": 2065.2742683813985, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricSummaryTextRenderer::render" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::__construct": { + "line": 27, + "lineCount": 5, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::metricExceedsThreshold": { + "line": 33, + "lineCount": 6, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 3, + "n2": 2, + "N1": 3, + "N2": 5, + "programLength": 8, + "programVocabulary": 5, + "volume": 18.575424759098897, + "difficulty": 3.75, + "effort": 69.65784284662087, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::metricExceedsThreshold" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::hasCoverageInCollection": { + "line": 43, + "lineCount": 10, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "cyclomatic_complexity": { + "complexity": 3, + "risk_level": "low" + }, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 2, + "N2": 4, + "programLength": 6, + "programVocabulary": 4, + "volume": 12, + "difficulty": 2, + "effort": 24, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::hasCoverageInCollection" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::render": { + "line": 58, + "lineCount": 17, + "argCount": 2, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 6, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "cyclomatic_complexity": { + "complexity": 2, + "risk_level": "low" + }, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 9, + "N2": 25, + "programLength": 34, + "programVocabulary": 6, + "volume": 87.8887250245193, + "difficulty": 6.25, + "effort": 549.3045314032456, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::render" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderGroupedByClass": { + "line": 81, + "lineCount": 19, + "argCount": 3, + "returnCount": 0, + "variableCount": 6, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "cyclomatic_complexity": { + "complexity": 4, + "risk_level": "low" + }, + "halstead": { + "n1": 5, + "n2": 11, + "N1": 11, + "N2": 25, + "programLength": 36, + "programVocabulary": 16, + "volume": 144, + "difficulty": 5.6818181818181825, + "effort": 818.1818181818182, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderGroupedByClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::buildRowsForClass": { + "line": 106, + "lineCount": 13, + "argCount": 2, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "cyclomatic_complexity": { + "complexity": 3, + "risk_level": "low" + }, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 4, + "N2": 12, + "programLength": 16, + "programVocabulary": 7, + "volume": 44.91767875292167, + "difficulty": 2.4, + "effort": 107.802429007012, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::buildRowsForClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::getFilenameFromMetrics": { + "line": 123, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 2, + "risk_level": "low" + }, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 5, + "programLength": 6, + "programVocabulary": 4, + "volume": 12, + "difficulty": 0.8333333333333334, + "effort": 10, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::getFilenameFromMetrics" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderAllMethodsInSingleTable": { + "line": 136, + "lineCount": 12, + "argCount": 3, + "returnCount": 0, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "cyclomatic_complexity": { + "complexity": 2, + "risk_level": "low" + }, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 6, + "N2": 15, + "programLength": 21, + "programVocabulary": 11, + "volume": 72.64806399138324, + "difficulty": 4.285714285714286, + "effort": 311.34884567735673, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderAllMethodsInSingleTable" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::buildRowsForSingleTable": { + "line": 154, + "lineCount": 13, + "argCount": 2, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "cyclomatic_complexity": { + "complexity": 3, + "risk_level": "low" + }, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 4, + "N2": 12, + "programLength": 16, + "programVocabulary": 7, + "volume": 44.91767875292167, + "difficulty": 2.4, + "effort": 107.802429007012, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::buildRowsForSingleTable" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderTableCommon": { + "line": 173, + "lineCount": 19, + "argCount": 4, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 2, + "risk_level": "low" + }, + "halstead": { + "n1": 2, + "n2": 8, + "N1": 7, + "N2": 19, + "programLength": 26, + "programVocabulary": 10, + "volume": 86.37013046707142, + "difficulty": 2.375, + "effort": 205.1290598592946, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderTableCommon" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderTable": { + "line": 196, + "lineCount": 13, + "argCount": 4, + "returnCount": 0, + "variableCount": 3, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 2, + "n2": 7, + "N1": 4, + "N2": 14, + "programLength": 18, + "programVocabulary": 9, + "volume": 57.05865002596162, + "difficulty": 2, + "effort": 114.11730005192324, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderTable" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderSingleTable": { + "line": 213, + "lineCount": 11, + "argCount": 3, + "returnCount": 0, + "variableCount": 3, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 2, + "n2": 6, + "N1": 4, + "N2": 12, + "programLength": 16, + "programVocabulary": 8, + "volume": 48, + "difficulty": 2, + "effort": 96, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderSingleTable" + } + } + }, + "ignored_items": [], + "cached_at": 1759967602 +} \ No newline at end of file diff --git a/.phpcca.cache/3f/3f391f1fde299423c2de6a261b97073f.cache b/.phpcca.cache/3f/3f391f1fde299423c2de6a261b97073f.cache new file mode 100644 index 0000000..d2b5db7 --- /dev/null +++ b/.phpcca.cache/3f/3f391f1fde299423c2de6a261b97073f.cache @@ -0,0 +1,5416 @@ +{ + "version": "1.0", + "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/Business\/Exporter\/MarkdownFormatterTrait.php", + "file_mtime": 1759784766, + "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", + "analysis_result": { + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct": { + "line": 60, + "lineCount": 5, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 1, + "N1": 2, + "N2": 2, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 2, + "effort": 12.679700005769249, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices": { + "line": 66, + "lineCount": 95, + "argCount": 0, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 5, + "N1": 58, + "N2": 32, + "programLength": 90, + "programVocabulary": 9, + "volume": 285.2932501298081, + "difficulty": 12.8, + "effort": 3651.7536016615436, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap": { + "line": 162, + "lineCount": 10, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 7, + "N2": 7, + "programLength": 14, + "programVocabulary": 2, + "volume": 14, + "difficulty": 3.5, + "effort": 49, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors": { + "line": 173, + "lineCount": 12, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 3, + "N2": 1, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0.5, + "effort": 2, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus": { + "line": 186, + "lineCount": 19, + "argCount": 0, + "returnCount": 0, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 9, + "N2": 13, + "programLength": 22, + "programVocabulary": 7, + "volume": 61.76180828526729, + "difficulty": 2.6, + "effort": 160.58070154169496, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService": { + "line": 206, + "lineCount": 9, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 3, + "N2": 1, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0.5, + "effort": 2, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade": { + "line": 216, + "lineCount": 13, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 3, + "N2": 1, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0.5, + "effort": 2, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands": { + "line": 230, + "lineCount": 21, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 6, + "N2": 2, + "programLength": 8, + "programVocabulary": 2, + "volume": 8, + "difficulty": 1, + "effort": 8, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication": { + "line": 252, + "lineCount": 11, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 5, + "N2": 4, + "programLength": 9, + "programVocabulary": 4, + "volume": 18, + "difficulty": 0.6666666666666666, + "effort": 12, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run": { + "line": 264, + "lineCount": 9, + "argCount": 0, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 5, + "N2": 5, + "programLength": 10, + "programVocabulary": 4, + "volume": 20, + "difficulty": 2.5, + "effort": 50, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get": { + "line": 274, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer": { + "line": 279, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator": { + "line": 289, + "lineCount": 16, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 7, + "programLength": 8, + "programVocabulary": 4, + "volume": 16, + "difficulty": 1.1666666666666667, + "effort": 18.666666666666668, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create": { + "line": 18, + "lineCount": 7, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 4, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile": { + "line": 17, + "lineCount": 17, + "argCount": 2, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 8, + "N1": 11, + "N2": 19, + "programLength": 30, + "programVocabulary": 11, + "volume": 103.78294855911892, + "difficulty": 3.5625, + "effort": 369.72675424186116, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode": { + "line": 42, + "lineCount": 8, + "argCount": 3, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 3, + "N2": 8, + "programLength": 11, + "programVocabulary": 8, + "volume": 33, + "difficulty": 2.4000000000000004, + "effort": 79.20000000000002, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate": { + "line": 22, + "lineCount": 10, + "argCount": 2, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 6, + "N2": 13, + "programLength": 19, + "programVocabulary": 6, + "volume": 49.11428751370197, + "difficulty": 3.25, + "effort": 159.6214344195314, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending": { + "line": 37, + "lineCount": 8, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 2, + "N2": 9, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 2.25, + "effort": 63.97782189284862, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn": { + "line": 51, + "lineCount": 24, + "argCount": 2, + "returnCount": 1, + "variableCount": 6, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 15, + "N1": 17, + "N2": 46, + "programLength": 63, + "programVocabulary": 20, + "volume": 272.28146997790384, + "difficulty": 7.666666666666667, + "effort": 2087.491269830596, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses": { + "line": 81, + "lineCount": 20, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 2, + "n2": 7, + "N1": 10, + "N2": 24, + "programLength": 34, + "programVocabulary": 9, + "volume": 107.7774500490386, + "difficulty": 3.4285714285714284, + "effort": 369.52268588241805, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass": { + "line": 109, + "lineCount": 9, + "argCount": 2, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 6, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 10, + "volume": 49.82892142331043, + "difficulty": 3.3333333333333335, + "effort": 166.09640474436813, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel": { + "line": 126, + "lineCount": 16, + "argCount": 2, + "returnCount": 4, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 12, + "N1": 9, + "N2": 18, + "programLength": 27, + "programVocabulary": 15, + "volume": 105.48604608143, + "difficulty": 2.25, + "effort": 237.3436036832175, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile": { + "line": 14, + "lineCount": 6, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 2, + "N2": 5, + "programLength": 7, + "programVocabulary": 4, + "volume": 14, + "difficulty": 2.5, + "effort": 35, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable": { + "line": 24, + "lineCount": 11, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 10, + "N2": 12, + "programLength": 22, + "programVocabulary": 8, + "volume": 66, + "difficulty": 6, + "effort": 396, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create": { + "line": 21, + "lineCount": 11, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 7, + "N1": 0, + "N2": 9, + "programLength": 9, + "programVocabulary": 7, + "volume": 25.26619429851844, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes": { + "line": 38, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 6, + "N1": 0, + "N2": 6, + "programLength": 6, + "programVocabulary": 6, + "volume": 15.509775004326936, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported": { + "line": 49, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 2, + "N2": 3, + "programLength": 5, + "programVocabulary": 4, + "volume": 10, + "difficulty": 1.5, + "effort": 15, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export": { + "line": 30, + "lineCount": 23, + "argCount": 2, + "returnCount": 0, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 16, + "N1": 10, + "N2": 33, + "programLength": 43, + "programVocabulary": 20, + "volume": 185.8429080801566, + "difficulty": 4.125, + "effort": 766.601995830646, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export": { + "line": 28, + "lineCount": 8, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 6, + "volume": 36.18947501009619, + "difficulty": 2.5, + "effort": 90.47368752524048, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape": { + "line": 37, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber": { + "line": 42, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml": { + "line": 52, + "lineCount": 50, + "argCount": 1, + "returnCount": 1, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 12, + "N1": 11, + "N2": 25, + "programLength": 36, + "programVocabulary": 17, + "volume": 147.14866228501222, + "difficulty": 5.208333333333334, + "effort": 766.3992827344388, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export": { + "line": 17, + "lineCount": 13, + "argCount": 2, + "returnCount": 0, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 8, + "N1": 7, + "N2": 14, + "programLength": 21, + "programVocabulary": 12, + "volume": 75.28421251514428, + "difficulty": 3.5, + "effort": 263.49474380300495, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export": { + "line": 48, + "lineCount": 8, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 6, + "volume": 36.18947501009619, + "difficulty": 2.5, + "effort": 90.47368752524048, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown": { + "line": 61, + "lineCount": 24, + "argCount": 1, + "returnCount": 1, + "variableCount": 6, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 6, + "n2": 16, + "N1": 19, + "N2": 41, + "programLength": 60, + "programVocabulary": 22, + "volume": 267.56589711823784, + "difficulty": 7.6875, + "effort": 2056.9128340964535, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow": { + "line": 94, + "lineCount": 21, + "argCount": 3, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 7, + "n2": 18, + "N1": 16, + "N2": 39, + "programLength": 55, + "programVocabulary": 25, + "volume": 255.41209043760983, + "difficulty": 7.583333333333333, + "effort": 1936.8750191518745, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::__construct": { + "line": 26, + "lineCount": 4, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::export": { + "line": 36, + "lineCount": 10, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 8, + "volume": 45, + "difficulty": 5, + "effort": 225, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::generateSvgTreemap": { + "line": 53, + "lineCount": 20, + "argCount": 1, + "returnCount": 1, + "variableCount": 6, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 8, + "N1": 9, + "N2": 20, + "programLength": 29, + "programVocabulary": 10, + "volume": 96.3359147517335, + "difficulty": 2.5, + "effort": 240.83978687933376, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::generateSvgTreemap" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRects": { + "line": 82, + "lineCount": 10, + "argCount": 3, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 9, + "N1": 6, + "N2": 18, + "programLength": 24, + "programVocabulary": 12, + "volume": 86.03910001730775, + "difficulty": 3, + "effort": 258.1173000519232, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRects" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRect": { + "line": 100, + "lineCount": 29, + "argCount": 2, + "returnCount": 1, + "variableCount": 12, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 6, + "n2": 28, + "N1": 26, + "N2": 54, + "programLength": 80, + "programVocabulary": 34, + "volume": 406.9970273000271, + "difficulty": 5.785714285714286, + "effort": 2354.7685150930142, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRect" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::wrapSvg": { + "line": 136, + "lineCount": 21, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 2, + "N2": 8, + "programLength": 10, + "programVocabulary": 4, + "volume": 20, + "difficulty": 1.3333333333333333, + "effort": 26.666666666666664, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::wrapSvg" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::prepareItems": { + "line": 28, + "lineCount": 18, + "argCount": 1, + "returnCount": 1, + "variableCount": 7, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 12, + "N1": 9, + "N2": 30, + "programLength": 39, + "programVocabulary": 17, + "volume": 159.41105080876324, + "difficulty": 6.25, + "effort": 996.3190675547702, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::prepareItems" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findScoreRange": { + "line": 53, + "lineCount": 16, + "argCount": 1, + "returnCount": 3, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 7, + "N2": 13, + "programLength": 20, + "programVocabulary": 8, + "volume": 60, + "difficulty": 3.9000000000000004, + "effort": 234.00000000000003, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findScoreRange" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::normalizeScore": { + "line": 78, + "lineCount": 8, + "argCount": 3, + "returnCount": 2, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 8, + "volume": 45, + "difficulty": 5, + "effort": 225, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::normalizeScore" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::scoreToColor": { + "line": 93, + "lineCount": 9, + "argCount": 1, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 5, + "n2": 9, + "N1": 12, + "N2": 16, + "programLength": 28, + "programVocabulary": 14, + "volume": 106.60593781761291, + "difficulty": 4.444444444444445, + "effort": 473.80416807827964, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::scoreToColor" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::calculateTreemapLayout": { + "line": 115, + "lineCount": 23, + "argCount": 7, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 9, + "N1": 2, + "N2": 18, + "programLength": 20, + "programVocabulary": 11, + "volume": 69.18863237274594, + "difficulty": 2, + "effort": 138.37726474549189, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::calculateTreemapLayout" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::layoutTreemap": { + "line": 152, + "lineCount": 89, + "argCount": 8, + "returnCount": 3, + "variableCount": 11, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 8, + "n2": 28, + "N1": 32, + "N2": 98, + "programLength": 130, + "programVocabulary": 36, + "volume": 672.0902501875006, + "difficulty": 14, + "effort": 9409.263502625008, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::layoutTreemap" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findSplitIndex": { + "line": 249, + "lineCount": 13, + "argCount": 2, + "returnCount": 2, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 7, + "n2": 10, + "N1": 9, + "N2": 23, + "programLength": 32, + "programVocabulary": 17, + "volume": 130.79881092001085, + "difficulty": 8.049999999999999, + "effort": 1052.9304279060873, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findSplitIndex" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::__construct": { + "line": 23, + "lineCount": 18, + "argCount": 1, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 7, + "N2": 11, + "programLength": 18, + "programVocabulary": 6, + "volume": 46.529325012980806, + "difficulty": 5.5, + "effort": 255.91128757139444, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::getAllClasses": { + "line": 47, + "lineCount": 17, + "argCount": 0, + "returnCount": 2, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 6, + "N2": 12, + "programLength": 18, + "programVocabulary": 9, + "volume": 57.05865002596162, + "difficulty": 3, + "effort": 171.17595007788486, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::getAllClasses" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::withClassNode": { + "line": 73, + "lineCount": 8, + "argCount": 2, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 4, + "N2": 8, + "programLength": 12, + "programVocabulary": 8, + "volume": 36, + "difficulty": 4, + "effort": 144, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::withClassNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::findClassNode": { + "line": 85, + "lineCount": 25, + "argCount": 1, + "returnCount": 4, + "variableCount": 5, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 13, + "N2": 29, + "programLength": 42, + "programVocabulary": 11, + "volume": 145.29612798276648, + "difficulty": 8.285714285714286, + "effort": 1203.8822032857795, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::findClassNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::escapeXPathValue": { + "line": 114, + "lineCount": 16, + "argCount": 1, + "returnCount": 3, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 9, + "N1": 11, + "N2": 18, + "programLength": 29, + "programVocabulary": 13, + "volume": 107.31275182609167, + "difficulty": 4, + "effort": 429.2510073043667, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::escapeXPathValue" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getLineCoverage": { + "line": 22, + "lineCount": 18, + "argCount": 1, + "returnCount": 4, + "variableCount": 5, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 9, + "N1": 10, + "N2": 19, + "programLength": 29, + "programVocabulary": 13, + "volume": 107.31275182609167, + "difficulty": 4.222222222222222, + "effort": 453.09828548794263, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getLineCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getBranchCoverage": { + "line": 48, + "lineCount": 18, + "argCount": 1, + "returnCount": 4, + "variableCount": 5, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 9, + "N1": 10, + "N2": 19, + "programLength": 29, + "programVocabulary": 13, + "volume": 107.31275182609167, + "difficulty": 4.222222222222222, + "effort": 453.09828548794263, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getBranchCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getComplexity": { + "line": 73, + "lineCount": 13, + "argCount": 1, + "returnCount": 3, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 7, + "N2": 14, + "programLength": 21, + "programVocabulary": 11, + "volume": 72.64806399138324, + "difficulty": 4, + "effort": 290.59225596553296, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getComplexity" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getCoverageDetails": { + "line": 93, + "lineCount": 26, + "argCount": 1, + "returnCount": 3, + "variableCount": 9, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 17, + "N1": 22, + "N2": 42, + "programLength": 64, + "programVocabulary": 22, + "volume": 285.403623592787, + "difficulty": 6.176470588235294, + "effort": 1762.7870868966259, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getCoverageDetails" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getMetricsNode": { + "line": 123, + "lineCount": 12, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 6, + "N1": 7, + "N2": 13, + "programLength": 20, + "programVocabulary": 10, + "volume": 66.43856189774725, + "difficulty": 4.333333333333333, + "effort": 287.90043489023805, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getMetricsNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getFilenameForClass": { + "line": 139, + "lineCount": 9, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 5, + "N1": 4, + "N2": 9, + "programLength": 13, + "programVocabulary": 9, + "volume": 41.209025018750054, + "difficulty": 3.6, + "effort": 148.3524900675002, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getFilenameForClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodsCoverage": { + "line": 154, + "lineCount": 36, + "argCount": 1, + "returnCount": 3, + "variableCount": 8, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 13, + "N1": 12, + "N2": 30, + "programLength": 42, + "programVocabulary": 16, + "volume": 168, + "difficulty": 3.4615384615384612, + "effort": 581.5384615384614, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodsCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::calculateMethodCoverage": { + "line": 194, + "lineCount": 15, + "argCount": 2, + "returnCount": 2, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 11, + "N1": 9, + "N2": 23, + "programLength": 32, + "programVocabulary": 16, + "volume": 128, + "difficulty": 5.227272727272727, + "effort": 669.090909090909, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::calculateMethodCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodCoverageFromLines": { + "line": 215, + "lineCount": 36, + "argCount": 2, + "returnCount": 1, + "variableCount": 7, + "propertyCallCount": 0, + "ifNestingLevel": 2, + "elseCount": 0, + "ifCount": 5, + "halstead": { + "n1": 2, + "n2": 14, + "N1": 12, + "N2": 35, + "programLength": 47, + "programVocabulary": 16, + "volume": 188, + "difficulty": 2.5, + "effort": 470, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodCoverageFromLines" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStart": { + "line": 252, + "lineCount": 4, + "argCount": 3, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 3, + "N2": 7, + "programLength": 10, + "programVocabulary": 6, + "volume": 25.84962500721156, + "difficulty": 1.75, + "effort": 45.23684376262023, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStart" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodEnd": { + "line": 257, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 5, + "programLength": 7, + "programVocabulary": 5, + "volume": 16.253496664211536, + "difficulty": 1.6666666666666667, + "effort": 27.089161107019226, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodEnd" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStatement": { + "line": 262, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 5, + "programLength": 7, + "programVocabulary": 5, + "volume": 16.253496664211536, + "difficulty": 1.6666666666666667, + "effort": 27.089161107019226, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStatement" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isStatementCovered": { + "line": 267, + "lineCount": 5, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 4, + "N1": 3, + "N2": 6, + "programLength": 9, + "programVocabulary": 7, + "volume": 25.26619429851844, + "difficulty": 2.25, + "effort": 56.848937171666485, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isStatementCovered" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getLineCoverage": { + "line": 20, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 9, + "volume": 44.37895002019237, + "difficulty": 2.5, + "effort": 110.94737505048093, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getLineCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getBranchCoverage": { + "line": 34, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 9, + "volume": 44.37895002019237, + "difficulty": 2.5, + "effort": 110.94737505048093, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getBranchCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getComplexity": { + "line": 48, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 9, + "volume": 44.37895002019237, + "difficulty": 2.5, + "effort": 110.94737505048093, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getComplexity" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getCoverageDetails": { + "line": 62, + "lineCount": 13, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 8, + "N1": 7, + "N2": 16, + "programLength": 23, + "programVocabulary": 9, + "volume": 72.90827503317318, + "difficulty": 1, + "effort": 72.90827503317318, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getCoverageDetails" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::extractMethodsCoverage": { + "line": 81, + "lineCount": 23, + "argCount": 1, + "returnCount": 2, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 11, + "N1": 10, + "N2": 23, + "programLength": 33, + "programVocabulary": 14, + "volume": 125.64271242790093, + "difficulty": 3.1363636363636362, + "effort": 394.061234432962, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::extractMethodsCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CodeCoverageFactory::createFromName": { + "line": 14, + "lineCount": 8, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 4, + "N1": 1, + "N2": 8, + "programLength": 9, + "programVocabulary": 5, + "volume": 20.89735285398626, + "difficulty": 1, + "effort": 20.89735285398626, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CodeCoverageFactory::createFromName" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::__construct": { + "line": 28, + "lineCount": 15, + "argCount": 6, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 6, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 7, + "N1": 6, + "N2": 18, + "programLength": 24, + "programVocabulary": 8, + "volume": 72, + "difficulty": 1.2857142857142858, + "effort": 92.57142857142858, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getName": { + "line": 44, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getName" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getFilename": { + "line": 49, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getFilename" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getLineRate": { + "line": 54, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getLineRate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getBranchRate": { + "line": 59, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getBranchRate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getComplexity": { + "line": 64, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getComplexity" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getMethods": { + "line": 72, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getMethods" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::__construct": { + "line": 17, + "lineCount": 11, + "argCount": 4, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 4, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 5, + "N1": 4, + "N2": 12, + "programLength": 16, + "programVocabulary": 6, + "volume": 41.3594000115385, + "difficulty": 1.2, + "effort": 49.631280013846194, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getName": { + "line": 29, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getName" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getLineRate": { + "line": 34, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getLineRate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getBranchRate": { + "line": 39, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getBranchRate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getComplexity": { + "line": 44, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getComplexity" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::calculateDeltas": { + "line": 19, + "lineCount": 14, + "argCount": 2, + "returnCount": 0, + "variableCount": 6, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 9, + "N1": 4, + "N2": 18, + "programLength": 22, + "programVocabulary": 11, + "volume": 76.10749561002054, + "difficulty": 2, + "effort": 152.21499122004107, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::calculateDeltas" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::loadBaseline": { + "line": 41, + "lineCount": 13, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 5, + "N2": 9, + "programLength": 14, + "programVocabulary": 8, + "volume": 42, + "difficulty": 2.7, + "effort": 113.4, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::loadBaseline" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::__construct": { + "line": 72, + "lineCount": 21, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 6, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 9, + "N1": 12, + "N2": 34, + "programLength": 46, + "programVocabulary": 12, + "volume": 164.90827503317317, + "difficulty": 5.666666666666666, + "effort": 934.4802251879812, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setRequiredMetricProperties": { + "line": 98, + "lineCount": 30, + "argCount": 1, + "returnCount": 0, + "variableCount": 6, + "propertyCallCount": 9, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 21, + "N1": 21, + "N2": 51, + "programLength": 72, + "programVocabulary": 24, + "volume": 330.1173000519232, + "difficulty": 3.6428571428571423, + "effort": 1202.570164474863, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setRequiredMetricProperties" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setOptionalMetricProperties": { + "line": 133, + "lineCount": 12, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 8, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 11, + "N1": 16, + "N2": 33, + "programLength": 49, + "programVocabulary": 13, + "volume": 181.32154618891352, + "difficulty": 3, + "effort": 543.9646385667405, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setOptionalMetricProperties" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setTimesChanged": { + "line": 146, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setTimesChanged" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertSame": { + "line": 151, + "lineCount": 14, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 6, + "N2": 8, + "programLength": 14, + "programVocabulary": 5, + "volume": 32.50699332842307, + "difficulty": 2.6666666666666665, + "effort": 86.68531554246152, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertSame" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::calculateDeltas": { + "line": 169, + "lineCount": 13, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 16, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 17, + "N2": 27, + "programLength": 44, + "programVocabulary": 4, + "volume": 88, + "difficulty": 13.5, + "effort": 1188, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::calculateDeltas" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::fromArray": { + "line": 187, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::fromArray" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertArrayKeyIsPresent": { + "line": 197, + "lineCount": 6, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 5, + "programLength": 5, + "programVocabulary": 2, + "volume": 5, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertArrayKeyIsPresent" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getClass": { + "line": 204, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getMethod": { + "line": 209, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getMethod" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCount": { + "line": 214, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCount": { + "line": 219, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCount": { + "line": 224, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCount": { + "line": 229, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCount": { + "line": 234, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCount": { + "line": 239, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevel": { + "line": 244, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevel" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCount": { + "line": 249, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeight": { + "line": 254, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setLineCountWeight": { + "line": 259, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setLineCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeight": { + "line": 264, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setArgCountWeight": { + "line": 269, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setArgCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeight": { + "line": 274, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setReturnCountWeight": { + "line": 279, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setReturnCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeight": { + "line": 284, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setVariableCountWeight": { + "line": 289, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setVariableCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeight": { + "line": 294, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setPropertyCallCountWeight": { + "line": 299, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setPropertyCallCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeight": { + "line": 304, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfCountWeight": { + "line": 309, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeight": { + "line": 314, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfNestingLevelWeight": { + "line": 319, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfNestingLevelWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeight": { + "line": 324, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setElseCountWeight": { + "line": 329, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setElseCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setScore": { + "line": 334, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setScore" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getScore": { + "line": 339, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getScore" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setCoverage": { + "line": 344, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCoverage": { + "line": 349, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeightDelta": { + "line": 354, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeightDelta": { + "line": 359, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeightDelta": { + "line": 364, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeightDelta": { + "line": 369, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeightDelta": { + "line": 374, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeightDelta": { + "line": 379, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeightDelta": { + "line": 384, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeightDelta": { + "line": 389, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getTimesChanged": { + "line": 394, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 2, + "programLength": 3, + "programVocabulary": 3, + "volume": 4.754887502163468, + "difficulty": 0.5, + "effort": 2.377443751081734, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getTimesChanged" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getFileName": { + "line": 399, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getFileName" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLine": { + "line": 404, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLine" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::equals": { + "line": 409, + "lineCount": 5, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 2, + "N1": 5, + "N2": 5, + "programLength": 10, + "programVocabulary": 5, + "volume": 23.21928094887362, + "difficulty": 3.75, + "effort": 87.07230355827608, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::equals" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::toArray": { + "line": 418, + "lineCount": 34, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 29, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 30, + "N1": 0, + "N2": 58, + "programLength": 58, + "programVocabulary": 30, + "volume": 284.5996545452941, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::toArray" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::jsonSerialize": { + "line": 456, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::jsonSerialize" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getHalstead": { + "line": 464, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getHalstead" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCyclomatic": { + "line": 472, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCyclomatic" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::add": { + "line": 30, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 5, + "N2": 6, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 3, + "effort": 85.30376252379816, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::add" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filter": { + "line": 40, + "lineCount": 11, + "argCount": 1, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 8, + "volume": 42, + "difficulty": 3, + "effort": 126, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filter" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getIterator": { + "line": 57, + "lineCount": 5, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getIterator" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::count": { + "line": 66, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::count" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterWithScoreGreaterThan": { + "line": 71, + "lineCount": 6, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 3, + "N2": 6, + "programLength": 9, + "programVocabulary": 5, + "volume": 20.89735285398626, + "difficulty": 2, + "effort": 41.79470570797252, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterWithScoreGreaterThan" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::contains": { + "line": 78, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 4, + "N2": 5, + "programLength": 9, + "programVocabulary": 5, + "volume": 20.89735285398626, + "difficulty": 1.6666666666666667, + "effort": 34.82892142331043, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::contains" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getClassWithMethod": { + "line": 83, + "lineCount": 9, + "argCount": 2, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 3, + "N2": 10, + "programLength": 13, + "programVocabulary": 7, + "volume": 36.49561398674886, + "difficulty": 2, + "effort": 72.99122797349771, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getClassWithMethod" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterByClassName": { + "line": 93, + "lineCount": 6, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 3, + "N2": 6, + "programLength": 9, + "programVocabulary": 5, + "volume": 20.89735285398626, + "difficulty": 2, + "effort": 41.79470570797252, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterByClassName" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::assertMetricHasGetter": { + "line": 100, + "lineCount": 9, + "argCount": 3, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 6, + "programLength": 7, + "programVocabulary": 4, + "volume": 14, + "difficulty": 1, + "effort": 14, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::assertMetricHasGetter" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::groupBy": { + "line": 117, + "lineCount": 20, + "argCount": 1, + "returnCount": 1, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 10, + "N2": 23, + "programLength": 33, + "programVocabulary": 11, + "volume": 114.16124341503081, + "difficulty": 6.571428571428571, + "effort": 750.2024567273453, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::groupBy" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::jsonSerialize": { + "line": 141, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::jsonSerialize" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::__construct": { + "line": 32, + "lineCount": 8, + "argCount": 5, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 5, + "N1": 0, + "N2": 5, + "programLength": 5, + "programVocabulary": 5, + "volume": 11.60964047443681, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collect": { + "line": 49, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 5, + "programLength": 6, + "programVocabulary": 4, + "volume": 12, + "difficulty": 0.8333333333333334, + "effort": 10, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collect" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collectFromPaths": { + "line": 62, + "lineCount": 13, + "argCount": 2, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 8, + "N2": 16, + "programLength": 24, + "programVocabulary": 9, + "volume": 76.07820003461549, + "difficulty": 4, + "effort": 304.31280013846197, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collectFromPaths" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCodeFromFile": { + "line": 79, + "lineCount": 10, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 2, + "N1": 5, + "N2": 6, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 6, + "effort": 170.6075250475963, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCodeFromFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findMetrics": { + "line": 98, + "lineCount": 31, + "argCount": 1, + "returnCount": 1, + "variableCount": 9, + "propertyCallCount": 2, + "ifNestingLevel": 2, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 13, + "N1": 18, + "N2": 38, + "programLength": 56, + "programVocabulary": 16, + "volume": 224, + "difficulty": 4.384615384615384, + "effort": 982.1538461538461, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findMetrics" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processMethodMetrics": { + "line": 136, + "lineCount": 29, + "argCount": 3, + "returnCount": 1, + "variableCount": 7, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 14, + "N1": 8, + "N2": 27, + "programLength": 35, + "programVocabulary": 17, + "volume": 143.06119944376186, + "difficulty": 2.892857142857143, + "effort": 413.8556126765968, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processMethodMetrics" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::isExcluded": { + "line": 166, + "lineCount": 12, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 5, + "N1": 5, + "N2": 9, + "programLength": 14, + "programVocabulary": 9, + "volume": 44.37895002019237, + "difficulty": 3.6, + "effort": 159.76422007269252, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::isExcluded" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findSourceFiles": { + "line": 187, + "lineCount": 7, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 2, + "N2": 6, + "programLength": 8, + "programVocabulary": 6, + "volume": 20.67970000576925, + "difficulty": 1.5, + "effort": 31.019550008653873, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findSourceFiles" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getProjectRoot": { + "line": 202, + "lineCount": 13, + "argCount": 0, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 2, + "N1": 8, + "N2": 8, + "programLength": 16, + "programVocabulary": 6, + "volume": 41.3594000115385, + "difficulty": 8, + "effort": 330.875200092308, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getProjectRoot" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateCacheKey": { + "line": 219, + "lineCount": 7, + "argCount": 2, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 6, + "N1": 10, + "N2": 12, + "programLength": 22, + "programVocabulary": 10, + "volume": 73.08241808752197, + "difficulty": 4, + "effort": 292.3296723500879, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateCacheKey" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateConfigHash": { + "line": 230, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 1, + "N1": 3, + "N2": 2, + "programLength": 5, + "programVocabulary": 3, + "volume": 7.92481250360578, + "difficulty": 2, + "effort": 15.84962500721156, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateConfigHash" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::cacheResult": { + "line": 239, + "lineCount": 14, + "argCount": 4, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 13, + "N1": 5, + "N2": 20, + "programLength": 25, + "programVocabulary": 15, + "volume": 97.67226489021297, + "difficulty": 1.5384615384615385, + "effort": 150.26502290801997, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::cacheResult" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::clearCache": { + "line": 254, + "lineCount": 4, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::clearCache" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::normalizeFilename": { + "line": 264, + "lineCount": 15, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 6, + "n2": 7, + "N1": 12, + "N2": 16, + "programLength": 28, + "programVocabulary": 13, + "volume": 103.61231210795059, + "difficulty": 6.857142857142857, + "effort": 710.4844258830897, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::normalizeFilename" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCachedMetrics": { + "line": 286, + "lineCount": 19, + "argCount": 3, + "returnCount": 3, + "variableCount": 4, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 11, + "N1": 10, + "N2": 29, + "programLength": 39, + "programVocabulary": 14, + "volume": 148.48684196024655, + "difficulty": 3.954545454545454, + "effort": 587.1979659337022, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCachedMetrics" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processFile": { + "line": 312, + "lineCount": 37, + "argCount": 5, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 7, + "n2": 10, + "N1": 12, + "N2": 28, + "programLength": 40, + "programVocabulary": 17, + "volume": 163.49851365001356, + "difficulty": 9.799999999999999, + "effort": 1602.2854337701328, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::sort": { + "line": 51, + "lineCount": 41, + "argCount": 3, + "returnCount": 2, + "variableCount": 10, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 18, + "N1": 20, + "N2": 43, + "programLength": 63, + "programVocabulary": 22, + "volume": 280.9441919741497, + "difficulty": 4.777777777777778, + "effort": 1342.2889172098264, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::sort" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getFieldValue": { + "line": 100, + "lineCount": 28, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 25, + "N1": 24, + "N2": 50, + "programLength": 74, + "programVocabulary": 27, + "volume": 351.86167516009664, + "difficulty": 2, + "effort": 703.7233503201933, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getFieldValue" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::compareValues": { + "line": 136, + "lineCount": 13, + "argCount": 2, + "returnCount": 3, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 2, + "N1": 9, + "N2": 12, + "programLength": 21, + "programVocabulary": 5, + "volume": 48.760489992634604, + "difficulty": 9, + "effort": 438.8444099337114, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::compareValues" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getSortableFields": { + "line": 155, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 0, + "N1": 0, + "N2": 0, + "programLength": 0, + "programVocabulary": 0, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getSortableFields" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__construct": { + "line": 15, + "lineCount": 11, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 7, + "N2": 12, + "programLength": 19, + "programVocabulary": 6, + "volume": 49.11428751370197, + "difficulty": 6, + "effort": 294.6857250822118, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::getValue": { + "line": 27, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::getValue" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasIncreased": { + "line": 32, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasIncreased" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__toString": { + "line": 37, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__toString" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasNotChanged": { + "line": 42, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 2, + "programLength": 3, + "programVocabulary": 3, + "volume": 4.754887502163468, + "difficulty": 0.5, + "effort": 2.377443751081734, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasNotChanged" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\FileProcessed::__construct": { + "line": 14, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\FileProcessed::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\ParserFailed::__construct": { + "line": 15, + "lineCount": 5, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\ParserFailed::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\SourceFilesFound::__construct": { + "line": 17, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\SourceFilesFound::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::__construct": { + "line": 15, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::create": { + "line": 27, + "lineCount": 10, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 6, + "N1": 0, + "N2": 8, + "programLength": 8, + "programVocabulary": 6, + "volume": 20.67970000576925, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::create" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::getSupportedTypes": { + "line": 43, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 4, + "N1": 0, + "N2": 4, + "programLength": 4, + "programVocabulary": 4, + "volume": 8, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::getSupportedTypes" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::isSupported": { + "line": 54, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 2, + "N2": 3, + "programLength": 5, + "programVocabulary": 4, + "volume": 10, + "difficulty": 1.5, + "effort": 15, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::isSupported" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CsvExporter::export": { + "line": 46, + "lineCount": 57, + "argCount": 2, + "returnCount": 0, + "variableCount": 6, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 15, + "N1": 37, + "N2": 54, + "programLength": 91, + "programVocabulary": 19, + "volume": 386.56140372336625, + "difficulty": 7.2, + "effort": 2783.242106808237, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CsvExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::export": { + "line": 40, + "lineCount": 8, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 5, + "N1": 4, + "N2": 8, + "programLength": 12, + "programVocabulary": 9, + "volume": 38.039100017307746, + "difficulty": 3.2, + "effort": 121.72512005538479, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::escape": { + "line": 49, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::escape" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::formatNumber": { + "line": 54, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::formatNumber" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::generateMetricRow": { + "line": 59, + "lineCount": 12, + "argCount": 3, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 16, + "N1": 19, + "N2": 27, + "programLength": 46, + "programVocabulary": 21, + "volume": 202.04660144782298, + "difficulty": 4.21875, + "effort": 852.3840998580032, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::generateMetricRow" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::generateHtml": { + "line": 78, + "lineCount": 64, + "argCount": 1, + "returnCount": 1, + "variableCount": 7, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 11, + "N1": 46, + "N2": 57, + "programLength": 103, + "programVocabulary": 15, + "volume": 402.40973134767745, + "difficulty": 10.363636363636363, + "effort": 4170.42812487593, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::generateHtml" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\JsonExporter::export": { + "line": 19, + "lineCount": 38, + "argCount": 2, + "returnCount": 0, + "variableCount": 5, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 27, + "N1": 29, + "N2": 58, + "programLength": 87, + "programVocabulary": 32, + "volume": 435, + "difficulty": 5.370370370370371, + "effort": 2336.1111111111113, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\JsonExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::__construct": { + "line": 24, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::export": { + "line": 36, + "lineCount": 8, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 5, + "N1": 4, + "N2": 8, + "programLength": 12, + "programVocabulary": 9, + "volume": 38.039100017307746, + "difficulty": 3.2, + "effort": 121.72512005538479, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::escape": { + "line": 48, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::escape" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateMetricCell": { + "line": 56, + "lineCount": 12, + "argCount": 3, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 12, + "N1": 16, + "N2": 24, + "programLength": 40, + "programVocabulary": 17, + "volume": 163.49851365001356, + "difficulty": 5, + "effort": 817.4925682500678, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateMetricCell" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::filterMetrics": { + "line": 75, + "lineCount": 15, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 4, + "N1": 4, + "N2": 11, + "programLength": 15, + "programVocabulary": 7, + "volume": 42.11032383086406, + "difficulty": 4.125, + "effort": 173.70508580231424, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::filterMetrics" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableHeader": { + "line": 94, + "lineCount": 33, + "argCount": 0, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 4, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 19, + "N1": 10, + "N2": 28, + "programLength": 38, + "programVocabulary": 22, + "volume": 169.4584015082173, + "difficulty": 2.2105263157894735, + "effort": 374.5922559655329, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableHeader" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableHeaderWithClass": { + "line": 131, + "lineCount": 33, + "argCount": 0, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 4, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 20, + "N1": 10, + "N2": 29, + "programLength": 39, + "programVocabulary": 23, + "volume": 176.41891628622352, + "difficulty": 2.175, + "effort": 383.7111429225361, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableHeaderWithClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableSeparator": { + "line": 168, + "lineCount": 20, + "argCount": 0, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 4, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 7, + "N1": 3, + "N2": 16, + "programLength": 19, + "programVocabulary": 10, + "volume": 63.11663380285988, + "difficulty": 3.4285714285714284, + "effort": 216.399887324091, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableSeparator" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableSeparatorWithClass": { + "line": 192, + "lineCount": 20, + "argCount": 0, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 4, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 8, + "N1": 3, + "N2": 16, + "programLength": 19, + "programVocabulary": 11, + "volume": 65.72920075410865, + "difficulty": 3, + "effort": 197.18760226232592, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableSeparatorWithClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableRow": { + "line": 216, + "lineCount": 22, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 6, + "N1": 53, + "N2": 60, + "programLength": 113, + "programVocabulary": 10, + "volume": 375.37787472227194, + "difficulty": 20, + "effort": 7507.557494445438, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableRow" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableRowWithClass": { + "line": 242, + "lineCount": 25, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 6, + "N1": 55, + "N2": 62, + "programLength": 117, + "programVocabulary": 10, + "volume": 388.66558710182136, + "difficulty": 20.666666666666668, + "effort": 8032.422133437642, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableRowWithClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::addHalsteadCells": { + "line": 274, + "lineCount": 20, + "argCount": 2, + "returnCount": 3, + "variableCount": 2, + "propertyCallCount": 5, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 12, + "N2": 24, + "programLength": 36, + "programVocabulary": 8, + "volume": 108, + "difficulty": 7.199999999999999, + "effort": 777.5999999999999, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::addHalsteadCells" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::addCyclomaticCell": { + "line": 301, + "lineCount": 16, + "argCount": 2, + "returnCount": 3, + "variableCount": 2, + "propertyCallCount": 4, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 8, + "N2": 16, + "programLength": 24, + "programVocabulary": 11, + "volume": 83.02635884729514, + "difficulty": 4.571428571428571, + "effort": 379.5490690162063, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::addCyclomaticCell" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateMarkdown": { + "line": 325, + "lineCount": 8, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 2, + "N2": 6, + "programLength": 8, + "programVocabulary": 3, + "volume": 12.679700005769249, + "difficulty": 1.5, + "effort": 19.019550008653873, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateMarkdown" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateGroupedMarkdown": { + "line": 337, + "lineCount": 49, + "argCount": 1, + "returnCount": 1, + "variableCount": 10, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 8, + "n2": 23, + "N1": 33, + "N2": 65, + "programLength": 98, + "programVocabulary": 31, + "volume": 485.5112384179137, + "difficulty": 11.304347826086957, + "effort": 5488.387912550329, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateGroupedMarkdown" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateSingleTableMarkdown": { + "line": 390, + "lineCount": 28, + "argCount": 1, + "returnCount": 1, + "variableCount": 6, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 6, + "n2": 13, + "N1": 19, + "N2": 37, + "programLength": 56, + "programVocabulary": 19, + "volume": 237.88394075284077, + "difficulty": 8.538461538461538, + "effort": 2031.1628787357943, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateSingleTableMarkdown" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::__construct": { + "line": 32, + "lineCount": 26, + "argCount": 2, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 7, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 14, + "N2": 22, + "programLength": 36, + "programVocabulary": 5, + "volume": 83.58941141594504, + "difficulty": 7.333333333333333, + "effort": 612.9890170502636, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::parse": { + "line": 63, + "lineCount": 37, + "argCount": 1, + "returnCount": 1, + "variableCount": 9, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 14, + "N1": 16, + "N2": 43, + "programLength": 59, + "programVocabulary": 17, + "volume": 241.16030763377, + "difficulty": 4.607142857142858, + "effort": 1111.0599887412977, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::parse" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::scanForAnnotations": { + "line": 104, + "lineCount": 20, + "argCount": 1, + "returnCount": 0, + "variableCount": 4, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 7, + "N1": 8, + "N2": 16, + "programLength": 24, + "programVocabulary": 10, + "volume": 79.7262742772967, + "difficulty": 3.4285714285714284, + "effort": 273.34722609358863, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::scanForAnnotations" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::traverseAbstractSyntaxTreeWithCombinedVisitor": { + "line": 129, + "lineCount": 17, + "argCount": 1, + "returnCount": 0, + "variableCount": 4, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 7, + "N1": 7, + "N2": 15, + "programLength": 22, + "programVocabulary": 10, + "volume": 73.08241808752197, + "difficulty": 3.2142857142857144, + "effort": 234.90777242417778, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::traverseAbstractSyntaxTreeWithCombinedVisitor" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getIgnored": { + "line": 153, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getIgnored" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getIgnoredClasses": { + "line": 163, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getIgnoredClasses" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getIgnoredMethods": { + "line": 173, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getIgnoredMethods" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::clearStaticCaches": { + "line": 181, + "lineCount": 15, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 9, + "N1": 7, + "N2": 19, + "programLength": 26, + "programVocabulary": 10, + "volume": 86.37013046707142, + "difficulty": 1.0555555555555556, + "effort": 91.16847104857538, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::clearStaticCaches" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::clearStaticProperty": { + "line": 200, + "lineCount": 14, + "argCount": 2, + "returnCount": 0, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 6, + "N2": 12, + "programLength": 18, + "programVocabulary": 7, + "volume": 50.53238859703688, + "difficulty": 2.4, + "effort": 121.2777326328885, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::clearStaticProperty" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getRiskLevel": { + "line": 218, + "lineCount": 9, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 8, + "N1": 3, + "N2": 11, + "programLength": 14, + "programVocabulary": 9, + "volume": 44.37895002019237, + "difficulty": 0.6875, + "effort": 30.510528138882254, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getRiskLevel" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculate": { + "line": 47, + "lineCount": 5, + "argCount": 2, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 2, + "N2": 8, + "programLength": 10, + "programVocabulary": 4, + "volume": 20, + "difficulty": 1.3333333333333333, + "effort": 26.666666666666664, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculateScore": { + "line": 53, + "lineCount": 10, + "argCount": 1, + "returnCount": 0, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 9, + "N1": 7, + "N2": 15, + "programLength": 22, + "programVocabulary": 13, + "volume": 81.40967379910403, + "difficulty": 3.3333333333333335, + "effort": 271.36557933034675, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculateScore" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculateMetricWeights": { + "line": 70, + "lineCount": 17, + "argCount": 3, + "returnCount": 0, + "variableCount": 6, + "propertyCallCount": 3, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 12, + "N1": 9, + "N2": 24, + "programLength": 33, + "programVocabulary": 15, + "volume": 128.92738965508113, + "difficulty": 3, + "effort": 386.7821689652434, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculateMetricWeights" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculateLogWeight": { + "line": 132, + "lineCount": 8, + "argCount": 3, + "returnCount": 2, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 5, + "N1": 5, + "N2": 11, + "programLength": 16, + "programVocabulary": 10, + "volume": 53.150849518197795, + "difficulty": 5.5, + "effort": 292.3296723500879, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculateLogWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cyclomatic\\CyclomaticMetrics::__construct": { + "line": 129, + "lineCount": 23, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 19, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 43, + "N1": 56, + "N2": 130, + "programLength": 186, + "programVocabulary": 45, + "volume": 1021.4846759173195, + "difficulty": 3.0232558139534884, + "effort": 3088.209485331431, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cyclomatic\\CyclomaticMetrics::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::escapeMarkdown": { + "line": 18, + "lineCount": 6, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 5, + "N1": 1, + "N2": 6, + "programLength": 7, + "programVocabulary": 6, + "volume": 18.094737505048094, + "difficulty": 0.6, + "effort": 10.856842503028856, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::escapeMarkdown" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::formatNumber": { + "line": 32, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 5, + "programLength": 6, + "programVocabulary": 4, + "volume": 12, + "difficulty": 0.8333333333333334, + "effort": 10, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::formatNumber" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::buildTableHeader": { + "line": 43, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 3, + "N2": 5, + "programLength": 8, + "programVocabulary": 6, + "volume": 20.67970000576925, + "difficulty": 1.25, + "effort": 25.84962500721156, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::buildTableHeader" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::buildTableSeparator": { + "line": 54, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 4, + "programLength": 6, + "programVocabulary": 5, + "volume": 13.931568569324174, + "difficulty": 1.3333333333333333, + "effort": 18.575424759098897, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::buildTableSeparator" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::buildTableRow": { + "line": 65, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 3, + "N2": 5, + "programLength": 8, + "programVocabulary": 6, + "volume": 20.67970000576925, + "difficulty": 1.25, + "effort": 25.84962500721156, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::buildTableRow" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::formatPercentage": { + "line": 77, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 2, + "N2": 6, + "programLength": 8, + "programVocabulary": 6, + "volume": 20.67970000576925, + "difficulty": 1.5, + "effort": 31.019550008653873, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::formatPercentage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::escapeMarkdown": { + "line": 18, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 1, + "n2": 5, + "N1": 1, + "N2": 6, + "programLength": 7, + "programVocabulary": 6, + "volume": 18.094737505048094, + "difficulty": 0.6, + "effort": 10.856842503028856, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::escapeMarkdown" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::formatNumber": { + "line": 30, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 5, + "programLength": 6, + "programVocabulary": 4, + "volume": 12, + "difficulty": 0.8333333333333334, + "effort": 10, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::formatNumber" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::buildMarkdownTableHeader": { + "line": 41, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 3, + "N2": 5, + "programLength": 8, + "programVocabulary": 6, + "volume": 20.67970000576925, + "difficulty": 1.25, + "effort": 25.84962500721156, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::buildMarkdownTableHeader" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::buildMarkdownTableSeparator": { + "line": 52, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 4, + "programLength": 6, + "programVocabulary": 5, + "volume": 13.931568569324174, + "difficulty": 1.3333333333333333, + "effort": 18.575424759098897, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::buildMarkdownTableSeparator" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::buildMarkdownTableRow": { + "line": 63, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 3, + "N2": 5, + "programLength": 8, + "programVocabulary": 6, + "volume": 20.67970000576925, + "difficulty": 1.25, + "effort": 25.84962500721156, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::buildMarkdownTableRow" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::formatMarkdownPercentage": { + "line": 75, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 2, + "N2": 6, + "programLength": 8, + "programVocabulary": 6, + "volume": 20.67970000576925, + "difficulty": 1.5, + "effort": 31.019550008653873, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::formatMarkdownPercentage" + } + } + }, + "ignored_items": [], + "cached_at": 1759967601 +} \ No newline at end of file diff --git a/.phpcca.cache/46/465e8d6583b75d9445904e1a30209a1b.cache b/.phpcca.cache/46/465e8d6583b75d9445904e1a30209a1b.cache new file mode 100644 index 0000000..08a9aa6 --- /dev/null +++ b/.phpcca.cache/46/465e8d6583b75d9445904e1a30209a1b.cache @@ -0,0 +1,850 @@ +{ + "version": "1.0", + "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/Business\/Churn\/Exporter\/MarkdownExporter.php", + "file_mtime": 1759784766, + "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", + "analysis_result": { + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct": { + "line": 60, + "lineCount": 5, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 1, + "N1": 2, + "N2": 2, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 2, + "effort": 12.679700005769249, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices": { + "line": 66, + "lineCount": 95, + "argCount": 0, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 5, + "N1": 58, + "N2": 32, + "programLength": 90, + "programVocabulary": 9, + "volume": 285.2932501298081, + "difficulty": 12.8, + "effort": 3651.7536016615436, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap": { + "line": 162, + "lineCount": 10, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 7, + "N2": 7, + "programLength": 14, + "programVocabulary": 2, + "volume": 14, + "difficulty": 3.5, + "effort": 49, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors": { + "line": 173, + "lineCount": 12, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 3, + "N2": 1, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0.5, + "effort": 2, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus": { + "line": 186, + "lineCount": 19, + "argCount": 0, + "returnCount": 0, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 9, + "N2": 13, + "programLength": 22, + "programVocabulary": 7, + "volume": 61.76180828526729, + "difficulty": 2.6, + "effort": 160.58070154169496, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService": { + "line": 206, + "lineCount": 9, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 3, + "N2": 1, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0.5, + "effort": 2, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade": { + "line": 216, + "lineCount": 13, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 3, + "N2": 1, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0.5, + "effort": 2, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands": { + "line": 230, + "lineCount": 21, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 6, + "N2": 2, + "programLength": 8, + "programVocabulary": 2, + "volume": 8, + "difficulty": 1, + "effort": 8, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication": { + "line": 252, + "lineCount": 11, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 5, + "N2": 4, + "programLength": 9, + "programVocabulary": 4, + "volume": 18, + "difficulty": 0.6666666666666666, + "effort": 12, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run": { + "line": 264, + "lineCount": 9, + "argCount": 0, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 5, + "N2": 5, + "programLength": 10, + "programVocabulary": 4, + "volume": 20, + "difficulty": 2.5, + "effort": 50, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get": { + "line": 274, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer": { + "line": 279, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator": { + "line": 289, + "lineCount": 16, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 7, + "programLength": 8, + "programVocabulary": 4, + "volume": 16, + "difficulty": 1.1666666666666667, + "effort": 18.666666666666668, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create": { + "line": 18, + "lineCount": 7, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 4, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile": { + "line": 17, + "lineCount": 17, + "argCount": 2, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 8, + "N1": 11, + "N2": 19, + "programLength": 30, + "programVocabulary": 11, + "volume": 103.78294855911892, + "difficulty": 3.5625, + "effort": 369.72675424186116, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode": { + "line": 42, + "lineCount": 8, + "argCount": 3, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 3, + "N2": 8, + "programLength": 11, + "programVocabulary": 8, + "volume": 33, + "difficulty": 2.4000000000000004, + "effort": 79.20000000000002, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate": { + "line": 22, + "lineCount": 10, + "argCount": 2, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 6, + "N2": 13, + "programLength": 19, + "programVocabulary": 6, + "volume": 49.11428751370197, + "difficulty": 3.25, + "effort": 159.6214344195314, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending": { + "line": 37, + "lineCount": 8, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 2, + "N2": 9, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 2.25, + "effort": 63.97782189284862, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn": { + "line": 51, + "lineCount": 24, + "argCount": 2, + "returnCount": 1, + "variableCount": 6, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 15, + "N1": 17, + "N2": 46, + "programLength": 63, + "programVocabulary": 20, + "volume": 272.28146997790384, + "difficulty": 7.666666666666667, + "effort": 2087.491269830596, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses": { + "line": 81, + "lineCount": 20, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 2, + "n2": 7, + "N1": 10, + "N2": 24, + "programLength": 34, + "programVocabulary": 9, + "volume": 107.7774500490386, + "difficulty": 3.4285714285714284, + "effort": 369.52268588241805, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass": { + "line": 109, + "lineCount": 9, + "argCount": 2, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 6, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 10, + "volume": 49.82892142331043, + "difficulty": 3.3333333333333335, + "effort": 166.09640474436813, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel": { + "line": 126, + "lineCount": 16, + "argCount": 2, + "returnCount": 4, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 12, + "N1": 9, + "N2": 18, + "programLength": 27, + "programVocabulary": 15, + "volume": 105.48604608143, + "difficulty": 2.25, + "effort": 237.3436036832175, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile": { + "line": 14, + "lineCount": 6, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 2, + "N2": 5, + "programLength": 7, + "programVocabulary": 4, + "volume": 14, + "difficulty": 2.5, + "effort": 35, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable": { + "line": 24, + "lineCount": 11, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 10, + "N2": 12, + "programLength": 22, + "programVocabulary": 8, + "volume": 66, + "difficulty": 6, + "effort": 396, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create": { + "line": 21, + "lineCount": 11, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 7, + "N1": 0, + "N2": 9, + "programLength": 9, + "programVocabulary": 7, + "volume": 25.26619429851844, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes": { + "line": 38, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 6, + "N1": 0, + "N2": 6, + "programLength": 6, + "programVocabulary": 6, + "volume": 15.509775004326936, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported": { + "line": 49, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 2, + "N2": 3, + "programLength": 5, + "programVocabulary": 4, + "volume": 10, + "difficulty": 1.5, + "effort": 15, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export": { + "line": 30, + "lineCount": 23, + "argCount": 2, + "returnCount": 0, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 16, + "N1": 10, + "N2": 33, + "programLength": 43, + "programVocabulary": 20, + "volume": 185.8429080801566, + "difficulty": 4.125, + "effort": 766.601995830646, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export": { + "line": 28, + "lineCount": 8, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 6, + "volume": 36.18947501009619, + "difficulty": 2.5, + "effort": 90.47368752524048, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape": { + "line": 37, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber": { + "line": 42, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml": { + "line": 52, + "lineCount": 50, + "argCount": 1, + "returnCount": 1, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 12, + "N1": 11, + "N2": 25, + "programLength": 36, + "programVocabulary": 17, + "volume": 147.14866228501222, + "difficulty": 5.208333333333334, + "effort": 766.3992827344388, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export": { + "line": 17, + "lineCount": 13, + "argCount": 2, + "returnCount": 0, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 8, + "N1": 7, + "N2": 14, + "programLength": 21, + "programVocabulary": 12, + "volume": 75.28421251514428, + "difficulty": 3.5, + "effort": 263.49474380300495, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export": { + "line": 48, + "lineCount": 8, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 6, + "volume": 36.18947501009619, + "difficulty": 2.5, + "effort": 90.47368752524048, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown": { + "line": 61, + "lineCount": 24, + "argCount": 1, + "returnCount": 1, + "variableCount": 6, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "cyclomatic_complexity": { + "complexity": 4, + "risk_level": "low" + }, + "halstead": { + "n1": 6, + "n2": 16, + "N1": 19, + "N2": 41, + "programLength": 60, + "programVocabulary": 22, + "volume": 267.56589711823784, + "difficulty": 7.6875, + "effort": 2056.9128340964535, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow": { + "line": 94, + "lineCount": 21, + "argCount": 3, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "cyclomatic_complexity": { + "complexity": 5, + "risk_level": "low" + }, + "halstead": { + "n1": 7, + "n2": 18, + "N1": 16, + "N2": 39, + "programLength": 55, + "programVocabulary": 25, + "volume": 255.41209043760983, + "difficulty": 7.583333333333333, + "effort": 1936.8750191518745, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow" + } + } + }, + "ignored_items": [], + "cached_at": 1759967600 +} \ No newline at end of file diff --git a/.phpcca.cache/4f/4f548467659a2d8b1b63950d505ee752.cache b/.phpcca.cache/4f/4f548467659a2d8b1b63950d505ee752.cache new file mode 100644 index 0000000..b44e0bf --- /dev/null +++ b/.phpcca.cache/4f/4f548467659a2d8b1b63950d505ee752.cache @@ -0,0 +1,1878 @@ +{ + "version": "1.0", + "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/Command\/Presentation\/MetricFormatter.php", + "file_mtime": 1759791861, + "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", + "analysis_result": { + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::__construct": { + "line": 26, + "lineCount": 5, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 4, + "N1": 3, + "N2": 6, + "programLength": 9, + "programVocabulary": 7, + "volume": 25.26619429851844, + "difficulty": 2.25, + "effort": 56.848937171666485, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItem": { + "line": 35, + "lineCount": 15, + "argCount": 1, + "returnCount": 3, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 6, + "N2": 13, + "programLength": 19, + "programVocabulary": 8, + "volume": 57, + "difficulty": 6.5, + "effort": 370.5, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItem" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItems": { + "line": 55, + "lineCount": 9, + "argCount": 1, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 3, + "N2": 9, + "programLength": 12, + "programVocabulary": 6, + "volume": 31.019550008653873, + "difficulty": 2.25, + "effort": 69.79398751947122, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItems" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::hasItem": { + "line": 68, + "lineCount": 6, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 5, + "n2": 3, + "N1": 6, + "N2": 7, + "programLength": 13, + "programVocabulary": 8, + "volume": 39, + "difficulty": 5.833333333333334, + "effort": 227.50000000000003, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::hasItem" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::clear": { + "line": 75, + "lineCount": 10, + "argCount": 0, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 2, + "N2": 4, + "programLength": 6, + "programVocabulary": 3, + "volume": 9.509775004326936, + "difficulty": 1, + "effort": 9.509775004326936, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::clear" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItem": { + "line": 89, + "lineCount": 10, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 4, + "N2": 6, + "programLength": 10, + "programVocabulary": 6, + "volume": 25.84962500721156, + "difficulty": 3, + "effort": 77.54887502163469, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItem" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItems": { + "line": 103, + "lineCount": 10, + "argCount": 1, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 3, + "N2": 8, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 2, + "effort": 56.86917501586544, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItems" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::save": { + "line": 117, + "lineCount": 11, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 4, + "N1": 9, + "N2": 12, + "programLength": 21, + "programVocabulary": 7, + "volume": 58.95445336320969, + "difficulty": 4.5, + "effort": 265.2950401344436, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::save" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveDeferred": { + "line": 129, + "lineCount": 6, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveDeferred" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::commit": { + "line": 136, + "lineCount": 11, + "argCount": 0, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 4, + "N2": 8, + "programLength": 12, + "programVocabulary": 5, + "volume": 27.863137138648348, + "difficulty": 2.6666666666666665, + "effort": 74.30169903639559, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::commit" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::ensureCacheDirectory": { + "line": 152, + "lineCount": 9, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 3, + "N2": 4, + "programLength": 7, + "programVocabulary": 4, + "volume": 14, + "difficulty": 2, + "effort": 28, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::ensureCacheDirectory" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getCacheFilePath": { + "line": 168, + "lineCount": 15, + "argCount": 1, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 10, + "N1": 13, + "N2": 19, + "programLength": 32, + "programVocabulary": 14, + "volume": 121.83535750584333, + "difficulty": 3.8, + "effort": 462.9743585222046, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getCacheFilePath" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::loadCacheData": { + "line": 187, + "lineCount": 14, + "argCount": 1, + "returnCount": 3, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 6, + "N2": 8, + "programLength": 14, + "programVocabulary": 6, + "volume": 36.18947501009619, + "difficulty": 4, + "effort": 144.75790004038475, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::loadCacheData" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveCacheData": { + "line": 209, + "lineCount": 21, + "argCount": 2, + "returnCount": 3, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 6, + "n2": 7, + "N1": 13, + "N2": 17, + "programLength": 30, + "programVocabulary": 13, + "volume": 111.01319154423277, + "difficulty": 7.285714285714285, + "effort": 808.810395536553, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveCacheData" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::sanitizeUtf8": { + "line": 234, + "lineCount": 25, + "argCount": 1, + "returnCount": 4, + "variableCount": 6, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 8, + "N1": 13, + "N2": 29, + "programLength": 42, + "programVocabulary": 11, + "volume": 145.29612798276648, + "difficulty": 5.4375, + "effort": 790.0476959062927, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::sanitizeUtf8" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::removeDirectory": { + "line": 260, + "lineCount": 23, + "argCount": 1, + "returnCount": 2, + "variableCount": 5, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 5, + "n2": 9, + "N1": 13, + "N2": 20, + "programLength": 33, + "programVocabulary": 14, + "volume": 125.64271242790093, + "difficulty": 5.555555555555555, + "effort": 698.0150690438941, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::removeDirectory" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::__construct": { + "line": 42, + "lineCount": 7, + "argCount": 3, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 3, + "N1": 0, + "N2": 3, + "programLength": 3, + "programVocabulary": 3, + "volume": 4.754887502163468, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::configure": { + "line": 53, + "lineCount": 57, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 15, + "N1": 9, + "N2": 16, + "programLength": 25, + "programVocabulary": 16, + "volume": 100, + "difficulty": 0.5333333333333333, + "effort": 53.333333333333336, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::configure" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::execute": { + "line": 119, + "lineCount": 43, + "argCount": 2, + "returnCount": 5, + "variableCount": 9, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 4, + "halstead": { + "n1": 7, + "n2": 14, + "N1": 31, + "N2": 45, + "programLength": 76, + "programVocabulary": 21, + "volume": 333.8161241311858, + "difficulty": 11.25, + "effort": 3755.4313964758403, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::execute" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::loadCoverageReader": { + "line": 171, + "lineCount": 32, + "argCount": 3, + "returnCount": 4, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 2, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 4, + "n2": 9, + "N1": 9, + "N2": 21, + "programLength": 30, + "programVocabulary": 13, + "volume": 111.01319154423277, + "difficulty": 4.666666666666667, + "effort": 518.0615605397529, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::loadCoverageReader" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::detectCoverageFormat": { + "line": 207, + "lineCount": 19, + "argCount": 1, + "returnCount": 4, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 9, + "volume": 47.548875021634686, + "difficulty": 2.5, + "effort": 118.87218755408671, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::detectCoverageFormat" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::coverageFileExists": { + "line": 227, + "lineCount": 20, + "argCount": 2, + "returnCount": 3, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 4, + "N2": 7, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 3.5, + "effort": 99.52105627776452, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::coverageFileExists" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::__construct": { + "line": 49, + "lineCount": 10, + "argCount": 6, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 6, + "N1": 0, + "N2": 6, + "programLength": 6, + "programVocabulary": 6, + "volume": 15.509775004326936, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::configure": { + "line": 63, + "lineCount": 76, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 20, + "N1": 13, + "N2": 20, + "programLength": 33, + "programVocabulary": 21, + "volume": 144.94647495169912, + "difficulty": 0.5, + "effort": 72.47323747584956, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::configure" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::execute": { + "line": 150, + "lineCount": 52, + "argCount": 2, + "returnCount": 5, + "variableCount": 11, + "propertyCallCount": 6, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 7, + "halstead": { + "n1": 6, + "n2": 15, + "N1": 43, + "N2": 61, + "programLength": 104, + "programVocabulary": 21, + "volume": 456.80101196899113, + "difficulty": 12.2, + "effort": 5572.972346021692, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::execute" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::parsePaths": { + "line": 209, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 4, + "N2": 8, + "programLength": 12, + "programVocabulary": 7, + "volume": 33.68825906469125, + "difficulty": 1.6, + "effort": 53.901214503506004, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::parsePaths" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleBaseLine": { + "line": 224, + "lineCount": 8, + "argCount": 2, + "returnCount": 0, + "variableCount": 3, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 5, + "N2": 11, + "programLength": 16, + "programVocabulary": 7, + "volume": 44.91767875292167, + "difficulty": 2.2, + "effort": 98.81889325642767, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleBaseLine" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleCoverageOptions": { + "line": 238, + "lineCount": 20, + "argCount": 2, + "returnCount": 3, + "variableCount": 5, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 5, + "n2": 10, + "N1": 15, + "N2": 25, + "programLength": 40, + "programVocabulary": 15, + "volume": 156.27562382434076, + "difficulty": 6.25, + "effort": 976.7226489021298, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleCoverageOptions" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::applySorting": { + "line": 264, + "lineCount": 21, + "argCount": 3, + "returnCount": 3, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 15, + "N1": 16, + "N2": 32, + "programLength": 48, + "programVocabulary": 20, + "volume": 207.45254855459342, + "difficulty": 5.333333333333333, + "effort": 1106.4135922911648, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::applySorting" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadConfiguration": { + "line": 293, + "lineCount": 10, + "argCount": 2, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 6, + "N1": 5, + "N2": 9, + "programLength": 14, + "programVocabulary": 8, + "volume": 42, + "difficulty": 1.5, + "effort": 63, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadConfiguration" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadCoverageReader": { + "line": 313, + "lineCount": 28, + "argCount": 3, + "returnCount": 4, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 2, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 10, + "N2": 18, + "programLength": 28, + "programVocabulary": 11, + "volume": 96.86408532184433, + "difficulty": 5.142857142857143, + "effort": 498.15815308377086, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadCoverageReader" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::detectCoverageFormat": { + "line": 345, + "lineCount": 19, + "argCount": 1, + "returnCount": 4, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 9, + "volume": 47.548875021634686, + "difficulty": 2.5, + "effort": 118.87218755408671, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::detectCoverageFormat" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::coverageFileExists": { + "line": 365, + "lineCount": 20, + "argCount": 2, + "returnCount": 3, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 4, + "N2": 7, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 3.5, + "effort": 99.52105627776452, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::coverageFileExists" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__construct": { + "line": 12, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__invoke": { + "line": 17, + "lineCount": 22, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 3, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 10, + "N2": 11, + "programLength": 21, + "programVocabulary": 7, + "volume": 58.95445336320969, + "difficulty": 2.2, + "effort": 129.6997973990613, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__invoke" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__construct": { + "line": 21, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__invoke": { + "line": 26, + "lineCount": 11, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 4, + "N2": 9, + "programLength": 13, + "programVocabulary": 4, + "volume": 26, + "difficulty": 4.5, + "effort": 117, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__invoke" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleSourceFilesFound": { + "line": 38, + "lineCount": 6, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 4, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 6, + "N2": 10, + "programLength": 16, + "programVocabulary": 8, + "volume": 48, + "difficulty": 5, + "effort": 240, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleSourceFilesFound" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleFileProcessed": { + "line": 45, + "lineCount": 5, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleFileProcessed" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleAllFilesProcessed": { + "line": 51, + "lineCount": 6, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 3, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 3, + "N2": 5, + "programLength": 8, + "programVocabulary": 5, + "volume": 18.575424759098897, + "difficulty": 1.6666666666666667, + "effort": 30.95904126516483, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleAllFilesProcessed" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__construct": { + "line": 20, + "lineCount": 5, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__invoke": { + "line": 26, + "lineCount": 17, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 5, + "n2": 8, + "N1": 17, + "N2": 17, + "programLength": 34, + "programVocabulary": 13, + "volume": 125.81495041679713, + "difficulty": 5.3125, + "effort": 668.3919240892347, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__invoke" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::formatBytes": { + "line": 50, + "lineCount": 12, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 7, + "n2": 13, + "N1": 10, + "N2": 22, + "programLength": 32, + "programVocabulary": 20, + "volume": 138.3016990363956, + "difficulty": 5.923076923076923, + "effort": 819.1716019848047, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::formatBytes" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::isDebugEnabled": { + "line": 66, + "lineCount": 5, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 1, + "N1": 4, + "N2": 2, + "programLength": 6, + "programVocabulary": 4, + "volume": 12, + "difficulty": 3, + "effort": 36, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::isDebugEnabled" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::__construct": { + "line": 20, + "lineCount": 6, + "argCount": 2, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 4, + "volume": 8, + "difficulty": 0.5, + "effort": 4, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::exportToFile": { + "line": 32, + "lineCount": 27, + "argCount": 3, + "returnCount": 4, + "variableCount": 2, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 1, + "n2": 6, + "N1": 6, + "N2": 19, + "programLength": 25, + "programVocabulary": 7, + "volume": 70.1838730514401, + "difficulty": 1.5833333333333333, + "effort": 111.12446566478016, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::exportToFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::hasIncompleteReportOptions": { + "line": 60, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 2, + "N1": 7, + "N2": 6, + "programLength": 13, + "programVocabulary": 6, + "volume": 33.60451250937503, + "difficulty": 6, + "effort": 201.62707505625016, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::hasIncompleteReportOptions" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::isValidReportType": { + "line": 65, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 2, + "N2": 4, + "programLength": 6, + "programVocabulary": 4, + "volume": 12, + "difficulty": 2, + "effort": 24, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::isValidReportType" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleExceptions": { + "line": 77, + "lineCount": 9, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 3, + "N2": 4, + "programLength": 7, + "programVocabulary": 5, + "volume": 16.253496664211536, + "difficulty": 1.3333333333333333, + "effort": 21.67132888561538, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleExceptions" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleInvalidReportType": { + "line": 91, + "lineCount": 11, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 5, + "N2": 8, + "programLength": 13, + "programVocabulary": 8, + "volume": 39, + "difficulty": 2.4000000000000004, + "effort": 93.60000000000001, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleInvalidReportType" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::__construct": { + "line": 15, + "lineCount": 5, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handle": { + "line": 24, + "lineCount": 27, + "argCount": 3, + "returnCount": 4, + "variableCount": 2, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 1, + "n2": 6, + "N1": 6, + "N2": 19, + "programLength": 25, + "programVocabulary": 7, + "volume": 70.1838730514401, + "difficulty": 1.5833333333333333, + "effort": 111.12446566478016, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handle" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::hasIncompleteReportOptions": { + "line": 52, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 2, + "N1": 7, + "N2": 6, + "programLength": 13, + "programVocabulary": 6, + "volume": 33.60451250937503, + "difficulty": 6, + "effort": 201.62707505625016, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::hasIncompleteReportOptions" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::isValidReportType": { + "line": 57, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 5, + "N1": 1, + "N2": 6, + "programLength": 7, + "programVocabulary": 6, + "volume": 18.094737505048094, + "difficulty": 0.6, + "effort": 10.856842503028856, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::isValidReportType" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handleExceptions": { + "line": 66, + "lineCount": 9, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 3, + "N2": 4, + "programLength": 7, + "programVocabulary": 5, + "volume": 16.253496664211536, + "difficulty": 1.3333333333333333, + "effort": 21.67132888561538, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handleExceptions" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handleInvalidReporType": { + "line": 80, + "lineCount": 9, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 4, + "programLength": 6, + "programVocabulary": 5, + "volume": 13.931568569324174, + "difficulty": 1.3333333333333333, + "effort": 18.575424759098897, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handleInvalidReporType" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::__construct": { + "line": 42, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::reportWritten": { + "line": 47, + "lineCount": 7, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 4, + "programLength": 6, + "programVocabulary": 5, + "volume": 13.931568569324174, + "difficulty": 1.3333333333333333, + "effort": 18.575424759098897, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::reportWritten" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::renderChurnTable": { + "line": 59, + "lineCount": 35, + "argCount": 1, + "returnCount": 0, + "variableCount": 6, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 8, + "n2": 18, + "N1": 21, + "N2": 53, + "programLength": 74, + "programVocabulary": 26, + "volume": 347.8325391424408, + "difficulty": 11.777777777777779, + "effort": 4096.694349899859, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::renderChurnTable" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricSummaryTextRenderer::__construct": { + "line": 18, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricSummaryTextRenderer::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricSummaryTextRenderer::render": { + "line": 23, + "lineCount": 32, + "argCount": 2, + "returnCount": 0, + "variableCount": 6, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 6, + "n2": 16, + "N1": 27, + "N2": 38, + "programLength": 65, + "programVocabulary": 22, + "volume": 289.86305521142435, + "difficulty": 7.125, + "effort": 2065.2742683813985, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricSummaryTextRenderer::render" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::__construct": { + "line": 27, + "lineCount": 5, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::metricExceedsThreshold": { + "line": 33, + "lineCount": 6, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 2, + "N1": 3, + "N2": 5, + "programLength": 8, + "programVocabulary": 5, + "volume": 18.575424759098897, + "difficulty": 3.75, + "effort": 69.65784284662087, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::metricExceedsThreshold" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::hasCoverageInCollection": { + "line": 43, + "lineCount": 10, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 2, + "N2": 4, + "programLength": 6, + "programVocabulary": 4, + "volume": 12, + "difficulty": 2, + "effort": 24, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::hasCoverageInCollection" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::render": { + "line": 58, + "lineCount": 17, + "argCount": 2, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 6, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 9, + "N2": 25, + "programLength": 34, + "programVocabulary": 6, + "volume": 87.8887250245193, + "difficulty": 6.25, + "effort": 549.3045314032456, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::render" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderGroupedByClass": { + "line": 81, + "lineCount": 19, + "argCount": 3, + "returnCount": 0, + "variableCount": 6, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 5, + "n2": 11, + "N1": 11, + "N2": 25, + "programLength": 36, + "programVocabulary": 16, + "volume": 144, + "difficulty": 5.6818181818181825, + "effort": 818.1818181818182, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderGroupedByClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::buildRowsForClass": { + "line": 106, + "lineCount": 13, + "argCount": 2, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 4, + "N2": 12, + "programLength": 16, + "programVocabulary": 7, + "volume": 44.91767875292167, + "difficulty": 2.4, + "effort": 107.802429007012, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::buildRowsForClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::getFilenameFromMetrics": { + "line": 123, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 5, + "programLength": 6, + "programVocabulary": 4, + "volume": 12, + "difficulty": 0.8333333333333334, + "effort": 10, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::getFilenameFromMetrics" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderAllMethodsInSingleTable": { + "line": 136, + "lineCount": 12, + "argCount": 3, + "returnCount": 0, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 6, + "N2": 15, + "programLength": 21, + "programVocabulary": 11, + "volume": 72.64806399138324, + "difficulty": 4.285714285714286, + "effort": 311.34884567735673, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderAllMethodsInSingleTable" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::buildRowsForSingleTable": { + "line": 154, + "lineCount": 13, + "argCount": 2, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 4, + "N2": 12, + "programLength": 16, + "programVocabulary": 7, + "volume": 44.91767875292167, + "difficulty": 2.4, + "effort": 107.802429007012, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::buildRowsForSingleTable" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderTableCommon": { + "line": 173, + "lineCount": 19, + "argCount": 4, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 8, + "N1": 7, + "N2": 19, + "programLength": 26, + "programVocabulary": 10, + "volume": 86.37013046707142, + "difficulty": 2.375, + "effort": 205.1290598592946, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderTableCommon" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderTable": { + "line": 196, + "lineCount": 13, + "argCount": 4, + "returnCount": 0, + "variableCount": 3, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 7, + "N1": 4, + "N2": 14, + "programLength": 18, + "programVocabulary": 9, + "volume": 57.05865002596162, + "difficulty": 2, + "effort": 114.11730005192324, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderTable" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderSingleTable": { + "line": 213, + "lineCount": 11, + "argCount": 3, + "returnCount": 0, + "variableCount": 3, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 6, + "N1": 4, + "N2": 12, + "programLength": 16, + "programVocabulary": 8, + "volume": 48, + "difficulty": 2, + "effort": 96, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderSingleTable" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::__construct": { + "line": 16, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatScore": { + "line": 21, + "lineCount": 6, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 2, + "risk_level": "low" + }, + "halstead": { + "n1": 2, + "n2": 6, + "N1": 5, + "N2": 9, + "programLength": 14, + "programVocabulary": 8, + "volume": 42, + "difficulty": 1.5, + "effort": 63, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatScore" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadVolume": { + "line": 28, + "lineCount": 14, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "cyclomatic_complexity": { + "complexity": 2, + "risk_level": "low" + }, + "halstead": { + "n1": 5, + "n2": 10, + "N1": 9, + "N2": 17, + "programLength": 26, + "programVocabulary": 15, + "volume": 101.57915548582149, + "difficulty": 4.25, + "effort": 431.7114108147413, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadVolume" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadDifficulty": { + "line": 43, + "lineCount": 13, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "cyclomatic_complexity": { + "complexity": 2, + "risk_level": "low" + }, + "halstead": { + "n1": 4, + "n2": 10, + "N1": 8, + "N2": 17, + "programLength": 25, + "programVocabulary": 14, + "volume": 95.1838730514401, + "difficulty": 3.4, + "effort": 323.62516837489636, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadDifficulty" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadEffort": { + "line": 57, + "lineCount": 13, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "cyclomatic_complexity": { + "complexity": 2, + "risk_level": "low" + }, + "halstead": { + "n1": 4, + "n2": 10, + "N1": 8, + "N2": 17, + "programLength": 25, + "programVocabulary": 14, + "volume": 95.1838730514401, + "difficulty": 3.4, + "effort": 323.62516837489636, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadEffort" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatCyclomaticComplexity": { + "line": 71, + "lineCount": 13, + "argCount": 1, + "returnCount": 3, + "variableCount": 4, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "cyclomatic_complexity": { + "complexity": 3, + "risk_level": "low" + }, + "halstead": { + "n1": 5, + "n2": 9, + "N1": 9, + "N2": 18, + "programLength": 27, + "programVocabulary": 14, + "volume": 102.79858289555531, + "difficulty": 5, + "effort": 513.9929144777766, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatCyclomaticComplexity" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::colorCyclomaticRisk": { + "line": 85, + "lineCount": 8, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 2, + "n2": 7, + "N1": 5, + "N2": 11, + "programLength": 16, + "programVocabulary": 9, + "volume": 50.718800023076994, + "difficulty": 1.5714285714285714, + "effort": 79.70097146483528, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::colorCyclomaticRisk" + } + } + }, + "ignored_items": [], + "cached_at": 1759967602 +} \ No newline at end of file diff --git a/.phpcca.cache/5b/5b560a306921608ad02568abcf7b1284.cache b/.phpcca.cache/5b/5b560a306921608ad02568abcf7b1284.cache new file mode 100644 index 0000000..b8817a9 --- /dev/null +++ b/.phpcca.cache/5b/5b560a306921608ad02568abcf7b1284.cache @@ -0,0 +1,540 @@ +{ + "version": "1.0", + "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/Command\/ChurnCommand.php", + "file_mtime": 1759964699, + "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", + "analysis_result": { + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::__construct": { + "line": 26, + "lineCount": 5, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 4, + "N1": 3, + "N2": 6, + "programLength": 9, + "programVocabulary": 7, + "volume": 25.26619429851844, + "difficulty": 2.25, + "effort": 56.848937171666485, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItem": { + "line": 35, + "lineCount": 15, + "argCount": 1, + "returnCount": 3, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 6, + "N2": 13, + "programLength": 19, + "programVocabulary": 8, + "volume": 57, + "difficulty": 6.5, + "effort": 370.5, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItem" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItems": { + "line": 55, + "lineCount": 9, + "argCount": 1, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 3, + "N2": 9, + "programLength": 12, + "programVocabulary": 6, + "volume": 31.019550008653873, + "difficulty": 2.25, + "effort": 69.79398751947122, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItems" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::hasItem": { + "line": 68, + "lineCount": 6, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 5, + "n2": 3, + "N1": 6, + "N2": 7, + "programLength": 13, + "programVocabulary": 8, + "volume": 39, + "difficulty": 5.833333333333334, + "effort": 227.50000000000003, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::hasItem" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::clear": { + "line": 75, + "lineCount": 10, + "argCount": 0, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 2, + "N2": 4, + "programLength": 6, + "programVocabulary": 3, + "volume": 9.509775004326936, + "difficulty": 1, + "effort": 9.509775004326936, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::clear" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItem": { + "line": 89, + "lineCount": 10, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 4, + "N2": 6, + "programLength": 10, + "programVocabulary": 6, + "volume": 25.84962500721156, + "difficulty": 3, + "effort": 77.54887502163469, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItem" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItems": { + "line": 103, + "lineCount": 10, + "argCount": 1, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 3, + "N2": 8, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 2, + "effort": 56.86917501586544, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItems" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::save": { + "line": 117, + "lineCount": 11, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 4, + "N1": 9, + "N2": 12, + "programLength": 21, + "programVocabulary": 7, + "volume": 58.95445336320969, + "difficulty": 4.5, + "effort": 265.2950401344436, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::save" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveDeferred": { + "line": 129, + "lineCount": 6, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveDeferred" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::commit": { + "line": 136, + "lineCount": 11, + "argCount": 0, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 4, + "N2": 8, + "programLength": 12, + "programVocabulary": 5, + "volume": 27.863137138648348, + "difficulty": 2.6666666666666665, + "effort": 74.30169903639559, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::commit" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::ensureCacheDirectory": { + "line": 152, + "lineCount": 9, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 3, + "N2": 4, + "programLength": 7, + "programVocabulary": 4, + "volume": 14, + "difficulty": 2, + "effort": 28, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::ensureCacheDirectory" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getCacheFilePath": { + "line": 168, + "lineCount": 15, + "argCount": 1, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 10, + "N1": 13, + "N2": 19, + "programLength": 32, + "programVocabulary": 14, + "volume": 121.83535750584333, + "difficulty": 3.8, + "effort": 462.9743585222046, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getCacheFilePath" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::loadCacheData": { + "line": 187, + "lineCount": 14, + "argCount": 1, + "returnCount": 3, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 6, + "N2": 8, + "programLength": 14, + "programVocabulary": 6, + "volume": 36.18947501009619, + "difficulty": 4, + "effort": 144.75790004038475, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::loadCacheData" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveCacheData": { + "line": 209, + "lineCount": 21, + "argCount": 2, + "returnCount": 3, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 6, + "n2": 7, + "N1": 13, + "N2": 17, + "programLength": 30, + "programVocabulary": 13, + "volume": 111.01319154423277, + "difficulty": 7.285714285714285, + "effort": 808.810395536553, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveCacheData" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::sanitizeUtf8": { + "line": 234, + "lineCount": 25, + "argCount": 1, + "returnCount": 4, + "variableCount": 6, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 8, + "N1": 13, + "N2": 29, + "programLength": 42, + "programVocabulary": 11, + "volume": 145.29612798276648, + "difficulty": 5.4375, + "effort": 790.0476959062927, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::sanitizeUtf8" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::removeDirectory": { + "line": 260, + "lineCount": 23, + "argCount": 1, + "returnCount": 2, + "variableCount": 5, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 5, + "n2": 9, + "N1": 13, + "N2": 20, + "programLength": 33, + "programVocabulary": 14, + "volume": 125.64271242790093, + "difficulty": 5.555555555555555, + "effort": 698.0150690438941, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::removeDirectory" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::__construct": { + "line": 42, + "lineCount": 7, + "argCount": 3, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 0, + "n2": 3, + "N1": 0, + "N2": 3, + "programLength": 3, + "programVocabulary": 3, + "volume": 4.754887502163468, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::configure": { + "line": 53, + "lineCount": 57, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 1, + "n2": 15, + "N1": 9, + "N2": 16, + "programLength": 25, + "programVocabulary": 16, + "volume": 100, + "difficulty": 0.5333333333333333, + "effort": 53.333333333333336, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::configure" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::execute": { + "line": 119, + "lineCount": 43, + "argCount": 2, + "returnCount": 5, + "variableCount": 9, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 4, + "cyclomatic_complexity": { + "complexity": 7, + "risk_level": "medium" + }, + "halstead": { + "n1": 7, + "n2": 14, + "N1": 31, + "N2": 45, + "programLength": 76, + "programVocabulary": 21, + "volume": 333.8161241311858, + "difficulty": 11.25, + "effort": 3755.4313964758403, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::execute" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::loadCoverageReader": { + "line": 171, + "lineCount": 32, + "argCount": 3, + "returnCount": 4, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 2, + "elseCount": 0, + "ifCount": 3, + "cyclomatic_complexity": { + "complexity": 5, + "risk_level": "low" + }, + "halstead": { + "n1": 4, + "n2": 9, + "N1": 9, + "N2": 21, + "programLength": 30, + "programVocabulary": 13, + "volume": 111.01319154423277, + "difficulty": 4.666666666666667, + "effort": 518.0615605397529, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::loadCoverageReader" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::detectCoverageFormat": { + "line": 207, + "lineCount": 19, + "argCount": 1, + "returnCount": 4, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "cyclomatic_complexity": { + "complexity": 4, + "risk_level": "low" + }, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 9, + "volume": 47.548875021634686, + "difficulty": 2.5, + "effort": 118.87218755408671, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::detectCoverageFormat" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::coverageFileExists": { + "line": 227, + "lineCount": 20, + "argCount": 2, + "returnCount": 3, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "cyclomatic_complexity": { + "complexity": 3, + "risk_level": "low" + }, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 4, + "N2": 7, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 3.5, + "effort": 99.52105627776452, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::coverageFileExists" + } + } + }, + "ignored_items": [], + "cached_at": 1759967601 +} \ No newline at end of file diff --git a/.phpcca.cache/5b/5bd450eec023f6a341a0ce32a3d7f089.cache b/.phpcca.cache/5b/5bd450eec023f6a341a0ce32a3d7f089.cache new file mode 100644 index 0000000..c86a642 --- /dev/null +++ b/.phpcca.cache/5b/5bd450eec023f6a341a0ce32a3d7f089.cache @@ -0,0 +1,2362 @@ +{ + "version": "1.0", + "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/Command\/Presentation\/TableRowBuilder.php", + "file_mtime": 1759870485, + "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", + "analysis_result": { + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::__construct": { + "line": 26, + "lineCount": 5, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 4, + "N1": 3, + "N2": 6, + "programLength": 9, + "programVocabulary": 7, + "volume": 25.26619429851844, + "difficulty": 2.25, + "effort": 56.848937171666485, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItem": { + "line": 35, + "lineCount": 15, + "argCount": 1, + "returnCount": 3, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 6, + "N2": 13, + "programLength": 19, + "programVocabulary": 8, + "volume": 57, + "difficulty": 6.5, + "effort": 370.5, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItem" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItems": { + "line": 55, + "lineCount": 9, + "argCount": 1, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 3, + "N2": 9, + "programLength": 12, + "programVocabulary": 6, + "volume": 31.019550008653873, + "difficulty": 2.25, + "effort": 69.79398751947122, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItems" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::hasItem": { + "line": 68, + "lineCount": 6, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 5, + "n2": 3, + "N1": 6, + "N2": 7, + "programLength": 13, + "programVocabulary": 8, + "volume": 39, + "difficulty": 5.833333333333334, + "effort": 227.50000000000003, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::hasItem" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::clear": { + "line": 75, + "lineCount": 10, + "argCount": 0, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 2, + "N2": 4, + "programLength": 6, + "programVocabulary": 3, + "volume": 9.509775004326936, + "difficulty": 1, + "effort": 9.509775004326936, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::clear" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItem": { + "line": 89, + "lineCount": 10, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 4, + "N2": 6, + "programLength": 10, + "programVocabulary": 6, + "volume": 25.84962500721156, + "difficulty": 3, + "effort": 77.54887502163469, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItem" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItems": { + "line": 103, + "lineCount": 10, + "argCount": 1, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 3, + "N2": 8, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 2, + "effort": 56.86917501586544, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItems" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::save": { + "line": 117, + "lineCount": 11, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 4, + "N1": 9, + "N2": 12, + "programLength": 21, + "programVocabulary": 7, + "volume": 58.95445336320969, + "difficulty": 4.5, + "effort": 265.2950401344436, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::save" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveDeferred": { + "line": 129, + "lineCount": 6, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveDeferred" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::commit": { + "line": 136, + "lineCount": 11, + "argCount": 0, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 4, + "N2": 8, + "programLength": 12, + "programVocabulary": 5, + "volume": 27.863137138648348, + "difficulty": 2.6666666666666665, + "effort": 74.30169903639559, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::commit" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::ensureCacheDirectory": { + "line": 152, + "lineCount": 9, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 3, + "N2": 4, + "programLength": 7, + "programVocabulary": 4, + "volume": 14, + "difficulty": 2, + "effort": 28, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::ensureCacheDirectory" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getCacheFilePath": { + "line": 168, + "lineCount": 15, + "argCount": 1, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 10, + "N1": 13, + "N2": 19, + "programLength": 32, + "programVocabulary": 14, + "volume": 121.83535750584333, + "difficulty": 3.8, + "effort": 462.9743585222046, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getCacheFilePath" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::loadCacheData": { + "line": 187, + "lineCount": 14, + "argCount": 1, + "returnCount": 3, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 6, + "N2": 8, + "programLength": 14, + "programVocabulary": 6, + "volume": 36.18947501009619, + "difficulty": 4, + "effort": 144.75790004038475, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::loadCacheData" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveCacheData": { + "line": 209, + "lineCount": 21, + "argCount": 2, + "returnCount": 3, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 6, + "n2": 7, + "N1": 13, + "N2": 17, + "programLength": 30, + "programVocabulary": 13, + "volume": 111.01319154423277, + "difficulty": 7.285714285714285, + "effort": 808.810395536553, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveCacheData" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::sanitizeUtf8": { + "line": 234, + "lineCount": 25, + "argCount": 1, + "returnCount": 4, + "variableCount": 6, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 8, + "N1": 13, + "N2": 29, + "programLength": 42, + "programVocabulary": 11, + "volume": 145.29612798276648, + "difficulty": 5.4375, + "effort": 790.0476959062927, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::sanitizeUtf8" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::removeDirectory": { + "line": 260, + "lineCount": 23, + "argCount": 1, + "returnCount": 2, + "variableCount": 5, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 5, + "n2": 9, + "N1": 13, + "N2": 20, + "programLength": 33, + "programVocabulary": 14, + "volume": 125.64271242790093, + "difficulty": 5.555555555555555, + "effort": 698.0150690438941, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::removeDirectory" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::__construct": { + "line": 42, + "lineCount": 7, + "argCount": 3, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 3, + "N1": 0, + "N2": 3, + "programLength": 3, + "programVocabulary": 3, + "volume": 4.754887502163468, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::configure": { + "line": 53, + "lineCount": 57, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 15, + "N1": 9, + "N2": 16, + "programLength": 25, + "programVocabulary": 16, + "volume": 100, + "difficulty": 0.5333333333333333, + "effort": 53.333333333333336, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::configure" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::execute": { + "line": 119, + "lineCount": 43, + "argCount": 2, + "returnCount": 5, + "variableCount": 9, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 4, + "halstead": { + "n1": 7, + "n2": 14, + "N1": 31, + "N2": 45, + "programLength": 76, + "programVocabulary": 21, + "volume": 333.8161241311858, + "difficulty": 11.25, + "effort": 3755.4313964758403, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::execute" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::loadCoverageReader": { + "line": 171, + "lineCount": 32, + "argCount": 3, + "returnCount": 4, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 2, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 4, + "n2": 9, + "N1": 9, + "N2": 21, + "programLength": 30, + "programVocabulary": 13, + "volume": 111.01319154423277, + "difficulty": 4.666666666666667, + "effort": 518.0615605397529, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::loadCoverageReader" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::detectCoverageFormat": { + "line": 207, + "lineCount": 19, + "argCount": 1, + "returnCount": 4, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 9, + "volume": 47.548875021634686, + "difficulty": 2.5, + "effort": 118.87218755408671, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::detectCoverageFormat" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::coverageFileExists": { + "line": 227, + "lineCount": 20, + "argCount": 2, + "returnCount": 3, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 4, + "N2": 7, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 3.5, + "effort": 99.52105627776452, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::coverageFileExists" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::__construct": { + "line": 49, + "lineCount": 10, + "argCount": 6, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 6, + "N1": 0, + "N2": 6, + "programLength": 6, + "programVocabulary": 6, + "volume": 15.509775004326936, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::configure": { + "line": 63, + "lineCount": 76, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 20, + "N1": 13, + "N2": 20, + "programLength": 33, + "programVocabulary": 21, + "volume": 144.94647495169912, + "difficulty": 0.5, + "effort": 72.47323747584956, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::configure" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::execute": { + "line": 150, + "lineCount": 52, + "argCount": 2, + "returnCount": 5, + "variableCount": 11, + "propertyCallCount": 6, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 7, + "halstead": { + "n1": 6, + "n2": 15, + "N1": 43, + "N2": 61, + "programLength": 104, + "programVocabulary": 21, + "volume": 456.80101196899113, + "difficulty": 12.2, + "effort": 5572.972346021692, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::execute" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::parsePaths": { + "line": 209, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 4, + "N2": 8, + "programLength": 12, + "programVocabulary": 7, + "volume": 33.68825906469125, + "difficulty": 1.6, + "effort": 53.901214503506004, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::parsePaths" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleBaseLine": { + "line": 224, + "lineCount": 8, + "argCount": 2, + "returnCount": 0, + "variableCount": 3, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 5, + "N2": 11, + "programLength": 16, + "programVocabulary": 7, + "volume": 44.91767875292167, + "difficulty": 2.2, + "effort": 98.81889325642767, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleBaseLine" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleCoverageOptions": { + "line": 238, + "lineCount": 20, + "argCount": 2, + "returnCount": 3, + "variableCount": 5, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 5, + "n2": 10, + "N1": 15, + "N2": 25, + "programLength": 40, + "programVocabulary": 15, + "volume": 156.27562382434076, + "difficulty": 6.25, + "effort": 976.7226489021298, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleCoverageOptions" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::applySorting": { + "line": 264, + "lineCount": 21, + "argCount": 3, + "returnCount": 3, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 15, + "N1": 16, + "N2": 32, + "programLength": 48, + "programVocabulary": 20, + "volume": 207.45254855459342, + "difficulty": 5.333333333333333, + "effort": 1106.4135922911648, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::applySorting" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadConfiguration": { + "line": 293, + "lineCount": 10, + "argCount": 2, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 6, + "N1": 5, + "N2": 9, + "programLength": 14, + "programVocabulary": 8, + "volume": 42, + "difficulty": 1.5, + "effort": 63, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadConfiguration" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadCoverageReader": { + "line": 313, + "lineCount": 28, + "argCount": 3, + "returnCount": 4, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 2, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 10, + "N2": 18, + "programLength": 28, + "programVocabulary": 11, + "volume": 96.86408532184433, + "difficulty": 5.142857142857143, + "effort": 498.15815308377086, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadCoverageReader" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::detectCoverageFormat": { + "line": 345, + "lineCount": 19, + "argCount": 1, + "returnCount": 4, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 9, + "volume": 47.548875021634686, + "difficulty": 2.5, + "effort": 118.87218755408671, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::detectCoverageFormat" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::coverageFileExists": { + "line": 365, + "lineCount": 20, + "argCount": 2, + "returnCount": 3, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 4, + "N2": 7, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 3.5, + "effort": 99.52105627776452, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::coverageFileExists" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__construct": { + "line": 12, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__invoke": { + "line": 17, + "lineCount": 22, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 3, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 10, + "N2": 11, + "programLength": 21, + "programVocabulary": 7, + "volume": 58.95445336320969, + "difficulty": 2.2, + "effort": 129.6997973990613, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__invoke" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__construct": { + "line": 21, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__invoke": { + "line": 26, + "lineCount": 11, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 4, + "N2": 9, + "programLength": 13, + "programVocabulary": 4, + "volume": 26, + "difficulty": 4.5, + "effort": 117, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__invoke" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleSourceFilesFound": { + "line": 38, + "lineCount": 6, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 4, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 6, + "N2": 10, + "programLength": 16, + "programVocabulary": 8, + "volume": 48, + "difficulty": 5, + "effort": 240, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleSourceFilesFound" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleFileProcessed": { + "line": 45, + "lineCount": 5, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleFileProcessed" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleAllFilesProcessed": { + "line": 51, + "lineCount": 6, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 3, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 3, + "N2": 5, + "programLength": 8, + "programVocabulary": 5, + "volume": 18.575424759098897, + "difficulty": 1.6666666666666667, + "effort": 30.95904126516483, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleAllFilesProcessed" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__construct": { + "line": 20, + "lineCount": 5, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__invoke": { + "line": 26, + "lineCount": 17, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 5, + "n2": 8, + "N1": 17, + "N2": 17, + "programLength": 34, + "programVocabulary": 13, + "volume": 125.81495041679713, + "difficulty": 5.3125, + "effort": 668.3919240892347, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__invoke" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::formatBytes": { + "line": 50, + "lineCount": 12, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 7, + "n2": 13, + "N1": 10, + "N2": 22, + "programLength": 32, + "programVocabulary": 20, + "volume": 138.3016990363956, + "difficulty": 5.923076923076923, + "effort": 819.1716019848047, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::formatBytes" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::isDebugEnabled": { + "line": 66, + "lineCount": 5, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 1, + "N1": 4, + "N2": 2, + "programLength": 6, + "programVocabulary": 4, + "volume": 12, + "difficulty": 3, + "effort": 36, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::isDebugEnabled" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::__construct": { + "line": 20, + "lineCount": 6, + "argCount": 2, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 4, + "volume": 8, + "difficulty": 0.5, + "effort": 4, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::exportToFile": { + "line": 32, + "lineCount": 27, + "argCount": 3, + "returnCount": 4, + "variableCount": 2, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 1, + "n2": 6, + "N1": 6, + "N2": 19, + "programLength": 25, + "programVocabulary": 7, + "volume": 70.1838730514401, + "difficulty": 1.5833333333333333, + "effort": 111.12446566478016, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::exportToFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::hasIncompleteReportOptions": { + "line": 60, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 2, + "N1": 7, + "N2": 6, + "programLength": 13, + "programVocabulary": 6, + "volume": 33.60451250937503, + "difficulty": 6, + "effort": 201.62707505625016, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::hasIncompleteReportOptions" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::isValidReportType": { + "line": 65, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 2, + "N2": 4, + "programLength": 6, + "programVocabulary": 4, + "volume": 12, + "difficulty": 2, + "effort": 24, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::isValidReportType" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleExceptions": { + "line": 77, + "lineCount": 9, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 3, + "N2": 4, + "programLength": 7, + "programVocabulary": 5, + "volume": 16.253496664211536, + "difficulty": 1.3333333333333333, + "effort": 21.67132888561538, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleExceptions" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleInvalidReportType": { + "line": 91, + "lineCount": 11, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 5, + "N2": 8, + "programLength": 13, + "programVocabulary": 8, + "volume": 39, + "difficulty": 2.4000000000000004, + "effort": 93.60000000000001, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleInvalidReportType" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::__construct": { + "line": 15, + "lineCount": 5, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handle": { + "line": 24, + "lineCount": 27, + "argCount": 3, + "returnCount": 4, + "variableCount": 2, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 1, + "n2": 6, + "N1": 6, + "N2": 19, + "programLength": 25, + "programVocabulary": 7, + "volume": 70.1838730514401, + "difficulty": 1.5833333333333333, + "effort": 111.12446566478016, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handle" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::hasIncompleteReportOptions": { + "line": 52, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 2, + "N1": 7, + "N2": 6, + "programLength": 13, + "programVocabulary": 6, + "volume": 33.60451250937503, + "difficulty": 6, + "effort": 201.62707505625016, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::hasIncompleteReportOptions" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::isValidReportType": { + "line": 57, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 5, + "N1": 1, + "N2": 6, + "programLength": 7, + "programVocabulary": 6, + "volume": 18.094737505048094, + "difficulty": 0.6, + "effort": 10.856842503028856, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::isValidReportType" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handleExceptions": { + "line": 66, + "lineCount": 9, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 3, + "N2": 4, + "programLength": 7, + "programVocabulary": 5, + "volume": 16.253496664211536, + "difficulty": 1.3333333333333333, + "effort": 21.67132888561538, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handleExceptions" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handleInvalidReporType": { + "line": 80, + "lineCount": 9, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 4, + "programLength": 6, + "programVocabulary": 5, + "volume": 13.931568569324174, + "difficulty": 1.3333333333333333, + "effort": 18.575424759098897, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handleInvalidReporType" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::__construct": { + "line": 42, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::reportWritten": { + "line": 47, + "lineCount": 7, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 4, + "programLength": 6, + "programVocabulary": 5, + "volume": 13.931568569324174, + "difficulty": 1.3333333333333333, + "effort": 18.575424759098897, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::reportWritten" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::renderChurnTable": { + "line": 59, + "lineCount": 35, + "argCount": 1, + "returnCount": 0, + "variableCount": 6, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 8, + "n2": 18, + "N1": 21, + "N2": 53, + "programLength": 74, + "programVocabulary": 26, + "volume": 347.8325391424408, + "difficulty": 11.777777777777779, + "effort": 4096.694349899859, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::renderChurnTable" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricSummaryTextRenderer::__construct": { + "line": 18, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricSummaryTextRenderer::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricSummaryTextRenderer::render": { + "line": 23, + "lineCount": 32, + "argCount": 2, + "returnCount": 0, + "variableCount": 6, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 6, + "n2": 16, + "N1": 27, + "N2": 38, + "programLength": 65, + "programVocabulary": 22, + "volume": 289.86305521142435, + "difficulty": 7.125, + "effort": 2065.2742683813985, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricSummaryTextRenderer::render" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::__construct": { + "line": 27, + "lineCount": 5, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::metricExceedsThreshold": { + "line": 33, + "lineCount": 6, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 2, + "N1": 3, + "N2": 5, + "programLength": 8, + "programVocabulary": 5, + "volume": 18.575424759098897, + "difficulty": 3.75, + "effort": 69.65784284662087, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::metricExceedsThreshold" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::hasCoverageInCollection": { + "line": 43, + "lineCount": 10, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 2, + "N2": 4, + "programLength": 6, + "programVocabulary": 4, + "volume": 12, + "difficulty": 2, + "effort": 24, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::hasCoverageInCollection" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::render": { + "line": 58, + "lineCount": 17, + "argCount": 2, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 6, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 9, + "N2": 25, + "programLength": 34, + "programVocabulary": 6, + "volume": 87.8887250245193, + "difficulty": 6.25, + "effort": 549.3045314032456, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::render" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderGroupedByClass": { + "line": 81, + "lineCount": 19, + "argCount": 3, + "returnCount": 0, + "variableCount": 6, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 5, + "n2": 11, + "N1": 11, + "N2": 25, + "programLength": 36, + "programVocabulary": 16, + "volume": 144, + "difficulty": 5.6818181818181825, + "effort": 818.1818181818182, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderGroupedByClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::buildRowsForClass": { + "line": 106, + "lineCount": 13, + "argCount": 2, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 4, + "N2": 12, + "programLength": 16, + "programVocabulary": 7, + "volume": 44.91767875292167, + "difficulty": 2.4, + "effort": 107.802429007012, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::buildRowsForClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::getFilenameFromMetrics": { + "line": 123, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 5, + "programLength": 6, + "programVocabulary": 4, + "volume": 12, + "difficulty": 0.8333333333333334, + "effort": 10, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::getFilenameFromMetrics" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderAllMethodsInSingleTable": { + "line": 136, + "lineCount": 12, + "argCount": 3, + "returnCount": 0, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 6, + "N2": 15, + "programLength": 21, + "programVocabulary": 11, + "volume": 72.64806399138324, + "difficulty": 4.285714285714286, + "effort": 311.34884567735673, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderAllMethodsInSingleTable" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::buildRowsForSingleTable": { + "line": 154, + "lineCount": 13, + "argCount": 2, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 4, + "N2": 12, + "programLength": 16, + "programVocabulary": 7, + "volume": 44.91767875292167, + "difficulty": 2.4, + "effort": 107.802429007012, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::buildRowsForSingleTable" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderTableCommon": { + "line": 173, + "lineCount": 19, + "argCount": 4, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 8, + "N1": 7, + "N2": 19, + "programLength": 26, + "programVocabulary": 10, + "volume": 86.37013046707142, + "difficulty": 2.375, + "effort": 205.1290598592946, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderTableCommon" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderTable": { + "line": 196, + "lineCount": 13, + "argCount": 4, + "returnCount": 0, + "variableCount": 3, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 7, + "N1": 4, + "N2": 14, + "programLength": 18, + "programVocabulary": 9, + "volume": 57.05865002596162, + "difficulty": 2, + "effort": 114.11730005192324, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderTable" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderSingleTable": { + "line": 213, + "lineCount": 11, + "argCount": 3, + "returnCount": 0, + "variableCount": 3, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 6, + "N1": 4, + "N2": 12, + "programLength": 16, + "programVocabulary": 8, + "volume": 48, + "difficulty": 2, + "effort": 96, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderSingleTable" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::__construct": { + "line": 16, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatScore": { + "line": 21, + "lineCount": 6, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 6, + "N1": 5, + "N2": 9, + "programLength": 14, + "programVocabulary": 8, + "volume": 42, + "difficulty": 1.5, + "effort": 63, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatScore" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadVolume": { + "line": 28, + "lineCount": 14, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 10, + "N1": 9, + "N2": 17, + "programLength": 26, + "programVocabulary": 15, + "volume": 101.57915548582149, + "difficulty": 4.25, + "effort": 431.7114108147413, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadVolume" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadDifficulty": { + "line": 43, + "lineCount": 13, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 10, + "N1": 8, + "N2": 17, + "programLength": 25, + "programVocabulary": 14, + "volume": 95.1838730514401, + "difficulty": 3.4, + "effort": 323.62516837489636, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadDifficulty" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadEffort": { + "line": 57, + "lineCount": 13, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 10, + "N1": 8, + "N2": 17, + "programLength": 25, + "programVocabulary": 14, + "volume": 95.1838730514401, + "difficulty": 3.4, + "effort": 323.62516837489636, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadEffort" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatCyclomaticComplexity": { + "line": 71, + "lineCount": 13, + "argCount": 1, + "returnCount": 3, + "variableCount": 4, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 5, + "n2": 9, + "N1": 9, + "N2": 18, + "programLength": 27, + "programVocabulary": 14, + "volume": 102.79858289555531, + "difficulty": 5, + "effort": 513.9929144777766, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatCyclomaticComplexity" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::colorCyclomaticRisk": { + "line": 85, + "lineCount": 8, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 7, + "N1": 5, + "N2": 11, + "programLength": 16, + "programVocabulary": 9, + "volume": 50.718800023076994, + "difficulty": 1.5714285714285714, + "effort": 79.70097146483528, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::colorCyclomaticRisk" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::__construct": { + "line": 17, + "lineCount": 5, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::getGroupedTableHeaders": { + "line": 28, + "lineCount": 16, + "argCount": 0, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 10, + "N2": 17, + "programLength": 27, + "programVocabulary": 6, + "volume": 69.79398751947122, + "difficulty": 4.25, + "effort": 296.62444695775264, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::getGroupedTableHeaders" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCoverageHeader": { + "line": 49, + "lineCount": 10, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 6, + "programLength": 7, + "programVocabulary": 4, + "volume": 14, + "difficulty": 1, + "effort": 14, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCoverageHeader" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::getSingleTableHeaders": { + "line": 65, + "lineCount": 20, + "argCount": 0, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 6, + "N1": 9, + "N2": 18, + "programLength": 27, + "programVocabulary": 8, + "volume": 81, + "difficulty": 3, + "effort": 243, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::getSingleTableHeaders" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addHalsteadHeaders": { + "line": 92, + "lineCount": 10, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 1, + "n2": 5, + "N1": 3, + "N2": 9, + "programLength": 12, + "programVocabulary": 6, + "volume": 31.019550008653873, + "difficulty": 0.9, + "effort": 27.917595007788485, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addHalsteadHeaders" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCyclomaticHeaders": { + "line": 109, + "lineCount": 8, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 5, + "programLength": 6, + "programVocabulary": 4, + "volume": 12, + "difficulty": 0.8333333333333334, + "effort": 10, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCyclomaticHeaders" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCognitiveMetricDetails": { + "line": 122, + "lineCount": 16, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 10, + "N1": 2, + "N2": 13, + "programLength": 15, + "programVocabulary": 12, + "volume": 53.77443751081734, + "difficulty": 1.3, + "effort": 69.90676876406255, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCognitiveMetricDetails" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::__construct": { + "line": 21, + "lineCount": 6, + "argCount": 3, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 0, + "n2": 3, + "N1": 0, + "N2": 3, + "programLength": 3, + "programVocabulary": 3, + "volume": 4.754887502163468, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::buildRow": { + "line": 34, + "lineCount": 16, + "argCount": 1, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "cyclomatic_complexity": { + "complexity": 3, + "risk_level": "low" + }, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 10, + "N2": 24, + "programLength": 34, + "programVocabulary": 7, + "volume": 95.45006734995854, + "difficulty": 4.8, + "effort": 458.160323279801, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::buildRow" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::buildRowWithClassInfo": { + "line": 57, + "lineCount": 16, + "argCount": 1, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "cyclomatic_complexity": { + "complexity": 3, + "risk_level": "low" + }, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 10, + "N2": 24, + "programLength": 34, + "programVocabulary": 7, + "volume": 95.45006734995854, + "difficulty": 4.8, + "effort": 458.160323279801, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::buildRowWithClassInfo" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::metricsToArray": { + "line": 79, + "lineCount": 8, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 3, + "N2": 7, + "programLength": 10, + "programVocabulary": 6, + "volume": 25.84962500721156, + "difficulty": 1.75, + "effort": 45.23684376262023, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::metricsToArray" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::metricsToArrayWithClassInfo": { + "line": 93, + "lineCount": 9, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 4, + "N2": 9, + "programLength": 13, + "programVocabulary": 7, + "volume": 36.49561398674886, + "difficulty": 1.8, + "effort": 65.69210517614795, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::metricsToArrayWithClassInfo" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addHalsteadFields": { + "line": 109, + "lineCount": 10, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "cyclomatic_complexity": { + "complexity": 2, + "risk_level": "low" + }, + "halstead": { + "n1": 2, + "n2": 6, + "N1": 6, + "N2": 16, + "programLength": 22, + "programVocabulary": 8, + "volume": 66, + "difficulty": 2.6666666666666665, + "effort": 176, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addHalsteadFields" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addCyclomaticFields": { + "line": 126, + "lineCount": 8, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "cyclomatic_complexity": { + "complexity": 2, + "risk_level": "low" + }, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 2, + "N2": 8, + "programLength": 10, + "programVocabulary": 6, + "volume": 25.84962500721156, + "difficulty": 2, + "effort": 51.69925001442312, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addCyclomaticFields" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addWeightedValue": { + "line": 141, + "lineCount": 10, + "argCount": 3, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 4, + "n2": 11, + "N1": 13, + "N2": 22, + "programLength": 35, + "programVocabulary": 15, + "volume": 136.74117084629816, + "difficulty": 4, + "effort": 546.9646833851926, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addWeightedValue" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addDelta": { + "line": 158, + "lineCount": 20, + "argCount": 3, + "returnCount": 3, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "cyclomatic_complexity": { + "complexity": 3, + "risk_level": "low" + }, + "halstead": { + "n1": 6, + "n2": 13, + "N1": 19, + "N2": 30, + "programLength": 49, + "programVocabulary": 19, + "volume": 208.14844815873568, + "difficulty": 6.9230769230769225, + "effort": 1441.0277180220162, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::getKeys": { + "line": 184, + "lineCount": 17, + "argCount": 0, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "cyclomatic_complexity": { + "complexity": 2, + "risk_level": "low" + }, + "halstead": { + "n1": 0, + "n2": 9, + "N1": 0, + "N2": 9, + "programLength": 9, + "programVocabulary": 9, + "volume": 28.52932501298081, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::getKeys" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::assertDeltaMethodExists": { + "line": 205, + "lineCount": 6, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "cyclomatic_complexity": { + "complexity": 2, + "risk_level": "low" + }, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 6, + "programLength": 8, + "programVocabulary": 5, + "volume": 18.575424759098897, + "difficulty": 2, + "effort": 37.150849518197795, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::assertDeltaMethodExists" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addCoverageValue": { + "line": 216, + "lineCount": 11, + "argCount": 2, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "cyclomatic_complexity": { + "complexity": 2, + "risk_level": "low" + }, + "halstead": { + "n1": 5, + "n2": 7, + "N1": 7, + "N2": 15, + "programLength": 22, + "programVocabulary": 12, + "volume": 78.86917501586544, + "difficulty": 5.357142857142857, + "effort": 422.51343758499337, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addCoverageValue" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::extracted": { + "line": 233, + "lineCount": 22, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "cyclomatic_complexity": { + "complexity": 2, + "risk_level": "low" + }, + "halstead": { + "n1": 3, + "n2": 12, + "N1": 19, + "N2": 34, + "programLength": 53, + "programVocabulary": 15, + "volume": 207.06520156725148, + "difficulty": 4.25, + "effort": 880.0271066608187, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::extracted" + } + } + }, + "ignored_items": [], + "cached_at": 1759967602 +} \ No newline at end of file diff --git a/.phpcca.cache/5c/5cf89effda08add59322ab2e2ca1fe25.cache b/.phpcca.cache/5c/5cf89effda08add59322ab2e2ca1fe25.cache new file mode 100644 index 0000000..993d0fb --- /dev/null +++ b/.phpcca.cache/5c/5cf89effda08add59322ab2e2ca1fe25.cache @@ -0,0 +1,1184 @@ +{ + "version": "1.0", + "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/Command\/Handler\/ChurnReportHandler.php", + "file_mtime": 1759791861, + "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", + "analysis_result": { + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::__construct": { + "line": 26, + "lineCount": 5, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 4, + "N1": 3, + "N2": 6, + "programLength": 9, + "programVocabulary": 7, + "volume": 25.26619429851844, + "difficulty": 2.25, + "effort": 56.848937171666485, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItem": { + "line": 35, + "lineCount": 15, + "argCount": 1, + "returnCount": 3, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 6, + "N2": 13, + "programLength": 19, + "programVocabulary": 8, + "volume": 57, + "difficulty": 6.5, + "effort": 370.5, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItem" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItems": { + "line": 55, + "lineCount": 9, + "argCount": 1, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 3, + "N2": 9, + "programLength": 12, + "programVocabulary": 6, + "volume": 31.019550008653873, + "difficulty": 2.25, + "effort": 69.79398751947122, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItems" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::hasItem": { + "line": 68, + "lineCount": 6, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 5, + "n2": 3, + "N1": 6, + "N2": 7, + "programLength": 13, + "programVocabulary": 8, + "volume": 39, + "difficulty": 5.833333333333334, + "effort": 227.50000000000003, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::hasItem" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::clear": { + "line": 75, + "lineCount": 10, + "argCount": 0, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 2, + "N2": 4, + "programLength": 6, + "programVocabulary": 3, + "volume": 9.509775004326936, + "difficulty": 1, + "effort": 9.509775004326936, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::clear" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItem": { + "line": 89, + "lineCount": 10, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 4, + "N2": 6, + "programLength": 10, + "programVocabulary": 6, + "volume": 25.84962500721156, + "difficulty": 3, + "effort": 77.54887502163469, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItem" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItems": { + "line": 103, + "lineCount": 10, + "argCount": 1, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 3, + "N2": 8, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 2, + "effort": 56.86917501586544, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItems" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::save": { + "line": 117, + "lineCount": 11, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 4, + "N1": 9, + "N2": 12, + "programLength": 21, + "programVocabulary": 7, + "volume": 58.95445336320969, + "difficulty": 4.5, + "effort": 265.2950401344436, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::save" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveDeferred": { + "line": 129, + "lineCount": 6, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveDeferred" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::commit": { + "line": 136, + "lineCount": 11, + "argCount": 0, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 4, + "N2": 8, + "programLength": 12, + "programVocabulary": 5, + "volume": 27.863137138648348, + "difficulty": 2.6666666666666665, + "effort": 74.30169903639559, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::commit" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::ensureCacheDirectory": { + "line": 152, + "lineCount": 9, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 3, + "N2": 4, + "programLength": 7, + "programVocabulary": 4, + "volume": 14, + "difficulty": 2, + "effort": 28, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::ensureCacheDirectory" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getCacheFilePath": { + "line": 168, + "lineCount": 15, + "argCount": 1, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 10, + "N1": 13, + "N2": 19, + "programLength": 32, + "programVocabulary": 14, + "volume": 121.83535750584333, + "difficulty": 3.8, + "effort": 462.9743585222046, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getCacheFilePath" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::loadCacheData": { + "line": 187, + "lineCount": 14, + "argCount": 1, + "returnCount": 3, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 6, + "N2": 8, + "programLength": 14, + "programVocabulary": 6, + "volume": 36.18947501009619, + "difficulty": 4, + "effort": 144.75790004038475, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::loadCacheData" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveCacheData": { + "line": 209, + "lineCount": 21, + "argCount": 2, + "returnCount": 3, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 6, + "n2": 7, + "N1": 13, + "N2": 17, + "programLength": 30, + "programVocabulary": 13, + "volume": 111.01319154423277, + "difficulty": 7.285714285714285, + "effort": 808.810395536553, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveCacheData" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::sanitizeUtf8": { + "line": 234, + "lineCount": 25, + "argCount": 1, + "returnCount": 4, + "variableCount": 6, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 8, + "N1": 13, + "N2": 29, + "programLength": 42, + "programVocabulary": 11, + "volume": 145.29612798276648, + "difficulty": 5.4375, + "effort": 790.0476959062927, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::sanitizeUtf8" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::removeDirectory": { + "line": 260, + "lineCount": 23, + "argCount": 1, + "returnCount": 2, + "variableCount": 5, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 5, + "n2": 9, + "N1": 13, + "N2": 20, + "programLength": 33, + "programVocabulary": 14, + "volume": 125.64271242790093, + "difficulty": 5.555555555555555, + "effort": 698.0150690438941, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::removeDirectory" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::__construct": { + "line": 42, + "lineCount": 7, + "argCount": 3, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 3, + "N1": 0, + "N2": 3, + "programLength": 3, + "programVocabulary": 3, + "volume": 4.754887502163468, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::configure": { + "line": 53, + "lineCount": 57, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 15, + "N1": 9, + "N2": 16, + "programLength": 25, + "programVocabulary": 16, + "volume": 100, + "difficulty": 0.5333333333333333, + "effort": 53.333333333333336, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::configure" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::execute": { + "line": 119, + "lineCount": 43, + "argCount": 2, + "returnCount": 5, + "variableCount": 9, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 4, + "halstead": { + "n1": 7, + "n2": 14, + "N1": 31, + "N2": 45, + "programLength": 76, + "programVocabulary": 21, + "volume": 333.8161241311858, + "difficulty": 11.25, + "effort": 3755.4313964758403, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::execute" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::loadCoverageReader": { + "line": 171, + "lineCount": 32, + "argCount": 3, + "returnCount": 4, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 2, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 4, + "n2": 9, + "N1": 9, + "N2": 21, + "programLength": 30, + "programVocabulary": 13, + "volume": 111.01319154423277, + "difficulty": 4.666666666666667, + "effort": 518.0615605397529, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::loadCoverageReader" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::detectCoverageFormat": { + "line": 207, + "lineCount": 19, + "argCount": 1, + "returnCount": 4, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 9, + "volume": 47.548875021634686, + "difficulty": 2.5, + "effort": 118.87218755408671, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::detectCoverageFormat" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::coverageFileExists": { + "line": 227, + "lineCount": 20, + "argCount": 2, + "returnCount": 3, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 4, + "N2": 7, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 3.5, + "effort": 99.52105627776452, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::coverageFileExists" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::__construct": { + "line": 49, + "lineCount": 10, + "argCount": 6, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 6, + "N1": 0, + "N2": 6, + "programLength": 6, + "programVocabulary": 6, + "volume": 15.509775004326936, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::configure": { + "line": 63, + "lineCount": 76, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 20, + "N1": 13, + "N2": 20, + "programLength": 33, + "programVocabulary": 21, + "volume": 144.94647495169912, + "difficulty": 0.5, + "effort": 72.47323747584956, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::configure" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::execute": { + "line": 150, + "lineCount": 52, + "argCount": 2, + "returnCount": 5, + "variableCount": 11, + "propertyCallCount": 6, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 7, + "halstead": { + "n1": 6, + "n2": 15, + "N1": 43, + "N2": 61, + "programLength": 104, + "programVocabulary": 21, + "volume": 456.80101196899113, + "difficulty": 12.2, + "effort": 5572.972346021692, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::execute" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::parsePaths": { + "line": 209, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 4, + "N2": 8, + "programLength": 12, + "programVocabulary": 7, + "volume": 33.68825906469125, + "difficulty": 1.6, + "effort": 53.901214503506004, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::parsePaths" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleBaseLine": { + "line": 224, + "lineCount": 8, + "argCount": 2, + "returnCount": 0, + "variableCount": 3, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 5, + "N2": 11, + "programLength": 16, + "programVocabulary": 7, + "volume": 44.91767875292167, + "difficulty": 2.2, + "effort": 98.81889325642767, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleBaseLine" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleCoverageOptions": { + "line": 238, + "lineCount": 20, + "argCount": 2, + "returnCount": 3, + "variableCount": 5, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 5, + "n2": 10, + "N1": 15, + "N2": 25, + "programLength": 40, + "programVocabulary": 15, + "volume": 156.27562382434076, + "difficulty": 6.25, + "effort": 976.7226489021298, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleCoverageOptions" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::applySorting": { + "line": 264, + "lineCount": 21, + "argCount": 3, + "returnCount": 3, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 15, + "N1": 16, + "N2": 32, + "programLength": 48, + "programVocabulary": 20, + "volume": 207.45254855459342, + "difficulty": 5.333333333333333, + "effort": 1106.4135922911648, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::applySorting" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadConfiguration": { + "line": 293, + "lineCount": 10, + "argCount": 2, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 6, + "N1": 5, + "N2": 9, + "programLength": 14, + "programVocabulary": 8, + "volume": 42, + "difficulty": 1.5, + "effort": 63, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadConfiguration" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadCoverageReader": { + "line": 313, + "lineCount": 28, + "argCount": 3, + "returnCount": 4, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 2, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 10, + "N2": 18, + "programLength": 28, + "programVocabulary": 11, + "volume": 96.86408532184433, + "difficulty": 5.142857142857143, + "effort": 498.15815308377086, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadCoverageReader" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::detectCoverageFormat": { + "line": 345, + "lineCount": 19, + "argCount": 1, + "returnCount": 4, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 9, + "volume": 47.548875021634686, + "difficulty": 2.5, + "effort": 118.87218755408671, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::detectCoverageFormat" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::coverageFileExists": { + "line": 365, + "lineCount": 20, + "argCount": 2, + "returnCount": 3, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 4, + "N2": 7, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 3.5, + "effort": 99.52105627776452, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::coverageFileExists" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__construct": { + "line": 12, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__invoke": { + "line": 17, + "lineCount": 22, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 3, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 10, + "N2": 11, + "programLength": 21, + "programVocabulary": 7, + "volume": 58.95445336320969, + "difficulty": 2.2, + "effort": 129.6997973990613, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__invoke" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__construct": { + "line": 21, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__invoke": { + "line": 26, + "lineCount": 11, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 4, + "N2": 9, + "programLength": 13, + "programVocabulary": 4, + "volume": 26, + "difficulty": 4.5, + "effort": 117, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__invoke" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleSourceFilesFound": { + "line": 38, + "lineCount": 6, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 4, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 6, + "N2": 10, + "programLength": 16, + "programVocabulary": 8, + "volume": 48, + "difficulty": 5, + "effort": 240, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleSourceFilesFound" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleFileProcessed": { + "line": 45, + "lineCount": 5, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleFileProcessed" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleAllFilesProcessed": { + "line": 51, + "lineCount": 6, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 3, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 3, + "N2": 5, + "programLength": 8, + "programVocabulary": 5, + "volume": 18.575424759098897, + "difficulty": 1.6666666666666667, + "effort": 30.95904126516483, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleAllFilesProcessed" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__construct": { + "line": 20, + "lineCount": 5, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__invoke": { + "line": 26, + "lineCount": 17, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 5, + "n2": 8, + "N1": 17, + "N2": 17, + "programLength": 34, + "programVocabulary": 13, + "volume": 125.81495041679713, + "difficulty": 5.3125, + "effort": 668.3919240892347, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__invoke" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::formatBytes": { + "line": 50, + "lineCount": 12, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 7, + "n2": 13, + "N1": 10, + "N2": 22, + "programLength": 32, + "programVocabulary": 20, + "volume": 138.3016990363956, + "difficulty": 5.923076923076923, + "effort": 819.1716019848047, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::formatBytes" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::isDebugEnabled": { + "line": 66, + "lineCount": 5, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 1, + "N1": 4, + "N2": 2, + "programLength": 6, + "programVocabulary": 4, + "volume": 12, + "difficulty": 3, + "effort": 36, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::isDebugEnabled" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::__construct": { + "line": 20, + "lineCount": 6, + "argCount": 2, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 4, + "volume": 8, + "difficulty": 0.5, + "effort": 4, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::exportToFile": { + "line": 32, + "lineCount": 27, + "argCount": 3, + "returnCount": 4, + "variableCount": 2, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "cyclomatic_complexity": { + "complexity": 4, + "risk_level": "low" + }, + "halstead": { + "n1": 1, + "n2": 6, + "N1": 6, + "N2": 19, + "programLength": 25, + "programVocabulary": 7, + "volume": 70.1838730514401, + "difficulty": 1.5833333333333333, + "effort": 111.12446566478016, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::exportToFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::hasIncompleteReportOptions": { + "line": 60, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 4, + "n2": 2, + "N1": 7, + "N2": 6, + "programLength": 13, + "programVocabulary": 6, + "volume": 33.60451250937503, + "difficulty": 6, + "effort": 201.62707505625016, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::hasIncompleteReportOptions" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::isValidReportType": { + "line": 65, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "cyclomatic_complexity": { + "complexity": 2, + "risk_level": "low" + }, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 2, + "N2": 4, + "programLength": 6, + "programVocabulary": 4, + "volume": 12, + "difficulty": 2, + "effort": 24, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::isValidReportType" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleExceptions": { + "line": 77, + "lineCount": 9, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 3, + "N2": 4, + "programLength": 7, + "programVocabulary": 5, + "volume": 16.253496664211536, + "difficulty": 1.3333333333333333, + "effort": 21.67132888561538, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleExceptions" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleInvalidReportType": { + "line": 91, + "lineCount": 11, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 5, + "N2": 8, + "programLength": 13, + "programVocabulary": 8, + "volume": 39, + "difficulty": 2.4000000000000004, + "effort": 93.60000000000001, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleInvalidReportType" + } + } + }, + "ignored_items": [], + "cached_at": 1759967602 +} \ No newline at end of file diff --git a/.phpcca.cache/60/60256edd9d9172b2d39afc6b32cf5a00.cache b/.phpcca.cache/60/60256edd9d9172b2d39afc6b32cf5a00.cache new file mode 100644 index 0000000..5a2fdeb --- /dev/null +++ b/.phpcca.cache/60/60256edd9d9172b2d39afc6b32cf5a00.cache @@ -0,0 +1,3419 @@ +{ + "version": "1.0", + "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/PhpParser\/CognitiveMetricsVisitor.php", + "file_mtime": 1759791861, + "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", + "analysis_result": { + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::__construct": { + "line": 26, + "lineCount": 5, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 4, + "N1": 3, + "N2": 6, + "programLength": 9, + "programVocabulary": 7, + "volume": 25.26619429851844, + "difficulty": 2.25, + "effort": 56.848937171666485, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItem": { + "line": 35, + "lineCount": 15, + "argCount": 1, + "returnCount": 3, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 6, + "N2": 13, + "programLength": 19, + "programVocabulary": 8, + "volume": 57, + "difficulty": 6.5, + "effort": 370.5, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItem" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItems": { + "line": 55, + "lineCount": 9, + "argCount": 1, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 3, + "N2": 9, + "programLength": 12, + "programVocabulary": 6, + "volume": 31.019550008653873, + "difficulty": 2.25, + "effort": 69.79398751947122, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItems" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::hasItem": { + "line": 68, + "lineCount": 6, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 5, + "n2": 3, + "N1": 6, + "N2": 7, + "programLength": 13, + "programVocabulary": 8, + "volume": 39, + "difficulty": 5.833333333333334, + "effort": 227.50000000000003, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::hasItem" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::clear": { + "line": 75, + "lineCount": 10, + "argCount": 0, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 2, + "N2": 4, + "programLength": 6, + "programVocabulary": 3, + "volume": 9.509775004326936, + "difficulty": 1, + "effort": 9.509775004326936, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::clear" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItem": { + "line": 89, + "lineCount": 10, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 4, + "N2": 6, + "programLength": 10, + "programVocabulary": 6, + "volume": 25.84962500721156, + "difficulty": 3, + "effort": 77.54887502163469, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItem" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItems": { + "line": 103, + "lineCount": 10, + "argCount": 1, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 3, + "N2": 8, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 2, + "effort": 56.86917501586544, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItems" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::save": { + "line": 117, + "lineCount": 11, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 4, + "N1": 9, + "N2": 12, + "programLength": 21, + "programVocabulary": 7, + "volume": 58.95445336320969, + "difficulty": 4.5, + "effort": 265.2950401344436, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::save" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveDeferred": { + "line": 129, + "lineCount": 6, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveDeferred" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::commit": { + "line": 136, + "lineCount": 11, + "argCount": 0, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 4, + "N2": 8, + "programLength": 12, + "programVocabulary": 5, + "volume": 27.863137138648348, + "difficulty": 2.6666666666666665, + "effort": 74.30169903639559, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::commit" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::ensureCacheDirectory": { + "line": 152, + "lineCount": 9, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 3, + "N2": 4, + "programLength": 7, + "programVocabulary": 4, + "volume": 14, + "difficulty": 2, + "effort": 28, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::ensureCacheDirectory" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getCacheFilePath": { + "line": 168, + "lineCount": 15, + "argCount": 1, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 10, + "N1": 13, + "N2": 19, + "programLength": 32, + "programVocabulary": 14, + "volume": 121.83535750584333, + "difficulty": 3.8, + "effort": 462.9743585222046, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getCacheFilePath" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::loadCacheData": { + "line": 187, + "lineCount": 14, + "argCount": 1, + "returnCount": 3, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 6, + "N2": 8, + "programLength": 14, + "programVocabulary": 6, + "volume": 36.18947501009619, + "difficulty": 4, + "effort": 144.75790004038475, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::loadCacheData" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveCacheData": { + "line": 209, + "lineCount": 21, + "argCount": 2, + "returnCount": 3, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 6, + "n2": 7, + "N1": 13, + "N2": 17, + "programLength": 30, + "programVocabulary": 13, + "volume": 111.01319154423277, + "difficulty": 7.285714285714285, + "effort": 808.810395536553, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveCacheData" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::sanitizeUtf8": { + "line": 234, + "lineCount": 25, + "argCount": 1, + "returnCount": 4, + "variableCount": 6, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 8, + "N1": 13, + "N2": 29, + "programLength": 42, + "programVocabulary": 11, + "volume": 145.29612798276648, + "difficulty": 5.4375, + "effort": 790.0476959062927, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::sanitizeUtf8" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::removeDirectory": { + "line": 260, + "lineCount": 23, + "argCount": 1, + "returnCount": 2, + "variableCount": 5, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 5, + "n2": 9, + "N1": 13, + "N2": 20, + "programLength": 33, + "programVocabulary": 14, + "volume": 125.64271242790093, + "difficulty": 5.555555555555555, + "effort": 698.0150690438941, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::removeDirectory" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::__construct": { + "line": 42, + "lineCount": 7, + "argCount": 3, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 3, + "N1": 0, + "N2": 3, + "programLength": 3, + "programVocabulary": 3, + "volume": 4.754887502163468, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::configure": { + "line": 53, + "lineCount": 57, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 15, + "N1": 9, + "N2": 16, + "programLength": 25, + "programVocabulary": 16, + "volume": 100, + "difficulty": 0.5333333333333333, + "effort": 53.333333333333336, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::configure" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::execute": { + "line": 119, + "lineCount": 43, + "argCount": 2, + "returnCount": 5, + "variableCount": 9, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 4, + "halstead": { + "n1": 7, + "n2": 14, + "N1": 31, + "N2": 45, + "programLength": 76, + "programVocabulary": 21, + "volume": 333.8161241311858, + "difficulty": 11.25, + "effort": 3755.4313964758403, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::execute" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::loadCoverageReader": { + "line": 171, + "lineCount": 32, + "argCount": 3, + "returnCount": 4, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 2, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 4, + "n2": 9, + "N1": 9, + "N2": 21, + "programLength": 30, + "programVocabulary": 13, + "volume": 111.01319154423277, + "difficulty": 4.666666666666667, + "effort": 518.0615605397529, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::loadCoverageReader" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::detectCoverageFormat": { + "line": 207, + "lineCount": 19, + "argCount": 1, + "returnCount": 4, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 9, + "volume": 47.548875021634686, + "difficulty": 2.5, + "effort": 118.87218755408671, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::detectCoverageFormat" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::coverageFileExists": { + "line": 227, + "lineCount": 20, + "argCount": 2, + "returnCount": 3, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 4, + "N2": 7, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 3.5, + "effort": 99.52105627776452, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::coverageFileExists" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::__construct": { + "line": 49, + "lineCount": 10, + "argCount": 6, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 6, + "N1": 0, + "N2": 6, + "programLength": 6, + "programVocabulary": 6, + "volume": 15.509775004326936, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::configure": { + "line": 63, + "lineCount": 76, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 20, + "N1": 13, + "N2": 20, + "programLength": 33, + "programVocabulary": 21, + "volume": 144.94647495169912, + "difficulty": 0.5, + "effort": 72.47323747584956, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::configure" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::execute": { + "line": 150, + "lineCount": 52, + "argCount": 2, + "returnCount": 5, + "variableCount": 11, + "propertyCallCount": 6, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 7, + "halstead": { + "n1": 6, + "n2": 15, + "N1": 43, + "N2": 61, + "programLength": 104, + "programVocabulary": 21, + "volume": 456.80101196899113, + "difficulty": 12.2, + "effort": 5572.972346021692, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::execute" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::parsePaths": { + "line": 209, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 4, + "N2": 8, + "programLength": 12, + "programVocabulary": 7, + "volume": 33.68825906469125, + "difficulty": 1.6, + "effort": 53.901214503506004, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::parsePaths" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleBaseLine": { + "line": 224, + "lineCount": 8, + "argCount": 2, + "returnCount": 0, + "variableCount": 3, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 5, + "N2": 11, + "programLength": 16, + "programVocabulary": 7, + "volume": 44.91767875292167, + "difficulty": 2.2, + "effort": 98.81889325642767, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleBaseLine" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleCoverageOptions": { + "line": 238, + "lineCount": 20, + "argCount": 2, + "returnCount": 3, + "variableCount": 5, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 5, + "n2": 10, + "N1": 15, + "N2": 25, + "programLength": 40, + "programVocabulary": 15, + "volume": 156.27562382434076, + "difficulty": 6.25, + "effort": 976.7226489021298, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleCoverageOptions" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::applySorting": { + "line": 264, + "lineCount": 21, + "argCount": 3, + "returnCount": 3, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 15, + "N1": 16, + "N2": 32, + "programLength": 48, + "programVocabulary": 20, + "volume": 207.45254855459342, + "difficulty": 5.333333333333333, + "effort": 1106.4135922911648, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::applySorting" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadConfiguration": { + "line": 293, + "lineCount": 10, + "argCount": 2, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 6, + "N1": 5, + "N2": 9, + "programLength": 14, + "programVocabulary": 8, + "volume": 42, + "difficulty": 1.5, + "effort": 63, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadConfiguration" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadCoverageReader": { + "line": 313, + "lineCount": 28, + "argCount": 3, + "returnCount": 4, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 2, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 10, + "N2": 18, + "programLength": 28, + "programVocabulary": 11, + "volume": 96.86408532184433, + "difficulty": 5.142857142857143, + "effort": 498.15815308377086, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadCoverageReader" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::detectCoverageFormat": { + "line": 345, + "lineCount": 19, + "argCount": 1, + "returnCount": 4, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 9, + "volume": 47.548875021634686, + "difficulty": 2.5, + "effort": 118.87218755408671, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::detectCoverageFormat" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::coverageFileExists": { + "line": 365, + "lineCount": 20, + "argCount": 2, + "returnCount": 3, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 4, + "N2": 7, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 3.5, + "effort": 99.52105627776452, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::coverageFileExists" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__construct": { + "line": 12, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__invoke": { + "line": 17, + "lineCount": 22, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 3, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 10, + "N2": 11, + "programLength": 21, + "programVocabulary": 7, + "volume": 58.95445336320969, + "difficulty": 2.2, + "effort": 129.6997973990613, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__invoke" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__construct": { + "line": 21, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__invoke": { + "line": 26, + "lineCount": 11, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 4, + "N2": 9, + "programLength": 13, + "programVocabulary": 4, + "volume": 26, + "difficulty": 4.5, + "effort": 117, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__invoke" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleSourceFilesFound": { + "line": 38, + "lineCount": 6, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 4, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 6, + "N2": 10, + "programLength": 16, + "programVocabulary": 8, + "volume": 48, + "difficulty": 5, + "effort": 240, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleSourceFilesFound" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleFileProcessed": { + "line": 45, + "lineCount": 5, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleFileProcessed" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleAllFilesProcessed": { + "line": 51, + "lineCount": 6, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 3, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 3, + "N2": 5, + "programLength": 8, + "programVocabulary": 5, + "volume": 18.575424759098897, + "difficulty": 1.6666666666666667, + "effort": 30.95904126516483, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleAllFilesProcessed" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__construct": { + "line": 20, + "lineCount": 5, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__invoke": { + "line": 26, + "lineCount": 17, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 5, + "n2": 8, + "N1": 17, + "N2": 17, + "programLength": 34, + "programVocabulary": 13, + "volume": 125.81495041679713, + "difficulty": 5.3125, + "effort": 668.3919240892347, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__invoke" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::formatBytes": { + "line": 50, + "lineCount": 12, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 7, + "n2": 13, + "N1": 10, + "N2": 22, + "programLength": 32, + "programVocabulary": 20, + "volume": 138.3016990363956, + "difficulty": 5.923076923076923, + "effort": 819.1716019848047, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::formatBytes" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::isDebugEnabled": { + "line": 66, + "lineCount": 5, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 1, + "N1": 4, + "N2": 2, + "programLength": 6, + "programVocabulary": 4, + "volume": 12, + "difficulty": 3, + "effort": 36, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::isDebugEnabled" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::__construct": { + "line": 20, + "lineCount": 6, + "argCount": 2, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 4, + "volume": 8, + "difficulty": 0.5, + "effort": 4, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::exportToFile": { + "line": 32, + "lineCount": 27, + "argCount": 3, + "returnCount": 4, + "variableCount": 2, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 1, + "n2": 6, + "N1": 6, + "N2": 19, + "programLength": 25, + "programVocabulary": 7, + "volume": 70.1838730514401, + "difficulty": 1.5833333333333333, + "effort": 111.12446566478016, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::exportToFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::hasIncompleteReportOptions": { + "line": 60, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 2, + "N1": 7, + "N2": 6, + "programLength": 13, + "programVocabulary": 6, + "volume": 33.60451250937503, + "difficulty": 6, + "effort": 201.62707505625016, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::hasIncompleteReportOptions" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::isValidReportType": { + "line": 65, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 2, + "N2": 4, + "programLength": 6, + "programVocabulary": 4, + "volume": 12, + "difficulty": 2, + "effort": 24, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::isValidReportType" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleExceptions": { + "line": 77, + "lineCount": 9, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 3, + "N2": 4, + "programLength": 7, + "programVocabulary": 5, + "volume": 16.253496664211536, + "difficulty": 1.3333333333333333, + "effort": 21.67132888561538, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleExceptions" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleInvalidReportType": { + "line": 91, + "lineCount": 11, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 5, + "N2": 8, + "programLength": 13, + "programVocabulary": 8, + "volume": 39, + "difficulty": 2.4000000000000004, + "effort": 93.60000000000001, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleInvalidReportType" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::__construct": { + "line": 15, + "lineCount": 5, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handle": { + "line": 24, + "lineCount": 27, + "argCount": 3, + "returnCount": 4, + "variableCount": 2, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 1, + "n2": 6, + "N1": 6, + "N2": 19, + "programLength": 25, + "programVocabulary": 7, + "volume": 70.1838730514401, + "difficulty": 1.5833333333333333, + "effort": 111.12446566478016, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handle" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::hasIncompleteReportOptions": { + "line": 52, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 2, + "N1": 7, + "N2": 6, + "programLength": 13, + "programVocabulary": 6, + "volume": 33.60451250937503, + "difficulty": 6, + "effort": 201.62707505625016, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::hasIncompleteReportOptions" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::isValidReportType": { + "line": 57, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 5, + "N1": 1, + "N2": 6, + "programLength": 7, + "programVocabulary": 6, + "volume": 18.094737505048094, + "difficulty": 0.6, + "effort": 10.856842503028856, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::isValidReportType" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handleExceptions": { + "line": 66, + "lineCount": 9, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 3, + "N2": 4, + "programLength": 7, + "programVocabulary": 5, + "volume": 16.253496664211536, + "difficulty": 1.3333333333333333, + "effort": 21.67132888561538, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handleExceptions" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handleInvalidReporType": { + "line": 80, + "lineCount": 9, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 4, + "programLength": 6, + "programVocabulary": 5, + "volume": 13.931568569324174, + "difficulty": 1.3333333333333333, + "effort": 18.575424759098897, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handleInvalidReporType" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::__construct": { + "line": 42, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::reportWritten": { + "line": 47, + "lineCount": 7, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 4, + "programLength": 6, + "programVocabulary": 5, + "volume": 13.931568569324174, + "difficulty": 1.3333333333333333, + "effort": 18.575424759098897, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::reportWritten" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::renderChurnTable": { + "line": 59, + "lineCount": 35, + "argCount": 1, + "returnCount": 0, + "variableCount": 6, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 8, + "n2": 18, + "N1": 21, + "N2": 53, + "programLength": 74, + "programVocabulary": 26, + "volume": 347.8325391424408, + "difficulty": 11.777777777777779, + "effort": 4096.694349899859, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::renderChurnTable" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricSummaryTextRenderer::__construct": { + "line": 18, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricSummaryTextRenderer::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricSummaryTextRenderer::render": { + "line": 23, + "lineCount": 32, + "argCount": 2, + "returnCount": 0, + "variableCount": 6, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 6, + "n2": 16, + "N1": 27, + "N2": 38, + "programLength": 65, + "programVocabulary": 22, + "volume": 289.86305521142435, + "difficulty": 7.125, + "effort": 2065.2742683813985, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricSummaryTextRenderer::render" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::__construct": { + "line": 27, + "lineCount": 5, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::metricExceedsThreshold": { + "line": 33, + "lineCount": 6, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 2, + "N1": 3, + "N2": 5, + "programLength": 8, + "programVocabulary": 5, + "volume": 18.575424759098897, + "difficulty": 3.75, + "effort": 69.65784284662087, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::metricExceedsThreshold" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::hasCoverageInCollection": { + "line": 43, + "lineCount": 10, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 2, + "N2": 4, + "programLength": 6, + "programVocabulary": 4, + "volume": 12, + "difficulty": 2, + "effort": 24, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::hasCoverageInCollection" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::render": { + "line": 58, + "lineCount": 17, + "argCount": 2, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 6, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 9, + "N2": 25, + "programLength": 34, + "programVocabulary": 6, + "volume": 87.8887250245193, + "difficulty": 6.25, + "effort": 549.3045314032456, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::render" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderGroupedByClass": { + "line": 81, + "lineCount": 19, + "argCount": 3, + "returnCount": 0, + "variableCount": 6, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 5, + "n2": 11, + "N1": 11, + "N2": 25, + "programLength": 36, + "programVocabulary": 16, + "volume": 144, + "difficulty": 5.6818181818181825, + "effort": 818.1818181818182, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderGroupedByClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::buildRowsForClass": { + "line": 106, + "lineCount": 13, + "argCount": 2, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 4, + "N2": 12, + "programLength": 16, + "programVocabulary": 7, + "volume": 44.91767875292167, + "difficulty": 2.4, + "effort": 107.802429007012, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::buildRowsForClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::getFilenameFromMetrics": { + "line": 123, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 5, + "programLength": 6, + "programVocabulary": 4, + "volume": 12, + "difficulty": 0.8333333333333334, + "effort": 10, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::getFilenameFromMetrics" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderAllMethodsInSingleTable": { + "line": 136, + "lineCount": 12, + "argCount": 3, + "returnCount": 0, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 6, + "N2": 15, + "programLength": 21, + "programVocabulary": 11, + "volume": 72.64806399138324, + "difficulty": 4.285714285714286, + "effort": 311.34884567735673, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderAllMethodsInSingleTable" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::buildRowsForSingleTable": { + "line": 154, + "lineCount": 13, + "argCount": 2, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 4, + "N2": 12, + "programLength": 16, + "programVocabulary": 7, + "volume": 44.91767875292167, + "difficulty": 2.4, + "effort": 107.802429007012, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::buildRowsForSingleTable" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderTableCommon": { + "line": 173, + "lineCount": 19, + "argCount": 4, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 8, + "N1": 7, + "N2": 19, + "programLength": 26, + "programVocabulary": 10, + "volume": 86.37013046707142, + "difficulty": 2.375, + "effort": 205.1290598592946, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderTableCommon" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderTable": { + "line": 196, + "lineCount": 13, + "argCount": 4, + "returnCount": 0, + "variableCount": 3, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 7, + "N1": 4, + "N2": 14, + "programLength": 18, + "programVocabulary": 9, + "volume": 57.05865002596162, + "difficulty": 2, + "effort": 114.11730005192324, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderTable" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderSingleTable": { + "line": 213, + "lineCount": 11, + "argCount": 3, + "returnCount": 0, + "variableCount": 3, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 6, + "N1": 4, + "N2": 12, + "programLength": 16, + "programVocabulary": 8, + "volume": 48, + "difficulty": 2, + "effort": 96, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderSingleTable" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::__construct": { + "line": 16, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatScore": { + "line": 21, + "lineCount": 6, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 6, + "N1": 5, + "N2": 9, + "programLength": 14, + "programVocabulary": 8, + "volume": 42, + "difficulty": 1.5, + "effort": 63, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatScore" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadVolume": { + "line": 28, + "lineCount": 14, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 10, + "N1": 9, + "N2": 17, + "programLength": 26, + "programVocabulary": 15, + "volume": 101.57915548582149, + "difficulty": 4.25, + "effort": 431.7114108147413, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadVolume" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadDifficulty": { + "line": 43, + "lineCount": 13, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 10, + "N1": 8, + "N2": 17, + "programLength": 25, + "programVocabulary": 14, + "volume": 95.1838730514401, + "difficulty": 3.4, + "effort": 323.62516837489636, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadDifficulty" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadEffort": { + "line": 57, + "lineCount": 13, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 10, + "N1": 8, + "N2": 17, + "programLength": 25, + "programVocabulary": 14, + "volume": 95.1838730514401, + "difficulty": 3.4, + "effort": 323.62516837489636, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadEffort" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatCyclomaticComplexity": { + "line": 71, + "lineCount": 13, + "argCount": 1, + "returnCount": 3, + "variableCount": 4, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 5, + "n2": 9, + "N1": 9, + "N2": 18, + "programLength": 27, + "programVocabulary": 14, + "volume": 102.79858289555531, + "difficulty": 5, + "effort": 513.9929144777766, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatCyclomaticComplexity" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::colorCyclomaticRisk": { + "line": 85, + "lineCount": 8, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 7, + "N1": 5, + "N2": 11, + "programLength": 16, + "programVocabulary": 9, + "volume": 50.718800023076994, + "difficulty": 1.5714285714285714, + "effort": 79.70097146483528, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::colorCyclomaticRisk" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::__construct": { + "line": 17, + "lineCount": 5, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::getGroupedTableHeaders": { + "line": 28, + "lineCount": 16, + "argCount": 0, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 10, + "N2": 17, + "programLength": 27, + "programVocabulary": 6, + "volume": 69.79398751947122, + "difficulty": 4.25, + "effort": 296.62444695775264, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::getGroupedTableHeaders" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCoverageHeader": { + "line": 49, + "lineCount": 10, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 6, + "programLength": 7, + "programVocabulary": 4, + "volume": 14, + "difficulty": 1, + "effort": 14, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCoverageHeader" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::getSingleTableHeaders": { + "line": 65, + "lineCount": 20, + "argCount": 0, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 6, + "N1": 9, + "N2": 18, + "programLength": 27, + "programVocabulary": 8, + "volume": 81, + "difficulty": 3, + "effort": 243, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::getSingleTableHeaders" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addHalsteadHeaders": { + "line": 92, + "lineCount": 10, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 1, + "n2": 5, + "N1": 3, + "N2": 9, + "programLength": 12, + "programVocabulary": 6, + "volume": 31.019550008653873, + "difficulty": 0.9, + "effort": 27.917595007788485, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addHalsteadHeaders" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCyclomaticHeaders": { + "line": 109, + "lineCount": 8, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 5, + "programLength": 6, + "programVocabulary": 4, + "volume": 12, + "difficulty": 0.8333333333333334, + "effort": 10, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCyclomaticHeaders" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCognitiveMetricDetails": { + "line": 122, + "lineCount": 16, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 10, + "N1": 2, + "N2": 13, + "programLength": 15, + "programVocabulary": 12, + "volume": 53.77443751081734, + "difficulty": 1.3, + "effort": 69.90676876406255, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCognitiveMetricDetails" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::__construct": { + "line": 21, + "lineCount": 6, + "argCount": 3, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 3, + "N1": 0, + "N2": 3, + "programLength": 3, + "programVocabulary": 3, + "volume": 4.754887502163468, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::buildRow": { + "line": 34, + "lineCount": 16, + "argCount": 1, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 10, + "N2": 24, + "programLength": 34, + "programVocabulary": 7, + "volume": 95.45006734995854, + "difficulty": 4.8, + "effort": 458.160323279801, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::buildRow" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::buildRowWithClassInfo": { + "line": 57, + "lineCount": 16, + "argCount": 1, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 10, + "N2": 24, + "programLength": 34, + "programVocabulary": 7, + "volume": 95.45006734995854, + "difficulty": 4.8, + "effort": 458.160323279801, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::buildRowWithClassInfo" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::metricsToArray": { + "line": 79, + "lineCount": 8, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 3, + "N2": 7, + "programLength": 10, + "programVocabulary": 6, + "volume": 25.84962500721156, + "difficulty": 1.75, + "effort": 45.23684376262023, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::metricsToArray" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::metricsToArrayWithClassInfo": { + "line": 93, + "lineCount": 9, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 4, + "N2": 9, + "programLength": 13, + "programVocabulary": 7, + "volume": 36.49561398674886, + "difficulty": 1.8, + "effort": 65.69210517614795, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::metricsToArrayWithClassInfo" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addHalsteadFields": { + "line": 109, + "lineCount": 10, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 6, + "N1": 6, + "N2": 16, + "programLength": 22, + "programVocabulary": 8, + "volume": 66, + "difficulty": 2.6666666666666665, + "effort": 176, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addHalsteadFields" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addCyclomaticFields": { + "line": 126, + "lineCount": 8, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 2, + "N2": 8, + "programLength": 10, + "programVocabulary": 6, + "volume": 25.84962500721156, + "difficulty": 2, + "effort": 51.69925001442312, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addCyclomaticFields" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addWeightedValue": { + "line": 141, + "lineCount": 10, + "argCount": 3, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 11, + "N1": 13, + "N2": 22, + "programLength": 35, + "programVocabulary": 15, + "volume": 136.74117084629816, + "difficulty": 4, + "effort": 546.9646833851926, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addWeightedValue" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addDelta": { + "line": 158, + "lineCount": 20, + "argCount": 3, + "returnCount": 3, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 6, + "n2": 13, + "N1": 19, + "N2": 30, + "programLength": 49, + "programVocabulary": 19, + "volume": 208.14844815873568, + "difficulty": 6.9230769230769225, + "effort": 1441.0277180220162, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::getKeys": { + "line": 184, + "lineCount": 17, + "argCount": 0, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 0, + "n2": 9, + "N1": 0, + "N2": 9, + "programLength": 9, + "programVocabulary": 9, + "volume": 28.52932501298081, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::getKeys" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::assertDeltaMethodExists": { + "line": 205, + "lineCount": 6, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 6, + "programLength": 8, + "programVocabulary": 5, + "volume": 18.575424759098897, + "difficulty": 2, + "effort": 37.150849518197795, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::assertDeltaMethodExists" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addCoverageValue": { + "line": 216, + "lineCount": 11, + "argCount": 2, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 7, + "N1": 7, + "N2": 15, + "programLength": 22, + "programVocabulary": 12, + "volume": 78.86917501586544, + "difficulty": 5.357142857142857, + "effort": 422.51343758499337, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addCoverageValue" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::extracted": { + "line": 233, + "lineCount": 22, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 12, + "N1": 19, + "N2": 34, + "programLength": 53, + "programVocabulary": 15, + "volume": 207.06520156725148, + "difficulty": 4.25, + "effort": 880.0271066608187, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::extracted" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CacheConfig::__construct": { + "line": 12, + "lineCount": 5, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CacheConfig::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CacheConfig::toArray": { + "line": 23, + "lineCount": 7, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 3, + "N1": 0, + "N2": 4, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CacheConfig::toArray" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CognitiveConfig::__construct": { + "line": 20, + "lineCount": 13, + "argCount": 10, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 10, + "N1": 0, + "N2": 10, + "programLength": 10, + "programVocabulary": 10, + "volume": 33.219280948873624, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CognitiveConfig::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CognitiveConfig::toArray": { + "line": 39, + "lineCount": 20, + "argCount": 0, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 10, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 14, + "N1": 3, + "N2": 27, + "programLength": 30, + "programVocabulary": 16, + "volume": 120, + "difficulty": 1.9285714285714286, + "effort": 231.42857142857144, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CognitiveConfig::toArray" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigFactory::fromArray": { + "line": 16, + "lineCount": 31, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 20, + "N1": 10, + "N2": 52, + "programLength": 62, + "programVocabulary": 23, + "volume": 280.4608412755348, + "difficulty": 3.9000000000000004, + "effort": 1093.7972809745859, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigFactory::fromArray" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigLoader::getCognitiveMetricDefaults": { + "line": 27, + "lineCount": 45, + "argCount": 0, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 8, + "N1": 0, + "N2": 16, + "programLength": 16, + "programVocabulary": 8, + "volume": 48, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigLoader::getCognitiveMetricDefaults" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigLoader::getConfigTreeBuilder": { + "line": 73, + "lineCount": 75, + "argCount": 0, + "returnCount": 2, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 24, + "N1": 68, + "N2": 29, + "programLength": 97, + "programVocabulary": 27, + "volume": 461.2240877098564, + "difficulty": 1.8125, + "effort": 835.9686589741148, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigLoader::getConfigTreeBuilder" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigService::__construct": { + "line": 20, + "lineCount": 6, + "argCount": 2, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 4, + "volume": 8, + "difficulty": 0.5, + "effort": 4, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigService::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigService::loadDefaultConfig": { + "line": 30, + "lineCount": 8, + "argCount": 0, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 3, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 5, + "N2": 6, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 3, + "effort": 85.30376252379816, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigService::loadDefaultConfig" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigService::loadConfig": { + "line": 42, + "lineCount": 9, + "argCount": 1, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 3, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 4, + "N1": 5, + "N2": 8, + "programLength": 13, + "programVocabulary": 7, + "volume": 36.49561398674886, + "difficulty": 3, + "effort": 109.48684196024658, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigService::loadConfig" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigService::getConfig": { + "line": 52, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigService::getConfig" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\MetricsConfig::__construct": { + "line": 12, + "lineCount": 6, + "argCount": 3, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 3, + "N1": 0, + "N2": 3, + "programLength": 3, + "programVocabulary": 3, + "volume": 4.754887502163468, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\MetricsConfig::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\MetricsConfig::toArray": { + "line": 24, + "lineCount": 8, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 3, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 4, + "N1": 0, + "N2": 6, + "programLength": 6, + "programVocabulary": 4, + "volume": 12, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\MetricsConfig::toArray" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::setAnnotationVisitor": { + "line": 63, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::setAnnotationVisitor" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::resetValues": { + "line": 68, + "lineCount": 12, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 9, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 9, + "N2": 15, + "programLength": 24, + "programVocabulary": 3, + "volume": 38.039100017307746, + "difficulty": 3.75, + "effort": 142.64662506490404, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::resetValues" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::resetAll": { + "line": 84, + "lineCount": 9, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 4, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 5, + "N2": 8, + "programLength": 13, + "programVocabulary": 4, + "volume": 26, + "difficulty": 4, + "effort": 104, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::resetAll" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::createMetricsArray": { + "line": 97, + "lineCount": 14, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 1, + "n2": 12, + "N1": 3, + "N2": 21, + "programLength": 24, + "programVocabulary": 13, + "volume": 88.81055323538621, + "difficulty": 0.875, + "effort": 77.70923408096293, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::createMetricsArray" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::isValidContext": { + "line": 115, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::isValidContext" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::buildMethodKey": { + "line": 123, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::buildMethodKey" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::classMethodOnEnterNode": { + "line": 128, + "lineCount": 20, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 3, + "ifNestingLevel": 2, + "elseCount": 0, + "ifCount": 3, + "cyclomatic_complexity": { + "complexity": 4, + "risk_level": "low" + }, + "halstead": { + "n1": 5, + "n2": 4, + "N1": 12, + "N2": 16, + "programLength": 28, + "programVocabulary": 9, + "volume": 88.75790004038474, + "difficulty": 10, + "effort": 887.5790004038474, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::classMethodOnEnterNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::isClassMethodNode": { + "line": 155, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::isClassMethodNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::initializeMethodContext": { + "line": 166, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 2, + "N2": 3, + "programLength": 5, + "programVocabulary": 4, + "volume": 10, + "difficulty": 1.5, + "effort": 15, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::initializeMethodContext" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::trackMethodArguments": { + "line": 177, + "lineCount": 8, + "argCount": 1, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 4, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "cyclomatic_complexity": { + "complexity": 3, + "risk_level": "low" + }, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 7, + "programLength": 9, + "programVocabulary": 5, + "volume": 20.89735285398626, + "difficulty": 2.3333333333333335, + "effort": 48.76048999263461, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::trackMethodArguments" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::isVariable": { + "line": 192, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::isVariable" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::calculateLineCount": { + "line": 203, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 3, + "n2": 2, + "N1": 4, + "N2": 4, + "programLength": 8, + "programVocabulary": 5, + "volume": 18.575424759098897, + "difficulty": 3, + "effort": 55.726274277296696, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::calculateLineCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::countMethodArguments": { + "line": 214, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 2, + "programLength": 3, + "programVocabulary": 2, + "volume": 3, + "difficulty": 1, + "effort": 3, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::countMethodArguments" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::setCurrentNamespaceOnEnterNode": { + "line": 219, + "lineCount": 6, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "cyclomatic_complexity": { + "complexity": 3, + "risk_level": "low" + }, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 6, + "programLength": 8, + "programVocabulary": 5, + "volume": 18.575424759098897, + "difficulty": 2, + "effort": 37.150849518197795, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::setCurrentNamespaceOnEnterNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::isClassOrTraitNode": { + "line": 229, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 1.5, + "effort": 6, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::isClassOrTraitNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::setCurrentClassOnEnterNode": { + "line": 234, + "lineCount": 22, + "argCount": 1, + "returnCount": 4, + "variableCount": 2, + "propertyCallCount": 4, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "cyclomatic_complexity": { + "complexity": 4, + "risk_level": "low" + }, + "halstead": { + "n1": 6, + "n2": 5, + "N1": 12, + "N2": 16, + "programLength": 28, + "programVocabulary": 11, + "volume": 96.86408532184433, + "difficulty": 9.600000000000001, + "effort": 929.8952190897057, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::setCurrentClassOnEnterNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::normalizeFqcn": { + "line": 261, + "lineCount": 8, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "cyclomatic_complexity": { + "complexity": 3, + "risk_level": "low" + }, + "halstead": { + "n1": 3, + "n2": 2, + "N1": 3, + "N2": 9, + "programLength": 12, + "programVocabulary": 5, + "volume": 27.863137138648348, + "difficulty": 6.75, + "effort": 188.07617568587634, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::normalizeFqcn" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::enterNode": { + "line": 270, + "lineCount": 16, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "cyclomatic_complexity": { + "complexity": 3, + "risk_level": "low" + }, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 3, + "volume": 22.189475010096185, + "difficulty": 2.5, + "effort": 55.473687525240464, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::enterNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::gatherMetrics": { + "line": 287, + "lineCount": 12, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 5, + "N2": 14, + "programLength": 19, + "programVocabulary": 3, + "volume": 30.114287513701967, + "difficulty": 3.5, + "effort": 105.40000629795688, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::gatherMetrics" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::incrementReturnCount": { + "line": 300, + "lineCount": 4, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::incrementReturnCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::countVariablesNotAlreadyTrackedAsArguments": { + "line": 326, + "lineCount": 6, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "cyclomatic_complexity": { + "complexity": 2, + "risk_level": "low" + }, + "halstead": { + "n1": 3, + "n2": 2, + "N1": 3, + "N2": 6, + "programLength": 9, + "programVocabulary": 5, + "volume": 20.89735285398626, + "difficulty": 4.5, + "effort": 94.03808784293817, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::countVariablesNotAlreadyTrackedAsArguments" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::trackPropertyFetch": { + "line": 333, + "lineCount": 15, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "cyclomatic_complexity": { + "complexity": 3, + "risk_level": "low" + }, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 3, + "N2": 9, + "programLength": 12, + "programVocabulary": 5, + "volume": 27.863137138648348, + "difficulty": 3, + "effort": 83.58941141594505, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::trackPropertyFetch" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::trackIfStatement": { + "line": 349, + "lineCount": 9, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "cyclomatic_complexity": { + "complexity": 2, + "risk_level": "low" + }, + "halstead": { + "n1": 2, + "n2": 1, + "N1": 2, + "N2": 6, + "programLength": 8, + "programVocabulary": 3, + "volume": 12.679700005769249, + "difficulty": 6, + "effort": 76.07820003461549, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::trackIfStatement" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::incrementElseCount": { + "line": 359, + "lineCount": 4, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::incrementElseCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::checkNestingLevelOnLeaveNode": { + "line": 364, + "lineCount": 6, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "cyclomatic_complexity": { + "complexity": 2, + "risk_level": "low" + }, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 3, + "programLength": 3, + "programVocabulary": 2, + "volume": 3, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::checkNestingLevelOnLeaveNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::writeMetricsOnLeaveNode": { + "line": 373, + "lineCount": 38, + "argCount": 1, + "returnCount": 3, + "variableCount": 2, + "propertyCallCount": 11, + "ifNestingLevel": 2, + "elseCount": 0, + "ifCount": 5, + "cyclomatic_complexity": { + "complexity": 6, + "risk_level": "medium" + }, + "halstead": { + "n1": 7, + "n2": 14, + "N1": 29, + "N2": 58, + "programLength": 87, + "programVocabulary": 21, + "volume": 382.1316157817522, + "difficulty": 14.500000000000002, + "effort": 5540.908428835408, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::writeMetricsOnLeaveNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::checkNameSpaceOnLeaveNode": { + "line": 412, + "lineCount": 6, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "cyclomatic_complexity": { + "complexity": 2, + "risk_level": "low" + }, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 4, + "programLength": 5, + "programVocabulary": 4, + "volume": 10, + "difficulty": 0.6666666666666666, + "effort": 6.666666666666666, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::checkNameSpaceOnLeaveNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::checkClassOnLeaveNode": { + "line": 419, + "lineCount": 11, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 2, + "elseCount": 0, + "ifCount": 2, + "cyclomatic_complexity": { + "complexity": 3, + "risk_level": "low" + }, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 6, + "programLength": 8, + "programVocabulary": 5, + "volume": 18.575424759098897, + "difficulty": 2, + "effort": 37.150849518197795, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::checkClassOnLeaveNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::leaveNode": { + "line": 431, + "lineCount": 7, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 4, + "N2": 9, + "programLength": 13, + "programVocabulary": 3, + "volume": 20.604512509375027, + "difficulty": 2.25, + "effort": 46.36015314609381, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::leaveNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::getMethodMetrics": { + "line": 439, + "lineCount": 13, + "argCount": 0, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "cyclomatic_complexity": { + "complexity": 3, + "risk_level": "low" + }, + "halstead": { + "n1": 4, + "n2": 6, + "N1": 8, + "N2": 15, + "programLength": 23, + "programVocabulary": 10, + "volume": 76.40434618240933, + "difficulty": 5, + "effort": 382.0217309120466, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::getMethodMetrics" + } + } + }, + "ignored_items": [], + "cached_at": 1759967602 +} \ No newline at end of file diff --git a/.phpcca.cache/60/60f2f9aba13a1c361e78b7850bb2c8f8.cache b/.phpcca.cache/60/60f2f9aba13a1c361e78b7850bb2c8f8.cache new file mode 100644 index 0000000..b335a7d --- /dev/null +++ b/.phpcca.cache/60/60f2f9aba13a1c361e78b7850bb2c8f8.cache @@ -0,0 +1,4400 @@ +{ + "version": "1.0", + "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/Business\/Cognitive\/Exporter\/HtmlExporter.php", + "file_mtime": 1759793045, + "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", + "analysis_result": { + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct": { + "line": 60, + "lineCount": 5, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 1, + "N1": 2, + "N2": 2, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 2, + "effort": 12.679700005769249, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices": { + "line": 66, + "lineCount": 95, + "argCount": 0, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 5, + "N1": 58, + "N2": 32, + "programLength": 90, + "programVocabulary": 9, + "volume": 285.2932501298081, + "difficulty": 12.8, + "effort": 3651.7536016615436, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap": { + "line": 162, + "lineCount": 10, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 7, + "N2": 7, + "programLength": 14, + "programVocabulary": 2, + "volume": 14, + "difficulty": 3.5, + "effort": 49, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors": { + "line": 173, + "lineCount": 12, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 3, + "N2": 1, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0.5, + "effort": 2, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus": { + "line": 186, + "lineCount": 19, + "argCount": 0, + "returnCount": 0, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 9, + "N2": 13, + "programLength": 22, + "programVocabulary": 7, + "volume": 61.76180828526729, + "difficulty": 2.6, + "effort": 160.58070154169496, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService": { + "line": 206, + "lineCount": 9, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 3, + "N2": 1, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0.5, + "effort": 2, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade": { + "line": 216, + "lineCount": 13, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 3, + "N2": 1, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0.5, + "effort": 2, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands": { + "line": 230, + "lineCount": 21, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 6, + "N2": 2, + "programLength": 8, + "programVocabulary": 2, + "volume": 8, + "difficulty": 1, + "effort": 8, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication": { + "line": 252, + "lineCount": 11, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 5, + "N2": 4, + "programLength": 9, + "programVocabulary": 4, + "volume": 18, + "difficulty": 0.6666666666666666, + "effort": 12, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run": { + "line": 264, + "lineCount": 9, + "argCount": 0, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 5, + "N2": 5, + "programLength": 10, + "programVocabulary": 4, + "volume": 20, + "difficulty": 2.5, + "effort": 50, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get": { + "line": 274, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer": { + "line": 279, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator": { + "line": 289, + "lineCount": 16, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 7, + "programLength": 8, + "programVocabulary": 4, + "volume": 16, + "difficulty": 1.1666666666666667, + "effort": 18.666666666666668, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create": { + "line": 18, + "lineCount": 7, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 4, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile": { + "line": 17, + "lineCount": 17, + "argCount": 2, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 8, + "N1": 11, + "N2": 19, + "programLength": 30, + "programVocabulary": 11, + "volume": 103.78294855911892, + "difficulty": 3.5625, + "effort": 369.72675424186116, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode": { + "line": 42, + "lineCount": 8, + "argCount": 3, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 3, + "N2": 8, + "programLength": 11, + "programVocabulary": 8, + "volume": 33, + "difficulty": 2.4000000000000004, + "effort": 79.20000000000002, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate": { + "line": 22, + "lineCount": 10, + "argCount": 2, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 6, + "N2": 13, + "programLength": 19, + "programVocabulary": 6, + "volume": 49.11428751370197, + "difficulty": 3.25, + "effort": 159.6214344195314, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending": { + "line": 37, + "lineCount": 8, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 2, + "N2": 9, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 2.25, + "effort": 63.97782189284862, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn": { + "line": 51, + "lineCount": 24, + "argCount": 2, + "returnCount": 1, + "variableCount": 6, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 15, + "N1": 17, + "N2": 46, + "programLength": 63, + "programVocabulary": 20, + "volume": 272.28146997790384, + "difficulty": 7.666666666666667, + "effort": 2087.491269830596, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses": { + "line": 81, + "lineCount": 20, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 2, + "n2": 7, + "N1": 10, + "N2": 24, + "programLength": 34, + "programVocabulary": 9, + "volume": 107.7774500490386, + "difficulty": 3.4285714285714284, + "effort": 369.52268588241805, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass": { + "line": 109, + "lineCount": 9, + "argCount": 2, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 6, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 10, + "volume": 49.82892142331043, + "difficulty": 3.3333333333333335, + "effort": 166.09640474436813, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel": { + "line": 126, + "lineCount": 16, + "argCount": 2, + "returnCount": 4, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 12, + "N1": 9, + "N2": 18, + "programLength": 27, + "programVocabulary": 15, + "volume": 105.48604608143, + "difficulty": 2.25, + "effort": 237.3436036832175, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile": { + "line": 14, + "lineCount": 6, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 2, + "N2": 5, + "programLength": 7, + "programVocabulary": 4, + "volume": 14, + "difficulty": 2.5, + "effort": 35, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable": { + "line": 24, + "lineCount": 11, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 10, + "N2": 12, + "programLength": 22, + "programVocabulary": 8, + "volume": 66, + "difficulty": 6, + "effort": 396, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create": { + "line": 21, + "lineCount": 11, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 7, + "N1": 0, + "N2": 9, + "programLength": 9, + "programVocabulary": 7, + "volume": 25.26619429851844, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes": { + "line": 38, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 6, + "N1": 0, + "N2": 6, + "programLength": 6, + "programVocabulary": 6, + "volume": 15.509775004326936, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported": { + "line": 49, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 2, + "N2": 3, + "programLength": 5, + "programVocabulary": 4, + "volume": 10, + "difficulty": 1.5, + "effort": 15, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export": { + "line": 30, + "lineCount": 23, + "argCount": 2, + "returnCount": 0, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 16, + "N1": 10, + "N2": 33, + "programLength": 43, + "programVocabulary": 20, + "volume": 185.8429080801566, + "difficulty": 4.125, + "effort": 766.601995830646, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export": { + "line": 28, + "lineCount": 8, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 6, + "volume": 36.18947501009619, + "difficulty": 2.5, + "effort": 90.47368752524048, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape": { + "line": 37, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber": { + "line": 42, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml": { + "line": 52, + "lineCount": 50, + "argCount": 1, + "returnCount": 1, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 12, + "N1": 11, + "N2": 25, + "programLength": 36, + "programVocabulary": 17, + "volume": 147.14866228501222, + "difficulty": 5.208333333333334, + "effort": 766.3992827344388, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export": { + "line": 17, + "lineCount": 13, + "argCount": 2, + "returnCount": 0, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 8, + "N1": 7, + "N2": 14, + "programLength": 21, + "programVocabulary": 12, + "volume": 75.28421251514428, + "difficulty": 3.5, + "effort": 263.49474380300495, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export": { + "line": 48, + "lineCount": 8, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 6, + "volume": 36.18947501009619, + "difficulty": 2.5, + "effort": 90.47368752524048, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown": { + "line": 61, + "lineCount": 24, + "argCount": 1, + "returnCount": 1, + "variableCount": 6, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 6, + "n2": 16, + "N1": 19, + "N2": 41, + "programLength": 60, + "programVocabulary": 22, + "volume": 267.56589711823784, + "difficulty": 7.6875, + "effort": 2056.9128340964535, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow": { + "line": 94, + "lineCount": 21, + "argCount": 3, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 7, + "n2": 18, + "N1": 16, + "N2": 39, + "programLength": 55, + "programVocabulary": 25, + "volume": 255.41209043760983, + "difficulty": 7.583333333333333, + "effort": 1936.8750191518745, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::__construct": { + "line": 26, + "lineCount": 4, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::export": { + "line": 36, + "lineCount": 10, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 8, + "volume": 45, + "difficulty": 5, + "effort": 225, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::generateSvgTreemap": { + "line": 53, + "lineCount": 20, + "argCount": 1, + "returnCount": 1, + "variableCount": 6, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 8, + "N1": 9, + "N2": 20, + "programLength": 29, + "programVocabulary": 10, + "volume": 96.3359147517335, + "difficulty": 2.5, + "effort": 240.83978687933376, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::generateSvgTreemap" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRects": { + "line": 82, + "lineCount": 10, + "argCount": 3, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 9, + "N1": 6, + "N2": 18, + "programLength": 24, + "programVocabulary": 12, + "volume": 86.03910001730775, + "difficulty": 3, + "effort": 258.1173000519232, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRects" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRect": { + "line": 100, + "lineCount": 29, + "argCount": 2, + "returnCount": 1, + "variableCount": 12, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 6, + "n2": 28, + "N1": 26, + "N2": 54, + "programLength": 80, + "programVocabulary": 34, + "volume": 406.9970273000271, + "difficulty": 5.785714285714286, + "effort": 2354.7685150930142, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRect" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::wrapSvg": { + "line": 136, + "lineCount": 21, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 2, + "N2": 8, + "programLength": 10, + "programVocabulary": 4, + "volume": 20, + "difficulty": 1.3333333333333333, + "effort": 26.666666666666664, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::wrapSvg" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::prepareItems": { + "line": 28, + "lineCount": 18, + "argCount": 1, + "returnCount": 1, + "variableCount": 7, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 12, + "N1": 9, + "N2": 30, + "programLength": 39, + "programVocabulary": 17, + "volume": 159.41105080876324, + "difficulty": 6.25, + "effort": 996.3190675547702, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::prepareItems" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findScoreRange": { + "line": 53, + "lineCount": 16, + "argCount": 1, + "returnCount": 3, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 7, + "N2": 13, + "programLength": 20, + "programVocabulary": 8, + "volume": 60, + "difficulty": 3.9000000000000004, + "effort": 234.00000000000003, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findScoreRange" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::normalizeScore": { + "line": 78, + "lineCount": 8, + "argCount": 3, + "returnCount": 2, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 8, + "volume": 45, + "difficulty": 5, + "effort": 225, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::normalizeScore" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::scoreToColor": { + "line": 93, + "lineCount": 9, + "argCount": 1, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 5, + "n2": 9, + "N1": 12, + "N2": 16, + "programLength": 28, + "programVocabulary": 14, + "volume": 106.60593781761291, + "difficulty": 4.444444444444445, + "effort": 473.80416807827964, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::scoreToColor" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::calculateTreemapLayout": { + "line": 115, + "lineCount": 23, + "argCount": 7, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 9, + "N1": 2, + "N2": 18, + "programLength": 20, + "programVocabulary": 11, + "volume": 69.18863237274594, + "difficulty": 2, + "effort": 138.37726474549189, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::calculateTreemapLayout" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::layoutTreemap": { + "line": 152, + "lineCount": 89, + "argCount": 8, + "returnCount": 3, + "variableCount": 11, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 8, + "n2": 28, + "N1": 32, + "N2": 98, + "programLength": 130, + "programVocabulary": 36, + "volume": 672.0902501875006, + "difficulty": 14, + "effort": 9409.263502625008, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::layoutTreemap" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findSplitIndex": { + "line": 249, + "lineCount": 13, + "argCount": 2, + "returnCount": 2, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 7, + "n2": 10, + "N1": 9, + "N2": 23, + "programLength": 32, + "programVocabulary": 17, + "volume": 130.79881092001085, + "difficulty": 8.049999999999999, + "effort": 1052.9304279060873, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findSplitIndex" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::__construct": { + "line": 23, + "lineCount": 18, + "argCount": 1, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 7, + "N2": 11, + "programLength": 18, + "programVocabulary": 6, + "volume": 46.529325012980806, + "difficulty": 5.5, + "effort": 255.91128757139444, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::getAllClasses": { + "line": 47, + "lineCount": 17, + "argCount": 0, + "returnCount": 2, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 6, + "N2": 12, + "programLength": 18, + "programVocabulary": 9, + "volume": 57.05865002596162, + "difficulty": 3, + "effort": 171.17595007788486, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::getAllClasses" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::withClassNode": { + "line": 73, + "lineCount": 8, + "argCount": 2, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 4, + "N2": 8, + "programLength": 12, + "programVocabulary": 8, + "volume": 36, + "difficulty": 4, + "effort": 144, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::withClassNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::findClassNode": { + "line": 85, + "lineCount": 25, + "argCount": 1, + "returnCount": 4, + "variableCount": 5, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 13, + "N2": 29, + "programLength": 42, + "programVocabulary": 11, + "volume": 145.29612798276648, + "difficulty": 8.285714285714286, + "effort": 1203.8822032857795, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::findClassNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::escapeXPathValue": { + "line": 114, + "lineCount": 16, + "argCount": 1, + "returnCount": 3, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 9, + "N1": 11, + "N2": 18, + "programLength": 29, + "programVocabulary": 13, + "volume": 107.31275182609167, + "difficulty": 4, + "effort": 429.2510073043667, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::escapeXPathValue" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getLineCoverage": { + "line": 22, + "lineCount": 18, + "argCount": 1, + "returnCount": 4, + "variableCount": 5, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 9, + "N1": 10, + "N2": 19, + "programLength": 29, + "programVocabulary": 13, + "volume": 107.31275182609167, + "difficulty": 4.222222222222222, + "effort": 453.09828548794263, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getLineCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getBranchCoverage": { + "line": 48, + "lineCount": 18, + "argCount": 1, + "returnCount": 4, + "variableCount": 5, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 9, + "N1": 10, + "N2": 19, + "programLength": 29, + "programVocabulary": 13, + "volume": 107.31275182609167, + "difficulty": 4.222222222222222, + "effort": 453.09828548794263, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getBranchCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getComplexity": { + "line": 73, + "lineCount": 13, + "argCount": 1, + "returnCount": 3, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 7, + "N2": 14, + "programLength": 21, + "programVocabulary": 11, + "volume": 72.64806399138324, + "difficulty": 4, + "effort": 290.59225596553296, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getComplexity" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getCoverageDetails": { + "line": 93, + "lineCount": 26, + "argCount": 1, + "returnCount": 3, + "variableCount": 9, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 17, + "N1": 22, + "N2": 42, + "programLength": 64, + "programVocabulary": 22, + "volume": 285.403623592787, + "difficulty": 6.176470588235294, + "effort": 1762.7870868966259, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getCoverageDetails" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getMetricsNode": { + "line": 123, + "lineCount": 12, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 6, + "N1": 7, + "N2": 13, + "programLength": 20, + "programVocabulary": 10, + "volume": 66.43856189774725, + "difficulty": 4.333333333333333, + "effort": 287.90043489023805, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getMetricsNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getFilenameForClass": { + "line": 139, + "lineCount": 9, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 5, + "N1": 4, + "N2": 9, + "programLength": 13, + "programVocabulary": 9, + "volume": 41.209025018750054, + "difficulty": 3.6, + "effort": 148.3524900675002, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getFilenameForClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodsCoverage": { + "line": 154, + "lineCount": 36, + "argCount": 1, + "returnCount": 3, + "variableCount": 8, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 13, + "N1": 12, + "N2": 30, + "programLength": 42, + "programVocabulary": 16, + "volume": 168, + "difficulty": 3.4615384615384612, + "effort": 581.5384615384614, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodsCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::calculateMethodCoverage": { + "line": 194, + "lineCount": 15, + "argCount": 2, + "returnCount": 2, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 11, + "N1": 9, + "N2": 23, + "programLength": 32, + "programVocabulary": 16, + "volume": 128, + "difficulty": 5.227272727272727, + "effort": 669.090909090909, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::calculateMethodCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodCoverageFromLines": { + "line": 215, + "lineCount": 36, + "argCount": 2, + "returnCount": 1, + "variableCount": 7, + "propertyCallCount": 0, + "ifNestingLevel": 2, + "elseCount": 0, + "ifCount": 5, + "halstead": { + "n1": 2, + "n2": 14, + "N1": 12, + "N2": 35, + "programLength": 47, + "programVocabulary": 16, + "volume": 188, + "difficulty": 2.5, + "effort": 470, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodCoverageFromLines" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStart": { + "line": 252, + "lineCount": 4, + "argCount": 3, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 3, + "N2": 7, + "programLength": 10, + "programVocabulary": 6, + "volume": 25.84962500721156, + "difficulty": 1.75, + "effort": 45.23684376262023, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStart" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodEnd": { + "line": 257, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 5, + "programLength": 7, + "programVocabulary": 5, + "volume": 16.253496664211536, + "difficulty": 1.6666666666666667, + "effort": 27.089161107019226, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodEnd" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStatement": { + "line": 262, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 5, + "programLength": 7, + "programVocabulary": 5, + "volume": 16.253496664211536, + "difficulty": 1.6666666666666667, + "effort": 27.089161107019226, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStatement" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isStatementCovered": { + "line": 267, + "lineCount": 5, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 4, + "N1": 3, + "N2": 6, + "programLength": 9, + "programVocabulary": 7, + "volume": 25.26619429851844, + "difficulty": 2.25, + "effort": 56.848937171666485, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isStatementCovered" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getLineCoverage": { + "line": 20, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 9, + "volume": 44.37895002019237, + "difficulty": 2.5, + "effort": 110.94737505048093, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getLineCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getBranchCoverage": { + "line": 34, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 9, + "volume": 44.37895002019237, + "difficulty": 2.5, + "effort": 110.94737505048093, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getBranchCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getComplexity": { + "line": 48, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 9, + "volume": 44.37895002019237, + "difficulty": 2.5, + "effort": 110.94737505048093, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getComplexity" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getCoverageDetails": { + "line": 62, + "lineCount": 13, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 8, + "N1": 7, + "N2": 16, + "programLength": 23, + "programVocabulary": 9, + "volume": 72.90827503317318, + "difficulty": 1, + "effort": 72.90827503317318, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getCoverageDetails" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::extractMethodsCoverage": { + "line": 81, + "lineCount": 23, + "argCount": 1, + "returnCount": 2, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 11, + "N1": 10, + "N2": 23, + "programLength": 33, + "programVocabulary": 14, + "volume": 125.64271242790093, + "difficulty": 3.1363636363636362, + "effort": 394.061234432962, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::extractMethodsCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CodeCoverageFactory::createFromName": { + "line": 14, + "lineCount": 8, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 4, + "N1": 1, + "N2": 8, + "programLength": 9, + "programVocabulary": 5, + "volume": 20.89735285398626, + "difficulty": 1, + "effort": 20.89735285398626, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CodeCoverageFactory::createFromName" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::__construct": { + "line": 28, + "lineCount": 15, + "argCount": 6, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 6, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 7, + "N1": 6, + "N2": 18, + "programLength": 24, + "programVocabulary": 8, + "volume": 72, + "difficulty": 1.2857142857142858, + "effort": 92.57142857142858, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getName": { + "line": 44, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getName" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getFilename": { + "line": 49, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getFilename" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getLineRate": { + "line": 54, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getLineRate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getBranchRate": { + "line": 59, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getBranchRate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getComplexity": { + "line": 64, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getComplexity" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getMethods": { + "line": 72, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getMethods" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::__construct": { + "line": 17, + "lineCount": 11, + "argCount": 4, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 4, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 5, + "N1": 4, + "N2": 12, + "programLength": 16, + "programVocabulary": 6, + "volume": 41.3594000115385, + "difficulty": 1.2, + "effort": 49.631280013846194, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getName": { + "line": 29, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getName" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getLineRate": { + "line": 34, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getLineRate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getBranchRate": { + "line": 39, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getBranchRate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getComplexity": { + "line": 44, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getComplexity" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::calculateDeltas": { + "line": 19, + "lineCount": 14, + "argCount": 2, + "returnCount": 0, + "variableCount": 6, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 9, + "N1": 4, + "N2": 18, + "programLength": 22, + "programVocabulary": 11, + "volume": 76.10749561002054, + "difficulty": 2, + "effort": 152.21499122004107, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::calculateDeltas" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::loadBaseline": { + "line": 41, + "lineCount": 13, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 5, + "N2": 9, + "programLength": 14, + "programVocabulary": 8, + "volume": 42, + "difficulty": 2.7, + "effort": 113.4, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::loadBaseline" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::__construct": { + "line": 72, + "lineCount": 21, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 6, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 9, + "N1": 12, + "N2": 34, + "programLength": 46, + "programVocabulary": 12, + "volume": 164.90827503317317, + "difficulty": 5.666666666666666, + "effort": 934.4802251879812, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setRequiredMetricProperties": { + "line": 98, + "lineCount": 30, + "argCount": 1, + "returnCount": 0, + "variableCount": 6, + "propertyCallCount": 9, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 21, + "N1": 21, + "N2": 51, + "programLength": 72, + "programVocabulary": 24, + "volume": 330.1173000519232, + "difficulty": 3.6428571428571423, + "effort": 1202.570164474863, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setRequiredMetricProperties" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setOptionalMetricProperties": { + "line": 133, + "lineCount": 12, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 8, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 11, + "N1": 16, + "N2": 33, + "programLength": 49, + "programVocabulary": 13, + "volume": 181.32154618891352, + "difficulty": 3, + "effort": 543.9646385667405, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setOptionalMetricProperties" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setTimesChanged": { + "line": 146, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setTimesChanged" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertSame": { + "line": 151, + "lineCount": 14, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 6, + "N2": 8, + "programLength": 14, + "programVocabulary": 5, + "volume": 32.50699332842307, + "difficulty": 2.6666666666666665, + "effort": 86.68531554246152, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertSame" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::calculateDeltas": { + "line": 169, + "lineCount": 13, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 16, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 17, + "N2": 27, + "programLength": 44, + "programVocabulary": 4, + "volume": 88, + "difficulty": 13.5, + "effort": 1188, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::calculateDeltas" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::fromArray": { + "line": 187, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::fromArray" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertArrayKeyIsPresent": { + "line": 197, + "lineCount": 6, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 5, + "programLength": 5, + "programVocabulary": 2, + "volume": 5, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertArrayKeyIsPresent" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getClass": { + "line": 204, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getMethod": { + "line": 209, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getMethod" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCount": { + "line": 214, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCount": { + "line": 219, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCount": { + "line": 224, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCount": { + "line": 229, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCount": { + "line": 234, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCount": { + "line": 239, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevel": { + "line": 244, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevel" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCount": { + "line": 249, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeight": { + "line": 254, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setLineCountWeight": { + "line": 259, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setLineCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeight": { + "line": 264, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setArgCountWeight": { + "line": 269, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setArgCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeight": { + "line": 274, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setReturnCountWeight": { + "line": 279, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setReturnCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeight": { + "line": 284, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setVariableCountWeight": { + "line": 289, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setVariableCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeight": { + "line": 294, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setPropertyCallCountWeight": { + "line": 299, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setPropertyCallCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeight": { + "line": 304, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfCountWeight": { + "line": 309, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeight": { + "line": 314, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfNestingLevelWeight": { + "line": 319, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfNestingLevelWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeight": { + "line": 324, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setElseCountWeight": { + "line": 329, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setElseCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setScore": { + "line": 334, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setScore" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getScore": { + "line": 339, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getScore" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setCoverage": { + "line": 344, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCoverage": { + "line": 349, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeightDelta": { + "line": 354, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeightDelta": { + "line": 359, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeightDelta": { + "line": 364, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeightDelta": { + "line": 369, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeightDelta": { + "line": 374, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeightDelta": { + "line": 379, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeightDelta": { + "line": 384, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeightDelta": { + "line": 389, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getTimesChanged": { + "line": 394, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 2, + "programLength": 3, + "programVocabulary": 3, + "volume": 4.754887502163468, + "difficulty": 0.5, + "effort": 2.377443751081734, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getTimesChanged" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getFileName": { + "line": 399, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getFileName" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLine": { + "line": 404, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLine" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::equals": { + "line": 409, + "lineCount": 5, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 2, + "N1": 5, + "N2": 5, + "programLength": 10, + "programVocabulary": 5, + "volume": 23.21928094887362, + "difficulty": 3.75, + "effort": 87.07230355827608, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::equals" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::toArray": { + "line": 418, + "lineCount": 34, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 29, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 30, + "N1": 0, + "N2": 58, + "programLength": 58, + "programVocabulary": 30, + "volume": 284.5996545452941, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::toArray" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::jsonSerialize": { + "line": 456, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::jsonSerialize" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getHalstead": { + "line": 464, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getHalstead" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCyclomatic": { + "line": 472, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCyclomatic" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::add": { + "line": 30, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 5, + "N2": 6, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 3, + "effort": 85.30376252379816, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::add" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filter": { + "line": 40, + "lineCount": 11, + "argCount": 1, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 8, + "volume": 42, + "difficulty": 3, + "effort": 126, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filter" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getIterator": { + "line": 57, + "lineCount": 5, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getIterator" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::count": { + "line": 66, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::count" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterWithScoreGreaterThan": { + "line": 71, + "lineCount": 6, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 3, + "N2": 6, + "programLength": 9, + "programVocabulary": 5, + "volume": 20.89735285398626, + "difficulty": 2, + "effort": 41.79470570797252, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterWithScoreGreaterThan" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::contains": { + "line": 78, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 4, + "N2": 5, + "programLength": 9, + "programVocabulary": 5, + "volume": 20.89735285398626, + "difficulty": 1.6666666666666667, + "effort": 34.82892142331043, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::contains" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getClassWithMethod": { + "line": 83, + "lineCount": 9, + "argCount": 2, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 3, + "N2": 10, + "programLength": 13, + "programVocabulary": 7, + "volume": 36.49561398674886, + "difficulty": 2, + "effort": 72.99122797349771, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getClassWithMethod" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterByClassName": { + "line": 93, + "lineCount": 6, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 3, + "N2": 6, + "programLength": 9, + "programVocabulary": 5, + "volume": 20.89735285398626, + "difficulty": 2, + "effort": 41.79470570797252, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterByClassName" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::assertMetricHasGetter": { + "line": 100, + "lineCount": 9, + "argCount": 3, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 6, + "programLength": 7, + "programVocabulary": 4, + "volume": 14, + "difficulty": 1, + "effort": 14, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::assertMetricHasGetter" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::groupBy": { + "line": 117, + "lineCount": 20, + "argCount": 1, + "returnCount": 1, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 10, + "N2": 23, + "programLength": 33, + "programVocabulary": 11, + "volume": 114.16124341503081, + "difficulty": 6.571428571428571, + "effort": 750.2024567273453, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::groupBy" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::jsonSerialize": { + "line": 141, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::jsonSerialize" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::__construct": { + "line": 32, + "lineCount": 8, + "argCount": 5, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 5, + "N1": 0, + "N2": 5, + "programLength": 5, + "programVocabulary": 5, + "volume": 11.60964047443681, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collect": { + "line": 49, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 5, + "programLength": 6, + "programVocabulary": 4, + "volume": 12, + "difficulty": 0.8333333333333334, + "effort": 10, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collect" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collectFromPaths": { + "line": 62, + "lineCount": 13, + "argCount": 2, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 8, + "N2": 16, + "programLength": 24, + "programVocabulary": 9, + "volume": 76.07820003461549, + "difficulty": 4, + "effort": 304.31280013846197, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collectFromPaths" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCodeFromFile": { + "line": 79, + "lineCount": 10, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 2, + "N1": 5, + "N2": 6, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 6, + "effort": 170.6075250475963, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCodeFromFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findMetrics": { + "line": 98, + "lineCount": 31, + "argCount": 1, + "returnCount": 1, + "variableCount": 9, + "propertyCallCount": 2, + "ifNestingLevel": 2, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 13, + "N1": 18, + "N2": 38, + "programLength": 56, + "programVocabulary": 16, + "volume": 224, + "difficulty": 4.384615384615384, + "effort": 982.1538461538461, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findMetrics" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processMethodMetrics": { + "line": 136, + "lineCount": 29, + "argCount": 3, + "returnCount": 1, + "variableCount": 7, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 14, + "N1": 8, + "N2": 27, + "programLength": 35, + "programVocabulary": 17, + "volume": 143.06119944376186, + "difficulty": 2.892857142857143, + "effort": 413.8556126765968, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processMethodMetrics" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::isExcluded": { + "line": 166, + "lineCount": 12, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 5, + "N1": 5, + "N2": 9, + "programLength": 14, + "programVocabulary": 9, + "volume": 44.37895002019237, + "difficulty": 3.6, + "effort": 159.76422007269252, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::isExcluded" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findSourceFiles": { + "line": 187, + "lineCount": 7, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 2, + "N2": 6, + "programLength": 8, + "programVocabulary": 6, + "volume": 20.67970000576925, + "difficulty": 1.5, + "effort": 31.019550008653873, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findSourceFiles" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getProjectRoot": { + "line": 202, + "lineCount": 13, + "argCount": 0, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 2, + "N1": 8, + "N2": 8, + "programLength": 16, + "programVocabulary": 6, + "volume": 41.3594000115385, + "difficulty": 8, + "effort": 330.875200092308, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getProjectRoot" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateCacheKey": { + "line": 219, + "lineCount": 7, + "argCount": 2, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 6, + "N1": 10, + "N2": 12, + "programLength": 22, + "programVocabulary": 10, + "volume": 73.08241808752197, + "difficulty": 4, + "effort": 292.3296723500879, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateCacheKey" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateConfigHash": { + "line": 230, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 1, + "N1": 3, + "N2": 2, + "programLength": 5, + "programVocabulary": 3, + "volume": 7.92481250360578, + "difficulty": 2, + "effort": 15.84962500721156, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateConfigHash" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::cacheResult": { + "line": 239, + "lineCount": 14, + "argCount": 4, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 13, + "N1": 5, + "N2": 20, + "programLength": 25, + "programVocabulary": 15, + "volume": 97.67226489021297, + "difficulty": 1.5384615384615385, + "effort": 150.26502290801997, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::cacheResult" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::clearCache": { + "line": 254, + "lineCount": 4, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::clearCache" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::normalizeFilename": { + "line": 264, + "lineCount": 15, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 6, + "n2": 7, + "N1": 12, + "N2": 16, + "programLength": 28, + "programVocabulary": 13, + "volume": 103.61231210795059, + "difficulty": 6.857142857142857, + "effort": 710.4844258830897, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::normalizeFilename" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCachedMetrics": { + "line": 286, + "lineCount": 19, + "argCount": 3, + "returnCount": 3, + "variableCount": 4, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 11, + "N1": 10, + "N2": 29, + "programLength": 39, + "programVocabulary": 14, + "volume": 148.48684196024655, + "difficulty": 3.954545454545454, + "effort": 587.1979659337022, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCachedMetrics" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processFile": { + "line": 312, + "lineCount": 37, + "argCount": 5, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 7, + "n2": 10, + "N1": 12, + "N2": 28, + "programLength": 40, + "programVocabulary": 17, + "volume": 163.49851365001356, + "difficulty": 9.799999999999999, + "effort": 1602.2854337701328, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::sort": { + "line": 51, + "lineCount": 41, + "argCount": 3, + "returnCount": 2, + "variableCount": 10, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 18, + "N1": 20, + "N2": 43, + "programLength": 63, + "programVocabulary": 22, + "volume": 280.9441919741497, + "difficulty": 4.777777777777778, + "effort": 1342.2889172098264, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::sort" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getFieldValue": { + "line": 100, + "lineCount": 28, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 25, + "N1": 24, + "N2": 50, + "programLength": 74, + "programVocabulary": 27, + "volume": 351.86167516009664, + "difficulty": 2, + "effort": 703.7233503201933, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getFieldValue" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::compareValues": { + "line": 136, + "lineCount": 13, + "argCount": 2, + "returnCount": 3, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 2, + "N1": 9, + "N2": 12, + "programLength": 21, + "programVocabulary": 5, + "volume": 48.760489992634604, + "difficulty": 9, + "effort": 438.8444099337114, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::compareValues" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getSortableFields": { + "line": 155, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 0, + "N1": 0, + "N2": 0, + "programLength": 0, + "programVocabulary": 0, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getSortableFields" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__construct": { + "line": 15, + "lineCount": 11, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 7, + "N2": 12, + "programLength": 19, + "programVocabulary": 6, + "volume": 49.11428751370197, + "difficulty": 6, + "effort": 294.6857250822118, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::getValue": { + "line": 27, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::getValue" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasIncreased": { + "line": 32, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasIncreased" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__toString": { + "line": 37, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__toString" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasNotChanged": { + "line": 42, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 2, + "programLength": 3, + "programVocabulary": 3, + "volume": 4.754887502163468, + "difficulty": 0.5, + "effort": 2.377443751081734, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasNotChanged" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\FileProcessed::__construct": { + "line": 14, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\FileProcessed::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\ParserFailed::__construct": { + "line": 15, + "lineCount": 5, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\ParserFailed::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\SourceFilesFound::__construct": { + "line": 17, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\SourceFilesFound::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::__construct": { + "line": 15, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::create": { + "line": 27, + "lineCount": 10, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 6, + "N1": 0, + "N2": 8, + "programLength": 8, + "programVocabulary": 6, + "volume": 20.67970000576925, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::create" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::getSupportedTypes": { + "line": 43, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 4, + "N1": 0, + "N2": 4, + "programLength": 4, + "programVocabulary": 4, + "volume": 8, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::getSupportedTypes" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::isSupported": { + "line": 54, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 2, + "N2": 3, + "programLength": 5, + "programVocabulary": 4, + "volume": 10, + "difficulty": 1.5, + "effort": 15, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::isSupported" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CsvExporter::export": { + "line": 46, + "lineCount": 57, + "argCount": 2, + "returnCount": 0, + "variableCount": 6, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 15, + "N1": 37, + "N2": 54, + "programLength": 91, + "programVocabulary": 19, + "volume": 386.56140372336625, + "difficulty": 7.2, + "effort": 2783.242106808237, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CsvExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::export": { + "line": 40, + "lineCount": 8, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "cyclomatic_complexity": { + "complexity": 2, + "risk_level": "low" + }, + "halstead": { + "n1": 4, + "n2": 5, + "N1": 4, + "N2": 8, + "programLength": 12, + "programVocabulary": 9, + "volume": 38.039100017307746, + "difficulty": 3.2, + "effort": 121.72512005538479, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::escape": { + "line": 49, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::escape" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::formatNumber": { + "line": 54, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::formatNumber" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::generateMetricRow": { + "line": 59, + "lineCount": 12, + "argCount": 3, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "cyclomatic_complexity": { + "complexity": 3, + "risk_level": "low" + }, + "halstead": { + "n1": 5, + "n2": 16, + "N1": 19, + "N2": 27, + "programLength": 46, + "programVocabulary": 21, + "volume": 202.04660144782298, + "difficulty": 4.21875, + "effort": 852.3840998580032, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::generateMetricRow" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::generateHtml": { + "line": 78, + "lineCount": 64, + "argCount": 1, + "returnCount": 1, + "variableCount": 7, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "cyclomatic_complexity": { + "complexity": 5, + "risk_level": "low" + }, + "halstead": { + "n1": 4, + "n2": 11, + "N1": 46, + "N2": 57, + "programLength": 103, + "programVocabulary": 15, + "volume": 402.40973134767745, + "difficulty": 10.363636363636363, + "effort": 4170.42812487593, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::generateHtml" + } + } + }, + "ignored_items": [], + "cached_at": 1759967601 +} \ No newline at end of file diff --git a/.phpcca.cache/61/61ae7eaf2b7441f3ac1ec0a306c52300.cache b/.phpcca.cache/61/61ae7eaf2b7441f3ac1ec0a306c52300.cache new file mode 100644 index 0000000..29a2ac0 --- /dev/null +++ b/.phpcca.cache/61/61ae7eaf2b7441f3ac1ec0a306c52300.cache @@ -0,0 +1,2364 @@ +{ + "version": "1.0", + "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/Config\/CacheConfig.php", + "file_mtime": 1759965497, + "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", + "analysis_result": { + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::__construct": { + "line": 26, + "lineCount": 5, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 4, + "N1": 3, + "N2": 6, + "programLength": 9, + "programVocabulary": 7, + "volume": 25.26619429851844, + "difficulty": 2.25, + "effort": 56.848937171666485, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItem": { + "line": 35, + "lineCount": 15, + "argCount": 1, + "returnCount": 3, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 6, + "N2": 13, + "programLength": 19, + "programVocabulary": 8, + "volume": 57, + "difficulty": 6.5, + "effort": 370.5, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItem" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItems": { + "line": 55, + "lineCount": 9, + "argCount": 1, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 3, + "N2": 9, + "programLength": 12, + "programVocabulary": 6, + "volume": 31.019550008653873, + "difficulty": 2.25, + "effort": 69.79398751947122, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItems" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::hasItem": { + "line": 68, + "lineCount": 6, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 5, + "n2": 3, + "N1": 6, + "N2": 7, + "programLength": 13, + "programVocabulary": 8, + "volume": 39, + "difficulty": 5.833333333333334, + "effort": 227.50000000000003, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::hasItem" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::clear": { + "line": 75, + "lineCount": 10, + "argCount": 0, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 2, + "N2": 4, + "programLength": 6, + "programVocabulary": 3, + "volume": 9.509775004326936, + "difficulty": 1, + "effort": 9.509775004326936, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::clear" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItem": { + "line": 89, + "lineCount": 10, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 4, + "N2": 6, + "programLength": 10, + "programVocabulary": 6, + "volume": 25.84962500721156, + "difficulty": 3, + "effort": 77.54887502163469, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItem" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItems": { + "line": 103, + "lineCount": 10, + "argCount": 1, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 3, + "N2": 8, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 2, + "effort": 56.86917501586544, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItems" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::save": { + "line": 117, + "lineCount": 11, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 4, + "N1": 9, + "N2": 12, + "programLength": 21, + "programVocabulary": 7, + "volume": 58.95445336320969, + "difficulty": 4.5, + "effort": 265.2950401344436, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::save" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveDeferred": { + "line": 129, + "lineCount": 6, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveDeferred" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::commit": { + "line": 136, + "lineCount": 11, + "argCount": 0, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 4, + "N2": 8, + "programLength": 12, + "programVocabulary": 5, + "volume": 27.863137138648348, + "difficulty": 2.6666666666666665, + "effort": 74.30169903639559, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::commit" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::ensureCacheDirectory": { + "line": 152, + "lineCount": 9, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 3, + "N2": 4, + "programLength": 7, + "programVocabulary": 4, + "volume": 14, + "difficulty": 2, + "effort": 28, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::ensureCacheDirectory" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getCacheFilePath": { + "line": 168, + "lineCount": 15, + "argCount": 1, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 10, + "N1": 13, + "N2": 19, + "programLength": 32, + "programVocabulary": 14, + "volume": 121.83535750584333, + "difficulty": 3.8, + "effort": 462.9743585222046, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getCacheFilePath" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::loadCacheData": { + "line": 187, + "lineCount": 14, + "argCount": 1, + "returnCount": 3, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 6, + "N2": 8, + "programLength": 14, + "programVocabulary": 6, + "volume": 36.18947501009619, + "difficulty": 4, + "effort": 144.75790004038475, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::loadCacheData" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveCacheData": { + "line": 209, + "lineCount": 21, + "argCount": 2, + "returnCount": 3, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 6, + "n2": 7, + "N1": 13, + "N2": 17, + "programLength": 30, + "programVocabulary": 13, + "volume": 111.01319154423277, + "difficulty": 7.285714285714285, + "effort": 808.810395536553, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveCacheData" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::sanitizeUtf8": { + "line": 234, + "lineCount": 25, + "argCount": 1, + "returnCount": 4, + "variableCount": 6, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 8, + "N1": 13, + "N2": 29, + "programLength": 42, + "programVocabulary": 11, + "volume": 145.29612798276648, + "difficulty": 5.4375, + "effort": 790.0476959062927, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::sanitizeUtf8" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::removeDirectory": { + "line": 260, + "lineCount": 23, + "argCount": 1, + "returnCount": 2, + "variableCount": 5, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 5, + "n2": 9, + "N1": 13, + "N2": 20, + "programLength": 33, + "programVocabulary": 14, + "volume": 125.64271242790093, + "difficulty": 5.555555555555555, + "effort": 698.0150690438941, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::removeDirectory" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::__construct": { + "line": 42, + "lineCount": 7, + "argCount": 3, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 3, + "N1": 0, + "N2": 3, + "programLength": 3, + "programVocabulary": 3, + "volume": 4.754887502163468, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::configure": { + "line": 53, + "lineCount": 57, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 15, + "N1": 9, + "N2": 16, + "programLength": 25, + "programVocabulary": 16, + "volume": 100, + "difficulty": 0.5333333333333333, + "effort": 53.333333333333336, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::configure" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::execute": { + "line": 119, + "lineCount": 43, + "argCount": 2, + "returnCount": 5, + "variableCount": 9, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 4, + "halstead": { + "n1": 7, + "n2": 14, + "N1": 31, + "N2": 45, + "programLength": 76, + "programVocabulary": 21, + "volume": 333.8161241311858, + "difficulty": 11.25, + "effort": 3755.4313964758403, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::execute" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::loadCoverageReader": { + "line": 171, + "lineCount": 32, + "argCount": 3, + "returnCount": 4, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 2, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 4, + "n2": 9, + "N1": 9, + "N2": 21, + "programLength": 30, + "programVocabulary": 13, + "volume": 111.01319154423277, + "difficulty": 4.666666666666667, + "effort": 518.0615605397529, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::loadCoverageReader" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::detectCoverageFormat": { + "line": 207, + "lineCount": 19, + "argCount": 1, + "returnCount": 4, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 9, + "volume": 47.548875021634686, + "difficulty": 2.5, + "effort": 118.87218755408671, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::detectCoverageFormat" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::coverageFileExists": { + "line": 227, + "lineCount": 20, + "argCount": 2, + "returnCount": 3, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 4, + "N2": 7, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 3.5, + "effort": 99.52105627776452, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::coverageFileExists" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::__construct": { + "line": 49, + "lineCount": 10, + "argCount": 6, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 6, + "N1": 0, + "N2": 6, + "programLength": 6, + "programVocabulary": 6, + "volume": 15.509775004326936, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::configure": { + "line": 63, + "lineCount": 76, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 20, + "N1": 13, + "N2": 20, + "programLength": 33, + "programVocabulary": 21, + "volume": 144.94647495169912, + "difficulty": 0.5, + "effort": 72.47323747584956, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::configure" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::execute": { + "line": 150, + "lineCount": 52, + "argCount": 2, + "returnCount": 5, + "variableCount": 11, + "propertyCallCount": 6, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 7, + "halstead": { + "n1": 6, + "n2": 15, + "N1": 43, + "N2": 61, + "programLength": 104, + "programVocabulary": 21, + "volume": 456.80101196899113, + "difficulty": 12.2, + "effort": 5572.972346021692, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::execute" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::parsePaths": { + "line": 209, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 4, + "N2": 8, + "programLength": 12, + "programVocabulary": 7, + "volume": 33.68825906469125, + "difficulty": 1.6, + "effort": 53.901214503506004, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::parsePaths" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleBaseLine": { + "line": 224, + "lineCount": 8, + "argCount": 2, + "returnCount": 0, + "variableCount": 3, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 5, + "N2": 11, + "programLength": 16, + "programVocabulary": 7, + "volume": 44.91767875292167, + "difficulty": 2.2, + "effort": 98.81889325642767, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleBaseLine" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleCoverageOptions": { + "line": 238, + "lineCount": 20, + "argCount": 2, + "returnCount": 3, + "variableCount": 5, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 5, + "n2": 10, + "N1": 15, + "N2": 25, + "programLength": 40, + "programVocabulary": 15, + "volume": 156.27562382434076, + "difficulty": 6.25, + "effort": 976.7226489021298, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleCoverageOptions" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::applySorting": { + "line": 264, + "lineCount": 21, + "argCount": 3, + "returnCount": 3, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 15, + "N1": 16, + "N2": 32, + "programLength": 48, + "programVocabulary": 20, + "volume": 207.45254855459342, + "difficulty": 5.333333333333333, + "effort": 1106.4135922911648, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::applySorting" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadConfiguration": { + "line": 293, + "lineCount": 10, + "argCount": 2, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 6, + "N1": 5, + "N2": 9, + "programLength": 14, + "programVocabulary": 8, + "volume": 42, + "difficulty": 1.5, + "effort": 63, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadConfiguration" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadCoverageReader": { + "line": 313, + "lineCount": 28, + "argCount": 3, + "returnCount": 4, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 2, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 10, + "N2": 18, + "programLength": 28, + "programVocabulary": 11, + "volume": 96.86408532184433, + "difficulty": 5.142857142857143, + "effort": 498.15815308377086, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadCoverageReader" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::detectCoverageFormat": { + "line": 345, + "lineCount": 19, + "argCount": 1, + "returnCount": 4, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 9, + "volume": 47.548875021634686, + "difficulty": 2.5, + "effort": 118.87218755408671, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::detectCoverageFormat" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::coverageFileExists": { + "line": 365, + "lineCount": 20, + "argCount": 2, + "returnCount": 3, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 4, + "N2": 7, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 3.5, + "effort": 99.52105627776452, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::coverageFileExists" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__construct": { + "line": 12, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__invoke": { + "line": 17, + "lineCount": 22, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 3, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 10, + "N2": 11, + "programLength": 21, + "programVocabulary": 7, + "volume": 58.95445336320969, + "difficulty": 2.2, + "effort": 129.6997973990613, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__invoke" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__construct": { + "line": 21, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__invoke": { + "line": 26, + "lineCount": 11, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 4, + "N2": 9, + "programLength": 13, + "programVocabulary": 4, + "volume": 26, + "difficulty": 4.5, + "effort": 117, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__invoke" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleSourceFilesFound": { + "line": 38, + "lineCount": 6, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 4, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 6, + "N2": 10, + "programLength": 16, + "programVocabulary": 8, + "volume": 48, + "difficulty": 5, + "effort": 240, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleSourceFilesFound" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleFileProcessed": { + "line": 45, + "lineCount": 5, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleFileProcessed" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleAllFilesProcessed": { + "line": 51, + "lineCount": 6, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 3, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 3, + "N2": 5, + "programLength": 8, + "programVocabulary": 5, + "volume": 18.575424759098897, + "difficulty": 1.6666666666666667, + "effort": 30.95904126516483, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleAllFilesProcessed" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__construct": { + "line": 20, + "lineCount": 5, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__invoke": { + "line": 26, + "lineCount": 17, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 5, + "n2": 8, + "N1": 17, + "N2": 17, + "programLength": 34, + "programVocabulary": 13, + "volume": 125.81495041679713, + "difficulty": 5.3125, + "effort": 668.3919240892347, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__invoke" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::formatBytes": { + "line": 50, + "lineCount": 12, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 7, + "n2": 13, + "N1": 10, + "N2": 22, + "programLength": 32, + "programVocabulary": 20, + "volume": 138.3016990363956, + "difficulty": 5.923076923076923, + "effort": 819.1716019848047, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::formatBytes" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::isDebugEnabled": { + "line": 66, + "lineCount": 5, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 1, + "N1": 4, + "N2": 2, + "programLength": 6, + "programVocabulary": 4, + "volume": 12, + "difficulty": 3, + "effort": 36, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::isDebugEnabled" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::__construct": { + "line": 20, + "lineCount": 6, + "argCount": 2, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 4, + "volume": 8, + "difficulty": 0.5, + "effort": 4, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::exportToFile": { + "line": 32, + "lineCount": 27, + "argCount": 3, + "returnCount": 4, + "variableCount": 2, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 1, + "n2": 6, + "N1": 6, + "N2": 19, + "programLength": 25, + "programVocabulary": 7, + "volume": 70.1838730514401, + "difficulty": 1.5833333333333333, + "effort": 111.12446566478016, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::exportToFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::hasIncompleteReportOptions": { + "line": 60, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 2, + "N1": 7, + "N2": 6, + "programLength": 13, + "programVocabulary": 6, + "volume": 33.60451250937503, + "difficulty": 6, + "effort": 201.62707505625016, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::hasIncompleteReportOptions" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::isValidReportType": { + "line": 65, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 2, + "N2": 4, + "programLength": 6, + "programVocabulary": 4, + "volume": 12, + "difficulty": 2, + "effort": 24, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::isValidReportType" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleExceptions": { + "line": 77, + "lineCount": 9, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 3, + "N2": 4, + "programLength": 7, + "programVocabulary": 5, + "volume": 16.253496664211536, + "difficulty": 1.3333333333333333, + "effort": 21.67132888561538, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleExceptions" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleInvalidReportType": { + "line": 91, + "lineCount": 11, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 5, + "N2": 8, + "programLength": 13, + "programVocabulary": 8, + "volume": 39, + "difficulty": 2.4000000000000004, + "effort": 93.60000000000001, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleInvalidReportType" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::__construct": { + "line": 15, + "lineCount": 5, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handle": { + "line": 24, + "lineCount": 27, + "argCount": 3, + "returnCount": 4, + "variableCount": 2, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 1, + "n2": 6, + "N1": 6, + "N2": 19, + "programLength": 25, + "programVocabulary": 7, + "volume": 70.1838730514401, + "difficulty": 1.5833333333333333, + "effort": 111.12446566478016, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handle" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::hasIncompleteReportOptions": { + "line": 52, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 2, + "N1": 7, + "N2": 6, + "programLength": 13, + "programVocabulary": 6, + "volume": 33.60451250937503, + "difficulty": 6, + "effort": 201.62707505625016, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::hasIncompleteReportOptions" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::isValidReportType": { + "line": 57, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 5, + "N1": 1, + "N2": 6, + "programLength": 7, + "programVocabulary": 6, + "volume": 18.094737505048094, + "difficulty": 0.6, + "effort": 10.856842503028856, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::isValidReportType" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handleExceptions": { + "line": 66, + "lineCount": 9, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 3, + "N2": 4, + "programLength": 7, + "programVocabulary": 5, + "volume": 16.253496664211536, + "difficulty": 1.3333333333333333, + "effort": 21.67132888561538, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handleExceptions" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handleInvalidReporType": { + "line": 80, + "lineCount": 9, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 4, + "programLength": 6, + "programVocabulary": 5, + "volume": 13.931568569324174, + "difficulty": 1.3333333333333333, + "effort": 18.575424759098897, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handleInvalidReporType" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::__construct": { + "line": 42, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::reportWritten": { + "line": 47, + "lineCount": 7, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 4, + "programLength": 6, + "programVocabulary": 5, + "volume": 13.931568569324174, + "difficulty": 1.3333333333333333, + "effort": 18.575424759098897, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::reportWritten" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::renderChurnTable": { + "line": 59, + "lineCount": 35, + "argCount": 1, + "returnCount": 0, + "variableCount": 6, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 8, + "n2": 18, + "N1": 21, + "N2": 53, + "programLength": 74, + "programVocabulary": 26, + "volume": 347.8325391424408, + "difficulty": 11.777777777777779, + "effort": 4096.694349899859, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::renderChurnTable" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricSummaryTextRenderer::__construct": { + "line": 18, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricSummaryTextRenderer::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricSummaryTextRenderer::render": { + "line": 23, + "lineCount": 32, + "argCount": 2, + "returnCount": 0, + "variableCount": 6, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 6, + "n2": 16, + "N1": 27, + "N2": 38, + "programLength": 65, + "programVocabulary": 22, + "volume": 289.86305521142435, + "difficulty": 7.125, + "effort": 2065.2742683813985, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricSummaryTextRenderer::render" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::__construct": { + "line": 27, + "lineCount": 5, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::metricExceedsThreshold": { + "line": 33, + "lineCount": 6, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 2, + "N1": 3, + "N2": 5, + "programLength": 8, + "programVocabulary": 5, + "volume": 18.575424759098897, + "difficulty": 3.75, + "effort": 69.65784284662087, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::metricExceedsThreshold" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::hasCoverageInCollection": { + "line": 43, + "lineCount": 10, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 2, + "N2": 4, + "programLength": 6, + "programVocabulary": 4, + "volume": 12, + "difficulty": 2, + "effort": 24, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::hasCoverageInCollection" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::render": { + "line": 58, + "lineCount": 17, + "argCount": 2, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 6, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 9, + "N2": 25, + "programLength": 34, + "programVocabulary": 6, + "volume": 87.8887250245193, + "difficulty": 6.25, + "effort": 549.3045314032456, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::render" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderGroupedByClass": { + "line": 81, + "lineCount": 19, + "argCount": 3, + "returnCount": 0, + "variableCount": 6, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 5, + "n2": 11, + "N1": 11, + "N2": 25, + "programLength": 36, + "programVocabulary": 16, + "volume": 144, + "difficulty": 5.6818181818181825, + "effort": 818.1818181818182, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderGroupedByClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::buildRowsForClass": { + "line": 106, + "lineCount": 13, + "argCount": 2, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 4, + "N2": 12, + "programLength": 16, + "programVocabulary": 7, + "volume": 44.91767875292167, + "difficulty": 2.4, + "effort": 107.802429007012, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::buildRowsForClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::getFilenameFromMetrics": { + "line": 123, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 5, + "programLength": 6, + "programVocabulary": 4, + "volume": 12, + "difficulty": 0.8333333333333334, + "effort": 10, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::getFilenameFromMetrics" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderAllMethodsInSingleTable": { + "line": 136, + "lineCount": 12, + "argCount": 3, + "returnCount": 0, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 6, + "N2": 15, + "programLength": 21, + "programVocabulary": 11, + "volume": 72.64806399138324, + "difficulty": 4.285714285714286, + "effort": 311.34884567735673, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderAllMethodsInSingleTable" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::buildRowsForSingleTable": { + "line": 154, + "lineCount": 13, + "argCount": 2, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 4, + "N2": 12, + "programLength": 16, + "programVocabulary": 7, + "volume": 44.91767875292167, + "difficulty": 2.4, + "effort": 107.802429007012, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::buildRowsForSingleTable" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderTableCommon": { + "line": 173, + "lineCount": 19, + "argCount": 4, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 8, + "N1": 7, + "N2": 19, + "programLength": 26, + "programVocabulary": 10, + "volume": 86.37013046707142, + "difficulty": 2.375, + "effort": 205.1290598592946, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderTableCommon" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderTable": { + "line": 196, + "lineCount": 13, + "argCount": 4, + "returnCount": 0, + "variableCount": 3, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 7, + "N1": 4, + "N2": 14, + "programLength": 18, + "programVocabulary": 9, + "volume": 57.05865002596162, + "difficulty": 2, + "effort": 114.11730005192324, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderTable" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderSingleTable": { + "line": 213, + "lineCount": 11, + "argCount": 3, + "returnCount": 0, + "variableCount": 3, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 6, + "N1": 4, + "N2": 12, + "programLength": 16, + "programVocabulary": 8, + "volume": 48, + "difficulty": 2, + "effort": 96, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderSingleTable" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::__construct": { + "line": 16, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatScore": { + "line": 21, + "lineCount": 6, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 6, + "N1": 5, + "N2": 9, + "programLength": 14, + "programVocabulary": 8, + "volume": 42, + "difficulty": 1.5, + "effort": 63, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatScore" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadVolume": { + "line": 28, + "lineCount": 14, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 10, + "N1": 9, + "N2": 17, + "programLength": 26, + "programVocabulary": 15, + "volume": 101.57915548582149, + "difficulty": 4.25, + "effort": 431.7114108147413, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadVolume" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadDifficulty": { + "line": 43, + "lineCount": 13, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 10, + "N1": 8, + "N2": 17, + "programLength": 25, + "programVocabulary": 14, + "volume": 95.1838730514401, + "difficulty": 3.4, + "effort": 323.62516837489636, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadDifficulty" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadEffort": { + "line": 57, + "lineCount": 13, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 10, + "N1": 8, + "N2": 17, + "programLength": 25, + "programVocabulary": 14, + "volume": 95.1838730514401, + "difficulty": 3.4, + "effort": 323.62516837489636, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadEffort" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatCyclomaticComplexity": { + "line": 71, + "lineCount": 13, + "argCount": 1, + "returnCount": 3, + "variableCount": 4, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 5, + "n2": 9, + "N1": 9, + "N2": 18, + "programLength": 27, + "programVocabulary": 14, + "volume": 102.79858289555531, + "difficulty": 5, + "effort": 513.9929144777766, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatCyclomaticComplexity" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::colorCyclomaticRisk": { + "line": 85, + "lineCount": 8, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 7, + "N1": 5, + "N2": 11, + "programLength": 16, + "programVocabulary": 9, + "volume": 50.718800023076994, + "difficulty": 1.5714285714285714, + "effort": 79.70097146483528, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::colorCyclomaticRisk" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::__construct": { + "line": 17, + "lineCount": 5, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::getGroupedTableHeaders": { + "line": 28, + "lineCount": 16, + "argCount": 0, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 10, + "N2": 17, + "programLength": 27, + "programVocabulary": 6, + "volume": 69.79398751947122, + "difficulty": 4.25, + "effort": 296.62444695775264, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::getGroupedTableHeaders" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCoverageHeader": { + "line": 49, + "lineCount": 10, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 6, + "programLength": 7, + "programVocabulary": 4, + "volume": 14, + "difficulty": 1, + "effort": 14, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCoverageHeader" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::getSingleTableHeaders": { + "line": 65, + "lineCount": 20, + "argCount": 0, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 6, + "N1": 9, + "N2": 18, + "programLength": 27, + "programVocabulary": 8, + "volume": 81, + "difficulty": 3, + "effort": 243, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::getSingleTableHeaders" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addHalsteadHeaders": { + "line": 92, + "lineCount": 10, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 1, + "n2": 5, + "N1": 3, + "N2": 9, + "programLength": 12, + "programVocabulary": 6, + "volume": 31.019550008653873, + "difficulty": 0.9, + "effort": 27.917595007788485, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addHalsteadHeaders" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCyclomaticHeaders": { + "line": 109, + "lineCount": 8, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 5, + "programLength": 6, + "programVocabulary": 4, + "volume": 12, + "difficulty": 0.8333333333333334, + "effort": 10, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCyclomaticHeaders" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCognitiveMetricDetails": { + "line": 122, + "lineCount": 16, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 10, + "N1": 2, + "N2": 13, + "programLength": 15, + "programVocabulary": 12, + "volume": 53.77443751081734, + "difficulty": 1.3, + "effort": 69.90676876406255, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCognitiveMetricDetails" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::__construct": { + "line": 21, + "lineCount": 6, + "argCount": 3, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 3, + "N1": 0, + "N2": 3, + "programLength": 3, + "programVocabulary": 3, + "volume": 4.754887502163468, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::buildRow": { + "line": 34, + "lineCount": 16, + "argCount": 1, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 10, + "N2": 24, + "programLength": 34, + "programVocabulary": 7, + "volume": 95.45006734995854, + "difficulty": 4.8, + "effort": 458.160323279801, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::buildRow" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::buildRowWithClassInfo": { + "line": 57, + "lineCount": 16, + "argCount": 1, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 10, + "N2": 24, + "programLength": 34, + "programVocabulary": 7, + "volume": 95.45006734995854, + "difficulty": 4.8, + "effort": 458.160323279801, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::buildRowWithClassInfo" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::metricsToArray": { + "line": 79, + "lineCount": 8, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 3, + "N2": 7, + "programLength": 10, + "programVocabulary": 6, + "volume": 25.84962500721156, + "difficulty": 1.75, + "effort": 45.23684376262023, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::metricsToArray" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::metricsToArrayWithClassInfo": { + "line": 93, + "lineCount": 9, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 4, + "N2": 9, + "programLength": 13, + "programVocabulary": 7, + "volume": 36.49561398674886, + "difficulty": 1.8, + "effort": 65.69210517614795, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::metricsToArrayWithClassInfo" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addHalsteadFields": { + "line": 109, + "lineCount": 10, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 6, + "N1": 6, + "N2": 16, + "programLength": 22, + "programVocabulary": 8, + "volume": 66, + "difficulty": 2.6666666666666665, + "effort": 176, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addHalsteadFields" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addCyclomaticFields": { + "line": 126, + "lineCount": 8, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 2, + "N2": 8, + "programLength": 10, + "programVocabulary": 6, + "volume": 25.84962500721156, + "difficulty": 2, + "effort": 51.69925001442312, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addCyclomaticFields" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addWeightedValue": { + "line": 141, + "lineCount": 10, + "argCount": 3, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 11, + "N1": 13, + "N2": 22, + "programLength": 35, + "programVocabulary": 15, + "volume": 136.74117084629816, + "difficulty": 4, + "effort": 546.9646833851926, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addWeightedValue" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addDelta": { + "line": 158, + "lineCount": 20, + "argCount": 3, + "returnCount": 3, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 6, + "n2": 13, + "N1": 19, + "N2": 30, + "programLength": 49, + "programVocabulary": 19, + "volume": 208.14844815873568, + "difficulty": 6.9230769230769225, + "effort": 1441.0277180220162, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::getKeys": { + "line": 184, + "lineCount": 17, + "argCount": 0, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 0, + "n2": 9, + "N1": 0, + "N2": 9, + "programLength": 9, + "programVocabulary": 9, + "volume": 28.52932501298081, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::getKeys" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::assertDeltaMethodExists": { + "line": 205, + "lineCount": 6, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 6, + "programLength": 8, + "programVocabulary": 5, + "volume": 18.575424759098897, + "difficulty": 2, + "effort": 37.150849518197795, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::assertDeltaMethodExists" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addCoverageValue": { + "line": 216, + "lineCount": 11, + "argCount": 2, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 7, + "N1": 7, + "N2": 15, + "programLength": 22, + "programVocabulary": 12, + "volume": 78.86917501586544, + "difficulty": 5.357142857142857, + "effort": 422.51343758499337, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addCoverageValue" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::extracted": { + "line": 233, + "lineCount": 22, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 12, + "N1": 19, + "N2": 34, + "programLength": 53, + "programVocabulary": 15, + "volume": 207.06520156725148, + "difficulty": 4.25, + "effort": 880.0271066608187, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::extracted" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CacheConfig::__construct": { + "line": 12, + "lineCount": 5, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CacheConfig::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CacheConfig::toArray": { + "line": 23, + "lineCount": 7, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 0, + "n2": 3, + "N1": 0, + "N2": 4, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CacheConfig::toArray" + } + } + }, + "ignored_items": [], + "cached_at": 1759967602 +} \ No newline at end of file diff --git a/.phpcca.cache/61/61d189f2683227c3a63b990e2ec91afa.cache b/.phpcca.cache/61/61d189f2683227c3a63b990e2ec91afa.cache new file mode 100644 index 0000000..653434c --- /dev/null +++ b/.phpcca.cache/61/61d189f2683227c3a63b990e2ec91afa.cache @@ -0,0 +1,4108 @@ +{ + "version": "1.0", + "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/Business\/Cognitive\/Events\/FileProcessed.php", + "file_mtime": 1752612112, + "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", + "analysis_result": { + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct": { + "line": 60, + "lineCount": 5, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 1, + "N1": 2, + "N2": 2, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 2, + "effort": 12.679700005769249, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices": { + "line": 66, + "lineCount": 95, + "argCount": 0, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 5, + "N1": 58, + "N2": 32, + "programLength": 90, + "programVocabulary": 9, + "volume": 285.2932501298081, + "difficulty": 12.8, + "effort": 3651.7536016615436, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap": { + "line": 162, + "lineCount": 10, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 7, + "N2": 7, + "programLength": 14, + "programVocabulary": 2, + "volume": 14, + "difficulty": 3.5, + "effort": 49, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors": { + "line": 173, + "lineCount": 12, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 3, + "N2": 1, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0.5, + "effort": 2, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus": { + "line": 186, + "lineCount": 19, + "argCount": 0, + "returnCount": 0, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 9, + "N2": 13, + "programLength": 22, + "programVocabulary": 7, + "volume": 61.76180828526729, + "difficulty": 2.6, + "effort": 160.58070154169496, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService": { + "line": 206, + "lineCount": 9, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 3, + "N2": 1, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0.5, + "effort": 2, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade": { + "line": 216, + "lineCount": 13, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 3, + "N2": 1, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0.5, + "effort": 2, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands": { + "line": 230, + "lineCount": 21, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 6, + "N2": 2, + "programLength": 8, + "programVocabulary": 2, + "volume": 8, + "difficulty": 1, + "effort": 8, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication": { + "line": 252, + "lineCount": 11, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 5, + "N2": 4, + "programLength": 9, + "programVocabulary": 4, + "volume": 18, + "difficulty": 0.6666666666666666, + "effort": 12, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run": { + "line": 264, + "lineCount": 9, + "argCount": 0, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 5, + "N2": 5, + "programLength": 10, + "programVocabulary": 4, + "volume": 20, + "difficulty": 2.5, + "effort": 50, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get": { + "line": 274, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer": { + "line": 279, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator": { + "line": 289, + "lineCount": 16, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 7, + "programLength": 8, + "programVocabulary": 4, + "volume": 16, + "difficulty": 1.1666666666666667, + "effort": 18.666666666666668, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create": { + "line": 18, + "lineCount": 7, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 4, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile": { + "line": 17, + "lineCount": 17, + "argCount": 2, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 8, + "N1": 11, + "N2": 19, + "programLength": 30, + "programVocabulary": 11, + "volume": 103.78294855911892, + "difficulty": 3.5625, + "effort": 369.72675424186116, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode": { + "line": 42, + "lineCount": 8, + "argCount": 3, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 3, + "N2": 8, + "programLength": 11, + "programVocabulary": 8, + "volume": 33, + "difficulty": 2.4000000000000004, + "effort": 79.20000000000002, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate": { + "line": 22, + "lineCount": 10, + "argCount": 2, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 6, + "N2": 13, + "programLength": 19, + "programVocabulary": 6, + "volume": 49.11428751370197, + "difficulty": 3.25, + "effort": 159.6214344195314, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending": { + "line": 37, + "lineCount": 8, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 2, + "N2": 9, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 2.25, + "effort": 63.97782189284862, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn": { + "line": 51, + "lineCount": 24, + "argCount": 2, + "returnCount": 1, + "variableCount": 6, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 15, + "N1": 17, + "N2": 46, + "programLength": 63, + "programVocabulary": 20, + "volume": 272.28146997790384, + "difficulty": 7.666666666666667, + "effort": 2087.491269830596, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses": { + "line": 81, + "lineCount": 20, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 2, + "n2": 7, + "N1": 10, + "N2": 24, + "programLength": 34, + "programVocabulary": 9, + "volume": 107.7774500490386, + "difficulty": 3.4285714285714284, + "effort": 369.52268588241805, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass": { + "line": 109, + "lineCount": 9, + "argCount": 2, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 6, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 10, + "volume": 49.82892142331043, + "difficulty": 3.3333333333333335, + "effort": 166.09640474436813, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel": { + "line": 126, + "lineCount": 16, + "argCount": 2, + "returnCount": 4, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 12, + "N1": 9, + "N2": 18, + "programLength": 27, + "programVocabulary": 15, + "volume": 105.48604608143, + "difficulty": 2.25, + "effort": 237.3436036832175, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile": { + "line": 14, + "lineCount": 6, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 2, + "N2": 5, + "programLength": 7, + "programVocabulary": 4, + "volume": 14, + "difficulty": 2.5, + "effort": 35, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable": { + "line": 24, + "lineCount": 11, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 10, + "N2": 12, + "programLength": 22, + "programVocabulary": 8, + "volume": 66, + "difficulty": 6, + "effort": 396, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create": { + "line": 21, + "lineCount": 11, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 7, + "N1": 0, + "N2": 9, + "programLength": 9, + "programVocabulary": 7, + "volume": 25.26619429851844, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes": { + "line": 38, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 6, + "N1": 0, + "N2": 6, + "programLength": 6, + "programVocabulary": 6, + "volume": 15.509775004326936, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported": { + "line": 49, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 2, + "N2": 3, + "programLength": 5, + "programVocabulary": 4, + "volume": 10, + "difficulty": 1.5, + "effort": 15, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export": { + "line": 30, + "lineCount": 23, + "argCount": 2, + "returnCount": 0, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 16, + "N1": 10, + "N2": 33, + "programLength": 43, + "programVocabulary": 20, + "volume": 185.8429080801566, + "difficulty": 4.125, + "effort": 766.601995830646, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export": { + "line": 28, + "lineCount": 8, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 6, + "volume": 36.18947501009619, + "difficulty": 2.5, + "effort": 90.47368752524048, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape": { + "line": 37, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber": { + "line": 42, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml": { + "line": 52, + "lineCount": 50, + "argCount": 1, + "returnCount": 1, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 12, + "N1": 11, + "N2": 25, + "programLength": 36, + "programVocabulary": 17, + "volume": 147.14866228501222, + "difficulty": 5.208333333333334, + "effort": 766.3992827344388, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export": { + "line": 17, + "lineCount": 13, + "argCount": 2, + "returnCount": 0, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 8, + "N1": 7, + "N2": 14, + "programLength": 21, + "programVocabulary": 12, + "volume": 75.28421251514428, + "difficulty": 3.5, + "effort": 263.49474380300495, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export": { + "line": 48, + "lineCount": 8, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 6, + "volume": 36.18947501009619, + "difficulty": 2.5, + "effort": 90.47368752524048, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown": { + "line": 61, + "lineCount": 24, + "argCount": 1, + "returnCount": 1, + "variableCount": 6, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 6, + "n2": 16, + "N1": 19, + "N2": 41, + "programLength": 60, + "programVocabulary": 22, + "volume": 267.56589711823784, + "difficulty": 7.6875, + "effort": 2056.9128340964535, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow": { + "line": 94, + "lineCount": 21, + "argCount": 3, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 7, + "n2": 18, + "N1": 16, + "N2": 39, + "programLength": 55, + "programVocabulary": 25, + "volume": 255.41209043760983, + "difficulty": 7.583333333333333, + "effort": 1936.8750191518745, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::__construct": { + "line": 26, + "lineCount": 4, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::export": { + "line": 36, + "lineCount": 10, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 8, + "volume": 45, + "difficulty": 5, + "effort": 225, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::generateSvgTreemap": { + "line": 53, + "lineCount": 20, + "argCount": 1, + "returnCount": 1, + "variableCount": 6, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 8, + "N1": 9, + "N2": 20, + "programLength": 29, + "programVocabulary": 10, + "volume": 96.3359147517335, + "difficulty": 2.5, + "effort": 240.83978687933376, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::generateSvgTreemap" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRects": { + "line": 82, + "lineCount": 10, + "argCount": 3, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 9, + "N1": 6, + "N2": 18, + "programLength": 24, + "programVocabulary": 12, + "volume": 86.03910001730775, + "difficulty": 3, + "effort": 258.1173000519232, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRects" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRect": { + "line": 100, + "lineCount": 29, + "argCount": 2, + "returnCount": 1, + "variableCount": 12, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 6, + "n2": 28, + "N1": 26, + "N2": 54, + "programLength": 80, + "programVocabulary": 34, + "volume": 406.9970273000271, + "difficulty": 5.785714285714286, + "effort": 2354.7685150930142, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRect" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::wrapSvg": { + "line": 136, + "lineCount": 21, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 2, + "N2": 8, + "programLength": 10, + "programVocabulary": 4, + "volume": 20, + "difficulty": 1.3333333333333333, + "effort": 26.666666666666664, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::wrapSvg" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::prepareItems": { + "line": 28, + "lineCount": 18, + "argCount": 1, + "returnCount": 1, + "variableCount": 7, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 12, + "N1": 9, + "N2": 30, + "programLength": 39, + "programVocabulary": 17, + "volume": 159.41105080876324, + "difficulty": 6.25, + "effort": 996.3190675547702, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::prepareItems" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findScoreRange": { + "line": 53, + "lineCount": 16, + "argCount": 1, + "returnCount": 3, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 7, + "N2": 13, + "programLength": 20, + "programVocabulary": 8, + "volume": 60, + "difficulty": 3.9000000000000004, + "effort": 234.00000000000003, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findScoreRange" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::normalizeScore": { + "line": 78, + "lineCount": 8, + "argCount": 3, + "returnCount": 2, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 8, + "volume": 45, + "difficulty": 5, + "effort": 225, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::normalizeScore" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::scoreToColor": { + "line": 93, + "lineCount": 9, + "argCount": 1, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 5, + "n2": 9, + "N1": 12, + "N2": 16, + "programLength": 28, + "programVocabulary": 14, + "volume": 106.60593781761291, + "difficulty": 4.444444444444445, + "effort": 473.80416807827964, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::scoreToColor" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::calculateTreemapLayout": { + "line": 115, + "lineCount": 23, + "argCount": 7, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 9, + "N1": 2, + "N2": 18, + "programLength": 20, + "programVocabulary": 11, + "volume": 69.18863237274594, + "difficulty": 2, + "effort": 138.37726474549189, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::calculateTreemapLayout" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::layoutTreemap": { + "line": 152, + "lineCount": 89, + "argCount": 8, + "returnCount": 3, + "variableCount": 11, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 8, + "n2": 28, + "N1": 32, + "N2": 98, + "programLength": 130, + "programVocabulary": 36, + "volume": 672.0902501875006, + "difficulty": 14, + "effort": 9409.263502625008, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::layoutTreemap" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findSplitIndex": { + "line": 249, + "lineCount": 13, + "argCount": 2, + "returnCount": 2, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 7, + "n2": 10, + "N1": 9, + "N2": 23, + "programLength": 32, + "programVocabulary": 17, + "volume": 130.79881092001085, + "difficulty": 8.049999999999999, + "effort": 1052.9304279060873, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findSplitIndex" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::__construct": { + "line": 23, + "lineCount": 18, + "argCount": 1, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 7, + "N2": 11, + "programLength": 18, + "programVocabulary": 6, + "volume": 46.529325012980806, + "difficulty": 5.5, + "effort": 255.91128757139444, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::getAllClasses": { + "line": 47, + "lineCount": 17, + "argCount": 0, + "returnCount": 2, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 6, + "N2": 12, + "programLength": 18, + "programVocabulary": 9, + "volume": 57.05865002596162, + "difficulty": 3, + "effort": 171.17595007788486, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::getAllClasses" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::withClassNode": { + "line": 73, + "lineCount": 8, + "argCount": 2, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 4, + "N2": 8, + "programLength": 12, + "programVocabulary": 8, + "volume": 36, + "difficulty": 4, + "effort": 144, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::withClassNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::findClassNode": { + "line": 85, + "lineCount": 25, + "argCount": 1, + "returnCount": 4, + "variableCount": 5, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 13, + "N2": 29, + "programLength": 42, + "programVocabulary": 11, + "volume": 145.29612798276648, + "difficulty": 8.285714285714286, + "effort": 1203.8822032857795, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::findClassNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::escapeXPathValue": { + "line": 114, + "lineCount": 16, + "argCount": 1, + "returnCount": 3, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 9, + "N1": 11, + "N2": 18, + "programLength": 29, + "programVocabulary": 13, + "volume": 107.31275182609167, + "difficulty": 4, + "effort": 429.2510073043667, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::escapeXPathValue" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getLineCoverage": { + "line": 22, + "lineCount": 18, + "argCount": 1, + "returnCount": 4, + "variableCount": 5, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 9, + "N1": 10, + "N2": 19, + "programLength": 29, + "programVocabulary": 13, + "volume": 107.31275182609167, + "difficulty": 4.222222222222222, + "effort": 453.09828548794263, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getLineCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getBranchCoverage": { + "line": 48, + "lineCount": 18, + "argCount": 1, + "returnCount": 4, + "variableCount": 5, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 9, + "N1": 10, + "N2": 19, + "programLength": 29, + "programVocabulary": 13, + "volume": 107.31275182609167, + "difficulty": 4.222222222222222, + "effort": 453.09828548794263, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getBranchCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getComplexity": { + "line": 73, + "lineCount": 13, + "argCount": 1, + "returnCount": 3, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 7, + "N2": 14, + "programLength": 21, + "programVocabulary": 11, + "volume": 72.64806399138324, + "difficulty": 4, + "effort": 290.59225596553296, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getComplexity" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getCoverageDetails": { + "line": 93, + "lineCount": 26, + "argCount": 1, + "returnCount": 3, + "variableCount": 9, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 17, + "N1": 22, + "N2": 42, + "programLength": 64, + "programVocabulary": 22, + "volume": 285.403623592787, + "difficulty": 6.176470588235294, + "effort": 1762.7870868966259, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getCoverageDetails" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getMetricsNode": { + "line": 123, + "lineCount": 12, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 6, + "N1": 7, + "N2": 13, + "programLength": 20, + "programVocabulary": 10, + "volume": 66.43856189774725, + "difficulty": 4.333333333333333, + "effort": 287.90043489023805, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getMetricsNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getFilenameForClass": { + "line": 139, + "lineCount": 9, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 5, + "N1": 4, + "N2": 9, + "programLength": 13, + "programVocabulary": 9, + "volume": 41.209025018750054, + "difficulty": 3.6, + "effort": 148.3524900675002, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getFilenameForClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodsCoverage": { + "line": 154, + "lineCount": 36, + "argCount": 1, + "returnCount": 3, + "variableCount": 8, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 13, + "N1": 12, + "N2": 30, + "programLength": 42, + "programVocabulary": 16, + "volume": 168, + "difficulty": 3.4615384615384612, + "effort": 581.5384615384614, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodsCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::calculateMethodCoverage": { + "line": 194, + "lineCount": 15, + "argCount": 2, + "returnCount": 2, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 11, + "N1": 9, + "N2": 23, + "programLength": 32, + "programVocabulary": 16, + "volume": 128, + "difficulty": 5.227272727272727, + "effort": 669.090909090909, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::calculateMethodCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodCoverageFromLines": { + "line": 215, + "lineCount": 36, + "argCount": 2, + "returnCount": 1, + "variableCount": 7, + "propertyCallCount": 0, + "ifNestingLevel": 2, + "elseCount": 0, + "ifCount": 5, + "halstead": { + "n1": 2, + "n2": 14, + "N1": 12, + "N2": 35, + "programLength": 47, + "programVocabulary": 16, + "volume": 188, + "difficulty": 2.5, + "effort": 470, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodCoverageFromLines" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStart": { + "line": 252, + "lineCount": 4, + "argCount": 3, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 3, + "N2": 7, + "programLength": 10, + "programVocabulary": 6, + "volume": 25.84962500721156, + "difficulty": 1.75, + "effort": 45.23684376262023, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStart" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodEnd": { + "line": 257, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 5, + "programLength": 7, + "programVocabulary": 5, + "volume": 16.253496664211536, + "difficulty": 1.6666666666666667, + "effort": 27.089161107019226, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodEnd" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStatement": { + "line": 262, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 5, + "programLength": 7, + "programVocabulary": 5, + "volume": 16.253496664211536, + "difficulty": 1.6666666666666667, + "effort": 27.089161107019226, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStatement" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isStatementCovered": { + "line": 267, + "lineCount": 5, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 4, + "N1": 3, + "N2": 6, + "programLength": 9, + "programVocabulary": 7, + "volume": 25.26619429851844, + "difficulty": 2.25, + "effort": 56.848937171666485, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isStatementCovered" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getLineCoverage": { + "line": 20, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 9, + "volume": 44.37895002019237, + "difficulty": 2.5, + "effort": 110.94737505048093, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getLineCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getBranchCoverage": { + "line": 34, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 9, + "volume": 44.37895002019237, + "difficulty": 2.5, + "effort": 110.94737505048093, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getBranchCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getComplexity": { + "line": 48, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 9, + "volume": 44.37895002019237, + "difficulty": 2.5, + "effort": 110.94737505048093, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getComplexity" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getCoverageDetails": { + "line": 62, + "lineCount": 13, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 8, + "N1": 7, + "N2": 16, + "programLength": 23, + "programVocabulary": 9, + "volume": 72.90827503317318, + "difficulty": 1, + "effort": 72.90827503317318, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getCoverageDetails" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::extractMethodsCoverage": { + "line": 81, + "lineCount": 23, + "argCount": 1, + "returnCount": 2, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 11, + "N1": 10, + "N2": 23, + "programLength": 33, + "programVocabulary": 14, + "volume": 125.64271242790093, + "difficulty": 3.1363636363636362, + "effort": 394.061234432962, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::extractMethodsCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CodeCoverageFactory::createFromName": { + "line": 14, + "lineCount": 8, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 4, + "N1": 1, + "N2": 8, + "programLength": 9, + "programVocabulary": 5, + "volume": 20.89735285398626, + "difficulty": 1, + "effort": 20.89735285398626, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CodeCoverageFactory::createFromName" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::__construct": { + "line": 28, + "lineCount": 15, + "argCount": 6, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 6, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 7, + "N1": 6, + "N2": 18, + "programLength": 24, + "programVocabulary": 8, + "volume": 72, + "difficulty": 1.2857142857142858, + "effort": 92.57142857142858, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getName": { + "line": 44, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getName" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getFilename": { + "line": 49, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getFilename" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getLineRate": { + "line": 54, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getLineRate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getBranchRate": { + "line": 59, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getBranchRate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getComplexity": { + "line": 64, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getComplexity" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getMethods": { + "line": 72, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getMethods" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::__construct": { + "line": 17, + "lineCount": 11, + "argCount": 4, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 4, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 5, + "N1": 4, + "N2": 12, + "programLength": 16, + "programVocabulary": 6, + "volume": 41.3594000115385, + "difficulty": 1.2, + "effort": 49.631280013846194, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getName": { + "line": 29, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getName" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getLineRate": { + "line": 34, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getLineRate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getBranchRate": { + "line": 39, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getBranchRate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getComplexity": { + "line": 44, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getComplexity" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::calculateDeltas": { + "line": 19, + "lineCount": 14, + "argCount": 2, + "returnCount": 0, + "variableCount": 6, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 9, + "N1": 4, + "N2": 18, + "programLength": 22, + "programVocabulary": 11, + "volume": 76.10749561002054, + "difficulty": 2, + "effort": 152.21499122004107, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::calculateDeltas" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::loadBaseline": { + "line": 41, + "lineCount": 13, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 5, + "N2": 9, + "programLength": 14, + "programVocabulary": 8, + "volume": 42, + "difficulty": 2.7, + "effort": 113.4, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::loadBaseline" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::__construct": { + "line": 72, + "lineCount": 21, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 6, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 9, + "N1": 12, + "N2": 34, + "programLength": 46, + "programVocabulary": 12, + "volume": 164.90827503317317, + "difficulty": 5.666666666666666, + "effort": 934.4802251879812, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setRequiredMetricProperties": { + "line": 98, + "lineCount": 30, + "argCount": 1, + "returnCount": 0, + "variableCount": 6, + "propertyCallCount": 9, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 21, + "N1": 21, + "N2": 51, + "programLength": 72, + "programVocabulary": 24, + "volume": 330.1173000519232, + "difficulty": 3.6428571428571423, + "effort": 1202.570164474863, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setRequiredMetricProperties" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setOptionalMetricProperties": { + "line": 133, + "lineCount": 12, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 8, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 11, + "N1": 16, + "N2": 33, + "programLength": 49, + "programVocabulary": 13, + "volume": 181.32154618891352, + "difficulty": 3, + "effort": 543.9646385667405, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setOptionalMetricProperties" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setTimesChanged": { + "line": 146, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setTimesChanged" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertSame": { + "line": 151, + "lineCount": 14, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 6, + "N2": 8, + "programLength": 14, + "programVocabulary": 5, + "volume": 32.50699332842307, + "difficulty": 2.6666666666666665, + "effort": 86.68531554246152, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertSame" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::calculateDeltas": { + "line": 169, + "lineCount": 13, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 16, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 17, + "N2": 27, + "programLength": 44, + "programVocabulary": 4, + "volume": 88, + "difficulty": 13.5, + "effort": 1188, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::calculateDeltas" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::fromArray": { + "line": 187, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::fromArray" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertArrayKeyIsPresent": { + "line": 197, + "lineCount": 6, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 5, + "programLength": 5, + "programVocabulary": 2, + "volume": 5, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertArrayKeyIsPresent" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getClass": { + "line": 204, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getMethod": { + "line": 209, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getMethod" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCount": { + "line": 214, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCount": { + "line": 219, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCount": { + "line": 224, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCount": { + "line": 229, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCount": { + "line": 234, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCount": { + "line": 239, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevel": { + "line": 244, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevel" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCount": { + "line": 249, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeight": { + "line": 254, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setLineCountWeight": { + "line": 259, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setLineCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeight": { + "line": 264, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setArgCountWeight": { + "line": 269, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setArgCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeight": { + "line": 274, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setReturnCountWeight": { + "line": 279, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setReturnCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeight": { + "line": 284, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setVariableCountWeight": { + "line": 289, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setVariableCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeight": { + "line": 294, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setPropertyCallCountWeight": { + "line": 299, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setPropertyCallCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeight": { + "line": 304, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfCountWeight": { + "line": 309, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeight": { + "line": 314, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfNestingLevelWeight": { + "line": 319, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfNestingLevelWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeight": { + "line": 324, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setElseCountWeight": { + "line": 329, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setElseCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setScore": { + "line": 334, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setScore" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getScore": { + "line": 339, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getScore" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setCoverage": { + "line": 344, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCoverage": { + "line": 349, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeightDelta": { + "line": 354, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeightDelta": { + "line": 359, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeightDelta": { + "line": 364, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeightDelta": { + "line": 369, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeightDelta": { + "line": 374, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeightDelta": { + "line": 379, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeightDelta": { + "line": 384, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeightDelta": { + "line": 389, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getTimesChanged": { + "line": 394, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 2, + "programLength": 3, + "programVocabulary": 3, + "volume": 4.754887502163468, + "difficulty": 0.5, + "effort": 2.377443751081734, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getTimesChanged" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getFileName": { + "line": 399, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getFileName" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLine": { + "line": 404, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLine" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::equals": { + "line": 409, + "lineCount": 5, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 2, + "N1": 5, + "N2": 5, + "programLength": 10, + "programVocabulary": 5, + "volume": 23.21928094887362, + "difficulty": 3.75, + "effort": 87.07230355827608, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::equals" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::toArray": { + "line": 418, + "lineCount": 34, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 29, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 30, + "N1": 0, + "N2": 58, + "programLength": 58, + "programVocabulary": 30, + "volume": 284.5996545452941, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::toArray" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::jsonSerialize": { + "line": 456, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::jsonSerialize" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getHalstead": { + "line": 464, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getHalstead" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCyclomatic": { + "line": 472, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCyclomatic" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::add": { + "line": 30, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 5, + "N2": 6, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 3, + "effort": 85.30376252379816, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::add" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filter": { + "line": 40, + "lineCount": 11, + "argCount": 1, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 8, + "volume": 42, + "difficulty": 3, + "effort": 126, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filter" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getIterator": { + "line": 57, + "lineCount": 5, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getIterator" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::count": { + "line": 66, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::count" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterWithScoreGreaterThan": { + "line": 71, + "lineCount": 6, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 3, + "N2": 6, + "programLength": 9, + "programVocabulary": 5, + "volume": 20.89735285398626, + "difficulty": 2, + "effort": 41.79470570797252, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterWithScoreGreaterThan" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::contains": { + "line": 78, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 4, + "N2": 5, + "programLength": 9, + "programVocabulary": 5, + "volume": 20.89735285398626, + "difficulty": 1.6666666666666667, + "effort": 34.82892142331043, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::contains" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getClassWithMethod": { + "line": 83, + "lineCount": 9, + "argCount": 2, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 3, + "N2": 10, + "programLength": 13, + "programVocabulary": 7, + "volume": 36.49561398674886, + "difficulty": 2, + "effort": 72.99122797349771, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getClassWithMethod" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterByClassName": { + "line": 93, + "lineCount": 6, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 3, + "N2": 6, + "programLength": 9, + "programVocabulary": 5, + "volume": 20.89735285398626, + "difficulty": 2, + "effort": 41.79470570797252, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterByClassName" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::assertMetricHasGetter": { + "line": 100, + "lineCount": 9, + "argCount": 3, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 6, + "programLength": 7, + "programVocabulary": 4, + "volume": 14, + "difficulty": 1, + "effort": 14, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::assertMetricHasGetter" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::groupBy": { + "line": 117, + "lineCount": 20, + "argCount": 1, + "returnCount": 1, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 10, + "N2": 23, + "programLength": 33, + "programVocabulary": 11, + "volume": 114.16124341503081, + "difficulty": 6.571428571428571, + "effort": 750.2024567273453, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::groupBy" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::jsonSerialize": { + "line": 141, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::jsonSerialize" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::__construct": { + "line": 32, + "lineCount": 8, + "argCount": 5, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 5, + "N1": 0, + "N2": 5, + "programLength": 5, + "programVocabulary": 5, + "volume": 11.60964047443681, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collect": { + "line": 49, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 5, + "programLength": 6, + "programVocabulary": 4, + "volume": 12, + "difficulty": 0.8333333333333334, + "effort": 10, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collect" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collectFromPaths": { + "line": 62, + "lineCount": 13, + "argCount": 2, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 8, + "N2": 16, + "programLength": 24, + "programVocabulary": 9, + "volume": 76.07820003461549, + "difficulty": 4, + "effort": 304.31280013846197, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collectFromPaths" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCodeFromFile": { + "line": 79, + "lineCount": 10, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 2, + "N1": 5, + "N2": 6, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 6, + "effort": 170.6075250475963, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCodeFromFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findMetrics": { + "line": 98, + "lineCount": 31, + "argCount": 1, + "returnCount": 1, + "variableCount": 9, + "propertyCallCount": 2, + "ifNestingLevel": 2, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 13, + "N1": 18, + "N2": 38, + "programLength": 56, + "programVocabulary": 16, + "volume": 224, + "difficulty": 4.384615384615384, + "effort": 982.1538461538461, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findMetrics" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processMethodMetrics": { + "line": 136, + "lineCount": 29, + "argCount": 3, + "returnCount": 1, + "variableCount": 7, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 14, + "N1": 8, + "N2": 27, + "programLength": 35, + "programVocabulary": 17, + "volume": 143.06119944376186, + "difficulty": 2.892857142857143, + "effort": 413.8556126765968, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processMethodMetrics" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::isExcluded": { + "line": 166, + "lineCount": 12, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 5, + "N1": 5, + "N2": 9, + "programLength": 14, + "programVocabulary": 9, + "volume": 44.37895002019237, + "difficulty": 3.6, + "effort": 159.76422007269252, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::isExcluded" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findSourceFiles": { + "line": 187, + "lineCount": 7, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 2, + "N2": 6, + "programLength": 8, + "programVocabulary": 6, + "volume": 20.67970000576925, + "difficulty": 1.5, + "effort": 31.019550008653873, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findSourceFiles" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getProjectRoot": { + "line": 202, + "lineCount": 13, + "argCount": 0, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 2, + "N1": 8, + "N2": 8, + "programLength": 16, + "programVocabulary": 6, + "volume": 41.3594000115385, + "difficulty": 8, + "effort": 330.875200092308, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getProjectRoot" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateCacheKey": { + "line": 219, + "lineCount": 7, + "argCount": 2, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 6, + "N1": 10, + "N2": 12, + "programLength": 22, + "programVocabulary": 10, + "volume": 73.08241808752197, + "difficulty": 4, + "effort": 292.3296723500879, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateCacheKey" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateConfigHash": { + "line": 230, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 1, + "N1": 3, + "N2": 2, + "programLength": 5, + "programVocabulary": 3, + "volume": 7.92481250360578, + "difficulty": 2, + "effort": 15.84962500721156, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateConfigHash" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::cacheResult": { + "line": 239, + "lineCount": 14, + "argCount": 4, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 13, + "N1": 5, + "N2": 20, + "programLength": 25, + "programVocabulary": 15, + "volume": 97.67226489021297, + "difficulty": 1.5384615384615385, + "effort": 150.26502290801997, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::cacheResult" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::clearCache": { + "line": 254, + "lineCount": 4, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::clearCache" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::normalizeFilename": { + "line": 264, + "lineCount": 15, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 6, + "n2": 7, + "N1": 12, + "N2": 16, + "programLength": 28, + "programVocabulary": 13, + "volume": 103.61231210795059, + "difficulty": 6.857142857142857, + "effort": 710.4844258830897, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::normalizeFilename" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCachedMetrics": { + "line": 286, + "lineCount": 19, + "argCount": 3, + "returnCount": 3, + "variableCount": 4, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 11, + "N1": 10, + "N2": 29, + "programLength": 39, + "programVocabulary": 14, + "volume": 148.48684196024655, + "difficulty": 3.954545454545454, + "effort": 587.1979659337022, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCachedMetrics" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processFile": { + "line": 312, + "lineCount": 37, + "argCount": 5, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 7, + "n2": 10, + "N1": 12, + "N2": 28, + "programLength": 40, + "programVocabulary": 17, + "volume": 163.49851365001356, + "difficulty": 9.799999999999999, + "effort": 1602.2854337701328, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::sort": { + "line": 51, + "lineCount": 41, + "argCount": 3, + "returnCount": 2, + "variableCount": 10, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 18, + "N1": 20, + "N2": 43, + "programLength": 63, + "programVocabulary": 22, + "volume": 280.9441919741497, + "difficulty": 4.777777777777778, + "effort": 1342.2889172098264, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::sort" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getFieldValue": { + "line": 100, + "lineCount": 28, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 25, + "N1": 24, + "N2": 50, + "programLength": 74, + "programVocabulary": 27, + "volume": 351.86167516009664, + "difficulty": 2, + "effort": 703.7233503201933, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getFieldValue" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::compareValues": { + "line": 136, + "lineCount": 13, + "argCount": 2, + "returnCount": 3, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 2, + "N1": 9, + "N2": 12, + "programLength": 21, + "programVocabulary": 5, + "volume": 48.760489992634604, + "difficulty": 9, + "effort": 438.8444099337114, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::compareValues" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getSortableFields": { + "line": 155, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 0, + "N1": 0, + "N2": 0, + "programLength": 0, + "programVocabulary": 0, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getSortableFields" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__construct": { + "line": 15, + "lineCount": 11, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 7, + "N2": 12, + "programLength": 19, + "programVocabulary": 6, + "volume": 49.11428751370197, + "difficulty": 6, + "effort": 294.6857250822118, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::getValue": { + "line": 27, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::getValue" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasIncreased": { + "line": 32, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasIncreased" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__toString": { + "line": 37, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__toString" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasNotChanged": { + "line": 42, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 2, + "programLength": 3, + "programVocabulary": 3, + "volume": 4.754887502163468, + "difficulty": 0.5, + "effort": 2.377443751081734, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasNotChanged" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\FileProcessed::__construct": { + "line": 14, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\FileProcessed::__construct" + } + } + }, + "ignored_items": [], + "cached_at": 1759967601 +} \ No newline at end of file diff --git a/.phpcca.cache/63/63ec13e4ee33795f3c36fcf4f678ccff.cache b/.phpcca.cache/63/63ec13e4ee33795f3c36fcf4f678ccff.cache new file mode 100644 index 0000000..0105357 --- /dev/null +++ b/.phpcca.cache/63/63ec13e4ee33795f3c36fcf4f678ccff.cache @@ -0,0 +1,2609 @@ +{ + "version": "1.0", + "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/PhpParser\/AnnotationVisitor.php", + "file_mtime": 1759791861, + "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", + "analysis_result": { + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::__construct": { + "line": 26, + "lineCount": 5, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 4, + "N1": 3, + "N2": 6, + "programLength": 9, + "programVocabulary": 7, + "volume": 25.26619429851844, + "difficulty": 2.25, + "effort": 56.848937171666485, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItem": { + "line": 35, + "lineCount": 15, + "argCount": 1, + "returnCount": 3, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 6, + "N2": 13, + "programLength": 19, + "programVocabulary": 8, + "volume": 57, + "difficulty": 6.5, + "effort": 370.5, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItem" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItems": { + "line": 55, + "lineCount": 9, + "argCount": 1, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 3, + "N2": 9, + "programLength": 12, + "programVocabulary": 6, + "volume": 31.019550008653873, + "difficulty": 2.25, + "effort": 69.79398751947122, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItems" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::hasItem": { + "line": 68, + "lineCount": 6, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 5, + "n2": 3, + "N1": 6, + "N2": 7, + "programLength": 13, + "programVocabulary": 8, + "volume": 39, + "difficulty": 5.833333333333334, + "effort": 227.50000000000003, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::hasItem" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::clear": { + "line": 75, + "lineCount": 10, + "argCount": 0, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 2, + "N2": 4, + "programLength": 6, + "programVocabulary": 3, + "volume": 9.509775004326936, + "difficulty": 1, + "effort": 9.509775004326936, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::clear" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItem": { + "line": 89, + "lineCount": 10, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 4, + "N2": 6, + "programLength": 10, + "programVocabulary": 6, + "volume": 25.84962500721156, + "difficulty": 3, + "effort": 77.54887502163469, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItem" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItems": { + "line": 103, + "lineCount": 10, + "argCount": 1, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 3, + "N2": 8, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 2, + "effort": 56.86917501586544, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItems" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::save": { + "line": 117, + "lineCount": 11, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 4, + "N1": 9, + "N2": 12, + "programLength": 21, + "programVocabulary": 7, + "volume": 58.95445336320969, + "difficulty": 4.5, + "effort": 265.2950401344436, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::save" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveDeferred": { + "line": 129, + "lineCount": 6, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveDeferred" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::commit": { + "line": 136, + "lineCount": 11, + "argCount": 0, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 4, + "N2": 8, + "programLength": 12, + "programVocabulary": 5, + "volume": 27.863137138648348, + "difficulty": 2.6666666666666665, + "effort": 74.30169903639559, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::commit" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::ensureCacheDirectory": { + "line": 152, + "lineCount": 9, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 3, + "N2": 4, + "programLength": 7, + "programVocabulary": 4, + "volume": 14, + "difficulty": 2, + "effort": 28, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::ensureCacheDirectory" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getCacheFilePath": { + "line": 168, + "lineCount": 15, + "argCount": 1, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 10, + "N1": 13, + "N2": 19, + "programLength": 32, + "programVocabulary": 14, + "volume": 121.83535750584333, + "difficulty": 3.8, + "effort": 462.9743585222046, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getCacheFilePath" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::loadCacheData": { + "line": 187, + "lineCount": 14, + "argCount": 1, + "returnCount": 3, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 6, + "N2": 8, + "programLength": 14, + "programVocabulary": 6, + "volume": 36.18947501009619, + "difficulty": 4, + "effort": 144.75790004038475, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::loadCacheData" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveCacheData": { + "line": 209, + "lineCount": 21, + "argCount": 2, + "returnCount": 3, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 6, + "n2": 7, + "N1": 13, + "N2": 17, + "programLength": 30, + "programVocabulary": 13, + "volume": 111.01319154423277, + "difficulty": 7.285714285714285, + "effort": 808.810395536553, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveCacheData" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::sanitizeUtf8": { + "line": 234, + "lineCount": 25, + "argCount": 1, + "returnCount": 4, + "variableCount": 6, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 8, + "N1": 13, + "N2": 29, + "programLength": 42, + "programVocabulary": 11, + "volume": 145.29612798276648, + "difficulty": 5.4375, + "effort": 790.0476959062927, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::sanitizeUtf8" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::removeDirectory": { + "line": 260, + "lineCount": 23, + "argCount": 1, + "returnCount": 2, + "variableCount": 5, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 5, + "n2": 9, + "N1": 13, + "N2": 20, + "programLength": 33, + "programVocabulary": 14, + "volume": 125.64271242790093, + "difficulty": 5.555555555555555, + "effort": 698.0150690438941, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::removeDirectory" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::__construct": { + "line": 42, + "lineCount": 7, + "argCount": 3, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 3, + "N1": 0, + "N2": 3, + "programLength": 3, + "programVocabulary": 3, + "volume": 4.754887502163468, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::configure": { + "line": 53, + "lineCount": 57, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 15, + "N1": 9, + "N2": 16, + "programLength": 25, + "programVocabulary": 16, + "volume": 100, + "difficulty": 0.5333333333333333, + "effort": 53.333333333333336, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::configure" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::execute": { + "line": 119, + "lineCount": 43, + "argCount": 2, + "returnCount": 5, + "variableCount": 9, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 4, + "halstead": { + "n1": 7, + "n2": 14, + "N1": 31, + "N2": 45, + "programLength": 76, + "programVocabulary": 21, + "volume": 333.8161241311858, + "difficulty": 11.25, + "effort": 3755.4313964758403, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::execute" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::loadCoverageReader": { + "line": 171, + "lineCount": 32, + "argCount": 3, + "returnCount": 4, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 2, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 4, + "n2": 9, + "N1": 9, + "N2": 21, + "programLength": 30, + "programVocabulary": 13, + "volume": 111.01319154423277, + "difficulty": 4.666666666666667, + "effort": 518.0615605397529, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::loadCoverageReader" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::detectCoverageFormat": { + "line": 207, + "lineCount": 19, + "argCount": 1, + "returnCount": 4, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 9, + "volume": 47.548875021634686, + "difficulty": 2.5, + "effort": 118.87218755408671, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::detectCoverageFormat" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::coverageFileExists": { + "line": 227, + "lineCount": 20, + "argCount": 2, + "returnCount": 3, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 4, + "N2": 7, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 3.5, + "effort": 99.52105627776452, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::coverageFileExists" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::__construct": { + "line": 49, + "lineCount": 10, + "argCount": 6, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 6, + "N1": 0, + "N2": 6, + "programLength": 6, + "programVocabulary": 6, + "volume": 15.509775004326936, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::configure": { + "line": 63, + "lineCount": 76, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 20, + "N1": 13, + "N2": 20, + "programLength": 33, + "programVocabulary": 21, + "volume": 144.94647495169912, + "difficulty": 0.5, + "effort": 72.47323747584956, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::configure" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::execute": { + "line": 150, + "lineCount": 52, + "argCount": 2, + "returnCount": 5, + "variableCount": 11, + "propertyCallCount": 6, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 7, + "halstead": { + "n1": 6, + "n2": 15, + "N1": 43, + "N2": 61, + "programLength": 104, + "programVocabulary": 21, + "volume": 456.80101196899113, + "difficulty": 12.2, + "effort": 5572.972346021692, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::execute" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::parsePaths": { + "line": 209, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 4, + "N2": 8, + "programLength": 12, + "programVocabulary": 7, + "volume": 33.68825906469125, + "difficulty": 1.6, + "effort": 53.901214503506004, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::parsePaths" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleBaseLine": { + "line": 224, + "lineCount": 8, + "argCount": 2, + "returnCount": 0, + "variableCount": 3, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 5, + "N2": 11, + "programLength": 16, + "programVocabulary": 7, + "volume": 44.91767875292167, + "difficulty": 2.2, + "effort": 98.81889325642767, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleBaseLine" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleCoverageOptions": { + "line": 238, + "lineCount": 20, + "argCount": 2, + "returnCount": 3, + "variableCount": 5, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 5, + "n2": 10, + "N1": 15, + "N2": 25, + "programLength": 40, + "programVocabulary": 15, + "volume": 156.27562382434076, + "difficulty": 6.25, + "effort": 976.7226489021298, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleCoverageOptions" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::applySorting": { + "line": 264, + "lineCount": 21, + "argCount": 3, + "returnCount": 3, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 15, + "N1": 16, + "N2": 32, + "programLength": 48, + "programVocabulary": 20, + "volume": 207.45254855459342, + "difficulty": 5.333333333333333, + "effort": 1106.4135922911648, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::applySorting" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadConfiguration": { + "line": 293, + "lineCount": 10, + "argCount": 2, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 6, + "N1": 5, + "N2": 9, + "programLength": 14, + "programVocabulary": 8, + "volume": 42, + "difficulty": 1.5, + "effort": 63, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadConfiguration" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadCoverageReader": { + "line": 313, + "lineCount": 28, + "argCount": 3, + "returnCount": 4, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 2, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 10, + "N2": 18, + "programLength": 28, + "programVocabulary": 11, + "volume": 96.86408532184433, + "difficulty": 5.142857142857143, + "effort": 498.15815308377086, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadCoverageReader" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::detectCoverageFormat": { + "line": 345, + "lineCount": 19, + "argCount": 1, + "returnCount": 4, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 9, + "volume": 47.548875021634686, + "difficulty": 2.5, + "effort": 118.87218755408671, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::detectCoverageFormat" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::coverageFileExists": { + "line": 365, + "lineCount": 20, + "argCount": 2, + "returnCount": 3, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 4, + "N2": 7, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 3.5, + "effort": 99.52105627776452, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::coverageFileExists" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__construct": { + "line": 12, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__invoke": { + "line": 17, + "lineCount": 22, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 3, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 10, + "N2": 11, + "programLength": 21, + "programVocabulary": 7, + "volume": 58.95445336320969, + "difficulty": 2.2, + "effort": 129.6997973990613, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__invoke" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__construct": { + "line": 21, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__invoke": { + "line": 26, + "lineCount": 11, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 4, + "N2": 9, + "programLength": 13, + "programVocabulary": 4, + "volume": 26, + "difficulty": 4.5, + "effort": 117, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__invoke" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleSourceFilesFound": { + "line": 38, + "lineCount": 6, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 4, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 6, + "N2": 10, + "programLength": 16, + "programVocabulary": 8, + "volume": 48, + "difficulty": 5, + "effort": 240, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleSourceFilesFound" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleFileProcessed": { + "line": 45, + "lineCount": 5, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleFileProcessed" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleAllFilesProcessed": { + "line": 51, + "lineCount": 6, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 3, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 3, + "N2": 5, + "programLength": 8, + "programVocabulary": 5, + "volume": 18.575424759098897, + "difficulty": 1.6666666666666667, + "effort": 30.95904126516483, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleAllFilesProcessed" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__construct": { + "line": 20, + "lineCount": 5, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__invoke": { + "line": 26, + "lineCount": 17, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 5, + "n2": 8, + "N1": 17, + "N2": 17, + "programLength": 34, + "programVocabulary": 13, + "volume": 125.81495041679713, + "difficulty": 5.3125, + "effort": 668.3919240892347, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__invoke" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::formatBytes": { + "line": 50, + "lineCount": 12, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 7, + "n2": 13, + "N1": 10, + "N2": 22, + "programLength": 32, + "programVocabulary": 20, + "volume": 138.3016990363956, + "difficulty": 5.923076923076923, + "effort": 819.1716019848047, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::formatBytes" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::isDebugEnabled": { + "line": 66, + "lineCount": 5, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 1, + "N1": 4, + "N2": 2, + "programLength": 6, + "programVocabulary": 4, + "volume": 12, + "difficulty": 3, + "effort": 36, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::isDebugEnabled" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::__construct": { + "line": 20, + "lineCount": 6, + "argCount": 2, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 4, + "volume": 8, + "difficulty": 0.5, + "effort": 4, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::exportToFile": { + "line": 32, + "lineCount": 27, + "argCount": 3, + "returnCount": 4, + "variableCount": 2, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 1, + "n2": 6, + "N1": 6, + "N2": 19, + "programLength": 25, + "programVocabulary": 7, + "volume": 70.1838730514401, + "difficulty": 1.5833333333333333, + "effort": 111.12446566478016, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::exportToFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::hasIncompleteReportOptions": { + "line": 60, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 2, + "N1": 7, + "N2": 6, + "programLength": 13, + "programVocabulary": 6, + "volume": 33.60451250937503, + "difficulty": 6, + "effort": 201.62707505625016, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::hasIncompleteReportOptions" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::isValidReportType": { + "line": 65, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 2, + "N2": 4, + "programLength": 6, + "programVocabulary": 4, + "volume": 12, + "difficulty": 2, + "effort": 24, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::isValidReportType" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleExceptions": { + "line": 77, + "lineCount": 9, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 3, + "N2": 4, + "programLength": 7, + "programVocabulary": 5, + "volume": 16.253496664211536, + "difficulty": 1.3333333333333333, + "effort": 21.67132888561538, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleExceptions" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleInvalidReportType": { + "line": 91, + "lineCount": 11, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 5, + "N2": 8, + "programLength": 13, + "programVocabulary": 8, + "volume": 39, + "difficulty": 2.4000000000000004, + "effort": 93.60000000000001, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleInvalidReportType" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::__construct": { + "line": 15, + "lineCount": 5, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handle": { + "line": 24, + "lineCount": 27, + "argCount": 3, + "returnCount": 4, + "variableCount": 2, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 1, + "n2": 6, + "N1": 6, + "N2": 19, + "programLength": 25, + "programVocabulary": 7, + "volume": 70.1838730514401, + "difficulty": 1.5833333333333333, + "effort": 111.12446566478016, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handle" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::hasIncompleteReportOptions": { + "line": 52, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 2, + "N1": 7, + "N2": 6, + "programLength": 13, + "programVocabulary": 6, + "volume": 33.60451250937503, + "difficulty": 6, + "effort": 201.62707505625016, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::hasIncompleteReportOptions" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::isValidReportType": { + "line": 57, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 5, + "N1": 1, + "N2": 6, + "programLength": 7, + "programVocabulary": 6, + "volume": 18.094737505048094, + "difficulty": 0.6, + "effort": 10.856842503028856, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::isValidReportType" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handleExceptions": { + "line": 66, + "lineCount": 9, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 3, + "N2": 4, + "programLength": 7, + "programVocabulary": 5, + "volume": 16.253496664211536, + "difficulty": 1.3333333333333333, + "effort": 21.67132888561538, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handleExceptions" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handleInvalidReporType": { + "line": 80, + "lineCount": 9, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 4, + "programLength": 6, + "programVocabulary": 5, + "volume": 13.931568569324174, + "difficulty": 1.3333333333333333, + "effort": 18.575424759098897, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handleInvalidReporType" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::__construct": { + "line": 42, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::reportWritten": { + "line": 47, + "lineCount": 7, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 4, + "programLength": 6, + "programVocabulary": 5, + "volume": 13.931568569324174, + "difficulty": 1.3333333333333333, + "effort": 18.575424759098897, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::reportWritten" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::renderChurnTable": { + "line": 59, + "lineCount": 35, + "argCount": 1, + "returnCount": 0, + "variableCount": 6, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 8, + "n2": 18, + "N1": 21, + "N2": 53, + "programLength": 74, + "programVocabulary": 26, + "volume": 347.8325391424408, + "difficulty": 11.777777777777779, + "effort": 4096.694349899859, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::renderChurnTable" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricSummaryTextRenderer::__construct": { + "line": 18, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricSummaryTextRenderer::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricSummaryTextRenderer::render": { + "line": 23, + "lineCount": 32, + "argCount": 2, + "returnCount": 0, + "variableCount": 6, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 6, + "n2": 16, + "N1": 27, + "N2": 38, + "programLength": 65, + "programVocabulary": 22, + "volume": 289.86305521142435, + "difficulty": 7.125, + "effort": 2065.2742683813985, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricSummaryTextRenderer::render" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::__construct": { + "line": 27, + "lineCount": 5, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::metricExceedsThreshold": { + "line": 33, + "lineCount": 6, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 2, + "N1": 3, + "N2": 5, + "programLength": 8, + "programVocabulary": 5, + "volume": 18.575424759098897, + "difficulty": 3.75, + "effort": 69.65784284662087, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::metricExceedsThreshold" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::hasCoverageInCollection": { + "line": 43, + "lineCount": 10, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 2, + "N2": 4, + "programLength": 6, + "programVocabulary": 4, + "volume": 12, + "difficulty": 2, + "effort": 24, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::hasCoverageInCollection" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::render": { + "line": 58, + "lineCount": 17, + "argCount": 2, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 6, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 9, + "N2": 25, + "programLength": 34, + "programVocabulary": 6, + "volume": 87.8887250245193, + "difficulty": 6.25, + "effort": 549.3045314032456, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::render" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderGroupedByClass": { + "line": 81, + "lineCount": 19, + "argCount": 3, + "returnCount": 0, + "variableCount": 6, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 5, + "n2": 11, + "N1": 11, + "N2": 25, + "programLength": 36, + "programVocabulary": 16, + "volume": 144, + "difficulty": 5.6818181818181825, + "effort": 818.1818181818182, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderGroupedByClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::buildRowsForClass": { + "line": 106, + "lineCount": 13, + "argCount": 2, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 4, + "N2": 12, + "programLength": 16, + "programVocabulary": 7, + "volume": 44.91767875292167, + "difficulty": 2.4, + "effort": 107.802429007012, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::buildRowsForClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::getFilenameFromMetrics": { + "line": 123, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 5, + "programLength": 6, + "programVocabulary": 4, + "volume": 12, + "difficulty": 0.8333333333333334, + "effort": 10, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::getFilenameFromMetrics" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderAllMethodsInSingleTable": { + "line": 136, + "lineCount": 12, + "argCount": 3, + "returnCount": 0, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 6, + "N2": 15, + "programLength": 21, + "programVocabulary": 11, + "volume": 72.64806399138324, + "difficulty": 4.285714285714286, + "effort": 311.34884567735673, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderAllMethodsInSingleTable" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::buildRowsForSingleTable": { + "line": 154, + "lineCount": 13, + "argCount": 2, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 4, + "N2": 12, + "programLength": 16, + "programVocabulary": 7, + "volume": 44.91767875292167, + "difficulty": 2.4, + "effort": 107.802429007012, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::buildRowsForSingleTable" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderTableCommon": { + "line": 173, + "lineCount": 19, + "argCount": 4, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 8, + "N1": 7, + "N2": 19, + "programLength": 26, + "programVocabulary": 10, + "volume": 86.37013046707142, + "difficulty": 2.375, + "effort": 205.1290598592946, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderTableCommon" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderTable": { + "line": 196, + "lineCount": 13, + "argCount": 4, + "returnCount": 0, + "variableCount": 3, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 7, + "N1": 4, + "N2": 14, + "programLength": 18, + "programVocabulary": 9, + "volume": 57.05865002596162, + "difficulty": 2, + "effort": 114.11730005192324, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderTable" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderSingleTable": { + "line": 213, + "lineCount": 11, + "argCount": 3, + "returnCount": 0, + "variableCount": 3, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 6, + "N1": 4, + "N2": 12, + "programLength": 16, + "programVocabulary": 8, + "volume": 48, + "difficulty": 2, + "effort": 96, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderSingleTable" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::__construct": { + "line": 16, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatScore": { + "line": 21, + "lineCount": 6, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 6, + "N1": 5, + "N2": 9, + "programLength": 14, + "programVocabulary": 8, + "volume": 42, + "difficulty": 1.5, + "effort": 63, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatScore" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadVolume": { + "line": 28, + "lineCount": 14, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 10, + "N1": 9, + "N2": 17, + "programLength": 26, + "programVocabulary": 15, + "volume": 101.57915548582149, + "difficulty": 4.25, + "effort": 431.7114108147413, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadVolume" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadDifficulty": { + "line": 43, + "lineCount": 13, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 10, + "N1": 8, + "N2": 17, + "programLength": 25, + "programVocabulary": 14, + "volume": 95.1838730514401, + "difficulty": 3.4, + "effort": 323.62516837489636, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadDifficulty" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadEffort": { + "line": 57, + "lineCount": 13, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 10, + "N1": 8, + "N2": 17, + "programLength": 25, + "programVocabulary": 14, + "volume": 95.1838730514401, + "difficulty": 3.4, + "effort": 323.62516837489636, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadEffort" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatCyclomaticComplexity": { + "line": 71, + "lineCount": 13, + "argCount": 1, + "returnCount": 3, + "variableCount": 4, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 5, + "n2": 9, + "N1": 9, + "N2": 18, + "programLength": 27, + "programVocabulary": 14, + "volume": 102.79858289555531, + "difficulty": 5, + "effort": 513.9929144777766, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatCyclomaticComplexity" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::colorCyclomaticRisk": { + "line": 85, + "lineCount": 8, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 7, + "N1": 5, + "N2": 11, + "programLength": 16, + "programVocabulary": 9, + "volume": 50.718800023076994, + "difficulty": 1.5714285714285714, + "effort": 79.70097146483528, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::colorCyclomaticRisk" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::__construct": { + "line": 17, + "lineCount": 5, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::getGroupedTableHeaders": { + "line": 28, + "lineCount": 16, + "argCount": 0, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 10, + "N2": 17, + "programLength": 27, + "programVocabulary": 6, + "volume": 69.79398751947122, + "difficulty": 4.25, + "effort": 296.62444695775264, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::getGroupedTableHeaders" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCoverageHeader": { + "line": 49, + "lineCount": 10, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 6, + "programLength": 7, + "programVocabulary": 4, + "volume": 14, + "difficulty": 1, + "effort": 14, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCoverageHeader" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::getSingleTableHeaders": { + "line": 65, + "lineCount": 20, + "argCount": 0, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 6, + "N1": 9, + "N2": 18, + "programLength": 27, + "programVocabulary": 8, + "volume": 81, + "difficulty": 3, + "effort": 243, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::getSingleTableHeaders" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addHalsteadHeaders": { + "line": 92, + "lineCount": 10, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 1, + "n2": 5, + "N1": 3, + "N2": 9, + "programLength": 12, + "programVocabulary": 6, + "volume": 31.019550008653873, + "difficulty": 0.9, + "effort": 27.917595007788485, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addHalsteadHeaders" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCyclomaticHeaders": { + "line": 109, + "lineCount": 8, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 5, + "programLength": 6, + "programVocabulary": 4, + "volume": 12, + "difficulty": 0.8333333333333334, + "effort": 10, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCyclomaticHeaders" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCognitiveMetricDetails": { + "line": 122, + "lineCount": 16, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 10, + "N1": 2, + "N2": 13, + "programLength": 15, + "programVocabulary": 12, + "volume": 53.77443751081734, + "difficulty": 1.3, + "effort": 69.90676876406255, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCognitiveMetricDetails" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::__construct": { + "line": 21, + "lineCount": 6, + "argCount": 3, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 3, + "N1": 0, + "N2": 3, + "programLength": 3, + "programVocabulary": 3, + "volume": 4.754887502163468, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::buildRow": { + "line": 34, + "lineCount": 16, + "argCount": 1, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 10, + "N2": 24, + "programLength": 34, + "programVocabulary": 7, + "volume": 95.45006734995854, + "difficulty": 4.8, + "effort": 458.160323279801, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::buildRow" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::buildRowWithClassInfo": { + "line": 57, + "lineCount": 16, + "argCount": 1, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 10, + "N2": 24, + "programLength": 34, + "programVocabulary": 7, + "volume": 95.45006734995854, + "difficulty": 4.8, + "effort": 458.160323279801, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::buildRowWithClassInfo" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::metricsToArray": { + "line": 79, + "lineCount": 8, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 3, + "N2": 7, + "programLength": 10, + "programVocabulary": 6, + "volume": 25.84962500721156, + "difficulty": 1.75, + "effort": 45.23684376262023, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::metricsToArray" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::metricsToArrayWithClassInfo": { + "line": 93, + "lineCount": 9, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 4, + "N2": 9, + "programLength": 13, + "programVocabulary": 7, + "volume": 36.49561398674886, + "difficulty": 1.8, + "effort": 65.69210517614795, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::metricsToArrayWithClassInfo" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addHalsteadFields": { + "line": 109, + "lineCount": 10, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 6, + "N1": 6, + "N2": 16, + "programLength": 22, + "programVocabulary": 8, + "volume": 66, + "difficulty": 2.6666666666666665, + "effort": 176, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addHalsteadFields" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addCyclomaticFields": { + "line": 126, + "lineCount": 8, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 2, + "N2": 8, + "programLength": 10, + "programVocabulary": 6, + "volume": 25.84962500721156, + "difficulty": 2, + "effort": 51.69925001442312, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addCyclomaticFields" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addWeightedValue": { + "line": 141, + "lineCount": 10, + "argCount": 3, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 11, + "N1": 13, + "N2": 22, + "programLength": 35, + "programVocabulary": 15, + "volume": 136.74117084629816, + "difficulty": 4, + "effort": 546.9646833851926, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addWeightedValue" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addDelta": { + "line": 158, + "lineCount": 20, + "argCount": 3, + "returnCount": 3, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 6, + "n2": 13, + "N1": 19, + "N2": 30, + "programLength": 49, + "programVocabulary": 19, + "volume": 208.14844815873568, + "difficulty": 6.9230769230769225, + "effort": 1441.0277180220162, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::getKeys": { + "line": 184, + "lineCount": 17, + "argCount": 0, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 0, + "n2": 9, + "N1": 0, + "N2": 9, + "programLength": 9, + "programVocabulary": 9, + "volume": 28.52932501298081, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::getKeys" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::assertDeltaMethodExists": { + "line": 205, + "lineCount": 6, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 6, + "programLength": 8, + "programVocabulary": 5, + "volume": 18.575424759098897, + "difficulty": 2, + "effort": 37.150849518197795, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::assertDeltaMethodExists" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addCoverageValue": { + "line": 216, + "lineCount": 11, + "argCount": 2, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 7, + "N1": 7, + "N2": 15, + "programLength": 22, + "programVocabulary": 12, + "volume": 78.86917501586544, + "difficulty": 5.357142857142857, + "effort": 422.51343758499337, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addCoverageValue" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::extracted": { + "line": 233, + "lineCount": 22, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 12, + "N1": 19, + "N2": 34, + "programLength": 53, + "programVocabulary": 15, + "volume": 207.06520156725148, + "difficulty": 4.25, + "effort": 880.0271066608187, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::extracted" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CacheConfig::__construct": { + "line": 12, + "lineCount": 5, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CacheConfig::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CacheConfig::toArray": { + "line": 23, + "lineCount": 7, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 3, + "N1": 0, + "N2": 4, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CacheConfig::toArray" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CognitiveConfig::__construct": { + "line": 20, + "lineCount": 13, + "argCount": 10, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 10, + "N1": 0, + "N2": 10, + "programLength": 10, + "programVocabulary": 10, + "volume": 33.219280948873624, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CognitiveConfig::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CognitiveConfig::toArray": { + "line": 39, + "lineCount": 20, + "argCount": 0, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 10, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 14, + "N1": 3, + "N2": 27, + "programLength": 30, + "programVocabulary": 16, + "volume": 120, + "difficulty": 1.9285714285714286, + "effort": 231.42857142857144, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CognitiveConfig::toArray" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigFactory::fromArray": { + "line": 16, + "lineCount": 31, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 20, + "N1": 10, + "N2": 52, + "programLength": 62, + "programVocabulary": 23, + "volume": 280.4608412755348, + "difficulty": 3.9000000000000004, + "effort": 1093.7972809745859, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigFactory::fromArray" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigLoader::getCognitiveMetricDefaults": { + "line": 27, + "lineCount": 45, + "argCount": 0, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 8, + "N1": 0, + "N2": 16, + "programLength": 16, + "programVocabulary": 8, + "volume": 48, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigLoader::getCognitiveMetricDefaults" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigLoader::getConfigTreeBuilder": { + "line": 73, + "lineCount": 75, + "argCount": 0, + "returnCount": 2, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 24, + "N1": 68, + "N2": 29, + "programLength": 97, + "programVocabulary": 27, + "volume": 461.2240877098564, + "difficulty": 1.8125, + "effort": 835.9686589741148, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigLoader::getConfigTreeBuilder" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigService::__construct": { + "line": 20, + "lineCount": 6, + "argCount": 2, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 4, + "volume": 8, + "difficulty": 0.5, + "effort": 4, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigService::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigService::loadDefaultConfig": { + "line": 30, + "lineCount": 8, + "argCount": 0, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 3, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 5, + "N2": 6, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 3, + "effort": 85.30376252379816, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigService::loadDefaultConfig" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigService::loadConfig": { + "line": 42, + "lineCount": 9, + "argCount": 1, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 3, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 4, + "N1": 5, + "N2": 8, + "programLength": 13, + "programVocabulary": 7, + "volume": 36.49561398674886, + "difficulty": 3, + "effort": 109.48684196024658, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigService::loadConfig" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigService::getConfig": { + "line": 52, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigService::getConfig" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\MetricsConfig::__construct": { + "line": 12, + "lineCount": 6, + "argCount": 3, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 3, + "N1": 0, + "N2": 3, + "programLength": 3, + "programVocabulary": 3, + "volume": 4.754887502163468, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\MetricsConfig::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\MetricsConfig::toArray": { + "line": 24, + "lineCount": 8, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 3, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 4, + "N1": 0, + "N2": 6, + "programLength": 6, + "programVocabulary": 4, + "volume": 12, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\MetricsConfig::toArray" + } + } + }, + "ignored_items": [], + "cached_at": 1759967602 +} \ No newline at end of file diff --git a/.phpcca.cache/68/684957077098e05cc16556599d4c5582.cache b/.phpcca.cache/68/684957077098e05cc16556599d4c5582.cache new file mode 100644 index 0000000..b8e40f8 --- /dev/null +++ b/.phpcca.cache/68/684957077098e05cc16556599d4c5582.cache @@ -0,0 +1,442 @@ +{ + "version": "1.0", + "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/Cache\/FileCache.php", + "file_mtime": 1759967437, + "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", + "analysis_result": { + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::__construct": { + "line": 26, + "lineCount": 5, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 3, + "n2": 4, + "N1": 3, + "N2": 6, + "programLength": 9, + "programVocabulary": 7, + "volume": 25.26619429851844, + "difficulty": 2.25, + "effort": 56.848937171666485, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItem": { + "line": 35, + "lineCount": 15, + "argCount": 1, + "returnCount": 3, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "cyclomatic_complexity": { + "complexity": 3, + "risk_level": "low" + }, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 6, + "N2": 13, + "programLength": 19, + "programVocabulary": 8, + "volume": 57, + "difficulty": 6.5, + "effort": 370.5, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItem" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItems": { + "line": 55, + "lineCount": 9, + "argCount": 1, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 2, + "risk_level": "low" + }, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 3, + "N2": 9, + "programLength": 12, + "programVocabulary": 6, + "volume": 31.019550008653873, + "difficulty": 2.25, + "effort": 69.79398751947122, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItems" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::hasItem": { + "line": 68, + "lineCount": 6, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 5, + "n2": 3, + "N1": 6, + "N2": 7, + "programLength": 13, + "programVocabulary": 8, + "volume": 39, + "difficulty": 5.833333333333334, + "effort": 227.50000000000003, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::hasItem" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::clear": { + "line": 75, + "lineCount": 10, + "argCount": 0, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 2, + "risk_level": "low" + }, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 2, + "N2": 4, + "programLength": 6, + "programVocabulary": 3, + "volume": 9.509775004326936, + "difficulty": 1, + "effort": 9.509775004326936, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::clear" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItem": { + "line": 89, + "lineCount": 10, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "cyclomatic_complexity": { + "complexity": 2, + "risk_level": "low" + }, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 4, + "N2": 6, + "programLength": 10, + "programVocabulary": 6, + "volume": 25.84962500721156, + "difficulty": 3, + "effort": 77.54887502163469, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItem" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItems": { + "line": 103, + "lineCount": 10, + "argCount": 1, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "cyclomatic_complexity": { + "complexity": 3, + "risk_level": "low" + }, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 3, + "N2": 8, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 2, + "effort": 56.86917501586544, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItems" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::save": { + "line": 117, + "lineCount": 11, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "cyclomatic_complexity": { + "complexity": 2, + "risk_level": "low" + }, + "halstead": { + "n1": 3, + "n2": 4, + "N1": 9, + "N2": 12, + "programLength": 21, + "programVocabulary": 7, + "volume": 58.95445336320969, + "difficulty": 4.5, + "effort": 265.2950401344436, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::save" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveDeferred": { + "line": 129, + "lineCount": 6, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveDeferred" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::commit": { + "line": 136, + "lineCount": 11, + "argCount": 0, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "cyclomatic_complexity": { + "complexity": 3, + "risk_level": "low" + }, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 4, + "N2": 8, + "programLength": 12, + "programVocabulary": 5, + "volume": 27.863137138648348, + "difficulty": 2.6666666666666665, + "effort": 74.30169903639559, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::commit" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::ensureCacheDirectory": { + "line": 152, + "lineCount": 9, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "cyclomatic_complexity": { + "complexity": 2, + "risk_level": "low" + }, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 3, + "N2": 4, + "programLength": 7, + "programVocabulary": 4, + "volume": 14, + "difficulty": 2, + "effort": 28, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::ensureCacheDirectory" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getCacheFilePath": { + "line": 168, + "lineCount": 15, + "argCount": 1, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "cyclomatic_complexity": { + "complexity": 2, + "risk_level": "low" + }, + "halstead": { + "n1": 4, + "n2": 10, + "N1": 13, + "N2": 19, + "programLength": 32, + "programVocabulary": 14, + "volume": 121.83535750584333, + "difficulty": 3.8, + "effort": 462.9743585222046, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getCacheFilePath" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::loadCacheData": { + "line": 187, + "lineCount": 14, + "argCount": 1, + "returnCount": 3, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "cyclomatic_complexity": { + "complexity": 3, + "risk_level": "low" + }, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 6, + "N2": 8, + "programLength": 14, + "programVocabulary": 6, + "volume": 36.18947501009619, + "difficulty": 4, + "effort": 144.75790004038475, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::loadCacheData" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveCacheData": { + "line": 209, + "lineCount": 21, + "argCount": 2, + "returnCount": 3, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "cyclomatic_complexity": { + "complexity": 3, + "risk_level": "low" + }, + "halstead": { + "n1": 6, + "n2": 7, + "N1": 13, + "N2": 17, + "programLength": 30, + "programVocabulary": 13, + "volume": 111.01319154423277, + "difficulty": 7.285714285714285, + "effort": 808.810395536553, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveCacheData" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::sanitizeUtf8": { + "line": 234, + "lineCount": 25, + "argCount": 1, + "returnCount": 4, + "variableCount": 6, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "cyclomatic_complexity": { + "complexity": 6, + "risk_level": "medium" + }, + "halstead": { + "n1": 3, + "n2": 8, + "N1": 13, + "N2": 29, + "programLength": 42, + "programVocabulary": 11, + "volume": 145.29612798276648, + "difficulty": 5.4375, + "effort": 790.0476959062927, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::sanitizeUtf8" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::removeDirectory": { + "line": 260, + "lineCount": 23, + "argCount": 1, + "returnCount": 2, + "variableCount": 5, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "cyclomatic_complexity": { + "complexity": 5, + "risk_level": "low" + }, + "halstead": { + "n1": 5, + "n2": 9, + "N1": 13, + "N2": 20, + "programLength": 33, + "programVocabulary": 14, + "volume": 125.64271242790093, + "difficulty": 5.555555555555555, + "effort": 698.0150690438941, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::removeDirectory" + } + } + }, + "ignored_items": [], + "cached_at": 1759967601 +} \ No newline at end of file diff --git a/.phpcca.cache/6d/6d574ec4d7bfe9eb4f74f3b861abe32f.cache b/.phpcca.cache/6d/6d574ec4d7bfe9eb4f74f3b861abe32f.cache new file mode 100644 index 0000000..2178b96 --- /dev/null +++ b/.phpcca.cache/6d/6d574ec4d7bfe9eb4f74f3b861abe32f.cache @@ -0,0 +1,1878 @@ +{ + "version": "1.0", + "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/Business\/CodeCoverage\/CoverageDetails.php", + "file_mtime": 1759784766, + "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", + "analysis_result": { + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct": { + "line": 60, + "lineCount": 5, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 1, + "N1": 2, + "N2": 2, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 2, + "effort": 12.679700005769249, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices": { + "line": 66, + "lineCount": 95, + "argCount": 0, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 5, + "N1": 58, + "N2": 32, + "programLength": 90, + "programVocabulary": 9, + "volume": 285.2932501298081, + "difficulty": 12.8, + "effort": 3651.7536016615436, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap": { + "line": 162, + "lineCount": 10, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 7, + "N2": 7, + "programLength": 14, + "programVocabulary": 2, + "volume": 14, + "difficulty": 3.5, + "effort": 49, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors": { + "line": 173, + "lineCount": 12, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 3, + "N2": 1, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0.5, + "effort": 2, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus": { + "line": 186, + "lineCount": 19, + "argCount": 0, + "returnCount": 0, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 9, + "N2": 13, + "programLength": 22, + "programVocabulary": 7, + "volume": 61.76180828526729, + "difficulty": 2.6, + "effort": 160.58070154169496, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService": { + "line": 206, + "lineCount": 9, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 3, + "N2": 1, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0.5, + "effort": 2, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade": { + "line": 216, + "lineCount": 13, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 3, + "N2": 1, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0.5, + "effort": 2, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands": { + "line": 230, + "lineCount": 21, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 6, + "N2": 2, + "programLength": 8, + "programVocabulary": 2, + "volume": 8, + "difficulty": 1, + "effort": 8, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication": { + "line": 252, + "lineCount": 11, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 5, + "N2": 4, + "programLength": 9, + "programVocabulary": 4, + "volume": 18, + "difficulty": 0.6666666666666666, + "effort": 12, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run": { + "line": 264, + "lineCount": 9, + "argCount": 0, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 5, + "N2": 5, + "programLength": 10, + "programVocabulary": 4, + "volume": 20, + "difficulty": 2.5, + "effort": 50, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get": { + "line": 274, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer": { + "line": 279, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator": { + "line": 289, + "lineCount": 16, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 7, + "programLength": 8, + "programVocabulary": 4, + "volume": 16, + "difficulty": 1.1666666666666667, + "effort": 18.666666666666668, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create": { + "line": 18, + "lineCount": 7, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 4, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile": { + "line": 17, + "lineCount": 17, + "argCount": 2, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 8, + "N1": 11, + "N2": 19, + "programLength": 30, + "programVocabulary": 11, + "volume": 103.78294855911892, + "difficulty": 3.5625, + "effort": 369.72675424186116, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode": { + "line": 42, + "lineCount": 8, + "argCount": 3, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 3, + "N2": 8, + "programLength": 11, + "programVocabulary": 8, + "volume": 33, + "difficulty": 2.4000000000000004, + "effort": 79.20000000000002, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate": { + "line": 22, + "lineCount": 10, + "argCount": 2, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 6, + "N2": 13, + "programLength": 19, + "programVocabulary": 6, + "volume": 49.11428751370197, + "difficulty": 3.25, + "effort": 159.6214344195314, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending": { + "line": 37, + "lineCount": 8, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 2, + "N2": 9, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 2.25, + "effort": 63.97782189284862, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn": { + "line": 51, + "lineCount": 24, + "argCount": 2, + "returnCount": 1, + "variableCount": 6, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 15, + "N1": 17, + "N2": 46, + "programLength": 63, + "programVocabulary": 20, + "volume": 272.28146997790384, + "difficulty": 7.666666666666667, + "effort": 2087.491269830596, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses": { + "line": 81, + "lineCount": 20, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 2, + "n2": 7, + "N1": 10, + "N2": 24, + "programLength": 34, + "programVocabulary": 9, + "volume": 107.7774500490386, + "difficulty": 3.4285714285714284, + "effort": 369.52268588241805, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass": { + "line": 109, + "lineCount": 9, + "argCount": 2, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 6, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 10, + "volume": 49.82892142331043, + "difficulty": 3.3333333333333335, + "effort": 166.09640474436813, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel": { + "line": 126, + "lineCount": 16, + "argCount": 2, + "returnCount": 4, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 12, + "N1": 9, + "N2": 18, + "programLength": 27, + "programVocabulary": 15, + "volume": 105.48604608143, + "difficulty": 2.25, + "effort": 237.3436036832175, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile": { + "line": 14, + "lineCount": 6, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 2, + "N2": 5, + "programLength": 7, + "programVocabulary": 4, + "volume": 14, + "difficulty": 2.5, + "effort": 35, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable": { + "line": 24, + "lineCount": 11, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 10, + "N2": 12, + "programLength": 22, + "programVocabulary": 8, + "volume": 66, + "difficulty": 6, + "effort": 396, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create": { + "line": 21, + "lineCount": 11, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 7, + "N1": 0, + "N2": 9, + "programLength": 9, + "programVocabulary": 7, + "volume": 25.26619429851844, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes": { + "line": 38, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 6, + "N1": 0, + "N2": 6, + "programLength": 6, + "programVocabulary": 6, + "volume": 15.509775004326936, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported": { + "line": 49, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 2, + "N2": 3, + "programLength": 5, + "programVocabulary": 4, + "volume": 10, + "difficulty": 1.5, + "effort": 15, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export": { + "line": 30, + "lineCount": 23, + "argCount": 2, + "returnCount": 0, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 16, + "N1": 10, + "N2": 33, + "programLength": 43, + "programVocabulary": 20, + "volume": 185.8429080801566, + "difficulty": 4.125, + "effort": 766.601995830646, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export": { + "line": 28, + "lineCount": 8, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 6, + "volume": 36.18947501009619, + "difficulty": 2.5, + "effort": 90.47368752524048, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape": { + "line": 37, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber": { + "line": 42, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml": { + "line": 52, + "lineCount": 50, + "argCount": 1, + "returnCount": 1, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 12, + "N1": 11, + "N2": 25, + "programLength": 36, + "programVocabulary": 17, + "volume": 147.14866228501222, + "difficulty": 5.208333333333334, + "effort": 766.3992827344388, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export": { + "line": 17, + "lineCount": 13, + "argCount": 2, + "returnCount": 0, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 8, + "N1": 7, + "N2": 14, + "programLength": 21, + "programVocabulary": 12, + "volume": 75.28421251514428, + "difficulty": 3.5, + "effort": 263.49474380300495, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export": { + "line": 48, + "lineCount": 8, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 6, + "volume": 36.18947501009619, + "difficulty": 2.5, + "effort": 90.47368752524048, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown": { + "line": 61, + "lineCount": 24, + "argCount": 1, + "returnCount": 1, + "variableCount": 6, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 6, + "n2": 16, + "N1": 19, + "N2": 41, + "programLength": 60, + "programVocabulary": 22, + "volume": 267.56589711823784, + "difficulty": 7.6875, + "effort": 2056.9128340964535, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow": { + "line": 94, + "lineCount": 21, + "argCount": 3, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 7, + "n2": 18, + "N1": 16, + "N2": 39, + "programLength": 55, + "programVocabulary": 25, + "volume": 255.41209043760983, + "difficulty": 7.583333333333333, + "effort": 1936.8750191518745, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::__construct": { + "line": 26, + "lineCount": 4, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::export": { + "line": 36, + "lineCount": 10, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 8, + "volume": 45, + "difficulty": 5, + "effort": 225, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::generateSvgTreemap": { + "line": 53, + "lineCount": 20, + "argCount": 1, + "returnCount": 1, + "variableCount": 6, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 8, + "N1": 9, + "N2": 20, + "programLength": 29, + "programVocabulary": 10, + "volume": 96.3359147517335, + "difficulty": 2.5, + "effort": 240.83978687933376, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::generateSvgTreemap" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRects": { + "line": 82, + "lineCount": 10, + "argCount": 3, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 9, + "N1": 6, + "N2": 18, + "programLength": 24, + "programVocabulary": 12, + "volume": 86.03910001730775, + "difficulty": 3, + "effort": 258.1173000519232, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRects" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRect": { + "line": 100, + "lineCount": 29, + "argCount": 2, + "returnCount": 1, + "variableCount": 12, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 6, + "n2": 28, + "N1": 26, + "N2": 54, + "programLength": 80, + "programVocabulary": 34, + "volume": 406.9970273000271, + "difficulty": 5.785714285714286, + "effort": 2354.7685150930142, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRect" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::wrapSvg": { + "line": 136, + "lineCount": 21, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 2, + "N2": 8, + "programLength": 10, + "programVocabulary": 4, + "volume": 20, + "difficulty": 1.3333333333333333, + "effort": 26.666666666666664, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::wrapSvg" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::prepareItems": { + "line": 28, + "lineCount": 18, + "argCount": 1, + "returnCount": 1, + "variableCount": 7, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 12, + "N1": 9, + "N2": 30, + "programLength": 39, + "programVocabulary": 17, + "volume": 159.41105080876324, + "difficulty": 6.25, + "effort": 996.3190675547702, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::prepareItems" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findScoreRange": { + "line": 53, + "lineCount": 16, + "argCount": 1, + "returnCount": 3, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 7, + "N2": 13, + "programLength": 20, + "programVocabulary": 8, + "volume": 60, + "difficulty": 3.9000000000000004, + "effort": 234.00000000000003, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findScoreRange" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::normalizeScore": { + "line": 78, + "lineCount": 8, + "argCount": 3, + "returnCount": 2, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 8, + "volume": 45, + "difficulty": 5, + "effort": 225, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::normalizeScore" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::scoreToColor": { + "line": 93, + "lineCount": 9, + "argCount": 1, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 5, + "n2": 9, + "N1": 12, + "N2": 16, + "programLength": 28, + "programVocabulary": 14, + "volume": 106.60593781761291, + "difficulty": 4.444444444444445, + "effort": 473.80416807827964, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::scoreToColor" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::calculateTreemapLayout": { + "line": 115, + "lineCount": 23, + "argCount": 7, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 9, + "N1": 2, + "N2": 18, + "programLength": 20, + "programVocabulary": 11, + "volume": 69.18863237274594, + "difficulty": 2, + "effort": 138.37726474549189, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::calculateTreemapLayout" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::layoutTreemap": { + "line": 152, + "lineCount": 89, + "argCount": 8, + "returnCount": 3, + "variableCount": 11, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 8, + "n2": 28, + "N1": 32, + "N2": 98, + "programLength": 130, + "programVocabulary": 36, + "volume": 672.0902501875006, + "difficulty": 14, + "effort": 9409.263502625008, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::layoutTreemap" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findSplitIndex": { + "line": 249, + "lineCount": 13, + "argCount": 2, + "returnCount": 2, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 7, + "n2": 10, + "N1": 9, + "N2": 23, + "programLength": 32, + "programVocabulary": 17, + "volume": 130.79881092001085, + "difficulty": 8.049999999999999, + "effort": 1052.9304279060873, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findSplitIndex" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::__construct": { + "line": 23, + "lineCount": 18, + "argCount": 1, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 7, + "N2": 11, + "programLength": 18, + "programVocabulary": 6, + "volume": 46.529325012980806, + "difficulty": 5.5, + "effort": 255.91128757139444, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::getAllClasses": { + "line": 47, + "lineCount": 17, + "argCount": 0, + "returnCount": 2, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 6, + "N2": 12, + "programLength": 18, + "programVocabulary": 9, + "volume": 57.05865002596162, + "difficulty": 3, + "effort": 171.17595007788486, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::getAllClasses" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::withClassNode": { + "line": 73, + "lineCount": 8, + "argCount": 2, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 4, + "N2": 8, + "programLength": 12, + "programVocabulary": 8, + "volume": 36, + "difficulty": 4, + "effort": 144, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::withClassNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::findClassNode": { + "line": 85, + "lineCount": 25, + "argCount": 1, + "returnCount": 4, + "variableCount": 5, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 13, + "N2": 29, + "programLength": 42, + "programVocabulary": 11, + "volume": 145.29612798276648, + "difficulty": 8.285714285714286, + "effort": 1203.8822032857795, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::findClassNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::escapeXPathValue": { + "line": 114, + "lineCount": 16, + "argCount": 1, + "returnCount": 3, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 9, + "N1": 11, + "N2": 18, + "programLength": 29, + "programVocabulary": 13, + "volume": 107.31275182609167, + "difficulty": 4, + "effort": 429.2510073043667, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::escapeXPathValue" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getLineCoverage": { + "line": 22, + "lineCount": 18, + "argCount": 1, + "returnCount": 4, + "variableCount": 5, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 9, + "N1": 10, + "N2": 19, + "programLength": 29, + "programVocabulary": 13, + "volume": 107.31275182609167, + "difficulty": 4.222222222222222, + "effort": 453.09828548794263, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getLineCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getBranchCoverage": { + "line": 48, + "lineCount": 18, + "argCount": 1, + "returnCount": 4, + "variableCount": 5, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 9, + "N1": 10, + "N2": 19, + "programLength": 29, + "programVocabulary": 13, + "volume": 107.31275182609167, + "difficulty": 4.222222222222222, + "effort": 453.09828548794263, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getBranchCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getComplexity": { + "line": 73, + "lineCount": 13, + "argCount": 1, + "returnCount": 3, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 7, + "N2": 14, + "programLength": 21, + "programVocabulary": 11, + "volume": 72.64806399138324, + "difficulty": 4, + "effort": 290.59225596553296, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getComplexity" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getCoverageDetails": { + "line": 93, + "lineCount": 26, + "argCount": 1, + "returnCount": 3, + "variableCount": 9, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 17, + "N1": 22, + "N2": 42, + "programLength": 64, + "programVocabulary": 22, + "volume": 285.403623592787, + "difficulty": 6.176470588235294, + "effort": 1762.7870868966259, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getCoverageDetails" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getMetricsNode": { + "line": 123, + "lineCount": 12, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 6, + "N1": 7, + "N2": 13, + "programLength": 20, + "programVocabulary": 10, + "volume": 66.43856189774725, + "difficulty": 4.333333333333333, + "effort": 287.90043489023805, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getMetricsNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getFilenameForClass": { + "line": 139, + "lineCount": 9, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 5, + "N1": 4, + "N2": 9, + "programLength": 13, + "programVocabulary": 9, + "volume": 41.209025018750054, + "difficulty": 3.6, + "effort": 148.3524900675002, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getFilenameForClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodsCoverage": { + "line": 154, + "lineCount": 36, + "argCount": 1, + "returnCount": 3, + "variableCount": 8, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 13, + "N1": 12, + "N2": 30, + "programLength": 42, + "programVocabulary": 16, + "volume": 168, + "difficulty": 3.4615384615384612, + "effort": 581.5384615384614, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodsCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::calculateMethodCoverage": { + "line": 194, + "lineCount": 15, + "argCount": 2, + "returnCount": 2, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 11, + "N1": 9, + "N2": 23, + "programLength": 32, + "programVocabulary": 16, + "volume": 128, + "difficulty": 5.227272727272727, + "effort": 669.090909090909, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::calculateMethodCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodCoverageFromLines": { + "line": 215, + "lineCount": 36, + "argCount": 2, + "returnCount": 1, + "variableCount": 7, + "propertyCallCount": 0, + "ifNestingLevel": 2, + "elseCount": 0, + "ifCount": 5, + "halstead": { + "n1": 2, + "n2": 14, + "N1": 12, + "N2": 35, + "programLength": 47, + "programVocabulary": 16, + "volume": 188, + "difficulty": 2.5, + "effort": 470, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodCoverageFromLines" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStart": { + "line": 252, + "lineCount": 4, + "argCount": 3, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 3, + "N2": 7, + "programLength": 10, + "programVocabulary": 6, + "volume": 25.84962500721156, + "difficulty": 1.75, + "effort": 45.23684376262023, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStart" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodEnd": { + "line": 257, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 5, + "programLength": 7, + "programVocabulary": 5, + "volume": 16.253496664211536, + "difficulty": 1.6666666666666667, + "effort": 27.089161107019226, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodEnd" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStatement": { + "line": 262, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 5, + "programLength": 7, + "programVocabulary": 5, + "volume": 16.253496664211536, + "difficulty": 1.6666666666666667, + "effort": 27.089161107019226, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStatement" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isStatementCovered": { + "line": 267, + "lineCount": 5, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 4, + "N1": 3, + "N2": 6, + "programLength": 9, + "programVocabulary": 7, + "volume": 25.26619429851844, + "difficulty": 2.25, + "effort": 56.848937171666485, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isStatementCovered" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getLineCoverage": { + "line": 20, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 9, + "volume": 44.37895002019237, + "difficulty": 2.5, + "effort": 110.94737505048093, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getLineCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getBranchCoverage": { + "line": 34, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 9, + "volume": 44.37895002019237, + "difficulty": 2.5, + "effort": 110.94737505048093, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getBranchCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getComplexity": { + "line": 48, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 9, + "volume": 44.37895002019237, + "difficulty": 2.5, + "effort": 110.94737505048093, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getComplexity" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getCoverageDetails": { + "line": 62, + "lineCount": 13, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 8, + "N1": 7, + "N2": 16, + "programLength": 23, + "programVocabulary": 9, + "volume": 72.90827503317318, + "difficulty": 1, + "effort": 72.90827503317318, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getCoverageDetails" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::extractMethodsCoverage": { + "line": 81, + "lineCount": 23, + "argCount": 1, + "returnCount": 2, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 11, + "N1": 10, + "N2": 23, + "programLength": 33, + "programVocabulary": 14, + "volume": 125.64271242790093, + "difficulty": 3.1363636363636362, + "effort": 394.061234432962, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::extractMethodsCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CodeCoverageFactory::createFromName": { + "line": 14, + "lineCount": 8, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 4, + "N1": 1, + "N2": 8, + "programLength": 9, + "programVocabulary": 5, + "volume": 20.89735285398626, + "difficulty": 1, + "effort": 20.89735285398626, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CodeCoverageFactory::createFromName" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::__construct": { + "line": 28, + "lineCount": 15, + "argCount": 6, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 6, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 1, + "n2": 7, + "N1": 6, + "N2": 18, + "programLength": 24, + "programVocabulary": 8, + "volume": 72, + "difficulty": 1.2857142857142858, + "effort": 92.57142857142858, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getName": { + "line": 44, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getName" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getFilename": { + "line": 49, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getFilename" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getLineRate": { + "line": 54, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getLineRate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getBranchRate": { + "line": 59, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getBranchRate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getComplexity": { + "line": 64, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getComplexity" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getMethods": { + "line": 72, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getMethods" + } + } + }, + "ignored_items": [], + "cached_at": 1759967600 +} \ No newline at end of file diff --git a/.phpcca.cache/71/71ab65abe94b592e89564b3f041ef723.cache b/.phpcca.cache/71/71ab65abe94b592e89564b3f041ef723.cache new file mode 100644 index 0000000..82ae984 --- /dev/null +++ b/.phpcca.cache/71/71ab65abe94b592e89564b3f041ef723.cache @@ -0,0 +1,5120 @@ +{ + "version": "1.0", + "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/Business\/Cyclomatic\/CyclomaticMetrics.php", + "file_mtime": 1752612112, + "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", + "analysis_result": { + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct": { + "line": 60, + "lineCount": 5, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 1, + "N1": 2, + "N2": 2, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 2, + "effort": 12.679700005769249, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices": { + "line": 66, + "lineCount": 95, + "argCount": 0, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 5, + "N1": 58, + "N2": 32, + "programLength": 90, + "programVocabulary": 9, + "volume": 285.2932501298081, + "difficulty": 12.8, + "effort": 3651.7536016615436, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap": { + "line": 162, + "lineCount": 10, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 7, + "N2": 7, + "programLength": 14, + "programVocabulary": 2, + "volume": 14, + "difficulty": 3.5, + "effort": 49, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors": { + "line": 173, + "lineCount": 12, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 3, + "N2": 1, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0.5, + "effort": 2, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus": { + "line": 186, + "lineCount": 19, + "argCount": 0, + "returnCount": 0, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 9, + "N2": 13, + "programLength": 22, + "programVocabulary": 7, + "volume": 61.76180828526729, + "difficulty": 2.6, + "effort": 160.58070154169496, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService": { + "line": 206, + "lineCount": 9, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 3, + "N2": 1, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0.5, + "effort": 2, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade": { + "line": 216, + "lineCount": 13, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 3, + "N2": 1, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0.5, + "effort": 2, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands": { + "line": 230, + "lineCount": 21, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 6, + "N2": 2, + "programLength": 8, + "programVocabulary": 2, + "volume": 8, + "difficulty": 1, + "effort": 8, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication": { + "line": 252, + "lineCount": 11, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 5, + "N2": 4, + "programLength": 9, + "programVocabulary": 4, + "volume": 18, + "difficulty": 0.6666666666666666, + "effort": 12, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run": { + "line": 264, + "lineCount": 9, + "argCount": 0, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 5, + "N2": 5, + "programLength": 10, + "programVocabulary": 4, + "volume": 20, + "difficulty": 2.5, + "effort": 50, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get": { + "line": 274, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer": { + "line": 279, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator": { + "line": 289, + "lineCount": 16, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 7, + "programLength": 8, + "programVocabulary": 4, + "volume": 16, + "difficulty": 1.1666666666666667, + "effort": 18.666666666666668, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create": { + "line": 18, + "lineCount": 7, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 4, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile": { + "line": 17, + "lineCount": 17, + "argCount": 2, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 8, + "N1": 11, + "N2": 19, + "programLength": 30, + "programVocabulary": 11, + "volume": 103.78294855911892, + "difficulty": 3.5625, + "effort": 369.72675424186116, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode": { + "line": 42, + "lineCount": 8, + "argCount": 3, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 3, + "N2": 8, + "programLength": 11, + "programVocabulary": 8, + "volume": 33, + "difficulty": 2.4000000000000004, + "effort": 79.20000000000002, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate": { + "line": 22, + "lineCount": 10, + "argCount": 2, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 6, + "N2": 13, + "programLength": 19, + "programVocabulary": 6, + "volume": 49.11428751370197, + "difficulty": 3.25, + "effort": 159.6214344195314, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending": { + "line": 37, + "lineCount": 8, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 2, + "N2": 9, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 2.25, + "effort": 63.97782189284862, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn": { + "line": 51, + "lineCount": 24, + "argCount": 2, + "returnCount": 1, + "variableCount": 6, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 15, + "N1": 17, + "N2": 46, + "programLength": 63, + "programVocabulary": 20, + "volume": 272.28146997790384, + "difficulty": 7.666666666666667, + "effort": 2087.491269830596, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses": { + "line": 81, + "lineCount": 20, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 2, + "n2": 7, + "N1": 10, + "N2": 24, + "programLength": 34, + "programVocabulary": 9, + "volume": 107.7774500490386, + "difficulty": 3.4285714285714284, + "effort": 369.52268588241805, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass": { + "line": 109, + "lineCount": 9, + "argCount": 2, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 6, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 10, + "volume": 49.82892142331043, + "difficulty": 3.3333333333333335, + "effort": 166.09640474436813, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel": { + "line": 126, + "lineCount": 16, + "argCount": 2, + "returnCount": 4, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 12, + "N1": 9, + "N2": 18, + "programLength": 27, + "programVocabulary": 15, + "volume": 105.48604608143, + "difficulty": 2.25, + "effort": 237.3436036832175, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile": { + "line": 14, + "lineCount": 6, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 2, + "N2": 5, + "programLength": 7, + "programVocabulary": 4, + "volume": 14, + "difficulty": 2.5, + "effort": 35, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable": { + "line": 24, + "lineCount": 11, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 10, + "N2": 12, + "programLength": 22, + "programVocabulary": 8, + "volume": 66, + "difficulty": 6, + "effort": 396, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create": { + "line": 21, + "lineCount": 11, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 7, + "N1": 0, + "N2": 9, + "programLength": 9, + "programVocabulary": 7, + "volume": 25.26619429851844, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes": { + "line": 38, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 6, + "N1": 0, + "N2": 6, + "programLength": 6, + "programVocabulary": 6, + "volume": 15.509775004326936, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported": { + "line": 49, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 2, + "N2": 3, + "programLength": 5, + "programVocabulary": 4, + "volume": 10, + "difficulty": 1.5, + "effort": 15, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export": { + "line": 30, + "lineCount": 23, + "argCount": 2, + "returnCount": 0, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 16, + "N1": 10, + "N2": 33, + "programLength": 43, + "programVocabulary": 20, + "volume": 185.8429080801566, + "difficulty": 4.125, + "effort": 766.601995830646, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export": { + "line": 28, + "lineCount": 8, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 6, + "volume": 36.18947501009619, + "difficulty": 2.5, + "effort": 90.47368752524048, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape": { + "line": 37, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber": { + "line": 42, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml": { + "line": 52, + "lineCount": 50, + "argCount": 1, + "returnCount": 1, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 12, + "N1": 11, + "N2": 25, + "programLength": 36, + "programVocabulary": 17, + "volume": 147.14866228501222, + "difficulty": 5.208333333333334, + "effort": 766.3992827344388, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export": { + "line": 17, + "lineCount": 13, + "argCount": 2, + "returnCount": 0, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 8, + "N1": 7, + "N2": 14, + "programLength": 21, + "programVocabulary": 12, + "volume": 75.28421251514428, + "difficulty": 3.5, + "effort": 263.49474380300495, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export": { + "line": 48, + "lineCount": 8, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 6, + "volume": 36.18947501009619, + "difficulty": 2.5, + "effort": 90.47368752524048, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown": { + "line": 61, + "lineCount": 24, + "argCount": 1, + "returnCount": 1, + "variableCount": 6, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 6, + "n2": 16, + "N1": 19, + "N2": 41, + "programLength": 60, + "programVocabulary": 22, + "volume": 267.56589711823784, + "difficulty": 7.6875, + "effort": 2056.9128340964535, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow": { + "line": 94, + "lineCount": 21, + "argCount": 3, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 7, + "n2": 18, + "N1": 16, + "N2": 39, + "programLength": 55, + "programVocabulary": 25, + "volume": 255.41209043760983, + "difficulty": 7.583333333333333, + "effort": 1936.8750191518745, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::__construct": { + "line": 26, + "lineCount": 4, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::export": { + "line": 36, + "lineCount": 10, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 8, + "volume": 45, + "difficulty": 5, + "effort": 225, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::generateSvgTreemap": { + "line": 53, + "lineCount": 20, + "argCount": 1, + "returnCount": 1, + "variableCount": 6, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 8, + "N1": 9, + "N2": 20, + "programLength": 29, + "programVocabulary": 10, + "volume": 96.3359147517335, + "difficulty": 2.5, + "effort": 240.83978687933376, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::generateSvgTreemap" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRects": { + "line": 82, + "lineCount": 10, + "argCount": 3, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 9, + "N1": 6, + "N2": 18, + "programLength": 24, + "programVocabulary": 12, + "volume": 86.03910001730775, + "difficulty": 3, + "effort": 258.1173000519232, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRects" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRect": { + "line": 100, + "lineCount": 29, + "argCount": 2, + "returnCount": 1, + "variableCount": 12, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 6, + "n2": 28, + "N1": 26, + "N2": 54, + "programLength": 80, + "programVocabulary": 34, + "volume": 406.9970273000271, + "difficulty": 5.785714285714286, + "effort": 2354.7685150930142, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRect" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::wrapSvg": { + "line": 136, + "lineCount": 21, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 2, + "N2": 8, + "programLength": 10, + "programVocabulary": 4, + "volume": 20, + "difficulty": 1.3333333333333333, + "effort": 26.666666666666664, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::wrapSvg" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::prepareItems": { + "line": 28, + "lineCount": 18, + "argCount": 1, + "returnCount": 1, + "variableCount": 7, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 12, + "N1": 9, + "N2": 30, + "programLength": 39, + "programVocabulary": 17, + "volume": 159.41105080876324, + "difficulty": 6.25, + "effort": 996.3190675547702, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::prepareItems" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findScoreRange": { + "line": 53, + "lineCount": 16, + "argCount": 1, + "returnCount": 3, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 7, + "N2": 13, + "programLength": 20, + "programVocabulary": 8, + "volume": 60, + "difficulty": 3.9000000000000004, + "effort": 234.00000000000003, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findScoreRange" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::normalizeScore": { + "line": 78, + "lineCount": 8, + "argCount": 3, + "returnCount": 2, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 8, + "volume": 45, + "difficulty": 5, + "effort": 225, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::normalizeScore" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::scoreToColor": { + "line": 93, + "lineCount": 9, + "argCount": 1, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 5, + "n2": 9, + "N1": 12, + "N2": 16, + "programLength": 28, + "programVocabulary": 14, + "volume": 106.60593781761291, + "difficulty": 4.444444444444445, + "effort": 473.80416807827964, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::scoreToColor" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::calculateTreemapLayout": { + "line": 115, + "lineCount": 23, + "argCount": 7, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 9, + "N1": 2, + "N2": 18, + "programLength": 20, + "programVocabulary": 11, + "volume": 69.18863237274594, + "difficulty": 2, + "effort": 138.37726474549189, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::calculateTreemapLayout" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::layoutTreemap": { + "line": 152, + "lineCount": 89, + "argCount": 8, + "returnCount": 3, + "variableCount": 11, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 8, + "n2": 28, + "N1": 32, + "N2": 98, + "programLength": 130, + "programVocabulary": 36, + "volume": 672.0902501875006, + "difficulty": 14, + "effort": 9409.263502625008, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::layoutTreemap" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findSplitIndex": { + "line": 249, + "lineCount": 13, + "argCount": 2, + "returnCount": 2, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 7, + "n2": 10, + "N1": 9, + "N2": 23, + "programLength": 32, + "programVocabulary": 17, + "volume": 130.79881092001085, + "difficulty": 8.049999999999999, + "effort": 1052.9304279060873, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findSplitIndex" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::__construct": { + "line": 23, + "lineCount": 18, + "argCount": 1, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 7, + "N2": 11, + "programLength": 18, + "programVocabulary": 6, + "volume": 46.529325012980806, + "difficulty": 5.5, + "effort": 255.91128757139444, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::getAllClasses": { + "line": 47, + "lineCount": 17, + "argCount": 0, + "returnCount": 2, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 6, + "N2": 12, + "programLength": 18, + "programVocabulary": 9, + "volume": 57.05865002596162, + "difficulty": 3, + "effort": 171.17595007788486, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::getAllClasses" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::withClassNode": { + "line": 73, + "lineCount": 8, + "argCount": 2, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 4, + "N2": 8, + "programLength": 12, + "programVocabulary": 8, + "volume": 36, + "difficulty": 4, + "effort": 144, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::withClassNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::findClassNode": { + "line": 85, + "lineCount": 25, + "argCount": 1, + "returnCount": 4, + "variableCount": 5, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 13, + "N2": 29, + "programLength": 42, + "programVocabulary": 11, + "volume": 145.29612798276648, + "difficulty": 8.285714285714286, + "effort": 1203.8822032857795, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::findClassNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::escapeXPathValue": { + "line": 114, + "lineCount": 16, + "argCount": 1, + "returnCount": 3, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 9, + "N1": 11, + "N2": 18, + "programLength": 29, + "programVocabulary": 13, + "volume": 107.31275182609167, + "difficulty": 4, + "effort": 429.2510073043667, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::escapeXPathValue" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getLineCoverage": { + "line": 22, + "lineCount": 18, + "argCount": 1, + "returnCount": 4, + "variableCount": 5, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 9, + "N1": 10, + "N2": 19, + "programLength": 29, + "programVocabulary": 13, + "volume": 107.31275182609167, + "difficulty": 4.222222222222222, + "effort": 453.09828548794263, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getLineCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getBranchCoverage": { + "line": 48, + "lineCount": 18, + "argCount": 1, + "returnCount": 4, + "variableCount": 5, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 9, + "N1": 10, + "N2": 19, + "programLength": 29, + "programVocabulary": 13, + "volume": 107.31275182609167, + "difficulty": 4.222222222222222, + "effort": 453.09828548794263, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getBranchCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getComplexity": { + "line": 73, + "lineCount": 13, + "argCount": 1, + "returnCount": 3, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 7, + "N2": 14, + "programLength": 21, + "programVocabulary": 11, + "volume": 72.64806399138324, + "difficulty": 4, + "effort": 290.59225596553296, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getComplexity" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getCoverageDetails": { + "line": 93, + "lineCount": 26, + "argCount": 1, + "returnCount": 3, + "variableCount": 9, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 17, + "N1": 22, + "N2": 42, + "programLength": 64, + "programVocabulary": 22, + "volume": 285.403623592787, + "difficulty": 6.176470588235294, + "effort": 1762.7870868966259, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getCoverageDetails" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getMetricsNode": { + "line": 123, + "lineCount": 12, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 6, + "N1": 7, + "N2": 13, + "programLength": 20, + "programVocabulary": 10, + "volume": 66.43856189774725, + "difficulty": 4.333333333333333, + "effort": 287.90043489023805, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getMetricsNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getFilenameForClass": { + "line": 139, + "lineCount": 9, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 5, + "N1": 4, + "N2": 9, + "programLength": 13, + "programVocabulary": 9, + "volume": 41.209025018750054, + "difficulty": 3.6, + "effort": 148.3524900675002, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getFilenameForClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodsCoverage": { + "line": 154, + "lineCount": 36, + "argCount": 1, + "returnCount": 3, + "variableCount": 8, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 13, + "N1": 12, + "N2": 30, + "programLength": 42, + "programVocabulary": 16, + "volume": 168, + "difficulty": 3.4615384615384612, + "effort": 581.5384615384614, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodsCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::calculateMethodCoverage": { + "line": 194, + "lineCount": 15, + "argCount": 2, + "returnCount": 2, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 11, + "N1": 9, + "N2": 23, + "programLength": 32, + "programVocabulary": 16, + "volume": 128, + "difficulty": 5.227272727272727, + "effort": 669.090909090909, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::calculateMethodCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodCoverageFromLines": { + "line": 215, + "lineCount": 36, + "argCount": 2, + "returnCount": 1, + "variableCount": 7, + "propertyCallCount": 0, + "ifNestingLevel": 2, + "elseCount": 0, + "ifCount": 5, + "halstead": { + "n1": 2, + "n2": 14, + "N1": 12, + "N2": 35, + "programLength": 47, + "programVocabulary": 16, + "volume": 188, + "difficulty": 2.5, + "effort": 470, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodCoverageFromLines" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStart": { + "line": 252, + "lineCount": 4, + "argCount": 3, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 3, + "N2": 7, + "programLength": 10, + "programVocabulary": 6, + "volume": 25.84962500721156, + "difficulty": 1.75, + "effort": 45.23684376262023, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStart" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodEnd": { + "line": 257, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 5, + "programLength": 7, + "programVocabulary": 5, + "volume": 16.253496664211536, + "difficulty": 1.6666666666666667, + "effort": 27.089161107019226, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodEnd" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStatement": { + "line": 262, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 5, + "programLength": 7, + "programVocabulary": 5, + "volume": 16.253496664211536, + "difficulty": 1.6666666666666667, + "effort": 27.089161107019226, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStatement" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isStatementCovered": { + "line": 267, + "lineCount": 5, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 4, + "N1": 3, + "N2": 6, + "programLength": 9, + "programVocabulary": 7, + "volume": 25.26619429851844, + "difficulty": 2.25, + "effort": 56.848937171666485, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isStatementCovered" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getLineCoverage": { + "line": 20, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 9, + "volume": 44.37895002019237, + "difficulty": 2.5, + "effort": 110.94737505048093, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getLineCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getBranchCoverage": { + "line": 34, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 9, + "volume": 44.37895002019237, + "difficulty": 2.5, + "effort": 110.94737505048093, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getBranchCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getComplexity": { + "line": 48, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 9, + "volume": 44.37895002019237, + "difficulty": 2.5, + "effort": 110.94737505048093, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getComplexity" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getCoverageDetails": { + "line": 62, + "lineCount": 13, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 8, + "N1": 7, + "N2": 16, + "programLength": 23, + "programVocabulary": 9, + "volume": 72.90827503317318, + "difficulty": 1, + "effort": 72.90827503317318, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getCoverageDetails" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::extractMethodsCoverage": { + "line": 81, + "lineCount": 23, + "argCount": 1, + "returnCount": 2, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 11, + "N1": 10, + "N2": 23, + "programLength": 33, + "programVocabulary": 14, + "volume": 125.64271242790093, + "difficulty": 3.1363636363636362, + "effort": 394.061234432962, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::extractMethodsCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CodeCoverageFactory::createFromName": { + "line": 14, + "lineCount": 8, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 4, + "N1": 1, + "N2": 8, + "programLength": 9, + "programVocabulary": 5, + "volume": 20.89735285398626, + "difficulty": 1, + "effort": 20.89735285398626, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CodeCoverageFactory::createFromName" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::__construct": { + "line": 28, + "lineCount": 15, + "argCount": 6, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 6, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 7, + "N1": 6, + "N2": 18, + "programLength": 24, + "programVocabulary": 8, + "volume": 72, + "difficulty": 1.2857142857142858, + "effort": 92.57142857142858, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getName": { + "line": 44, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getName" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getFilename": { + "line": 49, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getFilename" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getLineRate": { + "line": 54, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getLineRate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getBranchRate": { + "line": 59, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getBranchRate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getComplexity": { + "line": 64, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getComplexity" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getMethods": { + "line": 72, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getMethods" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::__construct": { + "line": 17, + "lineCount": 11, + "argCount": 4, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 4, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 5, + "N1": 4, + "N2": 12, + "programLength": 16, + "programVocabulary": 6, + "volume": 41.3594000115385, + "difficulty": 1.2, + "effort": 49.631280013846194, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getName": { + "line": 29, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getName" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getLineRate": { + "line": 34, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getLineRate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getBranchRate": { + "line": 39, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getBranchRate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getComplexity": { + "line": 44, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getComplexity" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::calculateDeltas": { + "line": 19, + "lineCount": 14, + "argCount": 2, + "returnCount": 0, + "variableCount": 6, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 9, + "N1": 4, + "N2": 18, + "programLength": 22, + "programVocabulary": 11, + "volume": 76.10749561002054, + "difficulty": 2, + "effort": 152.21499122004107, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::calculateDeltas" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::loadBaseline": { + "line": 41, + "lineCount": 13, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 5, + "N2": 9, + "programLength": 14, + "programVocabulary": 8, + "volume": 42, + "difficulty": 2.7, + "effort": 113.4, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::loadBaseline" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::__construct": { + "line": 72, + "lineCount": 21, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 6, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 9, + "N1": 12, + "N2": 34, + "programLength": 46, + "programVocabulary": 12, + "volume": 164.90827503317317, + "difficulty": 5.666666666666666, + "effort": 934.4802251879812, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setRequiredMetricProperties": { + "line": 98, + "lineCount": 30, + "argCount": 1, + "returnCount": 0, + "variableCount": 6, + "propertyCallCount": 9, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 21, + "N1": 21, + "N2": 51, + "programLength": 72, + "programVocabulary": 24, + "volume": 330.1173000519232, + "difficulty": 3.6428571428571423, + "effort": 1202.570164474863, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setRequiredMetricProperties" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setOptionalMetricProperties": { + "line": 133, + "lineCount": 12, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 8, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 11, + "N1": 16, + "N2": 33, + "programLength": 49, + "programVocabulary": 13, + "volume": 181.32154618891352, + "difficulty": 3, + "effort": 543.9646385667405, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setOptionalMetricProperties" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setTimesChanged": { + "line": 146, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setTimesChanged" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertSame": { + "line": 151, + "lineCount": 14, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 6, + "N2": 8, + "programLength": 14, + "programVocabulary": 5, + "volume": 32.50699332842307, + "difficulty": 2.6666666666666665, + "effort": 86.68531554246152, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertSame" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::calculateDeltas": { + "line": 169, + "lineCount": 13, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 16, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 17, + "N2": 27, + "programLength": 44, + "programVocabulary": 4, + "volume": 88, + "difficulty": 13.5, + "effort": 1188, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::calculateDeltas" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::fromArray": { + "line": 187, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::fromArray" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertArrayKeyIsPresent": { + "line": 197, + "lineCount": 6, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 5, + "programLength": 5, + "programVocabulary": 2, + "volume": 5, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertArrayKeyIsPresent" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getClass": { + "line": 204, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getMethod": { + "line": 209, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getMethod" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCount": { + "line": 214, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCount": { + "line": 219, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCount": { + "line": 224, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCount": { + "line": 229, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCount": { + "line": 234, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCount": { + "line": 239, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevel": { + "line": 244, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevel" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCount": { + "line": 249, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeight": { + "line": 254, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setLineCountWeight": { + "line": 259, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setLineCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeight": { + "line": 264, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setArgCountWeight": { + "line": 269, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setArgCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeight": { + "line": 274, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setReturnCountWeight": { + "line": 279, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setReturnCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeight": { + "line": 284, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setVariableCountWeight": { + "line": 289, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setVariableCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeight": { + "line": 294, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setPropertyCallCountWeight": { + "line": 299, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setPropertyCallCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeight": { + "line": 304, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfCountWeight": { + "line": 309, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeight": { + "line": 314, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfNestingLevelWeight": { + "line": 319, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfNestingLevelWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeight": { + "line": 324, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setElseCountWeight": { + "line": 329, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setElseCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setScore": { + "line": 334, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setScore" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getScore": { + "line": 339, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getScore" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setCoverage": { + "line": 344, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCoverage": { + "line": 349, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeightDelta": { + "line": 354, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeightDelta": { + "line": 359, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeightDelta": { + "line": 364, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeightDelta": { + "line": 369, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeightDelta": { + "line": 374, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeightDelta": { + "line": 379, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeightDelta": { + "line": 384, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeightDelta": { + "line": 389, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getTimesChanged": { + "line": 394, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 2, + "programLength": 3, + "programVocabulary": 3, + "volume": 4.754887502163468, + "difficulty": 0.5, + "effort": 2.377443751081734, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getTimesChanged" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getFileName": { + "line": 399, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getFileName" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLine": { + "line": 404, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLine" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::equals": { + "line": 409, + "lineCount": 5, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 2, + "N1": 5, + "N2": 5, + "programLength": 10, + "programVocabulary": 5, + "volume": 23.21928094887362, + "difficulty": 3.75, + "effort": 87.07230355827608, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::equals" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::toArray": { + "line": 418, + "lineCount": 34, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 29, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 30, + "N1": 0, + "N2": 58, + "programLength": 58, + "programVocabulary": 30, + "volume": 284.5996545452941, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::toArray" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::jsonSerialize": { + "line": 456, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::jsonSerialize" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getHalstead": { + "line": 464, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getHalstead" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCyclomatic": { + "line": 472, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCyclomatic" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::add": { + "line": 30, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 5, + "N2": 6, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 3, + "effort": 85.30376252379816, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::add" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filter": { + "line": 40, + "lineCount": 11, + "argCount": 1, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 8, + "volume": 42, + "difficulty": 3, + "effort": 126, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filter" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getIterator": { + "line": 57, + "lineCount": 5, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getIterator" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::count": { + "line": 66, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::count" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterWithScoreGreaterThan": { + "line": 71, + "lineCount": 6, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 3, + "N2": 6, + "programLength": 9, + "programVocabulary": 5, + "volume": 20.89735285398626, + "difficulty": 2, + "effort": 41.79470570797252, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterWithScoreGreaterThan" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::contains": { + "line": 78, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 4, + "N2": 5, + "programLength": 9, + "programVocabulary": 5, + "volume": 20.89735285398626, + "difficulty": 1.6666666666666667, + "effort": 34.82892142331043, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::contains" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getClassWithMethod": { + "line": 83, + "lineCount": 9, + "argCount": 2, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 3, + "N2": 10, + "programLength": 13, + "programVocabulary": 7, + "volume": 36.49561398674886, + "difficulty": 2, + "effort": 72.99122797349771, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getClassWithMethod" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterByClassName": { + "line": 93, + "lineCount": 6, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 3, + "N2": 6, + "programLength": 9, + "programVocabulary": 5, + "volume": 20.89735285398626, + "difficulty": 2, + "effort": 41.79470570797252, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterByClassName" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::assertMetricHasGetter": { + "line": 100, + "lineCount": 9, + "argCount": 3, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 6, + "programLength": 7, + "programVocabulary": 4, + "volume": 14, + "difficulty": 1, + "effort": 14, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::assertMetricHasGetter" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::groupBy": { + "line": 117, + "lineCount": 20, + "argCount": 1, + "returnCount": 1, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 10, + "N2": 23, + "programLength": 33, + "programVocabulary": 11, + "volume": 114.16124341503081, + "difficulty": 6.571428571428571, + "effort": 750.2024567273453, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::groupBy" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::jsonSerialize": { + "line": 141, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::jsonSerialize" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::__construct": { + "line": 32, + "lineCount": 8, + "argCount": 5, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 5, + "N1": 0, + "N2": 5, + "programLength": 5, + "programVocabulary": 5, + "volume": 11.60964047443681, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collect": { + "line": 49, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 5, + "programLength": 6, + "programVocabulary": 4, + "volume": 12, + "difficulty": 0.8333333333333334, + "effort": 10, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collect" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collectFromPaths": { + "line": 62, + "lineCount": 13, + "argCount": 2, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 8, + "N2": 16, + "programLength": 24, + "programVocabulary": 9, + "volume": 76.07820003461549, + "difficulty": 4, + "effort": 304.31280013846197, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collectFromPaths" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCodeFromFile": { + "line": 79, + "lineCount": 10, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 2, + "N1": 5, + "N2": 6, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 6, + "effort": 170.6075250475963, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCodeFromFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findMetrics": { + "line": 98, + "lineCount": 31, + "argCount": 1, + "returnCount": 1, + "variableCount": 9, + "propertyCallCount": 2, + "ifNestingLevel": 2, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 13, + "N1": 18, + "N2": 38, + "programLength": 56, + "programVocabulary": 16, + "volume": 224, + "difficulty": 4.384615384615384, + "effort": 982.1538461538461, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findMetrics" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processMethodMetrics": { + "line": 136, + "lineCount": 29, + "argCount": 3, + "returnCount": 1, + "variableCount": 7, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 14, + "N1": 8, + "N2": 27, + "programLength": 35, + "programVocabulary": 17, + "volume": 143.06119944376186, + "difficulty": 2.892857142857143, + "effort": 413.8556126765968, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processMethodMetrics" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::isExcluded": { + "line": 166, + "lineCount": 12, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 5, + "N1": 5, + "N2": 9, + "programLength": 14, + "programVocabulary": 9, + "volume": 44.37895002019237, + "difficulty": 3.6, + "effort": 159.76422007269252, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::isExcluded" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findSourceFiles": { + "line": 187, + "lineCount": 7, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 2, + "N2": 6, + "programLength": 8, + "programVocabulary": 6, + "volume": 20.67970000576925, + "difficulty": 1.5, + "effort": 31.019550008653873, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findSourceFiles" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getProjectRoot": { + "line": 202, + "lineCount": 13, + "argCount": 0, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 2, + "N1": 8, + "N2": 8, + "programLength": 16, + "programVocabulary": 6, + "volume": 41.3594000115385, + "difficulty": 8, + "effort": 330.875200092308, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getProjectRoot" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateCacheKey": { + "line": 219, + "lineCount": 7, + "argCount": 2, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 6, + "N1": 10, + "N2": 12, + "programLength": 22, + "programVocabulary": 10, + "volume": 73.08241808752197, + "difficulty": 4, + "effort": 292.3296723500879, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateCacheKey" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateConfigHash": { + "line": 230, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 1, + "N1": 3, + "N2": 2, + "programLength": 5, + "programVocabulary": 3, + "volume": 7.92481250360578, + "difficulty": 2, + "effort": 15.84962500721156, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateConfigHash" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::cacheResult": { + "line": 239, + "lineCount": 14, + "argCount": 4, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 13, + "N1": 5, + "N2": 20, + "programLength": 25, + "programVocabulary": 15, + "volume": 97.67226489021297, + "difficulty": 1.5384615384615385, + "effort": 150.26502290801997, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::cacheResult" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::clearCache": { + "line": 254, + "lineCount": 4, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::clearCache" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::normalizeFilename": { + "line": 264, + "lineCount": 15, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 6, + "n2": 7, + "N1": 12, + "N2": 16, + "programLength": 28, + "programVocabulary": 13, + "volume": 103.61231210795059, + "difficulty": 6.857142857142857, + "effort": 710.4844258830897, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::normalizeFilename" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCachedMetrics": { + "line": 286, + "lineCount": 19, + "argCount": 3, + "returnCount": 3, + "variableCount": 4, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 11, + "N1": 10, + "N2": 29, + "programLength": 39, + "programVocabulary": 14, + "volume": 148.48684196024655, + "difficulty": 3.954545454545454, + "effort": 587.1979659337022, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCachedMetrics" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processFile": { + "line": 312, + "lineCount": 37, + "argCount": 5, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 7, + "n2": 10, + "N1": 12, + "N2": 28, + "programLength": 40, + "programVocabulary": 17, + "volume": 163.49851365001356, + "difficulty": 9.799999999999999, + "effort": 1602.2854337701328, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::sort": { + "line": 51, + "lineCount": 41, + "argCount": 3, + "returnCount": 2, + "variableCount": 10, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 18, + "N1": 20, + "N2": 43, + "programLength": 63, + "programVocabulary": 22, + "volume": 280.9441919741497, + "difficulty": 4.777777777777778, + "effort": 1342.2889172098264, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::sort" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getFieldValue": { + "line": 100, + "lineCount": 28, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 25, + "N1": 24, + "N2": 50, + "programLength": 74, + "programVocabulary": 27, + "volume": 351.86167516009664, + "difficulty": 2, + "effort": 703.7233503201933, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getFieldValue" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::compareValues": { + "line": 136, + "lineCount": 13, + "argCount": 2, + "returnCount": 3, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 2, + "N1": 9, + "N2": 12, + "programLength": 21, + "programVocabulary": 5, + "volume": 48.760489992634604, + "difficulty": 9, + "effort": 438.8444099337114, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::compareValues" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getSortableFields": { + "line": 155, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 0, + "N1": 0, + "N2": 0, + "programLength": 0, + "programVocabulary": 0, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getSortableFields" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__construct": { + "line": 15, + "lineCount": 11, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 7, + "N2": 12, + "programLength": 19, + "programVocabulary": 6, + "volume": 49.11428751370197, + "difficulty": 6, + "effort": 294.6857250822118, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::getValue": { + "line": 27, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::getValue" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasIncreased": { + "line": 32, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasIncreased" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__toString": { + "line": 37, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__toString" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasNotChanged": { + "line": 42, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 2, + "programLength": 3, + "programVocabulary": 3, + "volume": 4.754887502163468, + "difficulty": 0.5, + "effort": 2.377443751081734, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasNotChanged" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\FileProcessed::__construct": { + "line": 14, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\FileProcessed::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\ParserFailed::__construct": { + "line": 15, + "lineCount": 5, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\ParserFailed::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\SourceFilesFound::__construct": { + "line": 17, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\SourceFilesFound::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::__construct": { + "line": 15, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::create": { + "line": 27, + "lineCount": 10, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 6, + "N1": 0, + "N2": 8, + "programLength": 8, + "programVocabulary": 6, + "volume": 20.67970000576925, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::create" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::getSupportedTypes": { + "line": 43, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 4, + "N1": 0, + "N2": 4, + "programLength": 4, + "programVocabulary": 4, + "volume": 8, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::getSupportedTypes" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::isSupported": { + "line": 54, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 2, + "N2": 3, + "programLength": 5, + "programVocabulary": 4, + "volume": 10, + "difficulty": 1.5, + "effort": 15, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::isSupported" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CsvExporter::export": { + "line": 46, + "lineCount": 57, + "argCount": 2, + "returnCount": 0, + "variableCount": 6, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 15, + "N1": 37, + "N2": 54, + "programLength": 91, + "programVocabulary": 19, + "volume": 386.56140372336625, + "difficulty": 7.2, + "effort": 2783.242106808237, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CsvExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::export": { + "line": 40, + "lineCount": 8, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 5, + "N1": 4, + "N2": 8, + "programLength": 12, + "programVocabulary": 9, + "volume": 38.039100017307746, + "difficulty": 3.2, + "effort": 121.72512005538479, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::escape": { + "line": 49, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::escape" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::formatNumber": { + "line": 54, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::formatNumber" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::generateMetricRow": { + "line": 59, + "lineCount": 12, + "argCount": 3, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 16, + "N1": 19, + "N2": 27, + "programLength": 46, + "programVocabulary": 21, + "volume": 202.04660144782298, + "difficulty": 4.21875, + "effort": 852.3840998580032, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::generateMetricRow" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::generateHtml": { + "line": 78, + "lineCount": 64, + "argCount": 1, + "returnCount": 1, + "variableCount": 7, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 11, + "N1": 46, + "N2": 57, + "programLength": 103, + "programVocabulary": 15, + "volume": 402.40973134767745, + "difficulty": 10.363636363636363, + "effort": 4170.42812487593, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::generateHtml" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\JsonExporter::export": { + "line": 19, + "lineCount": 38, + "argCount": 2, + "returnCount": 0, + "variableCount": 5, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 27, + "N1": 29, + "N2": 58, + "programLength": 87, + "programVocabulary": 32, + "volume": 435, + "difficulty": 5.370370370370371, + "effort": 2336.1111111111113, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\JsonExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::__construct": { + "line": 24, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::export": { + "line": 36, + "lineCount": 8, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 5, + "N1": 4, + "N2": 8, + "programLength": 12, + "programVocabulary": 9, + "volume": 38.039100017307746, + "difficulty": 3.2, + "effort": 121.72512005538479, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::escape": { + "line": 48, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::escape" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateMetricCell": { + "line": 56, + "lineCount": 12, + "argCount": 3, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 12, + "N1": 16, + "N2": 24, + "programLength": 40, + "programVocabulary": 17, + "volume": 163.49851365001356, + "difficulty": 5, + "effort": 817.4925682500678, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateMetricCell" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::filterMetrics": { + "line": 75, + "lineCount": 15, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 4, + "N1": 4, + "N2": 11, + "programLength": 15, + "programVocabulary": 7, + "volume": 42.11032383086406, + "difficulty": 4.125, + "effort": 173.70508580231424, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::filterMetrics" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableHeader": { + "line": 94, + "lineCount": 33, + "argCount": 0, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 4, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 19, + "N1": 10, + "N2": 28, + "programLength": 38, + "programVocabulary": 22, + "volume": 169.4584015082173, + "difficulty": 2.2105263157894735, + "effort": 374.5922559655329, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableHeader" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableHeaderWithClass": { + "line": 131, + "lineCount": 33, + "argCount": 0, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 4, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 20, + "N1": 10, + "N2": 29, + "programLength": 39, + "programVocabulary": 23, + "volume": 176.41891628622352, + "difficulty": 2.175, + "effort": 383.7111429225361, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableHeaderWithClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableSeparator": { + "line": 168, + "lineCount": 20, + "argCount": 0, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 4, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 7, + "N1": 3, + "N2": 16, + "programLength": 19, + "programVocabulary": 10, + "volume": 63.11663380285988, + "difficulty": 3.4285714285714284, + "effort": 216.399887324091, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableSeparator" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableSeparatorWithClass": { + "line": 192, + "lineCount": 20, + "argCount": 0, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 4, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 8, + "N1": 3, + "N2": 16, + "programLength": 19, + "programVocabulary": 11, + "volume": 65.72920075410865, + "difficulty": 3, + "effort": 197.18760226232592, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableSeparatorWithClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableRow": { + "line": 216, + "lineCount": 22, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 6, + "N1": 53, + "N2": 60, + "programLength": 113, + "programVocabulary": 10, + "volume": 375.37787472227194, + "difficulty": 20, + "effort": 7507.557494445438, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableRow" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableRowWithClass": { + "line": 242, + "lineCount": 25, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 6, + "N1": 55, + "N2": 62, + "programLength": 117, + "programVocabulary": 10, + "volume": 388.66558710182136, + "difficulty": 20.666666666666668, + "effort": 8032.422133437642, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableRowWithClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::addHalsteadCells": { + "line": 274, + "lineCount": 20, + "argCount": 2, + "returnCount": 3, + "variableCount": 2, + "propertyCallCount": 5, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 12, + "N2": 24, + "programLength": 36, + "programVocabulary": 8, + "volume": 108, + "difficulty": 7.199999999999999, + "effort": 777.5999999999999, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::addHalsteadCells" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::addCyclomaticCell": { + "line": 301, + "lineCount": 16, + "argCount": 2, + "returnCount": 3, + "variableCount": 2, + "propertyCallCount": 4, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 8, + "N2": 16, + "programLength": 24, + "programVocabulary": 11, + "volume": 83.02635884729514, + "difficulty": 4.571428571428571, + "effort": 379.5490690162063, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::addCyclomaticCell" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateMarkdown": { + "line": 325, + "lineCount": 8, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 2, + "N2": 6, + "programLength": 8, + "programVocabulary": 3, + "volume": 12.679700005769249, + "difficulty": 1.5, + "effort": 19.019550008653873, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateMarkdown" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateGroupedMarkdown": { + "line": 337, + "lineCount": 49, + "argCount": 1, + "returnCount": 1, + "variableCount": 10, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 8, + "n2": 23, + "N1": 33, + "N2": 65, + "programLength": 98, + "programVocabulary": 31, + "volume": 485.5112384179137, + "difficulty": 11.304347826086957, + "effort": 5488.387912550329, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateGroupedMarkdown" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateSingleTableMarkdown": { + "line": 390, + "lineCount": 28, + "argCount": 1, + "returnCount": 1, + "variableCount": 6, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 6, + "n2": 13, + "N1": 19, + "N2": 37, + "programLength": 56, + "programVocabulary": 19, + "volume": 237.88394075284077, + "difficulty": 8.538461538461538, + "effort": 2031.1628787357943, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateSingleTableMarkdown" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::__construct": { + "line": 32, + "lineCount": 26, + "argCount": 2, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 7, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 14, + "N2": 22, + "programLength": 36, + "programVocabulary": 5, + "volume": 83.58941141594504, + "difficulty": 7.333333333333333, + "effort": 612.9890170502636, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::parse": { + "line": 63, + "lineCount": 37, + "argCount": 1, + "returnCount": 1, + "variableCount": 9, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 14, + "N1": 16, + "N2": 43, + "programLength": 59, + "programVocabulary": 17, + "volume": 241.16030763377, + "difficulty": 4.607142857142858, + "effort": 1111.0599887412977, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::parse" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::scanForAnnotations": { + "line": 104, + "lineCount": 20, + "argCount": 1, + "returnCount": 0, + "variableCount": 4, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 7, + "N1": 8, + "N2": 16, + "programLength": 24, + "programVocabulary": 10, + "volume": 79.7262742772967, + "difficulty": 3.4285714285714284, + "effort": 273.34722609358863, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::scanForAnnotations" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::traverseAbstractSyntaxTreeWithCombinedVisitor": { + "line": 129, + "lineCount": 17, + "argCount": 1, + "returnCount": 0, + "variableCount": 4, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 7, + "N1": 7, + "N2": 15, + "programLength": 22, + "programVocabulary": 10, + "volume": 73.08241808752197, + "difficulty": 3.2142857142857144, + "effort": 234.90777242417778, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::traverseAbstractSyntaxTreeWithCombinedVisitor" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getIgnored": { + "line": 153, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getIgnored" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getIgnoredClasses": { + "line": 163, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getIgnoredClasses" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getIgnoredMethods": { + "line": 173, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getIgnoredMethods" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::clearStaticCaches": { + "line": 181, + "lineCount": 15, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 9, + "N1": 7, + "N2": 19, + "programLength": 26, + "programVocabulary": 10, + "volume": 86.37013046707142, + "difficulty": 1.0555555555555556, + "effort": 91.16847104857538, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::clearStaticCaches" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::clearStaticProperty": { + "line": 200, + "lineCount": 14, + "argCount": 2, + "returnCount": 0, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 6, + "N2": 12, + "programLength": 18, + "programVocabulary": 7, + "volume": 50.53238859703688, + "difficulty": 2.4, + "effort": 121.2777326328885, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::clearStaticProperty" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getRiskLevel": { + "line": 218, + "lineCount": 9, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 8, + "N1": 3, + "N2": 11, + "programLength": 14, + "programVocabulary": 9, + "volume": 44.37895002019237, + "difficulty": 0.6875, + "effort": 30.510528138882254, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getRiskLevel" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculate": { + "line": 47, + "lineCount": 5, + "argCount": 2, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 2, + "N2": 8, + "programLength": 10, + "programVocabulary": 4, + "volume": 20, + "difficulty": 1.3333333333333333, + "effort": 26.666666666666664, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculateScore": { + "line": 53, + "lineCount": 10, + "argCount": 1, + "returnCount": 0, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 9, + "N1": 7, + "N2": 15, + "programLength": 22, + "programVocabulary": 13, + "volume": 81.40967379910403, + "difficulty": 3.3333333333333335, + "effort": 271.36557933034675, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculateScore" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculateMetricWeights": { + "line": 70, + "lineCount": 17, + "argCount": 3, + "returnCount": 0, + "variableCount": 6, + "propertyCallCount": 3, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 12, + "N1": 9, + "N2": 24, + "programLength": 33, + "programVocabulary": 15, + "volume": 128.92738965508113, + "difficulty": 3, + "effort": 386.7821689652434, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculateMetricWeights" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculateLogWeight": { + "line": 132, + "lineCount": 8, + "argCount": 3, + "returnCount": 2, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 5, + "N1": 5, + "N2": 11, + "programLength": 16, + "programVocabulary": 10, + "volume": 53.150849518197795, + "difficulty": 5.5, + "effort": 292.3296723500879, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculateLogWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cyclomatic\\CyclomaticMetrics::__construct": { + "line": 129, + "lineCount": 23, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 19, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 2, + "n2": 43, + "N1": 56, + "N2": 130, + "programLength": 186, + "programVocabulary": 45, + "volume": 1021.4846759173195, + "difficulty": 3.0232558139534884, + "effort": 3088.209485331431, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cyclomatic\\CyclomaticMetrics::__construct" + } + } + }, + "ignored_items": [], + "cached_at": 1759967601 +} \ No newline at end of file diff --git a/.phpcca.cache/71/71c4ab0d2185d060cbcb0c9550191ffe.cache b/.phpcca.cache/71/71c4ab0d2185d060cbcb0c9550191ffe.cache new file mode 100644 index 0000000..d3cb77f --- /dev/null +++ b/.phpcca.cache/71/71c4ab0d2185d060cbcb0c9550191ffe.cache @@ -0,0 +1,5446 @@ +{ + "version": "1.0", + "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/Business\/Halstead\/HalsteadMetrics.php", + "file_mtime": 1752612112, + "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", + "analysis_result": { + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct": { + "line": 60, + "lineCount": 5, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 1, + "N1": 2, + "N2": 2, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 2, + "effort": 12.679700005769249, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices": { + "line": 66, + "lineCount": 95, + "argCount": 0, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 5, + "N1": 58, + "N2": 32, + "programLength": 90, + "programVocabulary": 9, + "volume": 285.2932501298081, + "difficulty": 12.8, + "effort": 3651.7536016615436, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap": { + "line": 162, + "lineCount": 10, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 7, + "N2": 7, + "programLength": 14, + "programVocabulary": 2, + "volume": 14, + "difficulty": 3.5, + "effort": 49, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors": { + "line": 173, + "lineCount": 12, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 3, + "N2": 1, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0.5, + "effort": 2, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus": { + "line": 186, + "lineCount": 19, + "argCount": 0, + "returnCount": 0, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 9, + "N2": 13, + "programLength": 22, + "programVocabulary": 7, + "volume": 61.76180828526729, + "difficulty": 2.6, + "effort": 160.58070154169496, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService": { + "line": 206, + "lineCount": 9, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 3, + "N2": 1, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0.5, + "effort": 2, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade": { + "line": 216, + "lineCount": 13, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 3, + "N2": 1, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0.5, + "effort": 2, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands": { + "line": 230, + "lineCount": 21, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 6, + "N2": 2, + "programLength": 8, + "programVocabulary": 2, + "volume": 8, + "difficulty": 1, + "effort": 8, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication": { + "line": 252, + "lineCount": 11, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 5, + "N2": 4, + "programLength": 9, + "programVocabulary": 4, + "volume": 18, + "difficulty": 0.6666666666666666, + "effort": 12, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run": { + "line": 264, + "lineCount": 9, + "argCount": 0, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 5, + "N2": 5, + "programLength": 10, + "programVocabulary": 4, + "volume": 20, + "difficulty": 2.5, + "effort": 50, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get": { + "line": 274, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer": { + "line": 279, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator": { + "line": 289, + "lineCount": 16, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 7, + "programLength": 8, + "programVocabulary": 4, + "volume": 16, + "difficulty": 1.1666666666666667, + "effort": 18.666666666666668, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create": { + "line": 18, + "lineCount": 7, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 4, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile": { + "line": 17, + "lineCount": 17, + "argCount": 2, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 8, + "N1": 11, + "N2": 19, + "programLength": 30, + "programVocabulary": 11, + "volume": 103.78294855911892, + "difficulty": 3.5625, + "effort": 369.72675424186116, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode": { + "line": 42, + "lineCount": 8, + "argCount": 3, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 3, + "N2": 8, + "programLength": 11, + "programVocabulary": 8, + "volume": 33, + "difficulty": 2.4000000000000004, + "effort": 79.20000000000002, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate": { + "line": 22, + "lineCount": 10, + "argCount": 2, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 6, + "N2": 13, + "programLength": 19, + "programVocabulary": 6, + "volume": 49.11428751370197, + "difficulty": 3.25, + "effort": 159.6214344195314, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending": { + "line": 37, + "lineCount": 8, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 2, + "N2": 9, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 2.25, + "effort": 63.97782189284862, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn": { + "line": 51, + "lineCount": 24, + "argCount": 2, + "returnCount": 1, + "variableCount": 6, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 15, + "N1": 17, + "N2": 46, + "programLength": 63, + "programVocabulary": 20, + "volume": 272.28146997790384, + "difficulty": 7.666666666666667, + "effort": 2087.491269830596, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses": { + "line": 81, + "lineCount": 20, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 2, + "n2": 7, + "N1": 10, + "N2": 24, + "programLength": 34, + "programVocabulary": 9, + "volume": 107.7774500490386, + "difficulty": 3.4285714285714284, + "effort": 369.52268588241805, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass": { + "line": 109, + "lineCount": 9, + "argCount": 2, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 6, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 10, + "volume": 49.82892142331043, + "difficulty": 3.3333333333333335, + "effort": 166.09640474436813, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel": { + "line": 126, + "lineCount": 16, + "argCount": 2, + "returnCount": 4, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 12, + "N1": 9, + "N2": 18, + "programLength": 27, + "programVocabulary": 15, + "volume": 105.48604608143, + "difficulty": 2.25, + "effort": 237.3436036832175, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile": { + "line": 14, + "lineCount": 6, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 2, + "N2": 5, + "programLength": 7, + "programVocabulary": 4, + "volume": 14, + "difficulty": 2.5, + "effort": 35, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable": { + "line": 24, + "lineCount": 11, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 10, + "N2": 12, + "programLength": 22, + "programVocabulary": 8, + "volume": 66, + "difficulty": 6, + "effort": 396, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create": { + "line": 21, + "lineCount": 11, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 7, + "N1": 0, + "N2": 9, + "programLength": 9, + "programVocabulary": 7, + "volume": 25.26619429851844, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes": { + "line": 38, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 6, + "N1": 0, + "N2": 6, + "programLength": 6, + "programVocabulary": 6, + "volume": 15.509775004326936, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported": { + "line": 49, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 2, + "N2": 3, + "programLength": 5, + "programVocabulary": 4, + "volume": 10, + "difficulty": 1.5, + "effort": 15, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export": { + "line": 30, + "lineCount": 23, + "argCount": 2, + "returnCount": 0, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 16, + "N1": 10, + "N2": 33, + "programLength": 43, + "programVocabulary": 20, + "volume": 185.8429080801566, + "difficulty": 4.125, + "effort": 766.601995830646, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export": { + "line": 28, + "lineCount": 8, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 6, + "volume": 36.18947501009619, + "difficulty": 2.5, + "effort": 90.47368752524048, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape": { + "line": 37, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber": { + "line": 42, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml": { + "line": 52, + "lineCount": 50, + "argCount": 1, + "returnCount": 1, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 12, + "N1": 11, + "N2": 25, + "programLength": 36, + "programVocabulary": 17, + "volume": 147.14866228501222, + "difficulty": 5.208333333333334, + "effort": 766.3992827344388, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export": { + "line": 17, + "lineCount": 13, + "argCount": 2, + "returnCount": 0, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 8, + "N1": 7, + "N2": 14, + "programLength": 21, + "programVocabulary": 12, + "volume": 75.28421251514428, + "difficulty": 3.5, + "effort": 263.49474380300495, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export": { + "line": 48, + "lineCount": 8, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 6, + "volume": 36.18947501009619, + "difficulty": 2.5, + "effort": 90.47368752524048, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown": { + "line": 61, + "lineCount": 24, + "argCount": 1, + "returnCount": 1, + "variableCount": 6, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 6, + "n2": 16, + "N1": 19, + "N2": 41, + "programLength": 60, + "programVocabulary": 22, + "volume": 267.56589711823784, + "difficulty": 7.6875, + "effort": 2056.9128340964535, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow": { + "line": 94, + "lineCount": 21, + "argCount": 3, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 7, + "n2": 18, + "N1": 16, + "N2": 39, + "programLength": 55, + "programVocabulary": 25, + "volume": 255.41209043760983, + "difficulty": 7.583333333333333, + "effort": 1936.8750191518745, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::__construct": { + "line": 26, + "lineCount": 4, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::export": { + "line": 36, + "lineCount": 10, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 8, + "volume": 45, + "difficulty": 5, + "effort": 225, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::generateSvgTreemap": { + "line": 53, + "lineCount": 20, + "argCount": 1, + "returnCount": 1, + "variableCount": 6, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 8, + "N1": 9, + "N2": 20, + "programLength": 29, + "programVocabulary": 10, + "volume": 96.3359147517335, + "difficulty": 2.5, + "effort": 240.83978687933376, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::generateSvgTreemap" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRects": { + "line": 82, + "lineCount": 10, + "argCount": 3, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 9, + "N1": 6, + "N2": 18, + "programLength": 24, + "programVocabulary": 12, + "volume": 86.03910001730775, + "difficulty": 3, + "effort": 258.1173000519232, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRects" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRect": { + "line": 100, + "lineCount": 29, + "argCount": 2, + "returnCount": 1, + "variableCount": 12, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 6, + "n2": 28, + "N1": 26, + "N2": 54, + "programLength": 80, + "programVocabulary": 34, + "volume": 406.9970273000271, + "difficulty": 5.785714285714286, + "effort": 2354.7685150930142, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRect" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::wrapSvg": { + "line": 136, + "lineCount": 21, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 2, + "N2": 8, + "programLength": 10, + "programVocabulary": 4, + "volume": 20, + "difficulty": 1.3333333333333333, + "effort": 26.666666666666664, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::wrapSvg" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::prepareItems": { + "line": 28, + "lineCount": 18, + "argCount": 1, + "returnCount": 1, + "variableCount": 7, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 12, + "N1": 9, + "N2": 30, + "programLength": 39, + "programVocabulary": 17, + "volume": 159.41105080876324, + "difficulty": 6.25, + "effort": 996.3190675547702, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::prepareItems" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findScoreRange": { + "line": 53, + "lineCount": 16, + "argCount": 1, + "returnCount": 3, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 7, + "N2": 13, + "programLength": 20, + "programVocabulary": 8, + "volume": 60, + "difficulty": 3.9000000000000004, + "effort": 234.00000000000003, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findScoreRange" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::normalizeScore": { + "line": 78, + "lineCount": 8, + "argCount": 3, + "returnCount": 2, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 8, + "volume": 45, + "difficulty": 5, + "effort": 225, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::normalizeScore" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::scoreToColor": { + "line": 93, + "lineCount": 9, + "argCount": 1, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 5, + "n2": 9, + "N1": 12, + "N2": 16, + "programLength": 28, + "programVocabulary": 14, + "volume": 106.60593781761291, + "difficulty": 4.444444444444445, + "effort": 473.80416807827964, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::scoreToColor" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::calculateTreemapLayout": { + "line": 115, + "lineCount": 23, + "argCount": 7, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 9, + "N1": 2, + "N2": 18, + "programLength": 20, + "programVocabulary": 11, + "volume": 69.18863237274594, + "difficulty": 2, + "effort": 138.37726474549189, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::calculateTreemapLayout" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::layoutTreemap": { + "line": 152, + "lineCount": 89, + "argCount": 8, + "returnCount": 3, + "variableCount": 11, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 8, + "n2": 28, + "N1": 32, + "N2": 98, + "programLength": 130, + "programVocabulary": 36, + "volume": 672.0902501875006, + "difficulty": 14, + "effort": 9409.263502625008, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::layoutTreemap" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findSplitIndex": { + "line": 249, + "lineCount": 13, + "argCount": 2, + "returnCount": 2, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 7, + "n2": 10, + "N1": 9, + "N2": 23, + "programLength": 32, + "programVocabulary": 17, + "volume": 130.79881092001085, + "difficulty": 8.049999999999999, + "effort": 1052.9304279060873, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findSplitIndex" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::__construct": { + "line": 23, + "lineCount": 18, + "argCount": 1, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 7, + "N2": 11, + "programLength": 18, + "programVocabulary": 6, + "volume": 46.529325012980806, + "difficulty": 5.5, + "effort": 255.91128757139444, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::getAllClasses": { + "line": 47, + "lineCount": 17, + "argCount": 0, + "returnCount": 2, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 6, + "N2": 12, + "programLength": 18, + "programVocabulary": 9, + "volume": 57.05865002596162, + "difficulty": 3, + "effort": 171.17595007788486, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::getAllClasses" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::withClassNode": { + "line": 73, + "lineCount": 8, + "argCount": 2, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 4, + "N2": 8, + "programLength": 12, + "programVocabulary": 8, + "volume": 36, + "difficulty": 4, + "effort": 144, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::withClassNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::findClassNode": { + "line": 85, + "lineCount": 25, + "argCount": 1, + "returnCount": 4, + "variableCount": 5, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 13, + "N2": 29, + "programLength": 42, + "programVocabulary": 11, + "volume": 145.29612798276648, + "difficulty": 8.285714285714286, + "effort": 1203.8822032857795, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::findClassNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::escapeXPathValue": { + "line": 114, + "lineCount": 16, + "argCount": 1, + "returnCount": 3, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 9, + "N1": 11, + "N2": 18, + "programLength": 29, + "programVocabulary": 13, + "volume": 107.31275182609167, + "difficulty": 4, + "effort": 429.2510073043667, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::escapeXPathValue" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getLineCoverage": { + "line": 22, + "lineCount": 18, + "argCount": 1, + "returnCount": 4, + "variableCount": 5, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 9, + "N1": 10, + "N2": 19, + "programLength": 29, + "programVocabulary": 13, + "volume": 107.31275182609167, + "difficulty": 4.222222222222222, + "effort": 453.09828548794263, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getLineCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getBranchCoverage": { + "line": 48, + "lineCount": 18, + "argCount": 1, + "returnCount": 4, + "variableCount": 5, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 9, + "N1": 10, + "N2": 19, + "programLength": 29, + "programVocabulary": 13, + "volume": 107.31275182609167, + "difficulty": 4.222222222222222, + "effort": 453.09828548794263, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getBranchCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getComplexity": { + "line": 73, + "lineCount": 13, + "argCount": 1, + "returnCount": 3, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 7, + "N2": 14, + "programLength": 21, + "programVocabulary": 11, + "volume": 72.64806399138324, + "difficulty": 4, + "effort": 290.59225596553296, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getComplexity" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getCoverageDetails": { + "line": 93, + "lineCount": 26, + "argCount": 1, + "returnCount": 3, + "variableCount": 9, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 17, + "N1": 22, + "N2": 42, + "programLength": 64, + "programVocabulary": 22, + "volume": 285.403623592787, + "difficulty": 6.176470588235294, + "effort": 1762.7870868966259, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getCoverageDetails" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getMetricsNode": { + "line": 123, + "lineCount": 12, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 6, + "N1": 7, + "N2": 13, + "programLength": 20, + "programVocabulary": 10, + "volume": 66.43856189774725, + "difficulty": 4.333333333333333, + "effort": 287.90043489023805, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getMetricsNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getFilenameForClass": { + "line": 139, + "lineCount": 9, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 5, + "N1": 4, + "N2": 9, + "programLength": 13, + "programVocabulary": 9, + "volume": 41.209025018750054, + "difficulty": 3.6, + "effort": 148.3524900675002, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getFilenameForClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodsCoverage": { + "line": 154, + "lineCount": 36, + "argCount": 1, + "returnCount": 3, + "variableCount": 8, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 13, + "N1": 12, + "N2": 30, + "programLength": 42, + "programVocabulary": 16, + "volume": 168, + "difficulty": 3.4615384615384612, + "effort": 581.5384615384614, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodsCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::calculateMethodCoverage": { + "line": 194, + "lineCount": 15, + "argCount": 2, + "returnCount": 2, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 11, + "N1": 9, + "N2": 23, + "programLength": 32, + "programVocabulary": 16, + "volume": 128, + "difficulty": 5.227272727272727, + "effort": 669.090909090909, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::calculateMethodCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodCoverageFromLines": { + "line": 215, + "lineCount": 36, + "argCount": 2, + "returnCount": 1, + "variableCount": 7, + "propertyCallCount": 0, + "ifNestingLevel": 2, + "elseCount": 0, + "ifCount": 5, + "halstead": { + "n1": 2, + "n2": 14, + "N1": 12, + "N2": 35, + "programLength": 47, + "programVocabulary": 16, + "volume": 188, + "difficulty": 2.5, + "effort": 470, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodCoverageFromLines" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStart": { + "line": 252, + "lineCount": 4, + "argCount": 3, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 3, + "N2": 7, + "programLength": 10, + "programVocabulary": 6, + "volume": 25.84962500721156, + "difficulty": 1.75, + "effort": 45.23684376262023, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStart" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodEnd": { + "line": 257, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 5, + "programLength": 7, + "programVocabulary": 5, + "volume": 16.253496664211536, + "difficulty": 1.6666666666666667, + "effort": 27.089161107019226, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodEnd" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStatement": { + "line": 262, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 5, + "programLength": 7, + "programVocabulary": 5, + "volume": 16.253496664211536, + "difficulty": 1.6666666666666667, + "effort": 27.089161107019226, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStatement" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isStatementCovered": { + "line": 267, + "lineCount": 5, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 4, + "N1": 3, + "N2": 6, + "programLength": 9, + "programVocabulary": 7, + "volume": 25.26619429851844, + "difficulty": 2.25, + "effort": 56.848937171666485, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isStatementCovered" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getLineCoverage": { + "line": 20, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 9, + "volume": 44.37895002019237, + "difficulty": 2.5, + "effort": 110.94737505048093, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getLineCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getBranchCoverage": { + "line": 34, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 9, + "volume": 44.37895002019237, + "difficulty": 2.5, + "effort": 110.94737505048093, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getBranchCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getComplexity": { + "line": 48, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 9, + "volume": 44.37895002019237, + "difficulty": 2.5, + "effort": 110.94737505048093, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getComplexity" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getCoverageDetails": { + "line": 62, + "lineCount": 13, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 8, + "N1": 7, + "N2": 16, + "programLength": 23, + "programVocabulary": 9, + "volume": 72.90827503317318, + "difficulty": 1, + "effort": 72.90827503317318, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getCoverageDetails" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::extractMethodsCoverage": { + "line": 81, + "lineCount": 23, + "argCount": 1, + "returnCount": 2, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 11, + "N1": 10, + "N2": 23, + "programLength": 33, + "programVocabulary": 14, + "volume": 125.64271242790093, + "difficulty": 3.1363636363636362, + "effort": 394.061234432962, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::extractMethodsCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CodeCoverageFactory::createFromName": { + "line": 14, + "lineCount": 8, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 4, + "N1": 1, + "N2": 8, + "programLength": 9, + "programVocabulary": 5, + "volume": 20.89735285398626, + "difficulty": 1, + "effort": 20.89735285398626, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CodeCoverageFactory::createFromName" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::__construct": { + "line": 28, + "lineCount": 15, + "argCount": 6, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 6, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 7, + "N1": 6, + "N2": 18, + "programLength": 24, + "programVocabulary": 8, + "volume": 72, + "difficulty": 1.2857142857142858, + "effort": 92.57142857142858, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getName": { + "line": 44, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getName" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getFilename": { + "line": 49, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getFilename" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getLineRate": { + "line": 54, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getLineRate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getBranchRate": { + "line": 59, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getBranchRate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getComplexity": { + "line": 64, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getComplexity" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getMethods": { + "line": 72, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getMethods" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::__construct": { + "line": 17, + "lineCount": 11, + "argCount": 4, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 4, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 5, + "N1": 4, + "N2": 12, + "programLength": 16, + "programVocabulary": 6, + "volume": 41.3594000115385, + "difficulty": 1.2, + "effort": 49.631280013846194, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getName": { + "line": 29, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getName" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getLineRate": { + "line": 34, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getLineRate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getBranchRate": { + "line": 39, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getBranchRate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getComplexity": { + "line": 44, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getComplexity" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::calculateDeltas": { + "line": 19, + "lineCount": 14, + "argCount": 2, + "returnCount": 0, + "variableCount": 6, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 9, + "N1": 4, + "N2": 18, + "programLength": 22, + "programVocabulary": 11, + "volume": 76.10749561002054, + "difficulty": 2, + "effort": 152.21499122004107, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::calculateDeltas" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::loadBaseline": { + "line": 41, + "lineCount": 13, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 5, + "N2": 9, + "programLength": 14, + "programVocabulary": 8, + "volume": 42, + "difficulty": 2.7, + "effort": 113.4, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::loadBaseline" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::__construct": { + "line": 72, + "lineCount": 21, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 6, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 9, + "N1": 12, + "N2": 34, + "programLength": 46, + "programVocabulary": 12, + "volume": 164.90827503317317, + "difficulty": 5.666666666666666, + "effort": 934.4802251879812, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setRequiredMetricProperties": { + "line": 98, + "lineCount": 30, + "argCount": 1, + "returnCount": 0, + "variableCount": 6, + "propertyCallCount": 9, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 21, + "N1": 21, + "N2": 51, + "programLength": 72, + "programVocabulary": 24, + "volume": 330.1173000519232, + "difficulty": 3.6428571428571423, + "effort": 1202.570164474863, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setRequiredMetricProperties" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setOptionalMetricProperties": { + "line": 133, + "lineCount": 12, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 8, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 11, + "N1": 16, + "N2": 33, + "programLength": 49, + "programVocabulary": 13, + "volume": 181.32154618891352, + "difficulty": 3, + "effort": 543.9646385667405, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setOptionalMetricProperties" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setTimesChanged": { + "line": 146, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setTimesChanged" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertSame": { + "line": 151, + "lineCount": 14, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 6, + "N2": 8, + "programLength": 14, + "programVocabulary": 5, + "volume": 32.50699332842307, + "difficulty": 2.6666666666666665, + "effort": 86.68531554246152, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertSame" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::calculateDeltas": { + "line": 169, + "lineCount": 13, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 16, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 17, + "N2": 27, + "programLength": 44, + "programVocabulary": 4, + "volume": 88, + "difficulty": 13.5, + "effort": 1188, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::calculateDeltas" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::fromArray": { + "line": 187, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::fromArray" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertArrayKeyIsPresent": { + "line": 197, + "lineCount": 6, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 5, + "programLength": 5, + "programVocabulary": 2, + "volume": 5, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertArrayKeyIsPresent" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getClass": { + "line": 204, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getMethod": { + "line": 209, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getMethod" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCount": { + "line": 214, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCount": { + "line": 219, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCount": { + "line": 224, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCount": { + "line": 229, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCount": { + "line": 234, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCount": { + "line": 239, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevel": { + "line": 244, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevel" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCount": { + "line": 249, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeight": { + "line": 254, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setLineCountWeight": { + "line": 259, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setLineCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeight": { + "line": 264, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setArgCountWeight": { + "line": 269, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setArgCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeight": { + "line": 274, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setReturnCountWeight": { + "line": 279, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setReturnCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeight": { + "line": 284, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setVariableCountWeight": { + "line": 289, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setVariableCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeight": { + "line": 294, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setPropertyCallCountWeight": { + "line": 299, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setPropertyCallCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeight": { + "line": 304, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfCountWeight": { + "line": 309, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeight": { + "line": 314, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfNestingLevelWeight": { + "line": 319, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfNestingLevelWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeight": { + "line": 324, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setElseCountWeight": { + "line": 329, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setElseCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setScore": { + "line": 334, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setScore" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getScore": { + "line": 339, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getScore" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setCoverage": { + "line": 344, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCoverage": { + "line": 349, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeightDelta": { + "line": 354, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeightDelta": { + "line": 359, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeightDelta": { + "line": 364, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeightDelta": { + "line": 369, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeightDelta": { + "line": 374, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeightDelta": { + "line": 379, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeightDelta": { + "line": 384, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeightDelta": { + "line": 389, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getTimesChanged": { + "line": 394, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 2, + "programLength": 3, + "programVocabulary": 3, + "volume": 4.754887502163468, + "difficulty": 0.5, + "effort": 2.377443751081734, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getTimesChanged" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getFileName": { + "line": 399, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getFileName" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLine": { + "line": 404, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLine" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::equals": { + "line": 409, + "lineCount": 5, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 2, + "N1": 5, + "N2": 5, + "programLength": 10, + "programVocabulary": 5, + "volume": 23.21928094887362, + "difficulty": 3.75, + "effort": 87.07230355827608, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::equals" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::toArray": { + "line": 418, + "lineCount": 34, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 29, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 30, + "N1": 0, + "N2": 58, + "programLength": 58, + "programVocabulary": 30, + "volume": 284.5996545452941, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::toArray" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::jsonSerialize": { + "line": 456, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::jsonSerialize" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getHalstead": { + "line": 464, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getHalstead" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCyclomatic": { + "line": 472, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCyclomatic" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::add": { + "line": 30, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 5, + "N2": 6, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 3, + "effort": 85.30376252379816, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::add" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filter": { + "line": 40, + "lineCount": 11, + "argCount": 1, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 8, + "volume": 42, + "difficulty": 3, + "effort": 126, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filter" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getIterator": { + "line": 57, + "lineCount": 5, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getIterator" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::count": { + "line": 66, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::count" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterWithScoreGreaterThan": { + "line": 71, + "lineCount": 6, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 3, + "N2": 6, + "programLength": 9, + "programVocabulary": 5, + "volume": 20.89735285398626, + "difficulty": 2, + "effort": 41.79470570797252, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterWithScoreGreaterThan" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::contains": { + "line": 78, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 4, + "N2": 5, + "programLength": 9, + "programVocabulary": 5, + "volume": 20.89735285398626, + "difficulty": 1.6666666666666667, + "effort": 34.82892142331043, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::contains" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getClassWithMethod": { + "line": 83, + "lineCount": 9, + "argCount": 2, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 3, + "N2": 10, + "programLength": 13, + "programVocabulary": 7, + "volume": 36.49561398674886, + "difficulty": 2, + "effort": 72.99122797349771, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getClassWithMethod" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterByClassName": { + "line": 93, + "lineCount": 6, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 3, + "N2": 6, + "programLength": 9, + "programVocabulary": 5, + "volume": 20.89735285398626, + "difficulty": 2, + "effort": 41.79470570797252, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterByClassName" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::assertMetricHasGetter": { + "line": 100, + "lineCount": 9, + "argCount": 3, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 6, + "programLength": 7, + "programVocabulary": 4, + "volume": 14, + "difficulty": 1, + "effort": 14, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::assertMetricHasGetter" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::groupBy": { + "line": 117, + "lineCount": 20, + "argCount": 1, + "returnCount": 1, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 10, + "N2": 23, + "programLength": 33, + "programVocabulary": 11, + "volume": 114.16124341503081, + "difficulty": 6.571428571428571, + "effort": 750.2024567273453, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::groupBy" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::jsonSerialize": { + "line": 141, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::jsonSerialize" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::__construct": { + "line": 32, + "lineCount": 8, + "argCount": 5, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 5, + "N1": 0, + "N2": 5, + "programLength": 5, + "programVocabulary": 5, + "volume": 11.60964047443681, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collect": { + "line": 49, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 5, + "programLength": 6, + "programVocabulary": 4, + "volume": 12, + "difficulty": 0.8333333333333334, + "effort": 10, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collect" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collectFromPaths": { + "line": 62, + "lineCount": 13, + "argCount": 2, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 8, + "N2": 16, + "programLength": 24, + "programVocabulary": 9, + "volume": 76.07820003461549, + "difficulty": 4, + "effort": 304.31280013846197, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collectFromPaths" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCodeFromFile": { + "line": 79, + "lineCount": 10, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 2, + "N1": 5, + "N2": 6, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 6, + "effort": 170.6075250475963, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCodeFromFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findMetrics": { + "line": 98, + "lineCount": 31, + "argCount": 1, + "returnCount": 1, + "variableCount": 9, + "propertyCallCount": 2, + "ifNestingLevel": 2, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 13, + "N1": 18, + "N2": 38, + "programLength": 56, + "programVocabulary": 16, + "volume": 224, + "difficulty": 4.384615384615384, + "effort": 982.1538461538461, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findMetrics" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processMethodMetrics": { + "line": 136, + "lineCount": 29, + "argCount": 3, + "returnCount": 1, + "variableCount": 7, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 14, + "N1": 8, + "N2": 27, + "programLength": 35, + "programVocabulary": 17, + "volume": 143.06119944376186, + "difficulty": 2.892857142857143, + "effort": 413.8556126765968, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processMethodMetrics" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::isExcluded": { + "line": 166, + "lineCount": 12, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 5, + "N1": 5, + "N2": 9, + "programLength": 14, + "programVocabulary": 9, + "volume": 44.37895002019237, + "difficulty": 3.6, + "effort": 159.76422007269252, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::isExcluded" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findSourceFiles": { + "line": 187, + "lineCount": 7, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 2, + "N2": 6, + "programLength": 8, + "programVocabulary": 6, + "volume": 20.67970000576925, + "difficulty": 1.5, + "effort": 31.019550008653873, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findSourceFiles" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getProjectRoot": { + "line": 202, + "lineCount": 13, + "argCount": 0, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 2, + "N1": 8, + "N2": 8, + "programLength": 16, + "programVocabulary": 6, + "volume": 41.3594000115385, + "difficulty": 8, + "effort": 330.875200092308, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getProjectRoot" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateCacheKey": { + "line": 219, + "lineCount": 7, + "argCount": 2, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 6, + "N1": 10, + "N2": 12, + "programLength": 22, + "programVocabulary": 10, + "volume": 73.08241808752197, + "difficulty": 4, + "effort": 292.3296723500879, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateCacheKey" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateConfigHash": { + "line": 230, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 1, + "N1": 3, + "N2": 2, + "programLength": 5, + "programVocabulary": 3, + "volume": 7.92481250360578, + "difficulty": 2, + "effort": 15.84962500721156, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateConfigHash" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::cacheResult": { + "line": 239, + "lineCount": 14, + "argCount": 4, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 13, + "N1": 5, + "N2": 20, + "programLength": 25, + "programVocabulary": 15, + "volume": 97.67226489021297, + "difficulty": 1.5384615384615385, + "effort": 150.26502290801997, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::cacheResult" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::clearCache": { + "line": 254, + "lineCount": 4, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::clearCache" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::normalizeFilename": { + "line": 264, + "lineCount": 15, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 6, + "n2": 7, + "N1": 12, + "N2": 16, + "programLength": 28, + "programVocabulary": 13, + "volume": 103.61231210795059, + "difficulty": 6.857142857142857, + "effort": 710.4844258830897, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::normalizeFilename" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCachedMetrics": { + "line": 286, + "lineCount": 19, + "argCount": 3, + "returnCount": 3, + "variableCount": 4, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 11, + "N1": 10, + "N2": 29, + "programLength": 39, + "programVocabulary": 14, + "volume": 148.48684196024655, + "difficulty": 3.954545454545454, + "effort": 587.1979659337022, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCachedMetrics" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processFile": { + "line": 312, + "lineCount": 37, + "argCount": 5, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 7, + "n2": 10, + "N1": 12, + "N2": 28, + "programLength": 40, + "programVocabulary": 17, + "volume": 163.49851365001356, + "difficulty": 9.799999999999999, + "effort": 1602.2854337701328, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::sort": { + "line": 51, + "lineCount": 41, + "argCount": 3, + "returnCount": 2, + "variableCount": 10, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 18, + "N1": 20, + "N2": 43, + "programLength": 63, + "programVocabulary": 22, + "volume": 280.9441919741497, + "difficulty": 4.777777777777778, + "effort": 1342.2889172098264, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::sort" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getFieldValue": { + "line": 100, + "lineCount": 28, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 25, + "N1": 24, + "N2": 50, + "programLength": 74, + "programVocabulary": 27, + "volume": 351.86167516009664, + "difficulty": 2, + "effort": 703.7233503201933, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getFieldValue" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::compareValues": { + "line": 136, + "lineCount": 13, + "argCount": 2, + "returnCount": 3, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 2, + "N1": 9, + "N2": 12, + "programLength": 21, + "programVocabulary": 5, + "volume": 48.760489992634604, + "difficulty": 9, + "effort": 438.8444099337114, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::compareValues" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getSortableFields": { + "line": 155, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 0, + "N1": 0, + "N2": 0, + "programLength": 0, + "programVocabulary": 0, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getSortableFields" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__construct": { + "line": 15, + "lineCount": 11, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 7, + "N2": 12, + "programLength": 19, + "programVocabulary": 6, + "volume": 49.11428751370197, + "difficulty": 6, + "effort": 294.6857250822118, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::getValue": { + "line": 27, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::getValue" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasIncreased": { + "line": 32, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasIncreased" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__toString": { + "line": 37, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__toString" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasNotChanged": { + "line": 42, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 2, + "programLength": 3, + "programVocabulary": 3, + "volume": 4.754887502163468, + "difficulty": 0.5, + "effort": 2.377443751081734, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasNotChanged" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\FileProcessed::__construct": { + "line": 14, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\FileProcessed::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\ParserFailed::__construct": { + "line": 15, + "lineCount": 5, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\ParserFailed::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\SourceFilesFound::__construct": { + "line": 17, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\SourceFilesFound::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::__construct": { + "line": 15, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::create": { + "line": 27, + "lineCount": 10, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 6, + "N1": 0, + "N2": 8, + "programLength": 8, + "programVocabulary": 6, + "volume": 20.67970000576925, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::create" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::getSupportedTypes": { + "line": 43, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 4, + "N1": 0, + "N2": 4, + "programLength": 4, + "programVocabulary": 4, + "volume": 8, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::getSupportedTypes" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::isSupported": { + "line": 54, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 2, + "N2": 3, + "programLength": 5, + "programVocabulary": 4, + "volume": 10, + "difficulty": 1.5, + "effort": 15, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::isSupported" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CsvExporter::export": { + "line": 46, + "lineCount": 57, + "argCount": 2, + "returnCount": 0, + "variableCount": 6, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 15, + "N1": 37, + "N2": 54, + "programLength": 91, + "programVocabulary": 19, + "volume": 386.56140372336625, + "difficulty": 7.2, + "effort": 2783.242106808237, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CsvExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::export": { + "line": 40, + "lineCount": 8, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 5, + "N1": 4, + "N2": 8, + "programLength": 12, + "programVocabulary": 9, + "volume": 38.039100017307746, + "difficulty": 3.2, + "effort": 121.72512005538479, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::escape": { + "line": 49, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::escape" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::formatNumber": { + "line": 54, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::formatNumber" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::generateMetricRow": { + "line": 59, + "lineCount": 12, + "argCount": 3, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 16, + "N1": 19, + "N2": 27, + "programLength": 46, + "programVocabulary": 21, + "volume": 202.04660144782298, + "difficulty": 4.21875, + "effort": 852.3840998580032, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::generateMetricRow" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::generateHtml": { + "line": 78, + "lineCount": 64, + "argCount": 1, + "returnCount": 1, + "variableCount": 7, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 11, + "N1": 46, + "N2": 57, + "programLength": 103, + "programVocabulary": 15, + "volume": 402.40973134767745, + "difficulty": 10.363636363636363, + "effort": 4170.42812487593, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::generateHtml" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\JsonExporter::export": { + "line": 19, + "lineCount": 38, + "argCount": 2, + "returnCount": 0, + "variableCount": 5, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 27, + "N1": 29, + "N2": 58, + "programLength": 87, + "programVocabulary": 32, + "volume": 435, + "difficulty": 5.370370370370371, + "effort": 2336.1111111111113, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\JsonExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::__construct": { + "line": 24, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::export": { + "line": 36, + "lineCount": 8, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 5, + "N1": 4, + "N2": 8, + "programLength": 12, + "programVocabulary": 9, + "volume": 38.039100017307746, + "difficulty": 3.2, + "effort": 121.72512005538479, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::escape": { + "line": 48, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::escape" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateMetricCell": { + "line": 56, + "lineCount": 12, + "argCount": 3, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 12, + "N1": 16, + "N2": 24, + "programLength": 40, + "programVocabulary": 17, + "volume": 163.49851365001356, + "difficulty": 5, + "effort": 817.4925682500678, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateMetricCell" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::filterMetrics": { + "line": 75, + "lineCount": 15, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 4, + "N1": 4, + "N2": 11, + "programLength": 15, + "programVocabulary": 7, + "volume": 42.11032383086406, + "difficulty": 4.125, + "effort": 173.70508580231424, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::filterMetrics" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableHeader": { + "line": 94, + "lineCount": 33, + "argCount": 0, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 4, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 19, + "N1": 10, + "N2": 28, + "programLength": 38, + "programVocabulary": 22, + "volume": 169.4584015082173, + "difficulty": 2.2105263157894735, + "effort": 374.5922559655329, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableHeader" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableHeaderWithClass": { + "line": 131, + "lineCount": 33, + "argCount": 0, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 4, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 20, + "N1": 10, + "N2": 29, + "programLength": 39, + "programVocabulary": 23, + "volume": 176.41891628622352, + "difficulty": 2.175, + "effort": 383.7111429225361, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableHeaderWithClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableSeparator": { + "line": 168, + "lineCount": 20, + "argCount": 0, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 4, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 7, + "N1": 3, + "N2": 16, + "programLength": 19, + "programVocabulary": 10, + "volume": 63.11663380285988, + "difficulty": 3.4285714285714284, + "effort": 216.399887324091, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableSeparator" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableSeparatorWithClass": { + "line": 192, + "lineCount": 20, + "argCount": 0, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 4, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 8, + "N1": 3, + "N2": 16, + "programLength": 19, + "programVocabulary": 11, + "volume": 65.72920075410865, + "difficulty": 3, + "effort": 197.18760226232592, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableSeparatorWithClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableRow": { + "line": 216, + "lineCount": 22, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 6, + "N1": 53, + "N2": 60, + "programLength": 113, + "programVocabulary": 10, + "volume": 375.37787472227194, + "difficulty": 20, + "effort": 7507.557494445438, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableRow" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableRowWithClass": { + "line": 242, + "lineCount": 25, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 6, + "N1": 55, + "N2": 62, + "programLength": 117, + "programVocabulary": 10, + "volume": 388.66558710182136, + "difficulty": 20.666666666666668, + "effort": 8032.422133437642, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableRowWithClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::addHalsteadCells": { + "line": 274, + "lineCount": 20, + "argCount": 2, + "returnCount": 3, + "variableCount": 2, + "propertyCallCount": 5, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 12, + "N2": 24, + "programLength": 36, + "programVocabulary": 8, + "volume": 108, + "difficulty": 7.199999999999999, + "effort": 777.5999999999999, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::addHalsteadCells" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::addCyclomaticCell": { + "line": 301, + "lineCount": 16, + "argCount": 2, + "returnCount": 3, + "variableCount": 2, + "propertyCallCount": 4, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 8, + "N2": 16, + "programLength": 24, + "programVocabulary": 11, + "volume": 83.02635884729514, + "difficulty": 4.571428571428571, + "effort": 379.5490690162063, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::addCyclomaticCell" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateMarkdown": { + "line": 325, + "lineCount": 8, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 2, + "N2": 6, + "programLength": 8, + "programVocabulary": 3, + "volume": 12.679700005769249, + "difficulty": 1.5, + "effort": 19.019550008653873, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateMarkdown" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateGroupedMarkdown": { + "line": 337, + "lineCount": 49, + "argCount": 1, + "returnCount": 1, + "variableCount": 10, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 8, + "n2": 23, + "N1": 33, + "N2": 65, + "programLength": 98, + "programVocabulary": 31, + "volume": 485.5112384179137, + "difficulty": 11.304347826086957, + "effort": 5488.387912550329, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateGroupedMarkdown" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateSingleTableMarkdown": { + "line": 390, + "lineCount": 28, + "argCount": 1, + "returnCount": 1, + "variableCount": 6, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 6, + "n2": 13, + "N1": 19, + "N2": 37, + "programLength": 56, + "programVocabulary": 19, + "volume": 237.88394075284077, + "difficulty": 8.538461538461538, + "effort": 2031.1628787357943, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateSingleTableMarkdown" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::__construct": { + "line": 32, + "lineCount": 26, + "argCount": 2, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 7, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 14, + "N2": 22, + "programLength": 36, + "programVocabulary": 5, + "volume": 83.58941141594504, + "difficulty": 7.333333333333333, + "effort": 612.9890170502636, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::parse": { + "line": 63, + "lineCount": 37, + "argCount": 1, + "returnCount": 1, + "variableCount": 9, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 14, + "N1": 16, + "N2": 43, + "programLength": 59, + "programVocabulary": 17, + "volume": 241.16030763377, + "difficulty": 4.607142857142858, + "effort": 1111.0599887412977, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::parse" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::scanForAnnotations": { + "line": 104, + "lineCount": 20, + "argCount": 1, + "returnCount": 0, + "variableCount": 4, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 7, + "N1": 8, + "N2": 16, + "programLength": 24, + "programVocabulary": 10, + "volume": 79.7262742772967, + "difficulty": 3.4285714285714284, + "effort": 273.34722609358863, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::scanForAnnotations" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::traverseAbstractSyntaxTreeWithCombinedVisitor": { + "line": 129, + "lineCount": 17, + "argCount": 1, + "returnCount": 0, + "variableCount": 4, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 7, + "N1": 7, + "N2": 15, + "programLength": 22, + "programVocabulary": 10, + "volume": 73.08241808752197, + "difficulty": 3.2142857142857144, + "effort": 234.90777242417778, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::traverseAbstractSyntaxTreeWithCombinedVisitor" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getIgnored": { + "line": 153, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getIgnored" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getIgnoredClasses": { + "line": 163, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getIgnoredClasses" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getIgnoredMethods": { + "line": 173, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getIgnoredMethods" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::clearStaticCaches": { + "line": 181, + "lineCount": 15, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 9, + "N1": 7, + "N2": 19, + "programLength": 26, + "programVocabulary": 10, + "volume": 86.37013046707142, + "difficulty": 1.0555555555555556, + "effort": 91.16847104857538, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::clearStaticCaches" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::clearStaticProperty": { + "line": 200, + "lineCount": 14, + "argCount": 2, + "returnCount": 0, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 6, + "N2": 12, + "programLength": 18, + "programVocabulary": 7, + "volume": 50.53238859703688, + "difficulty": 2.4, + "effort": 121.2777326328885, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::clearStaticProperty" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getRiskLevel": { + "line": 218, + "lineCount": 9, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 8, + "N1": 3, + "N2": 11, + "programLength": 14, + "programVocabulary": 9, + "volume": 44.37895002019237, + "difficulty": 0.6875, + "effort": 30.510528138882254, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getRiskLevel" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculate": { + "line": 47, + "lineCount": 5, + "argCount": 2, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 2, + "N2": 8, + "programLength": 10, + "programVocabulary": 4, + "volume": 20, + "difficulty": 1.3333333333333333, + "effort": 26.666666666666664, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculateScore": { + "line": 53, + "lineCount": 10, + "argCount": 1, + "returnCount": 0, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 9, + "N1": 7, + "N2": 15, + "programLength": 22, + "programVocabulary": 13, + "volume": 81.40967379910403, + "difficulty": 3.3333333333333335, + "effort": 271.36557933034675, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculateScore" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculateMetricWeights": { + "line": 70, + "lineCount": 17, + "argCount": 3, + "returnCount": 0, + "variableCount": 6, + "propertyCallCount": 3, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 12, + "N1": 9, + "N2": 24, + "programLength": 33, + "programVocabulary": 15, + "volume": 128.92738965508113, + "difficulty": 3, + "effort": 386.7821689652434, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculateMetricWeights" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculateLogWeight": { + "line": 132, + "lineCount": 8, + "argCount": 3, + "returnCount": 2, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 5, + "N1": 5, + "N2": 11, + "programLength": 16, + "programVocabulary": 10, + "volume": 53.150849518197795, + "difficulty": 5.5, + "effort": 292.3296723500879, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculateLogWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cyclomatic\\CyclomaticMetrics::__construct": { + "line": 129, + "lineCount": 23, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 19, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 43, + "N1": 56, + "N2": 130, + "programLength": 186, + "programVocabulary": 45, + "volume": 1021.4846759173195, + "difficulty": 3.0232558139534884, + "effort": 3088.209485331431, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cyclomatic\\CyclomaticMetrics::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::escapeMarkdown": { + "line": 18, + "lineCount": 6, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 5, + "N1": 1, + "N2": 6, + "programLength": 7, + "programVocabulary": 6, + "volume": 18.094737505048094, + "difficulty": 0.6, + "effort": 10.856842503028856, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::escapeMarkdown" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::formatNumber": { + "line": 32, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 5, + "programLength": 6, + "programVocabulary": 4, + "volume": 12, + "difficulty": 0.8333333333333334, + "effort": 10, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::formatNumber" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::buildTableHeader": { + "line": 43, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 3, + "N2": 5, + "programLength": 8, + "programVocabulary": 6, + "volume": 20.67970000576925, + "difficulty": 1.25, + "effort": 25.84962500721156, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::buildTableHeader" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::buildTableSeparator": { + "line": 54, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 4, + "programLength": 6, + "programVocabulary": 5, + "volume": 13.931568569324174, + "difficulty": 1.3333333333333333, + "effort": 18.575424759098897, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::buildTableSeparator" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::buildTableRow": { + "line": 65, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 3, + "N2": 5, + "programLength": 8, + "programVocabulary": 6, + "volume": 20.67970000576925, + "difficulty": 1.25, + "effort": 25.84962500721156, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::buildTableRow" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::formatPercentage": { + "line": 77, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 2, + "N2": 6, + "programLength": 8, + "programVocabulary": 6, + "volume": 20.67970000576925, + "difficulty": 1.5, + "effort": 31.019550008653873, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::formatPercentage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::escapeMarkdown": { + "line": 18, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 5, + "N1": 1, + "N2": 6, + "programLength": 7, + "programVocabulary": 6, + "volume": 18.094737505048094, + "difficulty": 0.6, + "effort": 10.856842503028856, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::escapeMarkdown" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::formatNumber": { + "line": 30, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 5, + "programLength": 6, + "programVocabulary": 4, + "volume": 12, + "difficulty": 0.8333333333333334, + "effort": 10, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::formatNumber" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::buildMarkdownTableHeader": { + "line": 41, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 3, + "N2": 5, + "programLength": 8, + "programVocabulary": 6, + "volume": 20.67970000576925, + "difficulty": 1.25, + "effort": 25.84962500721156, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::buildMarkdownTableHeader" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::buildMarkdownTableSeparator": { + "line": 52, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 4, + "programLength": 6, + "programVocabulary": 5, + "volume": 13.931568569324174, + "difficulty": 1.3333333333333333, + "effort": 18.575424759098897, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::buildMarkdownTableSeparator" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::buildMarkdownTableRow": { + "line": 63, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 3, + "N2": 5, + "programLength": 8, + "programVocabulary": 6, + "volume": 20.67970000576925, + "difficulty": 1.25, + "effort": 25.84962500721156, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::buildMarkdownTableRow" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::formatMarkdownPercentage": { + "line": 75, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 2, + "N2": 6, + "programLength": 8, + "programVocabulary": 6, + "volume": 20.67970000576925, + "difficulty": 1.5, + "effort": 31.019550008653873, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::formatMarkdownPercentage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Halstead\\HalsteadMetrics::__construct": { + "line": 33, + "lineCount": 13, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 10, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 1, + "n2": 12, + "N1": 10, + "N2": 31, + "programLength": 41, + "programVocabulary": 13, + "volume": 151.7180284437848, + "difficulty": 1.2916666666666667, + "effort": 195.96912007322203, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Halstead\\HalsteadMetrics::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Halstead\\HalsteadMetrics::getVolume": { + "line": 47, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Halstead\\HalsteadMetrics::getVolume" + } + } + }, + "ignored_items": [], + "cached_at": 1759967601 +} \ No newline at end of file diff --git a/.phpcca.cache/75/75a10d83af2391ec06cdd547875de3d8.cache b/.phpcca.cache/75/75a10d83af2391ec06cdd547875de3d8.cache new file mode 100644 index 0000000..c29c1b0 --- /dev/null +++ b/.phpcca.cache/75/75a10d83af2391ec06cdd547875de3d8.cache @@ -0,0 +1,4265 @@ +{ + "version": "1.0", + "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/Business\/Cognitive\/Exporter\/DataExporterInterface.php", + "file_mtime": 1752612112, + "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", + "analysis_result": { + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct": { + "line": 60, + "lineCount": 5, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 1, + "N1": 2, + "N2": 2, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 2, + "effort": 12.679700005769249, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices": { + "line": 66, + "lineCount": 95, + "argCount": 0, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 5, + "N1": 58, + "N2": 32, + "programLength": 90, + "programVocabulary": 9, + "volume": 285.2932501298081, + "difficulty": 12.8, + "effort": 3651.7536016615436, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap": { + "line": 162, + "lineCount": 10, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 7, + "N2": 7, + "programLength": 14, + "programVocabulary": 2, + "volume": 14, + "difficulty": 3.5, + "effort": 49, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors": { + "line": 173, + "lineCount": 12, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 3, + "N2": 1, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0.5, + "effort": 2, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus": { + "line": 186, + "lineCount": 19, + "argCount": 0, + "returnCount": 0, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 9, + "N2": 13, + "programLength": 22, + "programVocabulary": 7, + "volume": 61.76180828526729, + "difficulty": 2.6, + "effort": 160.58070154169496, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService": { + "line": 206, + "lineCount": 9, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 3, + "N2": 1, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0.5, + "effort": 2, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade": { + "line": 216, + "lineCount": 13, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 3, + "N2": 1, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0.5, + "effort": 2, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands": { + "line": 230, + "lineCount": 21, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 6, + "N2": 2, + "programLength": 8, + "programVocabulary": 2, + "volume": 8, + "difficulty": 1, + "effort": 8, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication": { + "line": 252, + "lineCount": 11, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 5, + "N2": 4, + "programLength": 9, + "programVocabulary": 4, + "volume": 18, + "difficulty": 0.6666666666666666, + "effort": 12, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run": { + "line": 264, + "lineCount": 9, + "argCount": 0, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 5, + "N2": 5, + "programLength": 10, + "programVocabulary": 4, + "volume": 20, + "difficulty": 2.5, + "effort": 50, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get": { + "line": 274, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer": { + "line": 279, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator": { + "line": 289, + "lineCount": 16, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 7, + "programLength": 8, + "programVocabulary": 4, + "volume": 16, + "difficulty": 1.1666666666666667, + "effort": 18.666666666666668, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create": { + "line": 18, + "lineCount": 7, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 4, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile": { + "line": 17, + "lineCount": 17, + "argCount": 2, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 8, + "N1": 11, + "N2": 19, + "programLength": 30, + "programVocabulary": 11, + "volume": 103.78294855911892, + "difficulty": 3.5625, + "effort": 369.72675424186116, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode": { + "line": 42, + "lineCount": 8, + "argCount": 3, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 3, + "N2": 8, + "programLength": 11, + "programVocabulary": 8, + "volume": 33, + "difficulty": 2.4000000000000004, + "effort": 79.20000000000002, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate": { + "line": 22, + "lineCount": 10, + "argCount": 2, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 6, + "N2": 13, + "programLength": 19, + "programVocabulary": 6, + "volume": 49.11428751370197, + "difficulty": 3.25, + "effort": 159.6214344195314, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending": { + "line": 37, + "lineCount": 8, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 2, + "N2": 9, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 2.25, + "effort": 63.97782189284862, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn": { + "line": 51, + "lineCount": 24, + "argCount": 2, + "returnCount": 1, + "variableCount": 6, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 15, + "N1": 17, + "N2": 46, + "programLength": 63, + "programVocabulary": 20, + "volume": 272.28146997790384, + "difficulty": 7.666666666666667, + "effort": 2087.491269830596, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses": { + "line": 81, + "lineCount": 20, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 2, + "n2": 7, + "N1": 10, + "N2": 24, + "programLength": 34, + "programVocabulary": 9, + "volume": 107.7774500490386, + "difficulty": 3.4285714285714284, + "effort": 369.52268588241805, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass": { + "line": 109, + "lineCount": 9, + "argCount": 2, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 6, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 10, + "volume": 49.82892142331043, + "difficulty": 3.3333333333333335, + "effort": 166.09640474436813, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel": { + "line": 126, + "lineCount": 16, + "argCount": 2, + "returnCount": 4, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 12, + "N1": 9, + "N2": 18, + "programLength": 27, + "programVocabulary": 15, + "volume": 105.48604608143, + "difficulty": 2.25, + "effort": 237.3436036832175, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile": { + "line": 14, + "lineCount": 6, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 2, + "N2": 5, + "programLength": 7, + "programVocabulary": 4, + "volume": 14, + "difficulty": 2.5, + "effort": 35, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable": { + "line": 24, + "lineCount": 11, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 10, + "N2": 12, + "programLength": 22, + "programVocabulary": 8, + "volume": 66, + "difficulty": 6, + "effort": 396, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create": { + "line": 21, + "lineCount": 11, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 7, + "N1": 0, + "N2": 9, + "programLength": 9, + "programVocabulary": 7, + "volume": 25.26619429851844, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes": { + "line": 38, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 6, + "N1": 0, + "N2": 6, + "programLength": 6, + "programVocabulary": 6, + "volume": 15.509775004326936, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported": { + "line": 49, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 2, + "N2": 3, + "programLength": 5, + "programVocabulary": 4, + "volume": 10, + "difficulty": 1.5, + "effort": 15, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export": { + "line": 30, + "lineCount": 23, + "argCount": 2, + "returnCount": 0, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 16, + "N1": 10, + "N2": 33, + "programLength": 43, + "programVocabulary": 20, + "volume": 185.8429080801566, + "difficulty": 4.125, + "effort": 766.601995830646, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export": { + "line": 28, + "lineCount": 8, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 6, + "volume": 36.18947501009619, + "difficulty": 2.5, + "effort": 90.47368752524048, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape": { + "line": 37, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber": { + "line": 42, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml": { + "line": 52, + "lineCount": 50, + "argCount": 1, + "returnCount": 1, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 12, + "N1": 11, + "N2": 25, + "programLength": 36, + "programVocabulary": 17, + "volume": 147.14866228501222, + "difficulty": 5.208333333333334, + "effort": 766.3992827344388, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export": { + "line": 17, + "lineCount": 13, + "argCount": 2, + "returnCount": 0, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 8, + "N1": 7, + "N2": 14, + "programLength": 21, + "programVocabulary": 12, + "volume": 75.28421251514428, + "difficulty": 3.5, + "effort": 263.49474380300495, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export": { + "line": 48, + "lineCount": 8, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 6, + "volume": 36.18947501009619, + "difficulty": 2.5, + "effort": 90.47368752524048, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown": { + "line": 61, + "lineCount": 24, + "argCount": 1, + "returnCount": 1, + "variableCount": 6, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 6, + "n2": 16, + "N1": 19, + "N2": 41, + "programLength": 60, + "programVocabulary": 22, + "volume": 267.56589711823784, + "difficulty": 7.6875, + "effort": 2056.9128340964535, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow": { + "line": 94, + "lineCount": 21, + "argCount": 3, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 7, + "n2": 18, + "N1": 16, + "N2": 39, + "programLength": 55, + "programVocabulary": 25, + "volume": 255.41209043760983, + "difficulty": 7.583333333333333, + "effort": 1936.8750191518745, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::__construct": { + "line": 26, + "lineCount": 4, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::export": { + "line": 36, + "lineCount": 10, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 8, + "volume": 45, + "difficulty": 5, + "effort": 225, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::generateSvgTreemap": { + "line": 53, + "lineCount": 20, + "argCount": 1, + "returnCount": 1, + "variableCount": 6, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 8, + "N1": 9, + "N2": 20, + "programLength": 29, + "programVocabulary": 10, + "volume": 96.3359147517335, + "difficulty": 2.5, + "effort": 240.83978687933376, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::generateSvgTreemap" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRects": { + "line": 82, + "lineCount": 10, + "argCount": 3, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 9, + "N1": 6, + "N2": 18, + "programLength": 24, + "programVocabulary": 12, + "volume": 86.03910001730775, + "difficulty": 3, + "effort": 258.1173000519232, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRects" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRect": { + "line": 100, + "lineCount": 29, + "argCount": 2, + "returnCount": 1, + "variableCount": 12, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 6, + "n2": 28, + "N1": 26, + "N2": 54, + "programLength": 80, + "programVocabulary": 34, + "volume": 406.9970273000271, + "difficulty": 5.785714285714286, + "effort": 2354.7685150930142, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRect" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::wrapSvg": { + "line": 136, + "lineCount": 21, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 2, + "N2": 8, + "programLength": 10, + "programVocabulary": 4, + "volume": 20, + "difficulty": 1.3333333333333333, + "effort": 26.666666666666664, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::wrapSvg" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::prepareItems": { + "line": 28, + "lineCount": 18, + "argCount": 1, + "returnCount": 1, + "variableCount": 7, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 12, + "N1": 9, + "N2": 30, + "programLength": 39, + "programVocabulary": 17, + "volume": 159.41105080876324, + "difficulty": 6.25, + "effort": 996.3190675547702, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::prepareItems" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findScoreRange": { + "line": 53, + "lineCount": 16, + "argCount": 1, + "returnCount": 3, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 7, + "N2": 13, + "programLength": 20, + "programVocabulary": 8, + "volume": 60, + "difficulty": 3.9000000000000004, + "effort": 234.00000000000003, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findScoreRange" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::normalizeScore": { + "line": 78, + "lineCount": 8, + "argCount": 3, + "returnCount": 2, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 8, + "volume": 45, + "difficulty": 5, + "effort": 225, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::normalizeScore" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::scoreToColor": { + "line": 93, + "lineCount": 9, + "argCount": 1, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 5, + "n2": 9, + "N1": 12, + "N2": 16, + "programLength": 28, + "programVocabulary": 14, + "volume": 106.60593781761291, + "difficulty": 4.444444444444445, + "effort": 473.80416807827964, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::scoreToColor" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::calculateTreemapLayout": { + "line": 115, + "lineCount": 23, + "argCount": 7, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 9, + "N1": 2, + "N2": 18, + "programLength": 20, + "programVocabulary": 11, + "volume": 69.18863237274594, + "difficulty": 2, + "effort": 138.37726474549189, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::calculateTreemapLayout" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::layoutTreemap": { + "line": 152, + "lineCount": 89, + "argCount": 8, + "returnCount": 3, + "variableCount": 11, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 8, + "n2": 28, + "N1": 32, + "N2": 98, + "programLength": 130, + "programVocabulary": 36, + "volume": 672.0902501875006, + "difficulty": 14, + "effort": 9409.263502625008, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::layoutTreemap" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findSplitIndex": { + "line": 249, + "lineCount": 13, + "argCount": 2, + "returnCount": 2, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 7, + "n2": 10, + "N1": 9, + "N2": 23, + "programLength": 32, + "programVocabulary": 17, + "volume": 130.79881092001085, + "difficulty": 8.049999999999999, + "effort": 1052.9304279060873, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findSplitIndex" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::__construct": { + "line": 23, + "lineCount": 18, + "argCount": 1, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 7, + "N2": 11, + "programLength": 18, + "programVocabulary": 6, + "volume": 46.529325012980806, + "difficulty": 5.5, + "effort": 255.91128757139444, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::getAllClasses": { + "line": 47, + "lineCount": 17, + "argCount": 0, + "returnCount": 2, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 6, + "N2": 12, + "programLength": 18, + "programVocabulary": 9, + "volume": 57.05865002596162, + "difficulty": 3, + "effort": 171.17595007788486, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::getAllClasses" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::withClassNode": { + "line": 73, + "lineCount": 8, + "argCount": 2, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 4, + "N2": 8, + "programLength": 12, + "programVocabulary": 8, + "volume": 36, + "difficulty": 4, + "effort": 144, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::withClassNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::findClassNode": { + "line": 85, + "lineCount": 25, + "argCount": 1, + "returnCount": 4, + "variableCount": 5, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 13, + "N2": 29, + "programLength": 42, + "programVocabulary": 11, + "volume": 145.29612798276648, + "difficulty": 8.285714285714286, + "effort": 1203.8822032857795, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::findClassNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::escapeXPathValue": { + "line": 114, + "lineCount": 16, + "argCount": 1, + "returnCount": 3, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 9, + "N1": 11, + "N2": 18, + "programLength": 29, + "programVocabulary": 13, + "volume": 107.31275182609167, + "difficulty": 4, + "effort": 429.2510073043667, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::escapeXPathValue" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getLineCoverage": { + "line": 22, + "lineCount": 18, + "argCount": 1, + "returnCount": 4, + "variableCount": 5, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 9, + "N1": 10, + "N2": 19, + "programLength": 29, + "programVocabulary": 13, + "volume": 107.31275182609167, + "difficulty": 4.222222222222222, + "effort": 453.09828548794263, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getLineCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getBranchCoverage": { + "line": 48, + "lineCount": 18, + "argCount": 1, + "returnCount": 4, + "variableCount": 5, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 9, + "N1": 10, + "N2": 19, + "programLength": 29, + "programVocabulary": 13, + "volume": 107.31275182609167, + "difficulty": 4.222222222222222, + "effort": 453.09828548794263, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getBranchCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getComplexity": { + "line": 73, + "lineCount": 13, + "argCount": 1, + "returnCount": 3, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 7, + "N2": 14, + "programLength": 21, + "programVocabulary": 11, + "volume": 72.64806399138324, + "difficulty": 4, + "effort": 290.59225596553296, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getComplexity" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getCoverageDetails": { + "line": 93, + "lineCount": 26, + "argCount": 1, + "returnCount": 3, + "variableCount": 9, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 17, + "N1": 22, + "N2": 42, + "programLength": 64, + "programVocabulary": 22, + "volume": 285.403623592787, + "difficulty": 6.176470588235294, + "effort": 1762.7870868966259, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getCoverageDetails" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getMetricsNode": { + "line": 123, + "lineCount": 12, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 6, + "N1": 7, + "N2": 13, + "programLength": 20, + "programVocabulary": 10, + "volume": 66.43856189774725, + "difficulty": 4.333333333333333, + "effort": 287.90043489023805, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getMetricsNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getFilenameForClass": { + "line": 139, + "lineCount": 9, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 5, + "N1": 4, + "N2": 9, + "programLength": 13, + "programVocabulary": 9, + "volume": 41.209025018750054, + "difficulty": 3.6, + "effort": 148.3524900675002, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getFilenameForClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodsCoverage": { + "line": 154, + "lineCount": 36, + "argCount": 1, + "returnCount": 3, + "variableCount": 8, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 13, + "N1": 12, + "N2": 30, + "programLength": 42, + "programVocabulary": 16, + "volume": 168, + "difficulty": 3.4615384615384612, + "effort": 581.5384615384614, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodsCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::calculateMethodCoverage": { + "line": 194, + "lineCount": 15, + "argCount": 2, + "returnCount": 2, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 11, + "N1": 9, + "N2": 23, + "programLength": 32, + "programVocabulary": 16, + "volume": 128, + "difficulty": 5.227272727272727, + "effort": 669.090909090909, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::calculateMethodCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodCoverageFromLines": { + "line": 215, + "lineCount": 36, + "argCount": 2, + "returnCount": 1, + "variableCount": 7, + "propertyCallCount": 0, + "ifNestingLevel": 2, + "elseCount": 0, + "ifCount": 5, + "halstead": { + "n1": 2, + "n2": 14, + "N1": 12, + "N2": 35, + "programLength": 47, + "programVocabulary": 16, + "volume": 188, + "difficulty": 2.5, + "effort": 470, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodCoverageFromLines" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStart": { + "line": 252, + "lineCount": 4, + "argCount": 3, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 3, + "N2": 7, + "programLength": 10, + "programVocabulary": 6, + "volume": 25.84962500721156, + "difficulty": 1.75, + "effort": 45.23684376262023, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStart" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodEnd": { + "line": 257, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 5, + "programLength": 7, + "programVocabulary": 5, + "volume": 16.253496664211536, + "difficulty": 1.6666666666666667, + "effort": 27.089161107019226, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodEnd" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStatement": { + "line": 262, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 5, + "programLength": 7, + "programVocabulary": 5, + "volume": 16.253496664211536, + "difficulty": 1.6666666666666667, + "effort": 27.089161107019226, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStatement" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isStatementCovered": { + "line": 267, + "lineCount": 5, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 4, + "N1": 3, + "N2": 6, + "programLength": 9, + "programVocabulary": 7, + "volume": 25.26619429851844, + "difficulty": 2.25, + "effort": 56.848937171666485, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isStatementCovered" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getLineCoverage": { + "line": 20, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 9, + "volume": 44.37895002019237, + "difficulty": 2.5, + "effort": 110.94737505048093, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getLineCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getBranchCoverage": { + "line": 34, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 9, + "volume": 44.37895002019237, + "difficulty": 2.5, + "effort": 110.94737505048093, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getBranchCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getComplexity": { + "line": 48, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 9, + "volume": 44.37895002019237, + "difficulty": 2.5, + "effort": 110.94737505048093, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getComplexity" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getCoverageDetails": { + "line": 62, + "lineCount": 13, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 8, + "N1": 7, + "N2": 16, + "programLength": 23, + "programVocabulary": 9, + "volume": 72.90827503317318, + "difficulty": 1, + "effort": 72.90827503317318, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getCoverageDetails" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::extractMethodsCoverage": { + "line": 81, + "lineCount": 23, + "argCount": 1, + "returnCount": 2, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 11, + "N1": 10, + "N2": 23, + "programLength": 33, + "programVocabulary": 14, + "volume": 125.64271242790093, + "difficulty": 3.1363636363636362, + "effort": 394.061234432962, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::extractMethodsCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CodeCoverageFactory::createFromName": { + "line": 14, + "lineCount": 8, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 4, + "N1": 1, + "N2": 8, + "programLength": 9, + "programVocabulary": 5, + "volume": 20.89735285398626, + "difficulty": 1, + "effort": 20.89735285398626, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CodeCoverageFactory::createFromName" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::__construct": { + "line": 28, + "lineCount": 15, + "argCount": 6, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 6, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 7, + "N1": 6, + "N2": 18, + "programLength": 24, + "programVocabulary": 8, + "volume": 72, + "difficulty": 1.2857142857142858, + "effort": 92.57142857142858, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getName": { + "line": 44, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getName" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getFilename": { + "line": 49, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getFilename" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getLineRate": { + "line": 54, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getLineRate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getBranchRate": { + "line": 59, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getBranchRate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getComplexity": { + "line": 64, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getComplexity" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getMethods": { + "line": 72, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getMethods" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::__construct": { + "line": 17, + "lineCount": 11, + "argCount": 4, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 4, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 5, + "N1": 4, + "N2": 12, + "programLength": 16, + "programVocabulary": 6, + "volume": 41.3594000115385, + "difficulty": 1.2, + "effort": 49.631280013846194, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getName": { + "line": 29, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getName" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getLineRate": { + "line": 34, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getLineRate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getBranchRate": { + "line": 39, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getBranchRate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getComplexity": { + "line": 44, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getComplexity" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::calculateDeltas": { + "line": 19, + "lineCount": 14, + "argCount": 2, + "returnCount": 0, + "variableCount": 6, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 9, + "N1": 4, + "N2": 18, + "programLength": 22, + "programVocabulary": 11, + "volume": 76.10749561002054, + "difficulty": 2, + "effort": 152.21499122004107, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::calculateDeltas" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::loadBaseline": { + "line": 41, + "lineCount": 13, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 5, + "N2": 9, + "programLength": 14, + "programVocabulary": 8, + "volume": 42, + "difficulty": 2.7, + "effort": 113.4, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::loadBaseline" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::__construct": { + "line": 72, + "lineCount": 21, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 6, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 9, + "N1": 12, + "N2": 34, + "programLength": 46, + "programVocabulary": 12, + "volume": 164.90827503317317, + "difficulty": 5.666666666666666, + "effort": 934.4802251879812, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setRequiredMetricProperties": { + "line": 98, + "lineCount": 30, + "argCount": 1, + "returnCount": 0, + "variableCount": 6, + "propertyCallCount": 9, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 21, + "N1": 21, + "N2": 51, + "programLength": 72, + "programVocabulary": 24, + "volume": 330.1173000519232, + "difficulty": 3.6428571428571423, + "effort": 1202.570164474863, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setRequiredMetricProperties" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setOptionalMetricProperties": { + "line": 133, + "lineCount": 12, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 8, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 11, + "N1": 16, + "N2": 33, + "programLength": 49, + "programVocabulary": 13, + "volume": 181.32154618891352, + "difficulty": 3, + "effort": 543.9646385667405, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setOptionalMetricProperties" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setTimesChanged": { + "line": 146, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setTimesChanged" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertSame": { + "line": 151, + "lineCount": 14, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 6, + "N2": 8, + "programLength": 14, + "programVocabulary": 5, + "volume": 32.50699332842307, + "difficulty": 2.6666666666666665, + "effort": 86.68531554246152, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertSame" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::calculateDeltas": { + "line": 169, + "lineCount": 13, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 16, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 17, + "N2": 27, + "programLength": 44, + "programVocabulary": 4, + "volume": 88, + "difficulty": 13.5, + "effort": 1188, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::calculateDeltas" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::fromArray": { + "line": 187, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::fromArray" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertArrayKeyIsPresent": { + "line": 197, + "lineCount": 6, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 5, + "programLength": 5, + "programVocabulary": 2, + "volume": 5, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertArrayKeyIsPresent" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getClass": { + "line": 204, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getMethod": { + "line": 209, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getMethod" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCount": { + "line": 214, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCount": { + "line": 219, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCount": { + "line": 224, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCount": { + "line": 229, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCount": { + "line": 234, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCount": { + "line": 239, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevel": { + "line": 244, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevel" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCount": { + "line": 249, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeight": { + "line": 254, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setLineCountWeight": { + "line": 259, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setLineCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeight": { + "line": 264, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setArgCountWeight": { + "line": 269, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setArgCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeight": { + "line": 274, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setReturnCountWeight": { + "line": 279, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setReturnCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeight": { + "line": 284, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setVariableCountWeight": { + "line": 289, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setVariableCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeight": { + "line": 294, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setPropertyCallCountWeight": { + "line": 299, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setPropertyCallCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeight": { + "line": 304, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfCountWeight": { + "line": 309, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeight": { + "line": 314, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfNestingLevelWeight": { + "line": 319, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfNestingLevelWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeight": { + "line": 324, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setElseCountWeight": { + "line": 329, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setElseCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setScore": { + "line": 334, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setScore" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getScore": { + "line": 339, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getScore" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setCoverage": { + "line": 344, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCoverage": { + "line": 349, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeightDelta": { + "line": 354, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeightDelta": { + "line": 359, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeightDelta": { + "line": 364, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeightDelta": { + "line": 369, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeightDelta": { + "line": 374, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeightDelta": { + "line": 379, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeightDelta": { + "line": 384, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeightDelta": { + "line": 389, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getTimesChanged": { + "line": 394, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 2, + "programLength": 3, + "programVocabulary": 3, + "volume": 4.754887502163468, + "difficulty": 0.5, + "effort": 2.377443751081734, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getTimesChanged" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getFileName": { + "line": 399, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getFileName" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLine": { + "line": 404, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLine" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::equals": { + "line": 409, + "lineCount": 5, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 2, + "N1": 5, + "N2": 5, + "programLength": 10, + "programVocabulary": 5, + "volume": 23.21928094887362, + "difficulty": 3.75, + "effort": 87.07230355827608, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::equals" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::toArray": { + "line": 418, + "lineCount": 34, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 29, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 30, + "N1": 0, + "N2": 58, + "programLength": 58, + "programVocabulary": 30, + "volume": 284.5996545452941, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::toArray" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::jsonSerialize": { + "line": 456, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::jsonSerialize" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getHalstead": { + "line": 464, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getHalstead" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCyclomatic": { + "line": 472, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCyclomatic" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::add": { + "line": 30, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 5, + "N2": 6, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 3, + "effort": 85.30376252379816, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::add" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filter": { + "line": 40, + "lineCount": 11, + "argCount": 1, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 8, + "volume": 42, + "difficulty": 3, + "effort": 126, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filter" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getIterator": { + "line": 57, + "lineCount": 5, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getIterator" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::count": { + "line": 66, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::count" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterWithScoreGreaterThan": { + "line": 71, + "lineCount": 6, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 3, + "N2": 6, + "programLength": 9, + "programVocabulary": 5, + "volume": 20.89735285398626, + "difficulty": 2, + "effort": 41.79470570797252, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterWithScoreGreaterThan" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::contains": { + "line": 78, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 4, + "N2": 5, + "programLength": 9, + "programVocabulary": 5, + "volume": 20.89735285398626, + "difficulty": 1.6666666666666667, + "effort": 34.82892142331043, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::contains" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getClassWithMethod": { + "line": 83, + "lineCount": 9, + "argCount": 2, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 3, + "N2": 10, + "programLength": 13, + "programVocabulary": 7, + "volume": 36.49561398674886, + "difficulty": 2, + "effort": 72.99122797349771, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getClassWithMethod" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterByClassName": { + "line": 93, + "lineCount": 6, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 3, + "N2": 6, + "programLength": 9, + "programVocabulary": 5, + "volume": 20.89735285398626, + "difficulty": 2, + "effort": 41.79470570797252, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterByClassName" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::assertMetricHasGetter": { + "line": 100, + "lineCount": 9, + "argCount": 3, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 6, + "programLength": 7, + "programVocabulary": 4, + "volume": 14, + "difficulty": 1, + "effort": 14, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::assertMetricHasGetter" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::groupBy": { + "line": 117, + "lineCount": 20, + "argCount": 1, + "returnCount": 1, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 10, + "N2": 23, + "programLength": 33, + "programVocabulary": 11, + "volume": 114.16124341503081, + "difficulty": 6.571428571428571, + "effort": 750.2024567273453, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::groupBy" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::jsonSerialize": { + "line": 141, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::jsonSerialize" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::__construct": { + "line": 32, + "lineCount": 8, + "argCount": 5, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 5, + "N1": 0, + "N2": 5, + "programLength": 5, + "programVocabulary": 5, + "volume": 11.60964047443681, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collect": { + "line": 49, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 5, + "programLength": 6, + "programVocabulary": 4, + "volume": 12, + "difficulty": 0.8333333333333334, + "effort": 10, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collect" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collectFromPaths": { + "line": 62, + "lineCount": 13, + "argCount": 2, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 8, + "N2": 16, + "programLength": 24, + "programVocabulary": 9, + "volume": 76.07820003461549, + "difficulty": 4, + "effort": 304.31280013846197, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collectFromPaths" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCodeFromFile": { + "line": 79, + "lineCount": 10, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 2, + "N1": 5, + "N2": 6, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 6, + "effort": 170.6075250475963, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCodeFromFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findMetrics": { + "line": 98, + "lineCount": 31, + "argCount": 1, + "returnCount": 1, + "variableCount": 9, + "propertyCallCount": 2, + "ifNestingLevel": 2, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 13, + "N1": 18, + "N2": 38, + "programLength": 56, + "programVocabulary": 16, + "volume": 224, + "difficulty": 4.384615384615384, + "effort": 982.1538461538461, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findMetrics" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processMethodMetrics": { + "line": 136, + "lineCount": 29, + "argCount": 3, + "returnCount": 1, + "variableCount": 7, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 14, + "N1": 8, + "N2": 27, + "programLength": 35, + "programVocabulary": 17, + "volume": 143.06119944376186, + "difficulty": 2.892857142857143, + "effort": 413.8556126765968, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processMethodMetrics" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::isExcluded": { + "line": 166, + "lineCount": 12, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 5, + "N1": 5, + "N2": 9, + "programLength": 14, + "programVocabulary": 9, + "volume": 44.37895002019237, + "difficulty": 3.6, + "effort": 159.76422007269252, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::isExcluded" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findSourceFiles": { + "line": 187, + "lineCount": 7, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 2, + "N2": 6, + "programLength": 8, + "programVocabulary": 6, + "volume": 20.67970000576925, + "difficulty": 1.5, + "effort": 31.019550008653873, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findSourceFiles" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getProjectRoot": { + "line": 202, + "lineCount": 13, + "argCount": 0, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 2, + "N1": 8, + "N2": 8, + "programLength": 16, + "programVocabulary": 6, + "volume": 41.3594000115385, + "difficulty": 8, + "effort": 330.875200092308, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getProjectRoot" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateCacheKey": { + "line": 219, + "lineCount": 7, + "argCount": 2, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 6, + "N1": 10, + "N2": 12, + "programLength": 22, + "programVocabulary": 10, + "volume": 73.08241808752197, + "difficulty": 4, + "effort": 292.3296723500879, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateCacheKey" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateConfigHash": { + "line": 230, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 1, + "N1": 3, + "N2": 2, + "programLength": 5, + "programVocabulary": 3, + "volume": 7.92481250360578, + "difficulty": 2, + "effort": 15.84962500721156, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateConfigHash" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::cacheResult": { + "line": 239, + "lineCount": 14, + "argCount": 4, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 13, + "N1": 5, + "N2": 20, + "programLength": 25, + "programVocabulary": 15, + "volume": 97.67226489021297, + "difficulty": 1.5384615384615385, + "effort": 150.26502290801997, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::cacheResult" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::clearCache": { + "line": 254, + "lineCount": 4, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::clearCache" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::normalizeFilename": { + "line": 264, + "lineCount": 15, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 6, + "n2": 7, + "N1": 12, + "N2": 16, + "programLength": 28, + "programVocabulary": 13, + "volume": 103.61231210795059, + "difficulty": 6.857142857142857, + "effort": 710.4844258830897, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::normalizeFilename" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCachedMetrics": { + "line": 286, + "lineCount": 19, + "argCount": 3, + "returnCount": 3, + "variableCount": 4, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 11, + "N1": 10, + "N2": 29, + "programLength": 39, + "programVocabulary": 14, + "volume": 148.48684196024655, + "difficulty": 3.954545454545454, + "effort": 587.1979659337022, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCachedMetrics" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processFile": { + "line": 312, + "lineCount": 37, + "argCount": 5, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 7, + "n2": 10, + "N1": 12, + "N2": 28, + "programLength": 40, + "programVocabulary": 17, + "volume": 163.49851365001356, + "difficulty": 9.799999999999999, + "effort": 1602.2854337701328, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::sort": { + "line": 51, + "lineCount": 41, + "argCount": 3, + "returnCount": 2, + "variableCount": 10, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 18, + "N1": 20, + "N2": 43, + "programLength": 63, + "programVocabulary": 22, + "volume": 280.9441919741497, + "difficulty": 4.777777777777778, + "effort": 1342.2889172098264, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::sort" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getFieldValue": { + "line": 100, + "lineCount": 28, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 25, + "N1": 24, + "N2": 50, + "programLength": 74, + "programVocabulary": 27, + "volume": 351.86167516009664, + "difficulty": 2, + "effort": 703.7233503201933, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getFieldValue" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::compareValues": { + "line": 136, + "lineCount": 13, + "argCount": 2, + "returnCount": 3, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 2, + "N1": 9, + "N2": 12, + "programLength": 21, + "programVocabulary": 5, + "volume": 48.760489992634604, + "difficulty": 9, + "effort": 438.8444099337114, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::compareValues" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getSortableFields": { + "line": 155, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 0, + "N1": 0, + "N2": 0, + "programLength": 0, + "programVocabulary": 0, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getSortableFields" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__construct": { + "line": 15, + "lineCount": 11, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 7, + "N2": 12, + "programLength": 19, + "programVocabulary": 6, + "volume": 49.11428751370197, + "difficulty": 6, + "effort": 294.6857250822118, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::getValue": { + "line": 27, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::getValue" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasIncreased": { + "line": 32, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasIncreased" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__toString": { + "line": 37, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__toString" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasNotChanged": { + "line": 42, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 2, + "programLength": 3, + "programVocabulary": 3, + "volume": 4.754887502163468, + "difficulty": 0.5, + "effort": 2.377443751081734, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasNotChanged" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\FileProcessed::__construct": { + "line": 14, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\FileProcessed::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\ParserFailed::__construct": { + "line": 15, + "lineCount": 5, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\ParserFailed::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\SourceFilesFound::__construct": { + "line": 17, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\SourceFilesFound::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::__construct": { + "line": 15, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::create": { + "line": 27, + "lineCount": 10, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 6, + "N1": 0, + "N2": 8, + "programLength": 8, + "programVocabulary": 6, + "volume": 20.67970000576925, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::create" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::getSupportedTypes": { + "line": 43, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 4, + "N1": 0, + "N2": 4, + "programLength": 4, + "programVocabulary": 4, + "volume": 8, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::getSupportedTypes" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::isSupported": { + "line": 54, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 2, + "N2": 3, + "programLength": 5, + "programVocabulary": 4, + "volume": 10, + "difficulty": 1.5, + "effort": 15, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::isSupported" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CsvExporter::export": { + "line": 46, + "lineCount": 57, + "argCount": 2, + "returnCount": 0, + "variableCount": 6, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 15, + "N1": 37, + "N2": 54, + "programLength": 91, + "programVocabulary": 19, + "volume": 386.56140372336625, + "difficulty": 7.2, + "effort": 2783.242106808237, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CsvExporter::export" + } + } + }, + "ignored_items": [], + "cached_at": 1759967601 +} \ No newline at end of file diff --git a/.phpcca.cache/7f/7f617fc9b463b161bff8498a413e7b13.cache b/.phpcca.cache/7f/7f617fc9b463b161bff8498a413e7b13.cache new file mode 100644 index 0000000..23c4aff --- /dev/null +++ b/.phpcca.cache/7f/7f617fc9b463b161bff8498a413e7b13.cache @@ -0,0 +1,823 @@ +{ + "version": "1.0", + "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/Command\/EventHandler\/ParserErrorHandler.php", + "file_mtime": 1759791861, + "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", + "analysis_result": { + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::__construct": { + "line": 26, + "lineCount": 5, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 4, + "N1": 3, + "N2": 6, + "programLength": 9, + "programVocabulary": 7, + "volume": 25.26619429851844, + "difficulty": 2.25, + "effort": 56.848937171666485, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItem": { + "line": 35, + "lineCount": 15, + "argCount": 1, + "returnCount": 3, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 6, + "N2": 13, + "programLength": 19, + "programVocabulary": 8, + "volume": 57, + "difficulty": 6.5, + "effort": 370.5, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItem" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItems": { + "line": 55, + "lineCount": 9, + "argCount": 1, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 3, + "N2": 9, + "programLength": 12, + "programVocabulary": 6, + "volume": 31.019550008653873, + "difficulty": 2.25, + "effort": 69.79398751947122, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItems" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::hasItem": { + "line": 68, + "lineCount": 6, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 5, + "n2": 3, + "N1": 6, + "N2": 7, + "programLength": 13, + "programVocabulary": 8, + "volume": 39, + "difficulty": 5.833333333333334, + "effort": 227.50000000000003, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::hasItem" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::clear": { + "line": 75, + "lineCount": 10, + "argCount": 0, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 2, + "N2": 4, + "programLength": 6, + "programVocabulary": 3, + "volume": 9.509775004326936, + "difficulty": 1, + "effort": 9.509775004326936, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::clear" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItem": { + "line": 89, + "lineCount": 10, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 4, + "N2": 6, + "programLength": 10, + "programVocabulary": 6, + "volume": 25.84962500721156, + "difficulty": 3, + "effort": 77.54887502163469, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItem" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItems": { + "line": 103, + "lineCount": 10, + "argCount": 1, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 3, + "N2": 8, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 2, + "effort": 56.86917501586544, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItems" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::save": { + "line": 117, + "lineCount": 11, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 4, + "N1": 9, + "N2": 12, + "programLength": 21, + "programVocabulary": 7, + "volume": 58.95445336320969, + "difficulty": 4.5, + "effort": 265.2950401344436, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::save" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveDeferred": { + "line": 129, + "lineCount": 6, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveDeferred" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::commit": { + "line": 136, + "lineCount": 11, + "argCount": 0, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 4, + "N2": 8, + "programLength": 12, + "programVocabulary": 5, + "volume": 27.863137138648348, + "difficulty": 2.6666666666666665, + "effort": 74.30169903639559, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::commit" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::ensureCacheDirectory": { + "line": 152, + "lineCount": 9, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 3, + "N2": 4, + "programLength": 7, + "programVocabulary": 4, + "volume": 14, + "difficulty": 2, + "effort": 28, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::ensureCacheDirectory" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getCacheFilePath": { + "line": 168, + "lineCount": 15, + "argCount": 1, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 10, + "N1": 13, + "N2": 19, + "programLength": 32, + "programVocabulary": 14, + "volume": 121.83535750584333, + "difficulty": 3.8, + "effort": 462.9743585222046, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getCacheFilePath" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::loadCacheData": { + "line": 187, + "lineCount": 14, + "argCount": 1, + "returnCount": 3, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 6, + "N2": 8, + "programLength": 14, + "programVocabulary": 6, + "volume": 36.18947501009619, + "difficulty": 4, + "effort": 144.75790004038475, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::loadCacheData" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveCacheData": { + "line": 209, + "lineCount": 21, + "argCount": 2, + "returnCount": 3, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 6, + "n2": 7, + "N1": 13, + "N2": 17, + "programLength": 30, + "programVocabulary": 13, + "volume": 111.01319154423277, + "difficulty": 7.285714285714285, + "effort": 808.810395536553, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveCacheData" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::sanitizeUtf8": { + "line": 234, + "lineCount": 25, + "argCount": 1, + "returnCount": 4, + "variableCount": 6, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 8, + "N1": 13, + "N2": 29, + "programLength": 42, + "programVocabulary": 11, + "volume": 145.29612798276648, + "difficulty": 5.4375, + "effort": 790.0476959062927, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::sanitizeUtf8" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::removeDirectory": { + "line": 260, + "lineCount": 23, + "argCount": 1, + "returnCount": 2, + "variableCount": 5, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 5, + "n2": 9, + "N1": 13, + "N2": 20, + "programLength": 33, + "programVocabulary": 14, + "volume": 125.64271242790093, + "difficulty": 5.555555555555555, + "effort": 698.0150690438941, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::removeDirectory" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::__construct": { + "line": 42, + "lineCount": 7, + "argCount": 3, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 3, + "N1": 0, + "N2": 3, + "programLength": 3, + "programVocabulary": 3, + "volume": 4.754887502163468, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::configure": { + "line": 53, + "lineCount": 57, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 15, + "N1": 9, + "N2": 16, + "programLength": 25, + "programVocabulary": 16, + "volume": 100, + "difficulty": 0.5333333333333333, + "effort": 53.333333333333336, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::configure" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::execute": { + "line": 119, + "lineCount": 43, + "argCount": 2, + "returnCount": 5, + "variableCount": 9, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 4, + "halstead": { + "n1": 7, + "n2": 14, + "N1": 31, + "N2": 45, + "programLength": 76, + "programVocabulary": 21, + "volume": 333.8161241311858, + "difficulty": 11.25, + "effort": 3755.4313964758403, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::execute" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::loadCoverageReader": { + "line": 171, + "lineCount": 32, + "argCount": 3, + "returnCount": 4, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 2, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 4, + "n2": 9, + "N1": 9, + "N2": 21, + "programLength": 30, + "programVocabulary": 13, + "volume": 111.01319154423277, + "difficulty": 4.666666666666667, + "effort": 518.0615605397529, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::loadCoverageReader" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::detectCoverageFormat": { + "line": 207, + "lineCount": 19, + "argCount": 1, + "returnCount": 4, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 9, + "volume": 47.548875021634686, + "difficulty": 2.5, + "effort": 118.87218755408671, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::detectCoverageFormat" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::coverageFileExists": { + "line": 227, + "lineCount": 20, + "argCount": 2, + "returnCount": 3, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 4, + "N2": 7, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 3.5, + "effort": 99.52105627776452, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::coverageFileExists" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::__construct": { + "line": 49, + "lineCount": 10, + "argCount": 6, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 6, + "N1": 0, + "N2": 6, + "programLength": 6, + "programVocabulary": 6, + "volume": 15.509775004326936, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::configure": { + "line": 63, + "lineCount": 76, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 20, + "N1": 13, + "N2": 20, + "programLength": 33, + "programVocabulary": 21, + "volume": 144.94647495169912, + "difficulty": 0.5, + "effort": 72.47323747584956, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::configure" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::execute": { + "line": 150, + "lineCount": 52, + "argCount": 2, + "returnCount": 5, + "variableCount": 11, + "propertyCallCount": 6, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 7, + "halstead": { + "n1": 6, + "n2": 15, + "N1": 43, + "N2": 61, + "programLength": 104, + "programVocabulary": 21, + "volume": 456.80101196899113, + "difficulty": 12.2, + "effort": 5572.972346021692, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::execute" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::parsePaths": { + "line": 209, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 4, + "N2": 8, + "programLength": 12, + "programVocabulary": 7, + "volume": 33.68825906469125, + "difficulty": 1.6, + "effort": 53.901214503506004, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::parsePaths" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleBaseLine": { + "line": 224, + "lineCount": 8, + "argCount": 2, + "returnCount": 0, + "variableCount": 3, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 5, + "N2": 11, + "programLength": 16, + "programVocabulary": 7, + "volume": 44.91767875292167, + "difficulty": 2.2, + "effort": 98.81889325642767, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleBaseLine" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleCoverageOptions": { + "line": 238, + "lineCount": 20, + "argCount": 2, + "returnCount": 3, + "variableCount": 5, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 5, + "n2": 10, + "N1": 15, + "N2": 25, + "programLength": 40, + "programVocabulary": 15, + "volume": 156.27562382434076, + "difficulty": 6.25, + "effort": 976.7226489021298, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleCoverageOptions" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::applySorting": { + "line": 264, + "lineCount": 21, + "argCount": 3, + "returnCount": 3, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 15, + "N1": 16, + "N2": 32, + "programLength": 48, + "programVocabulary": 20, + "volume": 207.45254855459342, + "difficulty": 5.333333333333333, + "effort": 1106.4135922911648, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::applySorting" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadConfiguration": { + "line": 293, + "lineCount": 10, + "argCount": 2, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 6, + "N1": 5, + "N2": 9, + "programLength": 14, + "programVocabulary": 8, + "volume": 42, + "difficulty": 1.5, + "effort": 63, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadConfiguration" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadCoverageReader": { + "line": 313, + "lineCount": 28, + "argCount": 3, + "returnCount": 4, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 2, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 10, + "N2": 18, + "programLength": 28, + "programVocabulary": 11, + "volume": 96.86408532184433, + "difficulty": 5.142857142857143, + "effort": 498.15815308377086, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadCoverageReader" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::detectCoverageFormat": { + "line": 345, + "lineCount": 19, + "argCount": 1, + "returnCount": 4, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 9, + "volume": 47.548875021634686, + "difficulty": 2.5, + "effort": 118.87218755408671, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::detectCoverageFormat" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::coverageFileExists": { + "line": 365, + "lineCount": 20, + "argCount": 2, + "returnCount": 3, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 4, + "N2": 7, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 3.5, + "effort": 99.52105627776452, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::coverageFileExists" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__construct": { + "line": 12, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__invoke": { + "line": 17, + "lineCount": 22, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 3, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 10, + "N2": 11, + "programLength": 21, + "programVocabulary": 7, + "volume": 58.95445336320969, + "difficulty": 2.2, + "effort": 129.6997973990613, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__invoke" + } + } + }, + "ignored_items": [], + "cached_at": 1759967601 +} \ No newline at end of file diff --git a/.phpcca.cache/82/828eaaf30f2dccec9484d143b57302ff.cache b/.phpcca.cache/82/828eaaf30f2dccec9484d143b57302ff.cache new file mode 100644 index 0000000..1981322 --- /dev/null +++ b/.phpcca.cache/82/828eaaf30f2dccec9484d143b57302ff.cache @@ -0,0 +1,2617 @@ +{ + "version": "1.0", + "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/Config\/MetricsConfig.php", + "file_mtime": 1759964701, + "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", + "analysis_result": { + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::__construct": { + "line": 26, + "lineCount": 5, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 4, + "N1": 3, + "N2": 6, + "programLength": 9, + "programVocabulary": 7, + "volume": 25.26619429851844, + "difficulty": 2.25, + "effort": 56.848937171666485, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItem": { + "line": 35, + "lineCount": 15, + "argCount": 1, + "returnCount": 3, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 6, + "N2": 13, + "programLength": 19, + "programVocabulary": 8, + "volume": 57, + "difficulty": 6.5, + "effort": 370.5, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItem" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItems": { + "line": 55, + "lineCount": 9, + "argCount": 1, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 3, + "N2": 9, + "programLength": 12, + "programVocabulary": 6, + "volume": 31.019550008653873, + "difficulty": 2.25, + "effort": 69.79398751947122, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItems" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::hasItem": { + "line": 68, + "lineCount": 6, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 5, + "n2": 3, + "N1": 6, + "N2": 7, + "programLength": 13, + "programVocabulary": 8, + "volume": 39, + "difficulty": 5.833333333333334, + "effort": 227.50000000000003, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::hasItem" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::clear": { + "line": 75, + "lineCount": 10, + "argCount": 0, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 2, + "N2": 4, + "programLength": 6, + "programVocabulary": 3, + "volume": 9.509775004326936, + "difficulty": 1, + "effort": 9.509775004326936, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::clear" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItem": { + "line": 89, + "lineCount": 10, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 4, + "N2": 6, + "programLength": 10, + "programVocabulary": 6, + "volume": 25.84962500721156, + "difficulty": 3, + "effort": 77.54887502163469, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItem" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItems": { + "line": 103, + "lineCount": 10, + "argCount": 1, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 3, + "N2": 8, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 2, + "effort": 56.86917501586544, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItems" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::save": { + "line": 117, + "lineCount": 11, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 4, + "N1": 9, + "N2": 12, + "programLength": 21, + "programVocabulary": 7, + "volume": 58.95445336320969, + "difficulty": 4.5, + "effort": 265.2950401344436, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::save" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveDeferred": { + "line": 129, + "lineCount": 6, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveDeferred" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::commit": { + "line": 136, + "lineCount": 11, + "argCount": 0, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 4, + "N2": 8, + "programLength": 12, + "programVocabulary": 5, + "volume": 27.863137138648348, + "difficulty": 2.6666666666666665, + "effort": 74.30169903639559, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::commit" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::ensureCacheDirectory": { + "line": 152, + "lineCount": 9, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 3, + "N2": 4, + "programLength": 7, + "programVocabulary": 4, + "volume": 14, + "difficulty": 2, + "effort": 28, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::ensureCacheDirectory" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getCacheFilePath": { + "line": 168, + "lineCount": 15, + "argCount": 1, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 10, + "N1": 13, + "N2": 19, + "programLength": 32, + "programVocabulary": 14, + "volume": 121.83535750584333, + "difficulty": 3.8, + "effort": 462.9743585222046, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getCacheFilePath" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::loadCacheData": { + "line": 187, + "lineCount": 14, + "argCount": 1, + "returnCount": 3, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 6, + "N2": 8, + "programLength": 14, + "programVocabulary": 6, + "volume": 36.18947501009619, + "difficulty": 4, + "effort": 144.75790004038475, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::loadCacheData" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveCacheData": { + "line": 209, + "lineCount": 21, + "argCount": 2, + "returnCount": 3, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 6, + "n2": 7, + "N1": 13, + "N2": 17, + "programLength": 30, + "programVocabulary": 13, + "volume": 111.01319154423277, + "difficulty": 7.285714285714285, + "effort": 808.810395536553, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveCacheData" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::sanitizeUtf8": { + "line": 234, + "lineCount": 25, + "argCount": 1, + "returnCount": 4, + "variableCount": 6, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 8, + "N1": 13, + "N2": 29, + "programLength": 42, + "programVocabulary": 11, + "volume": 145.29612798276648, + "difficulty": 5.4375, + "effort": 790.0476959062927, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::sanitizeUtf8" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::removeDirectory": { + "line": 260, + "lineCount": 23, + "argCount": 1, + "returnCount": 2, + "variableCount": 5, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 5, + "n2": 9, + "N1": 13, + "N2": 20, + "programLength": 33, + "programVocabulary": 14, + "volume": 125.64271242790093, + "difficulty": 5.555555555555555, + "effort": 698.0150690438941, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::removeDirectory" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::__construct": { + "line": 42, + "lineCount": 7, + "argCount": 3, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 3, + "N1": 0, + "N2": 3, + "programLength": 3, + "programVocabulary": 3, + "volume": 4.754887502163468, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::configure": { + "line": 53, + "lineCount": 57, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 15, + "N1": 9, + "N2": 16, + "programLength": 25, + "programVocabulary": 16, + "volume": 100, + "difficulty": 0.5333333333333333, + "effort": 53.333333333333336, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::configure" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::execute": { + "line": 119, + "lineCount": 43, + "argCount": 2, + "returnCount": 5, + "variableCount": 9, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 4, + "halstead": { + "n1": 7, + "n2": 14, + "N1": 31, + "N2": 45, + "programLength": 76, + "programVocabulary": 21, + "volume": 333.8161241311858, + "difficulty": 11.25, + "effort": 3755.4313964758403, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::execute" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::loadCoverageReader": { + "line": 171, + "lineCount": 32, + "argCount": 3, + "returnCount": 4, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 2, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 4, + "n2": 9, + "N1": 9, + "N2": 21, + "programLength": 30, + "programVocabulary": 13, + "volume": 111.01319154423277, + "difficulty": 4.666666666666667, + "effort": 518.0615605397529, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::loadCoverageReader" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::detectCoverageFormat": { + "line": 207, + "lineCount": 19, + "argCount": 1, + "returnCount": 4, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 9, + "volume": 47.548875021634686, + "difficulty": 2.5, + "effort": 118.87218755408671, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::detectCoverageFormat" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::coverageFileExists": { + "line": 227, + "lineCount": 20, + "argCount": 2, + "returnCount": 3, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 4, + "N2": 7, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 3.5, + "effort": 99.52105627776452, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::coverageFileExists" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::__construct": { + "line": 49, + "lineCount": 10, + "argCount": 6, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 6, + "N1": 0, + "N2": 6, + "programLength": 6, + "programVocabulary": 6, + "volume": 15.509775004326936, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::configure": { + "line": 63, + "lineCount": 76, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 20, + "N1": 13, + "N2": 20, + "programLength": 33, + "programVocabulary": 21, + "volume": 144.94647495169912, + "difficulty": 0.5, + "effort": 72.47323747584956, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::configure" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::execute": { + "line": 150, + "lineCount": 52, + "argCount": 2, + "returnCount": 5, + "variableCount": 11, + "propertyCallCount": 6, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 7, + "halstead": { + "n1": 6, + "n2": 15, + "N1": 43, + "N2": 61, + "programLength": 104, + "programVocabulary": 21, + "volume": 456.80101196899113, + "difficulty": 12.2, + "effort": 5572.972346021692, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::execute" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::parsePaths": { + "line": 209, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 4, + "N2": 8, + "programLength": 12, + "programVocabulary": 7, + "volume": 33.68825906469125, + "difficulty": 1.6, + "effort": 53.901214503506004, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::parsePaths" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleBaseLine": { + "line": 224, + "lineCount": 8, + "argCount": 2, + "returnCount": 0, + "variableCount": 3, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 5, + "N2": 11, + "programLength": 16, + "programVocabulary": 7, + "volume": 44.91767875292167, + "difficulty": 2.2, + "effort": 98.81889325642767, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleBaseLine" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleCoverageOptions": { + "line": 238, + "lineCount": 20, + "argCount": 2, + "returnCount": 3, + "variableCount": 5, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 5, + "n2": 10, + "N1": 15, + "N2": 25, + "programLength": 40, + "programVocabulary": 15, + "volume": 156.27562382434076, + "difficulty": 6.25, + "effort": 976.7226489021298, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleCoverageOptions" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::applySorting": { + "line": 264, + "lineCount": 21, + "argCount": 3, + "returnCount": 3, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 15, + "N1": 16, + "N2": 32, + "programLength": 48, + "programVocabulary": 20, + "volume": 207.45254855459342, + "difficulty": 5.333333333333333, + "effort": 1106.4135922911648, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::applySorting" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadConfiguration": { + "line": 293, + "lineCount": 10, + "argCount": 2, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 6, + "N1": 5, + "N2": 9, + "programLength": 14, + "programVocabulary": 8, + "volume": 42, + "difficulty": 1.5, + "effort": 63, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadConfiguration" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadCoverageReader": { + "line": 313, + "lineCount": 28, + "argCount": 3, + "returnCount": 4, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 2, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 10, + "N2": 18, + "programLength": 28, + "programVocabulary": 11, + "volume": 96.86408532184433, + "difficulty": 5.142857142857143, + "effort": 498.15815308377086, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadCoverageReader" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::detectCoverageFormat": { + "line": 345, + "lineCount": 19, + "argCount": 1, + "returnCount": 4, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 9, + "volume": 47.548875021634686, + "difficulty": 2.5, + "effort": 118.87218755408671, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::detectCoverageFormat" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::coverageFileExists": { + "line": 365, + "lineCount": 20, + "argCount": 2, + "returnCount": 3, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 4, + "N2": 7, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 3.5, + "effort": 99.52105627776452, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::coverageFileExists" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__construct": { + "line": 12, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__invoke": { + "line": 17, + "lineCount": 22, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 3, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 10, + "N2": 11, + "programLength": 21, + "programVocabulary": 7, + "volume": 58.95445336320969, + "difficulty": 2.2, + "effort": 129.6997973990613, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__invoke" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__construct": { + "line": 21, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__invoke": { + "line": 26, + "lineCount": 11, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 4, + "N2": 9, + "programLength": 13, + "programVocabulary": 4, + "volume": 26, + "difficulty": 4.5, + "effort": 117, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__invoke" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleSourceFilesFound": { + "line": 38, + "lineCount": 6, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 4, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 6, + "N2": 10, + "programLength": 16, + "programVocabulary": 8, + "volume": 48, + "difficulty": 5, + "effort": 240, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleSourceFilesFound" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleFileProcessed": { + "line": 45, + "lineCount": 5, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleFileProcessed" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleAllFilesProcessed": { + "line": 51, + "lineCount": 6, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 3, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 3, + "N2": 5, + "programLength": 8, + "programVocabulary": 5, + "volume": 18.575424759098897, + "difficulty": 1.6666666666666667, + "effort": 30.95904126516483, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleAllFilesProcessed" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__construct": { + "line": 20, + "lineCount": 5, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__invoke": { + "line": 26, + "lineCount": 17, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 5, + "n2": 8, + "N1": 17, + "N2": 17, + "programLength": 34, + "programVocabulary": 13, + "volume": 125.81495041679713, + "difficulty": 5.3125, + "effort": 668.3919240892347, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__invoke" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::formatBytes": { + "line": 50, + "lineCount": 12, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 7, + "n2": 13, + "N1": 10, + "N2": 22, + "programLength": 32, + "programVocabulary": 20, + "volume": 138.3016990363956, + "difficulty": 5.923076923076923, + "effort": 819.1716019848047, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::formatBytes" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::isDebugEnabled": { + "line": 66, + "lineCount": 5, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 1, + "N1": 4, + "N2": 2, + "programLength": 6, + "programVocabulary": 4, + "volume": 12, + "difficulty": 3, + "effort": 36, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::isDebugEnabled" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::__construct": { + "line": 20, + "lineCount": 6, + "argCount": 2, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 4, + "volume": 8, + "difficulty": 0.5, + "effort": 4, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::exportToFile": { + "line": 32, + "lineCount": 27, + "argCount": 3, + "returnCount": 4, + "variableCount": 2, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 1, + "n2": 6, + "N1": 6, + "N2": 19, + "programLength": 25, + "programVocabulary": 7, + "volume": 70.1838730514401, + "difficulty": 1.5833333333333333, + "effort": 111.12446566478016, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::exportToFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::hasIncompleteReportOptions": { + "line": 60, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 2, + "N1": 7, + "N2": 6, + "programLength": 13, + "programVocabulary": 6, + "volume": 33.60451250937503, + "difficulty": 6, + "effort": 201.62707505625016, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::hasIncompleteReportOptions" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::isValidReportType": { + "line": 65, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 2, + "N2": 4, + "programLength": 6, + "programVocabulary": 4, + "volume": 12, + "difficulty": 2, + "effort": 24, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::isValidReportType" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleExceptions": { + "line": 77, + "lineCount": 9, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 3, + "N2": 4, + "programLength": 7, + "programVocabulary": 5, + "volume": 16.253496664211536, + "difficulty": 1.3333333333333333, + "effort": 21.67132888561538, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleExceptions" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleInvalidReportType": { + "line": 91, + "lineCount": 11, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 5, + "N2": 8, + "programLength": 13, + "programVocabulary": 8, + "volume": 39, + "difficulty": 2.4000000000000004, + "effort": 93.60000000000001, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleInvalidReportType" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::__construct": { + "line": 15, + "lineCount": 5, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handle": { + "line": 24, + "lineCount": 27, + "argCount": 3, + "returnCount": 4, + "variableCount": 2, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 1, + "n2": 6, + "N1": 6, + "N2": 19, + "programLength": 25, + "programVocabulary": 7, + "volume": 70.1838730514401, + "difficulty": 1.5833333333333333, + "effort": 111.12446566478016, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handle" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::hasIncompleteReportOptions": { + "line": 52, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 2, + "N1": 7, + "N2": 6, + "programLength": 13, + "programVocabulary": 6, + "volume": 33.60451250937503, + "difficulty": 6, + "effort": 201.62707505625016, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::hasIncompleteReportOptions" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::isValidReportType": { + "line": 57, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 5, + "N1": 1, + "N2": 6, + "programLength": 7, + "programVocabulary": 6, + "volume": 18.094737505048094, + "difficulty": 0.6, + "effort": 10.856842503028856, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::isValidReportType" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handleExceptions": { + "line": 66, + "lineCount": 9, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 3, + "N2": 4, + "programLength": 7, + "programVocabulary": 5, + "volume": 16.253496664211536, + "difficulty": 1.3333333333333333, + "effort": 21.67132888561538, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handleExceptions" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handleInvalidReporType": { + "line": 80, + "lineCount": 9, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 4, + "programLength": 6, + "programVocabulary": 5, + "volume": 13.931568569324174, + "difficulty": 1.3333333333333333, + "effort": 18.575424759098897, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handleInvalidReporType" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::__construct": { + "line": 42, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::reportWritten": { + "line": 47, + "lineCount": 7, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 4, + "programLength": 6, + "programVocabulary": 5, + "volume": 13.931568569324174, + "difficulty": 1.3333333333333333, + "effort": 18.575424759098897, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::reportWritten" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::renderChurnTable": { + "line": 59, + "lineCount": 35, + "argCount": 1, + "returnCount": 0, + "variableCount": 6, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 8, + "n2": 18, + "N1": 21, + "N2": 53, + "programLength": 74, + "programVocabulary": 26, + "volume": 347.8325391424408, + "difficulty": 11.777777777777779, + "effort": 4096.694349899859, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::renderChurnTable" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricSummaryTextRenderer::__construct": { + "line": 18, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricSummaryTextRenderer::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricSummaryTextRenderer::render": { + "line": 23, + "lineCount": 32, + "argCount": 2, + "returnCount": 0, + "variableCount": 6, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 6, + "n2": 16, + "N1": 27, + "N2": 38, + "programLength": 65, + "programVocabulary": 22, + "volume": 289.86305521142435, + "difficulty": 7.125, + "effort": 2065.2742683813985, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricSummaryTextRenderer::render" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::__construct": { + "line": 27, + "lineCount": 5, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::metricExceedsThreshold": { + "line": 33, + "lineCount": 6, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 2, + "N1": 3, + "N2": 5, + "programLength": 8, + "programVocabulary": 5, + "volume": 18.575424759098897, + "difficulty": 3.75, + "effort": 69.65784284662087, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::metricExceedsThreshold" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::hasCoverageInCollection": { + "line": 43, + "lineCount": 10, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 2, + "N2": 4, + "programLength": 6, + "programVocabulary": 4, + "volume": 12, + "difficulty": 2, + "effort": 24, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::hasCoverageInCollection" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::render": { + "line": 58, + "lineCount": 17, + "argCount": 2, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 6, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 9, + "N2": 25, + "programLength": 34, + "programVocabulary": 6, + "volume": 87.8887250245193, + "difficulty": 6.25, + "effort": 549.3045314032456, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::render" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderGroupedByClass": { + "line": 81, + "lineCount": 19, + "argCount": 3, + "returnCount": 0, + "variableCount": 6, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 5, + "n2": 11, + "N1": 11, + "N2": 25, + "programLength": 36, + "programVocabulary": 16, + "volume": 144, + "difficulty": 5.6818181818181825, + "effort": 818.1818181818182, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderGroupedByClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::buildRowsForClass": { + "line": 106, + "lineCount": 13, + "argCount": 2, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 4, + "N2": 12, + "programLength": 16, + "programVocabulary": 7, + "volume": 44.91767875292167, + "difficulty": 2.4, + "effort": 107.802429007012, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::buildRowsForClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::getFilenameFromMetrics": { + "line": 123, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 5, + "programLength": 6, + "programVocabulary": 4, + "volume": 12, + "difficulty": 0.8333333333333334, + "effort": 10, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::getFilenameFromMetrics" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderAllMethodsInSingleTable": { + "line": 136, + "lineCount": 12, + "argCount": 3, + "returnCount": 0, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 6, + "N2": 15, + "programLength": 21, + "programVocabulary": 11, + "volume": 72.64806399138324, + "difficulty": 4.285714285714286, + "effort": 311.34884567735673, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderAllMethodsInSingleTable" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::buildRowsForSingleTable": { + "line": 154, + "lineCount": 13, + "argCount": 2, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 4, + "N2": 12, + "programLength": 16, + "programVocabulary": 7, + "volume": 44.91767875292167, + "difficulty": 2.4, + "effort": 107.802429007012, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::buildRowsForSingleTable" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderTableCommon": { + "line": 173, + "lineCount": 19, + "argCount": 4, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 8, + "N1": 7, + "N2": 19, + "programLength": 26, + "programVocabulary": 10, + "volume": 86.37013046707142, + "difficulty": 2.375, + "effort": 205.1290598592946, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderTableCommon" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderTable": { + "line": 196, + "lineCount": 13, + "argCount": 4, + "returnCount": 0, + "variableCount": 3, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 7, + "N1": 4, + "N2": 14, + "programLength": 18, + "programVocabulary": 9, + "volume": 57.05865002596162, + "difficulty": 2, + "effort": 114.11730005192324, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderTable" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderSingleTable": { + "line": 213, + "lineCount": 11, + "argCount": 3, + "returnCount": 0, + "variableCount": 3, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 6, + "N1": 4, + "N2": 12, + "programLength": 16, + "programVocabulary": 8, + "volume": 48, + "difficulty": 2, + "effort": 96, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderSingleTable" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::__construct": { + "line": 16, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatScore": { + "line": 21, + "lineCount": 6, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 6, + "N1": 5, + "N2": 9, + "programLength": 14, + "programVocabulary": 8, + "volume": 42, + "difficulty": 1.5, + "effort": 63, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatScore" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadVolume": { + "line": 28, + "lineCount": 14, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 10, + "N1": 9, + "N2": 17, + "programLength": 26, + "programVocabulary": 15, + "volume": 101.57915548582149, + "difficulty": 4.25, + "effort": 431.7114108147413, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadVolume" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadDifficulty": { + "line": 43, + "lineCount": 13, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 10, + "N1": 8, + "N2": 17, + "programLength": 25, + "programVocabulary": 14, + "volume": 95.1838730514401, + "difficulty": 3.4, + "effort": 323.62516837489636, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadDifficulty" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadEffort": { + "line": 57, + "lineCount": 13, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 10, + "N1": 8, + "N2": 17, + "programLength": 25, + "programVocabulary": 14, + "volume": 95.1838730514401, + "difficulty": 3.4, + "effort": 323.62516837489636, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadEffort" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatCyclomaticComplexity": { + "line": 71, + "lineCount": 13, + "argCount": 1, + "returnCount": 3, + "variableCount": 4, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 5, + "n2": 9, + "N1": 9, + "N2": 18, + "programLength": 27, + "programVocabulary": 14, + "volume": 102.79858289555531, + "difficulty": 5, + "effort": 513.9929144777766, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatCyclomaticComplexity" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::colorCyclomaticRisk": { + "line": 85, + "lineCount": 8, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 7, + "N1": 5, + "N2": 11, + "programLength": 16, + "programVocabulary": 9, + "volume": 50.718800023076994, + "difficulty": 1.5714285714285714, + "effort": 79.70097146483528, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::colorCyclomaticRisk" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::__construct": { + "line": 17, + "lineCount": 5, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::getGroupedTableHeaders": { + "line": 28, + "lineCount": 16, + "argCount": 0, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 10, + "N2": 17, + "programLength": 27, + "programVocabulary": 6, + "volume": 69.79398751947122, + "difficulty": 4.25, + "effort": 296.62444695775264, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::getGroupedTableHeaders" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCoverageHeader": { + "line": 49, + "lineCount": 10, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 6, + "programLength": 7, + "programVocabulary": 4, + "volume": 14, + "difficulty": 1, + "effort": 14, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCoverageHeader" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::getSingleTableHeaders": { + "line": 65, + "lineCount": 20, + "argCount": 0, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 6, + "N1": 9, + "N2": 18, + "programLength": 27, + "programVocabulary": 8, + "volume": 81, + "difficulty": 3, + "effort": 243, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::getSingleTableHeaders" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addHalsteadHeaders": { + "line": 92, + "lineCount": 10, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 1, + "n2": 5, + "N1": 3, + "N2": 9, + "programLength": 12, + "programVocabulary": 6, + "volume": 31.019550008653873, + "difficulty": 0.9, + "effort": 27.917595007788485, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addHalsteadHeaders" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCyclomaticHeaders": { + "line": 109, + "lineCount": 8, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 5, + "programLength": 6, + "programVocabulary": 4, + "volume": 12, + "difficulty": 0.8333333333333334, + "effort": 10, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCyclomaticHeaders" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCognitiveMetricDetails": { + "line": 122, + "lineCount": 16, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 10, + "N1": 2, + "N2": 13, + "programLength": 15, + "programVocabulary": 12, + "volume": 53.77443751081734, + "difficulty": 1.3, + "effort": 69.90676876406255, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCognitiveMetricDetails" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::__construct": { + "line": 21, + "lineCount": 6, + "argCount": 3, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 3, + "N1": 0, + "N2": 3, + "programLength": 3, + "programVocabulary": 3, + "volume": 4.754887502163468, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::buildRow": { + "line": 34, + "lineCount": 16, + "argCount": 1, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 10, + "N2": 24, + "programLength": 34, + "programVocabulary": 7, + "volume": 95.45006734995854, + "difficulty": 4.8, + "effort": 458.160323279801, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::buildRow" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::buildRowWithClassInfo": { + "line": 57, + "lineCount": 16, + "argCount": 1, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 10, + "N2": 24, + "programLength": 34, + "programVocabulary": 7, + "volume": 95.45006734995854, + "difficulty": 4.8, + "effort": 458.160323279801, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::buildRowWithClassInfo" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::metricsToArray": { + "line": 79, + "lineCount": 8, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 3, + "N2": 7, + "programLength": 10, + "programVocabulary": 6, + "volume": 25.84962500721156, + "difficulty": 1.75, + "effort": 45.23684376262023, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::metricsToArray" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::metricsToArrayWithClassInfo": { + "line": 93, + "lineCount": 9, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 4, + "N2": 9, + "programLength": 13, + "programVocabulary": 7, + "volume": 36.49561398674886, + "difficulty": 1.8, + "effort": 65.69210517614795, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::metricsToArrayWithClassInfo" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addHalsteadFields": { + "line": 109, + "lineCount": 10, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 6, + "N1": 6, + "N2": 16, + "programLength": 22, + "programVocabulary": 8, + "volume": 66, + "difficulty": 2.6666666666666665, + "effort": 176, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addHalsteadFields" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addCyclomaticFields": { + "line": 126, + "lineCount": 8, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 2, + "N2": 8, + "programLength": 10, + "programVocabulary": 6, + "volume": 25.84962500721156, + "difficulty": 2, + "effort": 51.69925001442312, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addCyclomaticFields" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addWeightedValue": { + "line": 141, + "lineCount": 10, + "argCount": 3, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 11, + "N1": 13, + "N2": 22, + "programLength": 35, + "programVocabulary": 15, + "volume": 136.74117084629816, + "difficulty": 4, + "effort": 546.9646833851926, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addWeightedValue" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addDelta": { + "line": 158, + "lineCount": 20, + "argCount": 3, + "returnCount": 3, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 6, + "n2": 13, + "N1": 19, + "N2": 30, + "programLength": 49, + "programVocabulary": 19, + "volume": 208.14844815873568, + "difficulty": 6.9230769230769225, + "effort": 1441.0277180220162, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::getKeys": { + "line": 184, + "lineCount": 17, + "argCount": 0, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 0, + "n2": 9, + "N1": 0, + "N2": 9, + "programLength": 9, + "programVocabulary": 9, + "volume": 28.52932501298081, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::getKeys" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::assertDeltaMethodExists": { + "line": 205, + "lineCount": 6, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 6, + "programLength": 8, + "programVocabulary": 5, + "volume": 18.575424759098897, + "difficulty": 2, + "effort": 37.150849518197795, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::assertDeltaMethodExists" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addCoverageValue": { + "line": 216, + "lineCount": 11, + "argCount": 2, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 7, + "N1": 7, + "N2": 15, + "programLength": 22, + "programVocabulary": 12, + "volume": 78.86917501586544, + "difficulty": 5.357142857142857, + "effort": 422.51343758499337, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addCoverageValue" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::extracted": { + "line": 233, + "lineCount": 22, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 12, + "N1": 19, + "N2": 34, + "programLength": 53, + "programVocabulary": 15, + "volume": 207.06520156725148, + "difficulty": 4.25, + "effort": 880.0271066608187, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::extracted" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CacheConfig::__construct": { + "line": 12, + "lineCount": 5, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CacheConfig::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CacheConfig::toArray": { + "line": 23, + "lineCount": 7, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 3, + "N1": 0, + "N2": 4, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CacheConfig::toArray" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CognitiveConfig::__construct": { + "line": 20, + "lineCount": 13, + "argCount": 10, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 10, + "N1": 0, + "N2": 10, + "programLength": 10, + "programVocabulary": 10, + "volume": 33.219280948873624, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CognitiveConfig::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CognitiveConfig::toArray": { + "line": 39, + "lineCount": 20, + "argCount": 0, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 10, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 14, + "N1": 3, + "N2": 27, + "programLength": 30, + "programVocabulary": 16, + "volume": 120, + "difficulty": 1.9285714285714286, + "effort": 231.42857142857144, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CognitiveConfig::toArray" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigFactory::fromArray": { + "line": 16, + "lineCount": 31, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 20, + "N1": 10, + "N2": 52, + "programLength": 62, + "programVocabulary": 23, + "volume": 280.4608412755348, + "difficulty": 3.9000000000000004, + "effort": 1093.7972809745859, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigFactory::fromArray" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigLoader::getCognitiveMetricDefaults": { + "line": 27, + "lineCount": 45, + "argCount": 0, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 8, + "N1": 0, + "N2": 16, + "programLength": 16, + "programVocabulary": 8, + "volume": 48, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigLoader::getCognitiveMetricDefaults" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigLoader::getConfigTreeBuilder": { + "line": 73, + "lineCount": 75, + "argCount": 0, + "returnCount": 2, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 24, + "N1": 68, + "N2": 29, + "programLength": 97, + "programVocabulary": 27, + "volume": 461.2240877098564, + "difficulty": 1.8125, + "effort": 835.9686589741148, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigLoader::getConfigTreeBuilder" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigService::__construct": { + "line": 20, + "lineCount": 6, + "argCount": 2, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 4, + "volume": 8, + "difficulty": 0.5, + "effort": 4, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigService::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigService::loadDefaultConfig": { + "line": 30, + "lineCount": 8, + "argCount": 0, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 3, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 5, + "N2": 6, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 3, + "effort": 85.30376252379816, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigService::loadDefaultConfig" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigService::loadConfig": { + "line": 42, + "lineCount": 9, + "argCount": 1, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 3, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 4, + "N1": 5, + "N2": 8, + "programLength": 13, + "programVocabulary": 7, + "volume": 36.49561398674886, + "difficulty": 3, + "effort": 109.48684196024658, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigService::loadConfig" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigService::getConfig": { + "line": 52, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigService::getConfig" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\MetricsConfig::__construct": { + "line": 12, + "lineCount": 6, + "argCount": 3, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 0, + "n2": 3, + "N1": 0, + "N2": 3, + "programLength": 3, + "programVocabulary": 3, + "volume": 4.754887502163468, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\MetricsConfig::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\MetricsConfig::toArray": { + "line": 24, + "lineCount": 8, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 3, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 0, + "n2": 4, + "N1": 0, + "N2": 6, + "programLength": 6, + "programVocabulary": 4, + "volume": 12, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\MetricsConfig::toArray" + } + } + }, + "ignored_items": [], + "cached_at": 1759967602 +} \ No newline at end of file diff --git a/.phpcca.cache/88/884ddbbf56530b7369bd1f608753ef9f.cache b/.phpcca.cache/88/884ddbbf56530b7369bd1f608753ef9f.cache new file mode 100644 index 0000000..c02e18b --- /dev/null +++ b/.phpcca.cache/88/884ddbbf56530b7369bd1f608753ef9f.cache @@ -0,0 +1,5764 @@ +{ + "version": "1.0", + "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/Business\/Traits\/CoverageDataDetector.php", + "file_mtime": 1759784766, + "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", + "analysis_result": { + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct": { + "line": 60, + "lineCount": 5, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 1, + "N1": 2, + "N2": 2, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 2, + "effort": 12.679700005769249, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices": { + "line": 66, + "lineCount": 95, + "argCount": 0, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 5, + "N1": 58, + "N2": 32, + "programLength": 90, + "programVocabulary": 9, + "volume": 285.2932501298081, + "difficulty": 12.8, + "effort": 3651.7536016615436, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap": { + "line": 162, + "lineCount": 10, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 7, + "N2": 7, + "programLength": 14, + "programVocabulary": 2, + "volume": 14, + "difficulty": 3.5, + "effort": 49, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors": { + "line": 173, + "lineCount": 12, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 3, + "N2": 1, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0.5, + "effort": 2, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus": { + "line": 186, + "lineCount": 19, + "argCount": 0, + "returnCount": 0, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 9, + "N2": 13, + "programLength": 22, + "programVocabulary": 7, + "volume": 61.76180828526729, + "difficulty": 2.6, + "effort": 160.58070154169496, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService": { + "line": 206, + "lineCount": 9, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 3, + "N2": 1, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0.5, + "effort": 2, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade": { + "line": 216, + "lineCount": 13, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 3, + "N2": 1, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0.5, + "effort": 2, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands": { + "line": 230, + "lineCount": 21, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 6, + "N2": 2, + "programLength": 8, + "programVocabulary": 2, + "volume": 8, + "difficulty": 1, + "effort": 8, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication": { + "line": 252, + "lineCount": 11, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 5, + "N2": 4, + "programLength": 9, + "programVocabulary": 4, + "volume": 18, + "difficulty": 0.6666666666666666, + "effort": 12, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run": { + "line": 264, + "lineCount": 9, + "argCount": 0, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 5, + "N2": 5, + "programLength": 10, + "programVocabulary": 4, + "volume": 20, + "difficulty": 2.5, + "effort": 50, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get": { + "line": 274, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer": { + "line": 279, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator": { + "line": 289, + "lineCount": 16, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 7, + "programLength": 8, + "programVocabulary": 4, + "volume": 16, + "difficulty": 1.1666666666666667, + "effort": 18.666666666666668, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create": { + "line": 18, + "lineCount": 7, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 4, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile": { + "line": 17, + "lineCount": 17, + "argCount": 2, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 8, + "N1": 11, + "N2": 19, + "programLength": 30, + "programVocabulary": 11, + "volume": 103.78294855911892, + "difficulty": 3.5625, + "effort": 369.72675424186116, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode": { + "line": 42, + "lineCount": 8, + "argCount": 3, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 3, + "N2": 8, + "programLength": 11, + "programVocabulary": 8, + "volume": 33, + "difficulty": 2.4000000000000004, + "effort": 79.20000000000002, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate": { + "line": 22, + "lineCount": 10, + "argCount": 2, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 6, + "N2": 13, + "programLength": 19, + "programVocabulary": 6, + "volume": 49.11428751370197, + "difficulty": 3.25, + "effort": 159.6214344195314, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending": { + "line": 37, + "lineCount": 8, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 2, + "N2": 9, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 2.25, + "effort": 63.97782189284862, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn": { + "line": 51, + "lineCount": 24, + "argCount": 2, + "returnCount": 1, + "variableCount": 6, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 15, + "N1": 17, + "N2": 46, + "programLength": 63, + "programVocabulary": 20, + "volume": 272.28146997790384, + "difficulty": 7.666666666666667, + "effort": 2087.491269830596, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses": { + "line": 81, + "lineCount": 20, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 2, + "n2": 7, + "N1": 10, + "N2": 24, + "programLength": 34, + "programVocabulary": 9, + "volume": 107.7774500490386, + "difficulty": 3.4285714285714284, + "effort": 369.52268588241805, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass": { + "line": 109, + "lineCount": 9, + "argCount": 2, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 6, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 10, + "volume": 49.82892142331043, + "difficulty": 3.3333333333333335, + "effort": 166.09640474436813, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel": { + "line": 126, + "lineCount": 16, + "argCount": 2, + "returnCount": 4, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 12, + "N1": 9, + "N2": 18, + "programLength": 27, + "programVocabulary": 15, + "volume": 105.48604608143, + "difficulty": 2.25, + "effort": 237.3436036832175, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile": { + "line": 14, + "lineCount": 6, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 2, + "N2": 5, + "programLength": 7, + "programVocabulary": 4, + "volume": 14, + "difficulty": 2.5, + "effort": 35, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable": { + "line": 24, + "lineCount": 11, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 10, + "N2": 12, + "programLength": 22, + "programVocabulary": 8, + "volume": 66, + "difficulty": 6, + "effort": 396, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create": { + "line": 21, + "lineCount": 11, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 7, + "N1": 0, + "N2": 9, + "programLength": 9, + "programVocabulary": 7, + "volume": 25.26619429851844, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes": { + "line": 38, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 6, + "N1": 0, + "N2": 6, + "programLength": 6, + "programVocabulary": 6, + "volume": 15.509775004326936, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported": { + "line": 49, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 2, + "N2": 3, + "programLength": 5, + "programVocabulary": 4, + "volume": 10, + "difficulty": 1.5, + "effort": 15, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export": { + "line": 30, + "lineCount": 23, + "argCount": 2, + "returnCount": 0, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 16, + "N1": 10, + "N2": 33, + "programLength": 43, + "programVocabulary": 20, + "volume": 185.8429080801566, + "difficulty": 4.125, + "effort": 766.601995830646, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export": { + "line": 28, + "lineCount": 8, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 6, + "volume": 36.18947501009619, + "difficulty": 2.5, + "effort": 90.47368752524048, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape": { + "line": 37, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber": { + "line": 42, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml": { + "line": 52, + "lineCount": 50, + "argCount": 1, + "returnCount": 1, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 12, + "N1": 11, + "N2": 25, + "programLength": 36, + "programVocabulary": 17, + "volume": 147.14866228501222, + "difficulty": 5.208333333333334, + "effort": 766.3992827344388, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export": { + "line": 17, + "lineCount": 13, + "argCount": 2, + "returnCount": 0, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 8, + "N1": 7, + "N2": 14, + "programLength": 21, + "programVocabulary": 12, + "volume": 75.28421251514428, + "difficulty": 3.5, + "effort": 263.49474380300495, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export": { + "line": 48, + "lineCount": 8, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 6, + "volume": 36.18947501009619, + "difficulty": 2.5, + "effort": 90.47368752524048, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown": { + "line": 61, + "lineCount": 24, + "argCount": 1, + "returnCount": 1, + "variableCount": 6, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 6, + "n2": 16, + "N1": 19, + "N2": 41, + "programLength": 60, + "programVocabulary": 22, + "volume": 267.56589711823784, + "difficulty": 7.6875, + "effort": 2056.9128340964535, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow": { + "line": 94, + "lineCount": 21, + "argCount": 3, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 7, + "n2": 18, + "N1": 16, + "N2": 39, + "programLength": 55, + "programVocabulary": 25, + "volume": 255.41209043760983, + "difficulty": 7.583333333333333, + "effort": 1936.8750191518745, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::__construct": { + "line": 26, + "lineCount": 4, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::export": { + "line": 36, + "lineCount": 10, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 8, + "volume": 45, + "difficulty": 5, + "effort": 225, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::generateSvgTreemap": { + "line": 53, + "lineCount": 20, + "argCount": 1, + "returnCount": 1, + "variableCount": 6, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 8, + "N1": 9, + "N2": 20, + "programLength": 29, + "programVocabulary": 10, + "volume": 96.3359147517335, + "difficulty": 2.5, + "effort": 240.83978687933376, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::generateSvgTreemap" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRects": { + "line": 82, + "lineCount": 10, + "argCount": 3, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 9, + "N1": 6, + "N2": 18, + "programLength": 24, + "programVocabulary": 12, + "volume": 86.03910001730775, + "difficulty": 3, + "effort": 258.1173000519232, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRects" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRect": { + "line": 100, + "lineCount": 29, + "argCount": 2, + "returnCount": 1, + "variableCount": 12, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 6, + "n2": 28, + "N1": 26, + "N2": 54, + "programLength": 80, + "programVocabulary": 34, + "volume": 406.9970273000271, + "difficulty": 5.785714285714286, + "effort": 2354.7685150930142, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRect" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::wrapSvg": { + "line": 136, + "lineCount": 21, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 2, + "N2": 8, + "programLength": 10, + "programVocabulary": 4, + "volume": 20, + "difficulty": 1.3333333333333333, + "effort": 26.666666666666664, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::wrapSvg" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::prepareItems": { + "line": 28, + "lineCount": 18, + "argCount": 1, + "returnCount": 1, + "variableCount": 7, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 12, + "N1": 9, + "N2": 30, + "programLength": 39, + "programVocabulary": 17, + "volume": 159.41105080876324, + "difficulty": 6.25, + "effort": 996.3190675547702, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::prepareItems" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findScoreRange": { + "line": 53, + "lineCount": 16, + "argCount": 1, + "returnCount": 3, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 7, + "N2": 13, + "programLength": 20, + "programVocabulary": 8, + "volume": 60, + "difficulty": 3.9000000000000004, + "effort": 234.00000000000003, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findScoreRange" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::normalizeScore": { + "line": 78, + "lineCount": 8, + "argCount": 3, + "returnCount": 2, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 8, + "volume": 45, + "difficulty": 5, + "effort": 225, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::normalizeScore" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::scoreToColor": { + "line": 93, + "lineCount": 9, + "argCount": 1, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 5, + "n2": 9, + "N1": 12, + "N2": 16, + "programLength": 28, + "programVocabulary": 14, + "volume": 106.60593781761291, + "difficulty": 4.444444444444445, + "effort": 473.80416807827964, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::scoreToColor" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::calculateTreemapLayout": { + "line": 115, + "lineCount": 23, + "argCount": 7, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 9, + "N1": 2, + "N2": 18, + "programLength": 20, + "programVocabulary": 11, + "volume": 69.18863237274594, + "difficulty": 2, + "effort": 138.37726474549189, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::calculateTreemapLayout" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::layoutTreemap": { + "line": 152, + "lineCount": 89, + "argCount": 8, + "returnCount": 3, + "variableCount": 11, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 8, + "n2": 28, + "N1": 32, + "N2": 98, + "programLength": 130, + "programVocabulary": 36, + "volume": 672.0902501875006, + "difficulty": 14, + "effort": 9409.263502625008, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::layoutTreemap" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findSplitIndex": { + "line": 249, + "lineCount": 13, + "argCount": 2, + "returnCount": 2, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 7, + "n2": 10, + "N1": 9, + "N2": 23, + "programLength": 32, + "programVocabulary": 17, + "volume": 130.79881092001085, + "difficulty": 8.049999999999999, + "effort": 1052.9304279060873, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findSplitIndex" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::__construct": { + "line": 23, + "lineCount": 18, + "argCount": 1, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 7, + "N2": 11, + "programLength": 18, + "programVocabulary": 6, + "volume": 46.529325012980806, + "difficulty": 5.5, + "effort": 255.91128757139444, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::getAllClasses": { + "line": 47, + "lineCount": 17, + "argCount": 0, + "returnCount": 2, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 6, + "N2": 12, + "programLength": 18, + "programVocabulary": 9, + "volume": 57.05865002596162, + "difficulty": 3, + "effort": 171.17595007788486, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::getAllClasses" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::withClassNode": { + "line": 73, + "lineCount": 8, + "argCount": 2, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 4, + "N2": 8, + "programLength": 12, + "programVocabulary": 8, + "volume": 36, + "difficulty": 4, + "effort": 144, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::withClassNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::findClassNode": { + "line": 85, + "lineCount": 25, + "argCount": 1, + "returnCount": 4, + "variableCount": 5, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 13, + "N2": 29, + "programLength": 42, + "programVocabulary": 11, + "volume": 145.29612798276648, + "difficulty": 8.285714285714286, + "effort": 1203.8822032857795, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::findClassNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::escapeXPathValue": { + "line": 114, + "lineCount": 16, + "argCount": 1, + "returnCount": 3, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 9, + "N1": 11, + "N2": 18, + "programLength": 29, + "programVocabulary": 13, + "volume": 107.31275182609167, + "difficulty": 4, + "effort": 429.2510073043667, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::escapeXPathValue" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getLineCoverage": { + "line": 22, + "lineCount": 18, + "argCount": 1, + "returnCount": 4, + "variableCount": 5, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 9, + "N1": 10, + "N2": 19, + "programLength": 29, + "programVocabulary": 13, + "volume": 107.31275182609167, + "difficulty": 4.222222222222222, + "effort": 453.09828548794263, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getLineCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getBranchCoverage": { + "line": 48, + "lineCount": 18, + "argCount": 1, + "returnCount": 4, + "variableCount": 5, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 9, + "N1": 10, + "N2": 19, + "programLength": 29, + "programVocabulary": 13, + "volume": 107.31275182609167, + "difficulty": 4.222222222222222, + "effort": 453.09828548794263, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getBranchCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getComplexity": { + "line": 73, + "lineCount": 13, + "argCount": 1, + "returnCount": 3, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 7, + "N2": 14, + "programLength": 21, + "programVocabulary": 11, + "volume": 72.64806399138324, + "difficulty": 4, + "effort": 290.59225596553296, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getComplexity" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getCoverageDetails": { + "line": 93, + "lineCount": 26, + "argCount": 1, + "returnCount": 3, + "variableCount": 9, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 17, + "N1": 22, + "N2": 42, + "programLength": 64, + "programVocabulary": 22, + "volume": 285.403623592787, + "difficulty": 6.176470588235294, + "effort": 1762.7870868966259, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getCoverageDetails" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getMetricsNode": { + "line": 123, + "lineCount": 12, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 6, + "N1": 7, + "N2": 13, + "programLength": 20, + "programVocabulary": 10, + "volume": 66.43856189774725, + "difficulty": 4.333333333333333, + "effort": 287.90043489023805, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getMetricsNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getFilenameForClass": { + "line": 139, + "lineCount": 9, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 5, + "N1": 4, + "N2": 9, + "programLength": 13, + "programVocabulary": 9, + "volume": 41.209025018750054, + "difficulty": 3.6, + "effort": 148.3524900675002, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getFilenameForClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodsCoverage": { + "line": 154, + "lineCount": 36, + "argCount": 1, + "returnCount": 3, + "variableCount": 8, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 13, + "N1": 12, + "N2": 30, + "programLength": 42, + "programVocabulary": 16, + "volume": 168, + "difficulty": 3.4615384615384612, + "effort": 581.5384615384614, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodsCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::calculateMethodCoverage": { + "line": 194, + "lineCount": 15, + "argCount": 2, + "returnCount": 2, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 11, + "N1": 9, + "N2": 23, + "programLength": 32, + "programVocabulary": 16, + "volume": 128, + "difficulty": 5.227272727272727, + "effort": 669.090909090909, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::calculateMethodCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodCoverageFromLines": { + "line": 215, + "lineCount": 36, + "argCount": 2, + "returnCount": 1, + "variableCount": 7, + "propertyCallCount": 0, + "ifNestingLevel": 2, + "elseCount": 0, + "ifCount": 5, + "halstead": { + "n1": 2, + "n2": 14, + "N1": 12, + "N2": 35, + "programLength": 47, + "programVocabulary": 16, + "volume": 188, + "difficulty": 2.5, + "effort": 470, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodCoverageFromLines" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStart": { + "line": 252, + "lineCount": 4, + "argCount": 3, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 3, + "N2": 7, + "programLength": 10, + "programVocabulary": 6, + "volume": 25.84962500721156, + "difficulty": 1.75, + "effort": 45.23684376262023, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStart" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodEnd": { + "line": 257, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 5, + "programLength": 7, + "programVocabulary": 5, + "volume": 16.253496664211536, + "difficulty": 1.6666666666666667, + "effort": 27.089161107019226, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodEnd" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStatement": { + "line": 262, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 5, + "programLength": 7, + "programVocabulary": 5, + "volume": 16.253496664211536, + "difficulty": 1.6666666666666667, + "effort": 27.089161107019226, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStatement" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isStatementCovered": { + "line": 267, + "lineCount": 5, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 4, + "N1": 3, + "N2": 6, + "programLength": 9, + "programVocabulary": 7, + "volume": 25.26619429851844, + "difficulty": 2.25, + "effort": 56.848937171666485, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isStatementCovered" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getLineCoverage": { + "line": 20, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 9, + "volume": 44.37895002019237, + "difficulty": 2.5, + "effort": 110.94737505048093, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getLineCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getBranchCoverage": { + "line": 34, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 9, + "volume": 44.37895002019237, + "difficulty": 2.5, + "effort": 110.94737505048093, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getBranchCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getComplexity": { + "line": 48, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 9, + "volume": 44.37895002019237, + "difficulty": 2.5, + "effort": 110.94737505048093, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getComplexity" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getCoverageDetails": { + "line": 62, + "lineCount": 13, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 8, + "N1": 7, + "N2": 16, + "programLength": 23, + "programVocabulary": 9, + "volume": 72.90827503317318, + "difficulty": 1, + "effort": 72.90827503317318, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getCoverageDetails" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::extractMethodsCoverage": { + "line": 81, + "lineCount": 23, + "argCount": 1, + "returnCount": 2, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 11, + "N1": 10, + "N2": 23, + "programLength": 33, + "programVocabulary": 14, + "volume": 125.64271242790093, + "difficulty": 3.1363636363636362, + "effort": 394.061234432962, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::extractMethodsCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CodeCoverageFactory::createFromName": { + "line": 14, + "lineCount": 8, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 4, + "N1": 1, + "N2": 8, + "programLength": 9, + "programVocabulary": 5, + "volume": 20.89735285398626, + "difficulty": 1, + "effort": 20.89735285398626, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CodeCoverageFactory::createFromName" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::__construct": { + "line": 28, + "lineCount": 15, + "argCount": 6, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 6, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 7, + "N1": 6, + "N2": 18, + "programLength": 24, + "programVocabulary": 8, + "volume": 72, + "difficulty": 1.2857142857142858, + "effort": 92.57142857142858, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getName": { + "line": 44, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getName" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getFilename": { + "line": 49, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getFilename" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getLineRate": { + "line": 54, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getLineRate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getBranchRate": { + "line": 59, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getBranchRate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getComplexity": { + "line": 64, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getComplexity" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getMethods": { + "line": 72, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getMethods" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::__construct": { + "line": 17, + "lineCount": 11, + "argCount": 4, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 4, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 5, + "N1": 4, + "N2": 12, + "programLength": 16, + "programVocabulary": 6, + "volume": 41.3594000115385, + "difficulty": 1.2, + "effort": 49.631280013846194, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getName": { + "line": 29, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getName" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getLineRate": { + "line": 34, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getLineRate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getBranchRate": { + "line": 39, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getBranchRate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getComplexity": { + "line": 44, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getComplexity" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::calculateDeltas": { + "line": 19, + "lineCount": 14, + "argCount": 2, + "returnCount": 0, + "variableCount": 6, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 9, + "N1": 4, + "N2": 18, + "programLength": 22, + "programVocabulary": 11, + "volume": 76.10749561002054, + "difficulty": 2, + "effort": 152.21499122004107, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::calculateDeltas" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::loadBaseline": { + "line": 41, + "lineCount": 13, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 5, + "N2": 9, + "programLength": 14, + "programVocabulary": 8, + "volume": 42, + "difficulty": 2.7, + "effort": 113.4, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::loadBaseline" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::__construct": { + "line": 72, + "lineCount": 21, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 6, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 9, + "N1": 12, + "N2": 34, + "programLength": 46, + "programVocabulary": 12, + "volume": 164.90827503317317, + "difficulty": 5.666666666666666, + "effort": 934.4802251879812, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setRequiredMetricProperties": { + "line": 98, + "lineCount": 30, + "argCount": 1, + "returnCount": 0, + "variableCount": 6, + "propertyCallCount": 9, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 21, + "N1": 21, + "N2": 51, + "programLength": 72, + "programVocabulary": 24, + "volume": 330.1173000519232, + "difficulty": 3.6428571428571423, + "effort": 1202.570164474863, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setRequiredMetricProperties" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setOptionalMetricProperties": { + "line": 133, + "lineCount": 12, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 8, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 11, + "N1": 16, + "N2": 33, + "programLength": 49, + "programVocabulary": 13, + "volume": 181.32154618891352, + "difficulty": 3, + "effort": 543.9646385667405, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setOptionalMetricProperties" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setTimesChanged": { + "line": 146, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setTimesChanged" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertSame": { + "line": 151, + "lineCount": 14, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 6, + "N2": 8, + "programLength": 14, + "programVocabulary": 5, + "volume": 32.50699332842307, + "difficulty": 2.6666666666666665, + "effort": 86.68531554246152, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertSame" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::calculateDeltas": { + "line": 169, + "lineCount": 13, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 16, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 17, + "N2": 27, + "programLength": 44, + "programVocabulary": 4, + "volume": 88, + "difficulty": 13.5, + "effort": 1188, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::calculateDeltas" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::fromArray": { + "line": 187, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::fromArray" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertArrayKeyIsPresent": { + "line": 197, + "lineCount": 6, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 5, + "programLength": 5, + "programVocabulary": 2, + "volume": 5, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertArrayKeyIsPresent" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getClass": { + "line": 204, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getMethod": { + "line": 209, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getMethod" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCount": { + "line": 214, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCount": { + "line": 219, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCount": { + "line": 224, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCount": { + "line": 229, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCount": { + "line": 234, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCount": { + "line": 239, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevel": { + "line": 244, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevel" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCount": { + "line": 249, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeight": { + "line": 254, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setLineCountWeight": { + "line": 259, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setLineCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeight": { + "line": 264, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setArgCountWeight": { + "line": 269, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setArgCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeight": { + "line": 274, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setReturnCountWeight": { + "line": 279, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setReturnCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeight": { + "line": 284, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setVariableCountWeight": { + "line": 289, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setVariableCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeight": { + "line": 294, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setPropertyCallCountWeight": { + "line": 299, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setPropertyCallCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeight": { + "line": 304, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfCountWeight": { + "line": 309, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeight": { + "line": 314, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfNestingLevelWeight": { + "line": 319, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfNestingLevelWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeight": { + "line": 324, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setElseCountWeight": { + "line": 329, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setElseCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setScore": { + "line": 334, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setScore" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getScore": { + "line": 339, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getScore" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setCoverage": { + "line": 344, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCoverage": { + "line": 349, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeightDelta": { + "line": 354, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeightDelta": { + "line": 359, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeightDelta": { + "line": 364, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeightDelta": { + "line": 369, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeightDelta": { + "line": 374, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeightDelta": { + "line": 379, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeightDelta": { + "line": 384, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeightDelta": { + "line": 389, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getTimesChanged": { + "line": 394, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 2, + "programLength": 3, + "programVocabulary": 3, + "volume": 4.754887502163468, + "difficulty": 0.5, + "effort": 2.377443751081734, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getTimesChanged" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getFileName": { + "line": 399, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getFileName" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLine": { + "line": 404, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLine" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::equals": { + "line": 409, + "lineCount": 5, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 2, + "N1": 5, + "N2": 5, + "programLength": 10, + "programVocabulary": 5, + "volume": 23.21928094887362, + "difficulty": 3.75, + "effort": 87.07230355827608, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::equals" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::toArray": { + "line": 418, + "lineCount": 34, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 29, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 30, + "N1": 0, + "N2": 58, + "programLength": 58, + "programVocabulary": 30, + "volume": 284.5996545452941, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::toArray" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::jsonSerialize": { + "line": 456, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::jsonSerialize" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getHalstead": { + "line": 464, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getHalstead" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCyclomatic": { + "line": 472, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCyclomatic" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::add": { + "line": 30, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 5, + "N2": 6, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 3, + "effort": 85.30376252379816, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::add" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filter": { + "line": 40, + "lineCount": 11, + "argCount": 1, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 8, + "volume": 42, + "difficulty": 3, + "effort": 126, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filter" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getIterator": { + "line": 57, + "lineCount": 5, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getIterator" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::count": { + "line": 66, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::count" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterWithScoreGreaterThan": { + "line": 71, + "lineCount": 6, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 3, + "N2": 6, + "programLength": 9, + "programVocabulary": 5, + "volume": 20.89735285398626, + "difficulty": 2, + "effort": 41.79470570797252, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterWithScoreGreaterThan" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::contains": { + "line": 78, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 4, + "N2": 5, + "programLength": 9, + "programVocabulary": 5, + "volume": 20.89735285398626, + "difficulty": 1.6666666666666667, + "effort": 34.82892142331043, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::contains" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getClassWithMethod": { + "line": 83, + "lineCount": 9, + "argCount": 2, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 3, + "N2": 10, + "programLength": 13, + "programVocabulary": 7, + "volume": 36.49561398674886, + "difficulty": 2, + "effort": 72.99122797349771, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getClassWithMethod" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterByClassName": { + "line": 93, + "lineCount": 6, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 3, + "N2": 6, + "programLength": 9, + "programVocabulary": 5, + "volume": 20.89735285398626, + "difficulty": 2, + "effort": 41.79470570797252, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterByClassName" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::assertMetricHasGetter": { + "line": 100, + "lineCount": 9, + "argCount": 3, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 6, + "programLength": 7, + "programVocabulary": 4, + "volume": 14, + "difficulty": 1, + "effort": 14, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::assertMetricHasGetter" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::groupBy": { + "line": 117, + "lineCount": 20, + "argCount": 1, + "returnCount": 1, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 10, + "N2": 23, + "programLength": 33, + "programVocabulary": 11, + "volume": 114.16124341503081, + "difficulty": 6.571428571428571, + "effort": 750.2024567273453, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::groupBy" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::jsonSerialize": { + "line": 141, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::jsonSerialize" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::__construct": { + "line": 32, + "lineCount": 8, + "argCount": 5, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 5, + "N1": 0, + "N2": 5, + "programLength": 5, + "programVocabulary": 5, + "volume": 11.60964047443681, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collect": { + "line": 49, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 5, + "programLength": 6, + "programVocabulary": 4, + "volume": 12, + "difficulty": 0.8333333333333334, + "effort": 10, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collect" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collectFromPaths": { + "line": 62, + "lineCount": 13, + "argCount": 2, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 8, + "N2": 16, + "programLength": 24, + "programVocabulary": 9, + "volume": 76.07820003461549, + "difficulty": 4, + "effort": 304.31280013846197, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collectFromPaths" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCodeFromFile": { + "line": 79, + "lineCount": 10, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 2, + "N1": 5, + "N2": 6, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 6, + "effort": 170.6075250475963, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCodeFromFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findMetrics": { + "line": 98, + "lineCount": 31, + "argCount": 1, + "returnCount": 1, + "variableCount": 9, + "propertyCallCount": 2, + "ifNestingLevel": 2, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 13, + "N1": 18, + "N2": 38, + "programLength": 56, + "programVocabulary": 16, + "volume": 224, + "difficulty": 4.384615384615384, + "effort": 982.1538461538461, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findMetrics" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processMethodMetrics": { + "line": 136, + "lineCount": 29, + "argCount": 3, + "returnCount": 1, + "variableCount": 7, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 14, + "N1": 8, + "N2": 27, + "programLength": 35, + "programVocabulary": 17, + "volume": 143.06119944376186, + "difficulty": 2.892857142857143, + "effort": 413.8556126765968, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processMethodMetrics" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::isExcluded": { + "line": 166, + "lineCount": 12, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 5, + "N1": 5, + "N2": 9, + "programLength": 14, + "programVocabulary": 9, + "volume": 44.37895002019237, + "difficulty": 3.6, + "effort": 159.76422007269252, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::isExcluded" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findSourceFiles": { + "line": 187, + "lineCount": 7, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 2, + "N2": 6, + "programLength": 8, + "programVocabulary": 6, + "volume": 20.67970000576925, + "difficulty": 1.5, + "effort": 31.019550008653873, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findSourceFiles" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getProjectRoot": { + "line": 202, + "lineCount": 13, + "argCount": 0, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 2, + "N1": 8, + "N2": 8, + "programLength": 16, + "programVocabulary": 6, + "volume": 41.3594000115385, + "difficulty": 8, + "effort": 330.875200092308, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getProjectRoot" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateCacheKey": { + "line": 219, + "lineCount": 7, + "argCount": 2, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 6, + "N1": 10, + "N2": 12, + "programLength": 22, + "programVocabulary": 10, + "volume": 73.08241808752197, + "difficulty": 4, + "effort": 292.3296723500879, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateCacheKey" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateConfigHash": { + "line": 230, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 1, + "N1": 3, + "N2": 2, + "programLength": 5, + "programVocabulary": 3, + "volume": 7.92481250360578, + "difficulty": 2, + "effort": 15.84962500721156, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateConfigHash" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::cacheResult": { + "line": 239, + "lineCount": 14, + "argCount": 4, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 13, + "N1": 5, + "N2": 20, + "programLength": 25, + "programVocabulary": 15, + "volume": 97.67226489021297, + "difficulty": 1.5384615384615385, + "effort": 150.26502290801997, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::cacheResult" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::clearCache": { + "line": 254, + "lineCount": 4, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::clearCache" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::normalizeFilename": { + "line": 264, + "lineCount": 15, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 6, + "n2": 7, + "N1": 12, + "N2": 16, + "programLength": 28, + "programVocabulary": 13, + "volume": 103.61231210795059, + "difficulty": 6.857142857142857, + "effort": 710.4844258830897, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::normalizeFilename" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCachedMetrics": { + "line": 286, + "lineCount": 19, + "argCount": 3, + "returnCount": 3, + "variableCount": 4, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 11, + "N1": 10, + "N2": 29, + "programLength": 39, + "programVocabulary": 14, + "volume": 148.48684196024655, + "difficulty": 3.954545454545454, + "effort": 587.1979659337022, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCachedMetrics" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processFile": { + "line": 312, + "lineCount": 37, + "argCount": 5, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 7, + "n2": 10, + "N1": 12, + "N2": 28, + "programLength": 40, + "programVocabulary": 17, + "volume": 163.49851365001356, + "difficulty": 9.799999999999999, + "effort": 1602.2854337701328, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::sort": { + "line": 51, + "lineCount": 41, + "argCount": 3, + "returnCount": 2, + "variableCount": 10, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 18, + "N1": 20, + "N2": 43, + "programLength": 63, + "programVocabulary": 22, + "volume": 280.9441919741497, + "difficulty": 4.777777777777778, + "effort": 1342.2889172098264, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::sort" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getFieldValue": { + "line": 100, + "lineCount": 28, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 25, + "N1": 24, + "N2": 50, + "programLength": 74, + "programVocabulary": 27, + "volume": 351.86167516009664, + "difficulty": 2, + "effort": 703.7233503201933, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getFieldValue" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::compareValues": { + "line": 136, + "lineCount": 13, + "argCount": 2, + "returnCount": 3, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 2, + "N1": 9, + "N2": 12, + "programLength": 21, + "programVocabulary": 5, + "volume": 48.760489992634604, + "difficulty": 9, + "effort": 438.8444099337114, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::compareValues" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getSortableFields": { + "line": 155, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 0, + "N1": 0, + "N2": 0, + "programLength": 0, + "programVocabulary": 0, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getSortableFields" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__construct": { + "line": 15, + "lineCount": 11, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 7, + "N2": 12, + "programLength": 19, + "programVocabulary": 6, + "volume": 49.11428751370197, + "difficulty": 6, + "effort": 294.6857250822118, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::getValue": { + "line": 27, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::getValue" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasIncreased": { + "line": 32, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasIncreased" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__toString": { + "line": 37, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__toString" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasNotChanged": { + "line": 42, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 2, + "programLength": 3, + "programVocabulary": 3, + "volume": 4.754887502163468, + "difficulty": 0.5, + "effort": 2.377443751081734, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasNotChanged" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\FileProcessed::__construct": { + "line": 14, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\FileProcessed::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\ParserFailed::__construct": { + "line": 15, + "lineCount": 5, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\ParserFailed::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\SourceFilesFound::__construct": { + "line": 17, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\SourceFilesFound::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::__construct": { + "line": 15, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::create": { + "line": 27, + "lineCount": 10, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 6, + "N1": 0, + "N2": 8, + "programLength": 8, + "programVocabulary": 6, + "volume": 20.67970000576925, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::create" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::getSupportedTypes": { + "line": 43, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 4, + "N1": 0, + "N2": 4, + "programLength": 4, + "programVocabulary": 4, + "volume": 8, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::getSupportedTypes" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::isSupported": { + "line": 54, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 2, + "N2": 3, + "programLength": 5, + "programVocabulary": 4, + "volume": 10, + "difficulty": 1.5, + "effort": 15, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::isSupported" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CsvExporter::export": { + "line": 46, + "lineCount": 57, + "argCount": 2, + "returnCount": 0, + "variableCount": 6, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 15, + "N1": 37, + "N2": 54, + "programLength": 91, + "programVocabulary": 19, + "volume": 386.56140372336625, + "difficulty": 7.2, + "effort": 2783.242106808237, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CsvExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::export": { + "line": 40, + "lineCount": 8, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 5, + "N1": 4, + "N2": 8, + "programLength": 12, + "programVocabulary": 9, + "volume": 38.039100017307746, + "difficulty": 3.2, + "effort": 121.72512005538479, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::escape": { + "line": 49, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::escape" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::formatNumber": { + "line": 54, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::formatNumber" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::generateMetricRow": { + "line": 59, + "lineCount": 12, + "argCount": 3, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 16, + "N1": 19, + "N2": 27, + "programLength": 46, + "programVocabulary": 21, + "volume": 202.04660144782298, + "difficulty": 4.21875, + "effort": 852.3840998580032, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::generateMetricRow" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::generateHtml": { + "line": 78, + "lineCount": 64, + "argCount": 1, + "returnCount": 1, + "variableCount": 7, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 11, + "N1": 46, + "N2": 57, + "programLength": 103, + "programVocabulary": 15, + "volume": 402.40973134767745, + "difficulty": 10.363636363636363, + "effort": 4170.42812487593, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::generateHtml" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\JsonExporter::export": { + "line": 19, + "lineCount": 38, + "argCount": 2, + "returnCount": 0, + "variableCount": 5, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 27, + "N1": 29, + "N2": 58, + "programLength": 87, + "programVocabulary": 32, + "volume": 435, + "difficulty": 5.370370370370371, + "effort": 2336.1111111111113, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\JsonExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::__construct": { + "line": 24, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::export": { + "line": 36, + "lineCount": 8, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 5, + "N1": 4, + "N2": 8, + "programLength": 12, + "programVocabulary": 9, + "volume": 38.039100017307746, + "difficulty": 3.2, + "effort": 121.72512005538479, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::escape": { + "line": 48, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::escape" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateMetricCell": { + "line": 56, + "lineCount": 12, + "argCount": 3, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 12, + "N1": 16, + "N2": 24, + "programLength": 40, + "programVocabulary": 17, + "volume": 163.49851365001356, + "difficulty": 5, + "effort": 817.4925682500678, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateMetricCell" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::filterMetrics": { + "line": 75, + "lineCount": 15, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 4, + "N1": 4, + "N2": 11, + "programLength": 15, + "programVocabulary": 7, + "volume": 42.11032383086406, + "difficulty": 4.125, + "effort": 173.70508580231424, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::filterMetrics" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableHeader": { + "line": 94, + "lineCount": 33, + "argCount": 0, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 4, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 19, + "N1": 10, + "N2": 28, + "programLength": 38, + "programVocabulary": 22, + "volume": 169.4584015082173, + "difficulty": 2.2105263157894735, + "effort": 374.5922559655329, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableHeader" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableHeaderWithClass": { + "line": 131, + "lineCount": 33, + "argCount": 0, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 4, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 20, + "N1": 10, + "N2": 29, + "programLength": 39, + "programVocabulary": 23, + "volume": 176.41891628622352, + "difficulty": 2.175, + "effort": 383.7111429225361, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableHeaderWithClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableSeparator": { + "line": 168, + "lineCount": 20, + "argCount": 0, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 4, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 7, + "N1": 3, + "N2": 16, + "programLength": 19, + "programVocabulary": 10, + "volume": 63.11663380285988, + "difficulty": 3.4285714285714284, + "effort": 216.399887324091, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableSeparator" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableSeparatorWithClass": { + "line": 192, + "lineCount": 20, + "argCount": 0, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 4, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 8, + "N1": 3, + "N2": 16, + "programLength": 19, + "programVocabulary": 11, + "volume": 65.72920075410865, + "difficulty": 3, + "effort": 197.18760226232592, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableSeparatorWithClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableRow": { + "line": 216, + "lineCount": 22, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 6, + "N1": 53, + "N2": 60, + "programLength": 113, + "programVocabulary": 10, + "volume": 375.37787472227194, + "difficulty": 20, + "effort": 7507.557494445438, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableRow" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableRowWithClass": { + "line": 242, + "lineCount": 25, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 6, + "N1": 55, + "N2": 62, + "programLength": 117, + "programVocabulary": 10, + "volume": 388.66558710182136, + "difficulty": 20.666666666666668, + "effort": 8032.422133437642, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableRowWithClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::addHalsteadCells": { + "line": 274, + "lineCount": 20, + "argCount": 2, + "returnCount": 3, + "variableCount": 2, + "propertyCallCount": 5, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 12, + "N2": 24, + "programLength": 36, + "programVocabulary": 8, + "volume": 108, + "difficulty": 7.199999999999999, + "effort": 777.5999999999999, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::addHalsteadCells" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::addCyclomaticCell": { + "line": 301, + "lineCount": 16, + "argCount": 2, + "returnCount": 3, + "variableCount": 2, + "propertyCallCount": 4, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 8, + "N2": 16, + "programLength": 24, + "programVocabulary": 11, + "volume": 83.02635884729514, + "difficulty": 4.571428571428571, + "effort": 379.5490690162063, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::addCyclomaticCell" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateMarkdown": { + "line": 325, + "lineCount": 8, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 2, + "N2": 6, + "programLength": 8, + "programVocabulary": 3, + "volume": 12.679700005769249, + "difficulty": 1.5, + "effort": 19.019550008653873, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateMarkdown" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateGroupedMarkdown": { + "line": 337, + "lineCount": 49, + "argCount": 1, + "returnCount": 1, + "variableCount": 10, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 8, + "n2": 23, + "N1": 33, + "N2": 65, + "programLength": 98, + "programVocabulary": 31, + "volume": 485.5112384179137, + "difficulty": 11.304347826086957, + "effort": 5488.387912550329, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateGroupedMarkdown" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateSingleTableMarkdown": { + "line": 390, + "lineCount": 28, + "argCount": 1, + "returnCount": 1, + "variableCount": 6, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 6, + "n2": 13, + "N1": 19, + "N2": 37, + "programLength": 56, + "programVocabulary": 19, + "volume": 237.88394075284077, + "difficulty": 8.538461538461538, + "effort": 2031.1628787357943, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateSingleTableMarkdown" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::__construct": { + "line": 32, + "lineCount": 26, + "argCount": 2, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 7, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 14, + "N2": 22, + "programLength": 36, + "programVocabulary": 5, + "volume": 83.58941141594504, + "difficulty": 7.333333333333333, + "effort": 612.9890170502636, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::parse": { + "line": 63, + "lineCount": 37, + "argCount": 1, + "returnCount": 1, + "variableCount": 9, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 14, + "N1": 16, + "N2": 43, + "programLength": 59, + "programVocabulary": 17, + "volume": 241.16030763377, + "difficulty": 4.607142857142858, + "effort": 1111.0599887412977, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::parse" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::scanForAnnotations": { + "line": 104, + "lineCount": 20, + "argCount": 1, + "returnCount": 0, + "variableCount": 4, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 7, + "N1": 8, + "N2": 16, + "programLength": 24, + "programVocabulary": 10, + "volume": 79.7262742772967, + "difficulty": 3.4285714285714284, + "effort": 273.34722609358863, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::scanForAnnotations" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::traverseAbstractSyntaxTreeWithCombinedVisitor": { + "line": 129, + "lineCount": 17, + "argCount": 1, + "returnCount": 0, + "variableCount": 4, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 7, + "N1": 7, + "N2": 15, + "programLength": 22, + "programVocabulary": 10, + "volume": 73.08241808752197, + "difficulty": 3.2142857142857144, + "effort": 234.90777242417778, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::traverseAbstractSyntaxTreeWithCombinedVisitor" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getIgnored": { + "line": 153, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getIgnored" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getIgnoredClasses": { + "line": 163, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getIgnoredClasses" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getIgnoredMethods": { + "line": 173, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getIgnoredMethods" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::clearStaticCaches": { + "line": 181, + "lineCount": 15, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 9, + "N1": 7, + "N2": 19, + "programLength": 26, + "programVocabulary": 10, + "volume": 86.37013046707142, + "difficulty": 1.0555555555555556, + "effort": 91.16847104857538, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::clearStaticCaches" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::clearStaticProperty": { + "line": 200, + "lineCount": 14, + "argCount": 2, + "returnCount": 0, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 6, + "N2": 12, + "programLength": 18, + "programVocabulary": 7, + "volume": 50.53238859703688, + "difficulty": 2.4, + "effort": 121.2777326328885, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::clearStaticProperty" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getRiskLevel": { + "line": 218, + "lineCount": 9, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 8, + "N1": 3, + "N2": 11, + "programLength": 14, + "programVocabulary": 9, + "volume": 44.37895002019237, + "difficulty": 0.6875, + "effort": 30.510528138882254, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getRiskLevel" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculate": { + "line": 47, + "lineCount": 5, + "argCount": 2, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 2, + "N2": 8, + "programLength": 10, + "programVocabulary": 4, + "volume": 20, + "difficulty": 1.3333333333333333, + "effort": 26.666666666666664, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculateScore": { + "line": 53, + "lineCount": 10, + "argCount": 1, + "returnCount": 0, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 9, + "N1": 7, + "N2": 15, + "programLength": 22, + "programVocabulary": 13, + "volume": 81.40967379910403, + "difficulty": 3.3333333333333335, + "effort": 271.36557933034675, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculateScore" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculateMetricWeights": { + "line": 70, + "lineCount": 17, + "argCount": 3, + "returnCount": 0, + "variableCount": 6, + "propertyCallCount": 3, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 12, + "N1": 9, + "N2": 24, + "programLength": 33, + "programVocabulary": 15, + "volume": 128.92738965508113, + "difficulty": 3, + "effort": 386.7821689652434, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculateMetricWeights" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculateLogWeight": { + "line": 132, + "lineCount": 8, + "argCount": 3, + "returnCount": 2, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 5, + "N1": 5, + "N2": 11, + "programLength": 16, + "programVocabulary": 10, + "volume": 53.150849518197795, + "difficulty": 5.5, + "effort": 292.3296723500879, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculateLogWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cyclomatic\\CyclomaticMetrics::__construct": { + "line": 129, + "lineCount": 23, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 19, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 43, + "N1": 56, + "N2": 130, + "programLength": 186, + "programVocabulary": 45, + "volume": 1021.4846759173195, + "difficulty": 3.0232558139534884, + "effort": 3088.209485331431, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cyclomatic\\CyclomaticMetrics::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::escapeMarkdown": { + "line": 18, + "lineCount": 6, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 5, + "N1": 1, + "N2": 6, + "programLength": 7, + "programVocabulary": 6, + "volume": 18.094737505048094, + "difficulty": 0.6, + "effort": 10.856842503028856, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::escapeMarkdown" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::formatNumber": { + "line": 32, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 5, + "programLength": 6, + "programVocabulary": 4, + "volume": 12, + "difficulty": 0.8333333333333334, + "effort": 10, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::formatNumber" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::buildTableHeader": { + "line": 43, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 3, + "N2": 5, + "programLength": 8, + "programVocabulary": 6, + "volume": 20.67970000576925, + "difficulty": 1.25, + "effort": 25.84962500721156, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::buildTableHeader" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::buildTableSeparator": { + "line": 54, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 4, + "programLength": 6, + "programVocabulary": 5, + "volume": 13.931568569324174, + "difficulty": 1.3333333333333333, + "effort": 18.575424759098897, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::buildTableSeparator" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::buildTableRow": { + "line": 65, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 3, + "N2": 5, + "programLength": 8, + "programVocabulary": 6, + "volume": 20.67970000576925, + "difficulty": 1.25, + "effort": 25.84962500721156, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::buildTableRow" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::formatPercentage": { + "line": 77, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 2, + "N2": 6, + "programLength": 8, + "programVocabulary": 6, + "volume": 20.67970000576925, + "difficulty": 1.5, + "effort": 31.019550008653873, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::formatPercentage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::escapeMarkdown": { + "line": 18, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 5, + "N1": 1, + "N2": 6, + "programLength": 7, + "programVocabulary": 6, + "volume": 18.094737505048094, + "difficulty": 0.6, + "effort": 10.856842503028856, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::escapeMarkdown" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::formatNumber": { + "line": 30, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 5, + "programLength": 6, + "programVocabulary": 4, + "volume": 12, + "difficulty": 0.8333333333333334, + "effort": 10, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::formatNumber" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::buildMarkdownTableHeader": { + "line": 41, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 3, + "N2": 5, + "programLength": 8, + "programVocabulary": 6, + "volume": 20.67970000576925, + "difficulty": 1.25, + "effort": 25.84962500721156, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::buildMarkdownTableHeader" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::buildMarkdownTableSeparator": { + "line": 52, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 4, + "programLength": 6, + "programVocabulary": 5, + "volume": 13.931568569324174, + "difficulty": 1.3333333333333333, + "effort": 18.575424759098897, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::buildMarkdownTableSeparator" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::buildMarkdownTableRow": { + "line": 63, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 3, + "N2": 5, + "programLength": 8, + "programVocabulary": 6, + "volume": 20.67970000576925, + "difficulty": 1.25, + "effort": 25.84962500721156, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::buildMarkdownTableRow" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::formatMarkdownPercentage": { + "line": 75, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 2, + "N2": 6, + "programLength": 8, + "programVocabulary": 6, + "volume": 20.67970000576925, + "difficulty": 1.5, + "effort": 31.019550008653873, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::formatMarkdownPercentage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Halstead\\HalsteadMetrics::__construct": { + "line": 33, + "lineCount": 13, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 10, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 12, + "N1": 10, + "N2": 31, + "programLength": 41, + "programVocabulary": 13, + "volume": 151.7180284437848, + "difficulty": 1.2916666666666667, + "effort": 195.96912007322203, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Halstead\\HalsteadMetrics::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Halstead\\HalsteadMetrics::getVolume": { + "line": 47, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Halstead\\HalsteadMetrics::getVolume" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::__construct": { + "line": 32, + "lineCount": 9, + "argCount": 5, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 7, + "N1": 2, + "N2": 7, + "programLength": 9, + "programVocabulary": 9, + "volume": 28.52932501298081, + "difficulty": 1, + "effort": 28.52932501298081, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::getChurnExporterFactory": { + "line": 45, + "lineCount": 7, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 1, + "N1": 2, + "N2": 3, + "programLength": 5, + "programVocabulary": 3, + "volume": 7.92481250360578, + "difficulty": 3, + "effort": 23.774437510817343, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::getChurnExporterFactory" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::getCognitiveExporterFactory": { + "line": 56, + "lineCount": 7, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 1, + "N1": 3, + "N2": 4, + "programLength": 7, + "programVocabulary": 4, + "volume": 14, + "difficulty": 6, + "effort": 84, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::getCognitiveExporterFactory" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::getCognitiveMetrics": { + "line": 72, + "lineCount": 10, + "argCount": 1, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 3, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 5, + "N2": 11, + "programLength": 16, + "programVocabulary": 6, + "volume": 41.3594000115385, + "difficulty": 2.75, + "effort": 113.73835003173087, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::getCognitiveMetrics" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::getCognitiveMetricsFromPaths": { + "line": 92, + "lineCount": 16, + "argCount": 2, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 8, + "N2": 18, + "programLength": 26, + "programVocabulary": 9, + "volume": 82.41805003750011, + "difficulty": 4.5, + "effort": 370.88122516875046, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::getCognitiveMetricsFromPaths" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::calculateChurn": { + "line": 118, + "lineCount": 18, + "argCount": 4, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 10, + "N1": 8, + "N2": 21, + "programLength": 29, + "programVocabulary": 12, + "volume": 103.96391252091352, + "difficulty": 2.1, + "effort": 218.3242162939184, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::calculateChurn" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::loadConfig": { + "line": 143, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::loadConfig" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::getConfig": { + "line": 148, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::getConfig" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::exportChurnReport": { + "line": 156, + "lineCount": 9, + "argCount": 3, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 4, + "N1": 3, + "N2": 7, + "programLength": 10, + "programVocabulary": 5, + "volume": 23.21928094887362, + "difficulty": 0.875, + "effort": 20.316870830264417, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::exportChurnReport" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::exportMetricsReport": { + "line": 168, + "lineCount": 8, + "argCount": 3, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 4, + "N2": 9, + "programLength": 13, + "programVocabulary": 7, + "volume": 36.49561398674886, + "difficulty": 1.8, + "effort": 65.69210517614795, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::exportMetricsReport" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::clearCache": { + "line": 177, + "lineCount": 4, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::clearCache" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::addCoverageToMetric": { + "line": 185, + "lineCount": 20, + "argCount": 2, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 11, + "N2": 18, + "programLength": 29, + "programVocabulary": 11, + "volume": 100.32351694048162, + "difficulty": 5.142857142857143, + "effort": 515.9495156939055, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::addCoverageToMetric" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::addMethodLevelCoverage": { + "line": 209, + "lineCount": 16, + "argCount": 2, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 9, + "N2": 15, + "programLength": 24, + "programVocabulary": 7, + "volume": 67.3765181293825, + "difficulty": 3, + "effort": 202.1295543881475, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::addMethodLevelCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Traits\\CoverageDataDetector::hasCoverageData": { + "line": 18, + "lineCount": 10, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "cyclomatic_complexity": { + "complexity": 3, + "risk_level": "low" + }, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 3, + "N2": 7, + "programLength": 10, + "programVocabulary": 6, + "volume": 25.84962500721156, + "difficulty": 3.5, + "effort": 90.47368752524046, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Traits\\CoverageDataDetector::hasCoverageData" + } + } + }, + "ignored_items": [], + "cached_at": 1759967601 +} \ No newline at end of file diff --git a/.phpcca.cache/8a/8ac8f17016c111faee10a2099a1303eb.cache b/.phpcca.cache/8a/8ac8f17016c111faee10a2099a1303eb.cache new file mode 100644 index 0000000..24f57f5 --- /dev/null +++ b/.phpcca.cache/8a/8ac8f17016c111faee10a2099a1303eb.cache @@ -0,0 +1,5109 @@ +{ + "version": "1.0", + "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/Business\/Cognitive\/ScoreCalculator.php", + "file_mtime": 1759791861, + "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", + "analysis_result": { + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct": { + "line": 60, + "lineCount": 5, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 1, + "N1": 2, + "N2": 2, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 2, + "effort": 12.679700005769249, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices": { + "line": 66, + "lineCount": 95, + "argCount": 0, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 5, + "N1": 58, + "N2": 32, + "programLength": 90, + "programVocabulary": 9, + "volume": 285.2932501298081, + "difficulty": 12.8, + "effort": 3651.7536016615436, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap": { + "line": 162, + "lineCount": 10, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 7, + "N2": 7, + "programLength": 14, + "programVocabulary": 2, + "volume": 14, + "difficulty": 3.5, + "effort": 49, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors": { + "line": 173, + "lineCount": 12, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 3, + "N2": 1, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0.5, + "effort": 2, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus": { + "line": 186, + "lineCount": 19, + "argCount": 0, + "returnCount": 0, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 9, + "N2": 13, + "programLength": 22, + "programVocabulary": 7, + "volume": 61.76180828526729, + "difficulty": 2.6, + "effort": 160.58070154169496, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService": { + "line": 206, + "lineCount": 9, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 3, + "N2": 1, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0.5, + "effort": 2, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade": { + "line": 216, + "lineCount": 13, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 3, + "N2": 1, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0.5, + "effort": 2, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands": { + "line": 230, + "lineCount": 21, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 6, + "N2": 2, + "programLength": 8, + "programVocabulary": 2, + "volume": 8, + "difficulty": 1, + "effort": 8, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication": { + "line": 252, + "lineCount": 11, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 5, + "N2": 4, + "programLength": 9, + "programVocabulary": 4, + "volume": 18, + "difficulty": 0.6666666666666666, + "effort": 12, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run": { + "line": 264, + "lineCount": 9, + "argCount": 0, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 5, + "N2": 5, + "programLength": 10, + "programVocabulary": 4, + "volume": 20, + "difficulty": 2.5, + "effort": 50, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get": { + "line": 274, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer": { + "line": 279, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator": { + "line": 289, + "lineCount": 16, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 7, + "programLength": 8, + "programVocabulary": 4, + "volume": 16, + "difficulty": 1.1666666666666667, + "effort": 18.666666666666668, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create": { + "line": 18, + "lineCount": 7, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 4, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile": { + "line": 17, + "lineCount": 17, + "argCount": 2, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 8, + "N1": 11, + "N2": 19, + "programLength": 30, + "programVocabulary": 11, + "volume": 103.78294855911892, + "difficulty": 3.5625, + "effort": 369.72675424186116, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode": { + "line": 42, + "lineCount": 8, + "argCount": 3, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 3, + "N2": 8, + "programLength": 11, + "programVocabulary": 8, + "volume": 33, + "difficulty": 2.4000000000000004, + "effort": 79.20000000000002, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate": { + "line": 22, + "lineCount": 10, + "argCount": 2, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 6, + "N2": 13, + "programLength": 19, + "programVocabulary": 6, + "volume": 49.11428751370197, + "difficulty": 3.25, + "effort": 159.6214344195314, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending": { + "line": 37, + "lineCount": 8, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 2, + "N2": 9, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 2.25, + "effort": 63.97782189284862, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn": { + "line": 51, + "lineCount": 24, + "argCount": 2, + "returnCount": 1, + "variableCount": 6, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 15, + "N1": 17, + "N2": 46, + "programLength": 63, + "programVocabulary": 20, + "volume": 272.28146997790384, + "difficulty": 7.666666666666667, + "effort": 2087.491269830596, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses": { + "line": 81, + "lineCount": 20, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 2, + "n2": 7, + "N1": 10, + "N2": 24, + "programLength": 34, + "programVocabulary": 9, + "volume": 107.7774500490386, + "difficulty": 3.4285714285714284, + "effort": 369.52268588241805, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass": { + "line": 109, + "lineCount": 9, + "argCount": 2, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 6, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 10, + "volume": 49.82892142331043, + "difficulty": 3.3333333333333335, + "effort": 166.09640474436813, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel": { + "line": 126, + "lineCount": 16, + "argCount": 2, + "returnCount": 4, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 12, + "N1": 9, + "N2": 18, + "programLength": 27, + "programVocabulary": 15, + "volume": 105.48604608143, + "difficulty": 2.25, + "effort": 237.3436036832175, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile": { + "line": 14, + "lineCount": 6, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 2, + "N2": 5, + "programLength": 7, + "programVocabulary": 4, + "volume": 14, + "difficulty": 2.5, + "effort": 35, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable": { + "line": 24, + "lineCount": 11, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 10, + "N2": 12, + "programLength": 22, + "programVocabulary": 8, + "volume": 66, + "difficulty": 6, + "effort": 396, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create": { + "line": 21, + "lineCount": 11, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 7, + "N1": 0, + "N2": 9, + "programLength": 9, + "programVocabulary": 7, + "volume": 25.26619429851844, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes": { + "line": 38, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 6, + "N1": 0, + "N2": 6, + "programLength": 6, + "programVocabulary": 6, + "volume": 15.509775004326936, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported": { + "line": 49, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 2, + "N2": 3, + "programLength": 5, + "programVocabulary": 4, + "volume": 10, + "difficulty": 1.5, + "effort": 15, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export": { + "line": 30, + "lineCount": 23, + "argCount": 2, + "returnCount": 0, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 16, + "N1": 10, + "N2": 33, + "programLength": 43, + "programVocabulary": 20, + "volume": 185.8429080801566, + "difficulty": 4.125, + "effort": 766.601995830646, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export": { + "line": 28, + "lineCount": 8, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 6, + "volume": 36.18947501009619, + "difficulty": 2.5, + "effort": 90.47368752524048, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape": { + "line": 37, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber": { + "line": 42, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml": { + "line": 52, + "lineCount": 50, + "argCount": 1, + "returnCount": 1, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 12, + "N1": 11, + "N2": 25, + "programLength": 36, + "programVocabulary": 17, + "volume": 147.14866228501222, + "difficulty": 5.208333333333334, + "effort": 766.3992827344388, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export": { + "line": 17, + "lineCount": 13, + "argCount": 2, + "returnCount": 0, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 8, + "N1": 7, + "N2": 14, + "programLength": 21, + "programVocabulary": 12, + "volume": 75.28421251514428, + "difficulty": 3.5, + "effort": 263.49474380300495, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export": { + "line": 48, + "lineCount": 8, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 6, + "volume": 36.18947501009619, + "difficulty": 2.5, + "effort": 90.47368752524048, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown": { + "line": 61, + "lineCount": 24, + "argCount": 1, + "returnCount": 1, + "variableCount": 6, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 6, + "n2": 16, + "N1": 19, + "N2": 41, + "programLength": 60, + "programVocabulary": 22, + "volume": 267.56589711823784, + "difficulty": 7.6875, + "effort": 2056.9128340964535, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow": { + "line": 94, + "lineCount": 21, + "argCount": 3, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 7, + "n2": 18, + "N1": 16, + "N2": 39, + "programLength": 55, + "programVocabulary": 25, + "volume": 255.41209043760983, + "difficulty": 7.583333333333333, + "effort": 1936.8750191518745, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::__construct": { + "line": 26, + "lineCount": 4, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::export": { + "line": 36, + "lineCount": 10, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 8, + "volume": 45, + "difficulty": 5, + "effort": 225, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::generateSvgTreemap": { + "line": 53, + "lineCount": 20, + "argCount": 1, + "returnCount": 1, + "variableCount": 6, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 8, + "N1": 9, + "N2": 20, + "programLength": 29, + "programVocabulary": 10, + "volume": 96.3359147517335, + "difficulty": 2.5, + "effort": 240.83978687933376, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::generateSvgTreemap" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRects": { + "line": 82, + "lineCount": 10, + "argCount": 3, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 9, + "N1": 6, + "N2": 18, + "programLength": 24, + "programVocabulary": 12, + "volume": 86.03910001730775, + "difficulty": 3, + "effort": 258.1173000519232, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRects" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRect": { + "line": 100, + "lineCount": 29, + "argCount": 2, + "returnCount": 1, + "variableCount": 12, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 6, + "n2": 28, + "N1": 26, + "N2": 54, + "programLength": 80, + "programVocabulary": 34, + "volume": 406.9970273000271, + "difficulty": 5.785714285714286, + "effort": 2354.7685150930142, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRect" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::wrapSvg": { + "line": 136, + "lineCount": 21, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 2, + "N2": 8, + "programLength": 10, + "programVocabulary": 4, + "volume": 20, + "difficulty": 1.3333333333333333, + "effort": 26.666666666666664, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::wrapSvg" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::prepareItems": { + "line": 28, + "lineCount": 18, + "argCount": 1, + "returnCount": 1, + "variableCount": 7, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 12, + "N1": 9, + "N2": 30, + "programLength": 39, + "programVocabulary": 17, + "volume": 159.41105080876324, + "difficulty": 6.25, + "effort": 996.3190675547702, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::prepareItems" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findScoreRange": { + "line": 53, + "lineCount": 16, + "argCount": 1, + "returnCount": 3, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 7, + "N2": 13, + "programLength": 20, + "programVocabulary": 8, + "volume": 60, + "difficulty": 3.9000000000000004, + "effort": 234.00000000000003, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findScoreRange" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::normalizeScore": { + "line": 78, + "lineCount": 8, + "argCount": 3, + "returnCount": 2, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 8, + "volume": 45, + "difficulty": 5, + "effort": 225, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::normalizeScore" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::scoreToColor": { + "line": 93, + "lineCount": 9, + "argCount": 1, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 5, + "n2": 9, + "N1": 12, + "N2": 16, + "programLength": 28, + "programVocabulary": 14, + "volume": 106.60593781761291, + "difficulty": 4.444444444444445, + "effort": 473.80416807827964, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::scoreToColor" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::calculateTreemapLayout": { + "line": 115, + "lineCount": 23, + "argCount": 7, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 9, + "N1": 2, + "N2": 18, + "programLength": 20, + "programVocabulary": 11, + "volume": 69.18863237274594, + "difficulty": 2, + "effort": 138.37726474549189, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::calculateTreemapLayout" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::layoutTreemap": { + "line": 152, + "lineCount": 89, + "argCount": 8, + "returnCount": 3, + "variableCount": 11, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 8, + "n2": 28, + "N1": 32, + "N2": 98, + "programLength": 130, + "programVocabulary": 36, + "volume": 672.0902501875006, + "difficulty": 14, + "effort": 9409.263502625008, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::layoutTreemap" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findSplitIndex": { + "line": 249, + "lineCount": 13, + "argCount": 2, + "returnCount": 2, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 7, + "n2": 10, + "N1": 9, + "N2": 23, + "programLength": 32, + "programVocabulary": 17, + "volume": 130.79881092001085, + "difficulty": 8.049999999999999, + "effort": 1052.9304279060873, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findSplitIndex" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::__construct": { + "line": 23, + "lineCount": 18, + "argCount": 1, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 7, + "N2": 11, + "programLength": 18, + "programVocabulary": 6, + "volume": 46.529325012980806, + "difficulty": 5.5, + "effort": 255.91128757139444, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::getAllClasses": { + "line": 47, + "lineCount": 17, + "argCount": 0, + "returnCount": 2, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 6, + "N2": 12, + "programLength": 18, + "programVocabulary": 9, + "volume": 57.05865002596162, + "difficulty": 3, + "effort": 171.17595007788486, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::getAllClasses" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::withClassNode": { + "line": 73, + "lineCount": 8, + "argCount": 2, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 4, + "N2": 8, + "programLength": 12, + "programVocabulary": 8, + "volume": 36, + "difficulty": 4, + "effort": 144, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::withClassNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::findClassNode": { + "line": 85, + "lineCount": 25, + "argCount": 1, + "returnCount": 4, + "variableCount": 5, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 13, + "N2": 29, + "programLength": 42, + "programVocabulary": 11, + "volume": 145.29612798276648, + "difficulty": 8.285714285714286, + "effort": 1203.8822032857795, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::findClassNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::escapeXPathValue": { + "line": 114, + "lineCount": 16, + "argCount": 1, + "returnCount": 3, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 9, + "N1": 11, + "N2": 18, + "programLength": 29, + "programVocabulary": 13, + "volume": 107.31275182609167, + "difficulty": 4, + "effort": 429.2510073043667, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::escapeXPathValue" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getLineCoverage": { + "line": 22, + "lineCount": 18, + "argCount": 1, + "returnCount": 4, + "variableCount": 5, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 9, + "N1": 10, + "N2": 19, + "programLength": 29, + "programVocabulary": 13, + "volume": 107.31275182609167, + "difficulty": 4.222222222222222, + "effort": 453.09828548794263, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getLineCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getBranchCoverage": { + "line": 48, + "lineCount": 18, + "argCount": 1, + "returnCount": 4, + "variableCount": 5, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 9, + "N1": 10, + "N2": 19, + "programLength": 29, + "programVocabulary": 13, + "volume": 107.31275182609167, + "difficulty": 4.222222222222222, + "effort": 453.09828548794263, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getBranchCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getComplexity": { + "line": 73, + "lineCount": 13, + "argCount": 1, + "returnCount": 3, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 7, + "N2": 14, + "programLength": 21, + "programVocabulary": 11, + "volume": 72.64806399138324, + "difficulty": 4, + "effort": 290.59225596553296, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getComplexity" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getCoverageDetails": { + "line": 93, + "lineCount": 26, + "argCount": 1, + "returnCount": 3, + "variableCount": 9, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 17, + "N1": 22, + "N2": 42, + "programLength": 64, + "programVocabulary": 22, + "volume": 285.403623592787, + "difficulty": 6.176470588235294, + "effort": 1762.7870868966259, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getCoverageDetails" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getMetricsNode": { + "line": 123, + "lineCount": 12, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 6, + "N1": 7, + "N2": 13, + "programLength": 20, + "programVocabulary": 10, + "volume": 66.43856189774725, + "difficulty": 4.333333333333333, + "effort": 287.90043489023805, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getMetricsNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getFilenameForClass": { + "line": 139, + "lineCount": 9, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 5, + "N1": 4, + "N2": 9, + "programLength": 13, + "programVocabulary": 9, + "volume": 41.209025018750054, + "difficulty": 3.6, + "effort": 148.3524900675002, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getFilenameForClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodsCoverage": { + "line": 154, + "lineCount": 36, + "argCount": 1, + "returnCount": 3, + "variableCount": 8, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 13, + "N1": 12, + "N2": 30, + "programLength": 42, + "programVocabulary": 16, + "volume": 168, + "difficulty": 3.4615384615384612, + "effort": 581.5384615384614, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodsCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::calculateMethodCoverage": { + "line": 194, + "lineCount": 15, + "argCount": 2, + "returnCount": 2, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 11, + "N1": 9, + "N2": 23, + "programLength": 32, + "programVocabulary": 16, + "volume": 128, + "difficulty": 5.227272727272727, + "effort": 669.090909090909, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::calculateMethodCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodCoverageFromLines": { + "line": 215, + "lineCount": 36, + "argCount": 2, + "returnCount": 1, + "variableCount": 7, + "propertyCallCount": 0, + "ifNestingLevel": 2, + "elseCount": 0, + "ifCount": 5, + "halstead": { + "n1": 2, + "n2": 14, + "N1": 12, + "N2": 35, + "programLength": 47, + "programVocabulary": 16, + "volume": 188, + "difficulty": 2.5, + "effort": 470, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodCoverageFromLines" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStart": { + "line": 252, + "lineCount": 4, + "argCount": 3, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 3, + "N2": 7, + "programLength": 10, + "programVocabulary": 6, + "volume": 25.84962500721156, + "difficulty": 1.75, + "effort": 45.23684376262023, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStart" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodEnd": { + "line": 257, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 5, + "programLength": 7, + "programVocabulary": 5, + "volume": 16.253496664211536, + "difficulty": 1.6666666666666667, + "effort": 27.089161107019226, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodEnd" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStatement": { + "line": 262, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 5, + "programLength": 7, + "programVocabulary": 5, + "volume": 16.253496664211536, + "difficulty": 1.6666666666666667, + "effort": 27.089161107019226, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStatement" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isStatementCovered": { + "line": 267, + "lineCount": 5, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 4, + "N1": 3, + "N2": 6, + "programLength": 9, + "programVocabulary": 7, + "volume": 25.26619429851844, + "difficulty": 2.25, + "effort": 56.848937171666485, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isStatementCovered" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getLineCoverage": { + "line": 20, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 9, + "volume": 44.37895002019237, + "difficulty": 2.5, + "effort": 110.94737505048093, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getLineCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getBranchCoverage": { + "line": 34, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 9, + "volume": 44.37895002019237, + "difficulty": 2.5, + "effort": 110.94737505048093, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getBranchCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getComplexity": { + "line": 48, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 9, + "volume": 44.37895002019237, + "difficulty": 2.5, + "effort": 110.94737505048093, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getComplexity" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getCoverageDetails": { + "line": 62, + "lineCount": 13, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 8, + "N1": 7, + "N2": 16, + "programLength": 23, + "programVocabulary": 9, + "volume": 72.90827503317318, + "difficulty": 1, + "effort": 72.90827503317318, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getCoverageDetails" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::extractMethodsCoverage": { + "line": 81, + "lineCount": 23, + "argCount": 1, + "returnCount": 2, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 11, + "N1": 10, + "N2": 23, + "programLength": 33, + "programVocabulary": 14, + "volume": 125.64271242790093, + "difficulty": 3.1363636363636362, + "effort": 394.061234432962, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::extractMethodsCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CodeCoverageFactory::createFromName": { + "line": 14, + "lineCount": 8, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 4, + "N1": 1, + "N2": 8, + "programLength": 9, + "programVocabulary": 5, + "volume": 20.89735285398626, + "difficulty": 1, + "effort": 20.89735285398626, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CodeCoverageFactory::createFromName" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::__construct": { + "line": 28, + "lineCount": 15, + "argCount": 6, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 6, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 7, + "N1": 6, + "N2": 18, + "programLength": 24, + "programVocabulary": 8, + "volume": 72, + "difficulty": 1.2857142857142858, + "effort": 92.57142857142858, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getName": { + "line": 44, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getName" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getFilename": { + "line": 49, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getFilename" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getLineRate": { + "line": 54, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getLineRate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getBranchRate": { + "line": 59, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getBranchRate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getComplexity": { + "line": 64, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getComplexity" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getMethods": { + "line": 72, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getMethods" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::__construct": { + "line": 17, + "lineCount": 11, + "argCount": 4, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 4, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 5, + "N1": 4, + "N2": 12, + "programLength": 16, + "programVocabulary": 6, + "volume": 41.3594000115385, + "difficulty": 1.2, + "effort": 49.631280013846194, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getName": { + "line": 29, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getName" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getLineRate": { + "line": 34, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getLineRate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getBranchRate": { + "line": 39, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getBranchRate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getComplexity": { + "line": 44, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getComplexity" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::calculateDeltas": { + "line": 19, + "lineCount": 14, + "argCount": 2, + "returnCount": 0, + "variableCount": 6, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 9, + "N1": 4, + "N2": 18, + "programLength": 22, + "programVocabulary": 11, + "volume": 76.10749561002054, + "difficulty": 2, + "effort": 152.21499122004107, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::calculateDeltas" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::loadBaseline": { + "line": 41, + "lineCount": 13, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 5, + "N2": 9, + "programLength": 14, + "programVocabulary": 8, + "volume": 42, + "difficulty": 2.7, + "effort": 113.4, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::loadBaseline" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::__construct": { + "line": 72, + "lineCount": 21, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 6, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 9, + "N1": 12, + "N2": 34, + "programLength": 46, + "programVocabulary": 12, + "volume": 164.90827503317317, + "difficulty": 5.666666666666666, + "effort": 934.4802251879812, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setRequiredMetricProperties": { + "line": 98, + "lineCount": 30, + "argCount": 1, + "returnCount": 0, + "variableCount": 6, + "propertyCallCount": 9, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 21, + "N1": 21, + "N2": 51, + "programLength": 72, + "programVocabulary": 24, + "volume": 330.1173000519232, + "difficulty": 3.6428571428571423, + "effort": 1202.570164474863, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setRequiredMetricProperties" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setOptionalMetricProperties": { + "line": 133, + "lineCount": 12, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 8, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 11, + "N1": 16, + "N2": 33, + "programLength": 49, + "programVocabulary": 13, + "volume": 181.32154618891352, + "difficulty": 3, + "effort": 543.9646385667405, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setOptionalMetricProperties" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setTimesChanged": { + "line": 146, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setTimesChanged" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertSame": { + "line": 151, + "lineCount": 14, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 6, + "N2": 8, + "programLength": 14, + "programVocabulary": 5, + "volume": 32.50699332842307, + "difficulty": 2.6666666666666665, + "effort": 86.68531554246152, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertSame" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::calculateDeltas": { + "line": 169, + "lineCount": 13, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 16, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 17, + "N2": 27, + "programLength": 44, + "programVocabulary": 4, + "volume": 88, + "difficulty": 13.5, + "effort": 1188, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::calculateDeltas" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::fromArray": { + "line": 187, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::fromArray" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertArrayKeyIsPresent": { + "line": 197, + "lineCount": 6, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 5, + "programLength": 5, + "programVocabulary": 2, + "volume": 5, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertArrayKeyIsPresent" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getClass": { + "line": 204, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getMethod": { + "line": 209, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getMethod" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCount": { + "line": 214, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCount": { + "line": 219, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCount": { + "line": 224, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCount": { + "line": 229, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCount": { + "line": 234, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCount": { + "line": 239, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevel": { + "line": 244, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevel" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCount": { + "line": 249, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeight": { + "line": 254, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setLineCountWeight": { + "line": 259, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setLineCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeight": { + "line": 264, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setArgCountWeight": { + "line": 269, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setArgCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeight": { + "line": 274, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setReturnCountWeight": { + "line": 279, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setReturnCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeight": { + "line": 284, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setVariableCountWeight": { + "line": 289, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setVariableCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeight": { + "line": 294, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setPropertyCallCountWeight": { + "line": 299, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setPropertyCallCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeight": { + "line": 304, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfCountWeight": { + "line": 309, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeight": { + "line": 314, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfNestingLevelWeight": { + "line": 319, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfNestingLevelWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeight": { + "line": 324, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setElseCountWeight": { + "line": 329, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setElseCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setScore": { + "line": 334, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setScore" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getScore": { + "line": 339, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getScore" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setCoverage": { + "line": 344, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCoverage": { + "line": 349, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeightDelta": { + "line": 354, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeightDelta": { + "line": 359, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeightDelta": { + "line": 364, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeightDelta": { + "line": 369, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeightDelta": { + "line": 374, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeightDelta": { + "line": 379, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeightDelta": { + "line": 384, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeightDelta": { + "line": 389, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getTimesChanged": { + "line": 394, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 2, + "programLength": 3, + "programVocabulary": 3, + "volume": 4.754887502163468, + "difficulty": 0.5, + "effort": 2.377443751081734, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getTimesChanged" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getFileName": { + "line": 399, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getFileName" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLine": { + "line": 404, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLine" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::equals": { + "line": 409, + "lineCount": 5, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 2, + "N1": 5, + "N2": 5, + "programLength": 10, + "programVocabulary": 5, + "volume": 23.21928094887362, + "difficulty": 3.75, + "effort": 87.07230355827608, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::equals" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::toArray": { + "line": 418, + "lineCount": 34, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 29, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 30, + "N1": 0, + "N2": 58, + "programLength": 58, + "programVocabulary": 30, + "volume": 284.5996545452941, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::toArray" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::jsonSerialize": { + "line": 456, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::jsonSerialize" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getHalstead": { + "line": 464, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getHalstead" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCyclomatic": { + "line": 472, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCyclomatic" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::add": { + "line": 30, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 5, + "N2": 6, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 3, + "effort": 85.30376252379816, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::add" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filter": { + "line": 40, + "lineCount": 11, + "argCount": 1, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 8, + "volume": 42, + "difficulty": 3, + "effort": 126, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filter" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getIterator": { + "line": 57, + "lineCount": 5, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getIterator" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::count": { + "line": 66, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::count" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterWithScoreGreaterThan": { + "line": 71, + "lineCount": 6, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 3, + "N2": 6, + "programLength": 9, + "programVocabulary": 5, + "volume": 20.89735285398626, + "difficulty": 2, + "effort": 41.79470570797252, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterWithScoreGreaterThan" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::contains": { + "line": 78, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 4, + "N2": 5, + "programLength": 9, + "programVocabulary": 5, + "volume": 20.89735285398626, + "difficulty": 1.6666666666666667, + "effort": 34.82892142331043, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::contains" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getClassWithMethod": { + "line": 83, + "lineCount": 9, + "argCount": 2, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 3, + "N2": 10, + "programLength": 13, + "programVocabulary": 7, + "volume": 36.49561398674886, + "difficulty": 2, + "effort": 72.99122797349771, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getClassWithMethod" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterByClassName": { + "line": 93, + "lineCount": 6, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 3, + "N2": 6, + "programLength": 9, + "programVocabulary": 5, + "volume": 20.89735285398626, + "difficulty": 2, + "effort": 41.79470570797252, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterByClassName" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::assertMetricHasGetter": { + "line": 100, + "lineCount": 9, + "argCount": 3, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 6, + "programLength": 7, + "programVocabulary": 4, + "volume": 14, + "difficulty": 1, + "effort": 14, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::assertMetricHasGetter" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::groupBy": { + "line": 117, + "lineCount": 20, + "argCount": 1, + "returnCount": 1, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 10, + "N2": 23, + "programLength": 33, + "programVocabulary": 11, + "volume": 114.16124341503081, + "difficulty": 6.571428571428571, + "effort": 750.2024567273453, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::groupBy" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::jsonSerialize": { + "line": 141, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::jsonSerialize" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::__construct": { + "line": 32, + "lineCount": 8, + "argCount": 5, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 5, + "N1": 0, + "N2": 5, + "programLength": 5, + "programVocabulary": 5, + "volume": 11.60964047443681, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collect": { + "line": 49, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 5, + "programLength": 6, + "programVocabulary": 4, + "volume": 12, + "difficulty": 0.8333333333333334, + "effort": 10, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collect" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collectFromPaths": { + "line": 62, + "lineCount": 13, + "argCount": 2, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 8, + "N2": 16, + "programLength": 24, + "programVocabulary": 9, + "volume": 76.07820003461549, + "difficulty": 4, + "effort": 304.31280013846197, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collectFromPaths" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCodeFromFile": { + "line": 79, + "lineCount": 10, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 2, + "N1": 5, + "N2": 6, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 6, + "effort": 170.6075250475963, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCodeFromFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findMetrics": { + "line": 98, + "lineCount": 31, + "argCount": 1, + "returnCount": 1, + "variableCount": 9, + "propertyCallCount": 2, + "ifNestingLevel": 2, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 13, + "N1": 18, + "N2": 38, + "programLength": 56, + "programVocabulary": 16, + "volume": 224, + "difficulty": 4.384615384615384, + "effort": 982.1538461538461, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findMetrics" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processMethodMetrics": { + "line": 136, + "lineCount": 29, + "argCount": 3, + "returnCount": 1, + "variableCount": 7, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 14, + "N1": 8, + "N2": 27, + "programLength": 35, + "programVocabulary": 17, + "volume": 143.06119944376186, + "difficulty": 2.892857142857143, + "effort": 413.8556126765968, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processMethodMetrics" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::isExcluded": { + "line": 166, + "lineCount": 12, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 5, + "N1": 5, + "N2": 9, + "programLength": 14, + "programVocabulary": 9, + "volume": 44.37895002019237, + "difficulty": 3.6, + "effort": 159.76422007269252, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::isExcluded" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findSourceFiles": { + "line": 187, + "lineCount": 7, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 2, + "N2": 6, + "programLength": 8, + "programVocabulary": 6, + "volume": 20.67970000576925, + "difficulty": 1.5, + "effort": 31.019550008653873, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findSourceFiles" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getProjectRoot": { + "line": 202, + "lineCount": 13, + "argCount": 0, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 2, + "N1": 8, + "N2": 8, + "programLength": 16, + "programVocabulary": 6, + "volume": 41.3594000115385, + "difficulty": 8, + "effort": 330.875200092308, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getProjectRoot" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateCacheKey": { + "line": 219, + "lineCount": 7, + "argCount": 2, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 6, + "N1": 10, + "N2": 12, + "programLength": 22, + "programVocabulary": 10, + "volume": 73.08241808752197, + "difficulty": 4, + "effort": 292.3296723500879, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateCacheKey" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateConfigHash": { + "line": 230, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 1, + "N1": 3, + "N2": 2, + "programLength": 5, + "programVocabulary": 3, + "volume": 7.92481250360578, + "difficulty": 2, + "effort": 15.84962500721156, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateConfigHash" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::cacheResult": { + "line": 239, + "lineCount": 14, + "argCount": 4, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 13, + "N1": 5, + "N2": 20, + "programLength": 25, + "programVocabulary": 15, + "volume": 97.67226489021297, + "difficulty": 1.5384615384615385, + "effort": 150.26502290801997, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::cacheResult" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::clearCache": { + "line": 254, + "lineCount": 4, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::clearCache" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::normalizeFilename": { + "line": 264, + "lineCount": 15, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 6, + "n2": 7, + "N1": 12, + "N2": 16, + "programLength": 28, + "programVocabulary": 13, + "volume": 103.61231210795059, + "difficulty": 6.857142857142857, + "effort": 710.4844258830897, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::normalizeFilename" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCachedMetrics": { + "line": 286, + "lineCount": 19, + "argCount": 3, + "returnCount": 3, + "variableCount": 4, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 11, + "N1": 10, + "N2": 29, + "programLength": 39, + "programVocabulary": 14, + "volume": 148.48684196024655, + "difficulty": 3.954545454545454, + "effort": 587.1979659337022, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCachedMetrics" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processFile": { + "line": 312, + "lineCount": 37, + "argCount": 5, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 7, + "n2": 10, + "N1": 12, + "N2": 28, + "programLength": 40, + "programVocabulary": 17, + "volume": 163.49851365001356, + "difficulty": 9.799999999999999, + "effort": 1602.2854337701328, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::sort": { + "line": 51, + "lineCount": 41, + "argCount": 3, + "returnCount": 2, + "variableCount": 10, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 18, + "N1": 20, + "N2": 43, + "programLength": 63, + "programVocabulary": 22, + "volume": 280.9441919741497, + "difficulty": 4.777777777777778, + "effort": 1342.2889172098264, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::sort" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getFieldValue": { + "line": 100, + "lineCount": 28, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 25, + "N1": 24, + "N2": 50, + "programLength": 74, + "programVocabulary": 27, + "volume": 351.86167516009664, + "difficulty": 2, + "effort": 703.7233503201933, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getFieldValue" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::compareValues": { + "line": 136, + "lineCount": 13, + "argCount": 2, + "returnCount": 3, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 2, + "N1": 9, + "N2": 12, + "programLength": 21, + "programVocabulary": 5, + "volume": 48.760489992634604, + "difficulty": 9, + "effort": 438.8444099337114, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::compareValues" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getSortableFields": { + "line": 155, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 0, + "N1": 0, + "N2": 0, + "programLength": 0, + "programVocabulary": 0, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getSortableFields" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__construct": { + "line": 15, + "lineCount": 11, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 7, + "N2": 12, + "programLength": 19, + "programVocabulary": 6, + "volume": 49.11428751370197, + "difficulty": 6, + "effort": 294.6857250822118, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::getValue": { + "line": 27, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::getValue" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasIncreased": { + "line": 32, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasIncreased" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__toString": { + "line": 37, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__toString" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasNotChanged": { + "line": 42, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 2, + "programLength": 3, + "programVocabulary": 3, + "volume": 4.754887502163468, + "difficulty": 0.5, + "effort": 2.377443751081734, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasNotChanged" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\FileProcessed::__construct": { + "line": 14, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\FileProcessed::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\ParserFailed::__construct": { + "line": 15, + "lineCount": 5, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\ParserFailed::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\SourceFilesFound::__construct": { + "line": 17, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\SourceFilesFound::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::__construct": { + "line": 15, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::create": { + "line": 27, + "lineCount": 10, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 6, + "N1": 0, + "N2": 8, + "programLength": 8, + "programVocabulary": 6, + "volume": 20.67970000576925, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::create" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::getSupportedTypes": { + "line": 43, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 4, + "N1": 0, + "N2": 4, + "programLength": 4, + "programVocabulary": 4, + "volume": 8, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::getSupportedTypes" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::isSupported": { + "line": 54, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 2, + "N2": 3, + "programLength": 5, + "programVocabulary": 4, + "volume": 10, + "difficulty": 1.5, + "effort": 15, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::isSupported" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CsvExporter::export": { + "line": 46, + "lineCount": 57, + "argCount": 2, + "returnCount": 0, + "variableCount": 6, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 15, + "N1": 37, + "N2": 54, + "programLength": 91, + "programVocabulary": 19, + "volume": 386.56140372336625, + "difficulty": 7.2, + "effort": 2783.242106808237, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CsvExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::export": { + "line": 40, + "lineCount": 8, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 5, + "N1": 4, + "N2": 8, + "programLength": 12, + "programVocabulary": 9, + "volume": 38.039100017307746, + "difficulty": 3.2, + "effort": 121.72512005538479, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::escape": { + "line": 49, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::escape" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::formatNumber": { + "line": 54, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::formatNumber" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::generateMetricRow": { + "line": 59, + "lineCount": 12, + "argCount": 3, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 16, + "N1": 19, + "N2": 27, + "programLength": 46, + "programVocabulary": 21, + "volume": 202.04660144782298, + "difficulty": 4.21875, + "effort": 852.3840998580032, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::generateMetricRow" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::generateHtml": { + "line": 78, + "lineCount": 64, + "argCount": 1, + "returnCount": 1, + "variableCount": 7, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 11, + "N1": 46, + "N2": 57, + "programLength": 103, + "programVocabulary": 15, + "volume": 402.40973134767745, + "difficulty": 10.363636363636363, + "effort": 4170.42812487593, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::generateHtml" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\JsonExporter::export": { + "line": 19, + "lineCount": 38, + "argCount": 2, + "returnCount": 0, + "variableCount": 5, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 27, + "N1": 29, + "N2": 58, + "programLength": 87, + "programVocabulary": 32, + "volume": 435, + "difficulty": 5.370370370370371, + "effort": 2336.1111111111113, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\JsonExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::__construct": { + "line": 24, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::export": { + "line": 36, + "lineCount": 8, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 5, + "N1": 4, + "N2": 8, + "programLength": 12, + "programVocabulary": 9, + "volume": 38.039100017307746, + "difficulty": 3.2, + "effort": 121.72512005538479, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::escape": { + "line": 48, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::escape" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateMetricCell": { + "line": 56, + "lineCount": 12, + "argCount": 3, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 12, + "N1": 16, + "N2": 24, + "programLength": 40, + "programVocabulary": 17, + "volume": 163.49851365001356, + "difficulty": 5, + "effort": 817.4925682500678, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateMetricCell" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::filterMetrics": { + "line": 75, + "lineCount": 15, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 4, + "N1": 4, + "N2": 11, + "programLength": 15, + "programVocabulary": 7, + "volume": 42.11032383086406, + "difficulty": 4.125, + "effort": 173.70508580231424, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::filterMetrics" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableHeader": { + "line": 94, + "lineCount": 33, + "argCount": 0, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 4, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 19, + "N1": 10, + "N2": 28, + "programLength": 38, + "programVocabulary": 22, + "volume": 169.4584015082173, + "difficulty": 2.2105263157894735, + "effort": 374.5922559655329, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableHeader" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableHeaderWithClass": { + "line": 131, + "lineCount": 33, + "argCount": 0, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 4, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 20, + "N1": 10, + "N2": 29, + "programLength": 39, + "programVocabulary": 23, + "volume": 176.41891628622352, + "difficulty": 2.175, + "effort": 383.7111429225361, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableHeaderWithClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableSeparator": { + "line": 168, + "lineCount": 20, + "argCount": 0, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 4, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 7, + "N1": 3, + "N2": 16, + "programLength": 19, + "programVocabulary": 10, + "volume": 63.11663380285988, + "difficulty": 3.4285714285714284, + "effort": 216.399887324091, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableSeparator" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableSeparatorWithClass": { + "line": 192, + "lineCount": 20, + "argCount": 0, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 4, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 8, + "N1": 3, + "N2": 16, + "programLength": 19, + "programVocabulary": 11, + "volume": 65.72920075410865, + "difficulty": 3, + "effort": 197.18760226232592, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableSeparatorWithClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableRow": { + "line": 216, + "lineCount": 22, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 6, + "N1": 53, + "N2": 60, + "programLength": 113, + "programVocabulary": 10, + "volume": 375.37787472227194, + "difficulty": 20, + "effort": 7507.557494445438, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableRow" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableRowWithClass": { + "line": 242, + "lineCount": 25, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 6, + "N1": 55, + "N2": 62, + "programLength": 117, + "programVocabulary": 10, + "volume": 388.66558710182136, + "difficulty": 20.666666666666668, + "effort": 8032.422133437642, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableRowWithClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::addHalsteadCells": { + "line": 274, + "lineCount": 20, + "argCount": 2, + "returnCount": 3, + "variableCount": 2, + "propertyCallCount": 5, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 12, + "N2": 24, + "programLength": 36, + "programVocabulary": 8, + "volume": 108, + "difficulty": 7.199999999999999, + "effort": 777.5999999999999, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::addHalsteadCells" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::addCyclomaticCell": { + "line": 301, + "lineCount": 16, + "argCount": 2, + "returnCount": 3, + "variableCount": 2, + "propertyCallCount": 4, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 8, + "N2": 16, + "programLength": 24, + "programVocabulary": 11, + "volume": 83.02635884729514, + "difficulty": 4.571428571428571, + "effort": 379.5490690162063, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::addCyclomaticCell" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateMarkdown": { + "line": 325, + "lineCount": 8, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 2, + "N2": 6, + "programLength": 8, + "programVocabulary": 3, + "volume": 12.679700005769249, + "difficulty": 1.5, + "effort": 19.019550008653873, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateMarkdown" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateGroupedMarkdown": { + "line": 337, + "lineCount": 49, + "argCount": 1, + "returnCount": 1, + "variableCount": 10, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 8, + "n2": 23, + "N1": 33, + "N2": 65, + "programLength": 98, + "programVocabulary": 31, + "volume": 485.5112384179137, + "difficulty": 11.304347826086957, + "effort": 5488.387912550329, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateGroupedMarkdown" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateSingleTableMarkdown": { + "line": 390, + "lineCount": 28, + "argCount": 1, + "returnCount": 1, + "variableCount": 6, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 6, + "n2": 13, + "N1": 19, + "N2": 37, + "programLength": 56, + "programVocabulary": 19, + "volume": 237.88394075284077, + "difficulty": 8.538461538461538, + "effort": 2031.1628787357943, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateSingleTableMarkdown" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::__construct": { + "line": 32, + "lineCount": 26, + "argCount": 2, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 7, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 14, + "N2": 22, + "programLength": 36, + "programVocabulary": 5, + "volume": 83.58941141594504, + "difficulty": 7.333333333333333, + "effort": 612.9890170502636, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::parse": { + "line": 63, + "lineCount": 37, + "argCount": 1, + "returnCount": 1, + "variableCount": 9, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 14, + "N1": 16, + "N2": 43, + "programLength": 59, + "programVocabulary": 17, + "volume": 241.16030763377, + "difficulty": 4.607142857142858, + "effort": 1111.0599887412977, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::parse" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::scanForAnnotations": { + "line": 104, + "lineCount": 20, + "argCount": 1, + "returnCount": 0, + "variableCount": 4, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 7, + "N1": 8, + "N2": 16, + "programLength": 24, + "programVocabulary": 10, + "volume": 79.7262742772967, + "difficulty": 3.4285714285714284, + "effort": 273.34722609358863, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::scanForAnnotations" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::traverseAbstractSyntaxTreeWithCombinedVisitor": { + "line": 129, + "lineCount": 17, + "argCount": 1, + "returnCount": 0, + "variableCount": 4, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 7, + "N1": 7, + "N2": 15, + "programLength": 22, + "programVocabulary": 10, + "volume": 73.08241808752197, + "difficulty": 3.2142857142857144, + "effort": 234.90777242417778, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::traverseAbstractSyntaxTreeWithCombinedVisitor" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getIgnored": { + "line": 153, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getIgnored" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getIgnoredClasses": { + "line": 163, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getIgnoredClasses" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getIgnoredMethods": { + "line": 173, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getIgnoredMethods" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::clearStaticCaches": { + "line": 181, + "lineCount": 15, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 9, + "N1": 7, + "N2": 19, + "programLength": 26, + "programVocabulary": 10, + "volume": 86.37013046707142, + "difficulty": 1.0555555555555556, + "effort": 91.16847104857538, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::clearStaticCaches" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::clearStaticProperty": { + "line": 200, + "lineCount": 14, + "argCount": 2, + "returnCount": 0, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 6, + "N2": 12, + "programLength": 18, + "programVocabulary": 7, + "volume": 50.53238859703688, + "difficulty": 2.4, + "effort": 121.2777326328885, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::clearStaticProperty" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getRiskLevel": { + "line": 218, + "lineCount": 9, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 8, + "N1": 3, + "N2": 11, + "programLength": 14, + "programVocabulary": 9, + "volume": 44.37895002019237, + "difficulty": 0.6875, + "effort": 30.510528138882254, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getRiskLevel" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculate": { + "line": 47, + "lineCount": 5, + "argCount": 2, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 2, + "N2": 8, + "programLength": 10, + "programVocabulary": 4, + "volume": 20, + "difficulty": 1.3333333333333333, + "effort": 26.666666666666664, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculateScore": { + "line": 53, + "lineCount": 10, + "argCount": 1, + "returnCount": 0, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 2, + "risk_level": "low" + }, + "halstead": { + "n1": 4, + "n2": 9, + "N1": 7, + "N2": 15, + "programLength": 22, + "programVocabulary": 13, + "volume": 81.40967379910403, + "difficulty": 3.3333333333333335, + "effort": 271.36557933034675, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculateScore" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculateMetricWeights": { + "line": 70, + "lineCount": 17, + "argCount": 3, + "returnCount": 0, + "variableCount": 6, + "propertyCallCount": 3, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 2, + "risk_level": "low" + }, + "halstead": { + "n1": 3, + "n2": 12, + "N1": 9, + "N2": 24, + "programLength": 33, + "programVocabulary": 15, + "volume": 128.92738965508113, + "difficulty": 3, + "effort": 386.7821689652434, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculateMetricWeights" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculateLogWeight": { + "line": 132, + "lineCount": 8, + "argCount": 3, + "returnCount": 2, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "cyclomatic_complexity": { + "complexity": 2, + "risk_level": "low" + }, + "halstead": { + "n1": 5, + "n2": 5, + "N1": 5, + "N2": 11, + "programLength": 16, + "programVocabulary": 10, + "volume": 53.150849518197795, + "difficulty": 5.5, + "effort": 292.3296723500879, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculateLogWeight" + } + } + }, + "ignored_items": [], + "cached_at": 1759967601 +} \ No newline at end of file diff --git a/.phpcca.cache/94/9461dfa3641f2f91486512ddb2e4f86b.cache b/.phpcca.cache/94/9461dfa3641f2f91486512ddb2e4f86b.cache new file mode 100644 index 0000000..4a906ce --- /dev/null +++ b/.phpcca.cache/94/9461dfa3641f2f91486512ddb2e4f86b.cache @@ -0,0 +1,4101 @@ +{ + "version": "1.0", + "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/Business\/Cognitive\/Delta.php", + "file_mtime": 1752612112, + "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", + "analysis_result": { + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct": { + "line": 60, + "lineCount": 5, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 1, + "N1": 2, + "N2": 2, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 2, + "effort": 12.679700005769249, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices": { + "line": 66, + "lineCount": 95, + "argCount": 0, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 5, + "N1": 58, + "N2": 32, + "programLength": 90, + "programVocabulary": 9, + "volume": 285.2932501298081, + "difficulty": 12.8, + "effort": 3651.7536016615436, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap": { + "line": 162, + "lineCount": 10, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 7, + "N2": 7, + "programLength": 14, + "programVocabulary": 2, + "volume": 14, + "difficulty": 3.5, + "effort": 49, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors": { + "line": 173, + "lineCount": 12, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 3, + "N2": 1, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0.5, + "effort": 2, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus": { + "line": 186, + "lineCount": 19, + "argCount": 0, + "returnCount": 0, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 9, + "N2": 13, + "programLength": 22, + "programVocabulary": 7, + "volume": 61.76180828526729, + "difficulty": 2.6, + "effort": 160.58070154169496, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService": { + "line": 206, + "lineCount": 9, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 3, + "N2": 1, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0.5, + "effort": 2, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade": { + "line": 216, + "lineCount": 13, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 3, + "N2": 1, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0.5, + "effort": 2, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands": { + "line": 230, + "lineCount": 21, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 6, + "N2": 2, + "programLength": 8, + "programVocabulary": 2, + "volume": 8, + "difficulty": 1, + "effort": 8, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication": { + "line": 252, + "lineCount": 11, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 5, + "N2": 4, + "programLength": 9, + "programVocabulary": 4, + "volume": 18, + "difficulty": 0.6666666666666666, + "effort": 12, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run": { + "line": 264, + "lineCount": 9, + "argCount": 0, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 5, + "N2": 5, + "programLength": 10, + "programVocabulary": 4, + "volume": 20, + "difficulty": 2.5, + "effort": 50, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get": { + "line": 274, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer": { + "line": 279, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator": { + "line": 289, + "lineCount": 16, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 7, + "programLength": 8, + "programVocabulary": 4, + "volume": 16, + "difficulty": 1.1666666666666667, + "effort": 18.666666666666668, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create": { + "line": 18, + "lineCount": 7, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 4, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile": { + "line": 17, + "lineCount": 17, + "argCount": 2, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 8, + "N1": 11, + "N2": 19, + "programLength": 30, + "programVocabulary": 11, + "volume": 103.78294855911892, + "difficulty": 3.5625, + "effort": 369.72675424186116, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode": { + "line": 42, + "lineCount": 8, + "argCount": 3, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 3, + "N2": 8, + "programLength": 11, + "programVocabulary": 8, + "volume": 33, + "difficulty": 2.4000000000000004, + "effort": 79.20000000000002, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate": { + "line": 22, + "lineCount": 10, + "argCount": 2, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 6, + "N2": 13, + "programLength": 19, + "programVocabulary": 6, + "volume": 49.11428751370197, + "difficulty": 3.25, + "effort": 159.6214344195314, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending": { + "line": 37, + "lineCount": 8, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 2, + "N2": 9, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 2.25, + "effort": 63.97782189284862, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn": { + "line": 51, + "lineCount": 24, + "argCount": 2, + "returnCount": 1, + "variableCount": 6, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 15, + "N1": 17, + "N2": 46, + "programLength": 63, + "programVocabulary": 20, + "volume": 272.28146997790384, + "difficulty": 7.666666666666667, + "effort": 2087.491269830596, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses": { + "line": 81, + "lineCount": 20, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 2, + "n2": 7, + "N1": 10, + "N2": 24, + "programLength": 34, + "programVocabulary": 9, + "volume": 107.7774500490386, + "difficulty": 3.4285714285714284, + "effort": 369.52268588241805, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass": { + "line": 109, + "lineCount": 9, + "argCount": 2, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 6, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 10, + "volume": 49.82892142331043, + "difficulty": 3.3333333333333335, + "effort": 166.09640474436813, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel": { + "line": 126, + "lineCount": 16, + "argCount": 2, + "returnCount": 4, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 12, + "N1": 9, + "N2": 18, + "programLength": 27, + "programVocabulary": 15, + "volume": 105.48604608143, + "difficulty": 2.25, + "effort": 237.3436036832175, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile": { + "line": 14, + "lineCount": 6, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 2, + "N2": 5, + "programLength": 7, + "programVocabulary": 4, + "volume": 14, + "difficulty": 2.5, + "effort": 35, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable": { + "line": 24, + "lineCount": 11, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 10, + "N2": 12, + "programLength": 22, + "programVocabulary": 8, + "volume": 66, + "difficulty": 6, + "effort": 396, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create": { + "line": 21, + "lineCount": 11, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 7, + "N1": 0, + "N2": 9, + "programLength": 9, + "programVocabulary": 7, + "volume": 25.26619429851844, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes": { + "line": 38, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 6, + "N1": 0, + "N2": 6, + "programLength": 6, + "programVocabulary": 6, + "volume": 15.509775004326936, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported": { + "line": 49, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 2, + "N2": 3, + "programLength": 5, + "programVocabulary": 4, + "volume": 10, + "difficulty": 1.5, + "effort": 15, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export": { + "line": 30, + "lineCount": 23, + "argCount": 2, + "returnCount": 0, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 16, + "N1": 10, + "N2": 33, + "programLength": 43, + "programVocabulary": 20, + "volume": 185.8429080801566, + "difficulty": 4.125, + "effort": 766.601995830646, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export": { + "line": 28, + "lineCount": 8, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 6, + "volume": 36.18947501009619, + "difficulty": 2.5, + "effort": 90.47368752524048, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape": { + "line": 37, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber": { + "line": 42, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml": { + "line": 52, + "lineCount": 50, + "argCount": 1, + "returnCount": 1, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 12, + "N1": 11, + "N2": 25, + "programLength": 36, + "programVocabulary": 17, + "volume": 147.14866228501222, + "difficulty": 5.208333333333334, + "effort": 766.3992827344388, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export": { + "line": 17, + "lineCount": 13, + "argCount": 2, + "returnCount": 0, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 8, + "N1": 7, + "N2": 14, + "programLength": 21, + "programVocabulary": 12, + "volume": 75.28421251514428, + "difficulty": 3.5, + "effort": 263.49474380300495, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export": { + "line": 48, + "lineCount": 8, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 6, + "volume": 36.18947501009619, + "difficulty": 2.5, + "effort": 90.47368752524048, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown": { + "line": 61, + "lineCount": 24, + "argCount": 1, + "returnCount": 1, + "variableCount": 6, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 6, + "n2": 16, + "N1": 19, + "N2": 41, + "programLength": 60, + "programVocabulary": 22, + "volume": 267.56589711823784, + "difficulty": 7.6875, + "effort": 2056.9128340964535, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow": { + "line": 94, + "lineCount": 21, + "argCount": 3, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 7, + "n2": 18, + "N1": 16, + "N2": 39, + "programLength": 55, + "programVocabulary": 25, + "volume": 255.41209043760983, + "difficulty": 7.583333333333333, + "effort": 1936.8750191518745, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::__construct": { + "line": 26, + "lineCount": 4, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::export": { + "line": 36, + "lineCount": 10, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 8, + "volume": 45, + "difficulty": 5, + "effort": 225, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::generateSvgTreemap": { + "line": 53, + "lineCount": 20, + "argCount": 1, + "returnCount": 1, + "variableCount": 6, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 8, + "N1": 9, + "N2": 20, + "programLength": 29, + "programVocabulary": 10, + "volume": 96.3359147517335, + "difficulty": 2.5, + "effort": 240.83978687933376, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::generateSvgTreemap" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRects": { + "line": 82, + "lineCount": 10, + "argCount": 3, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 9, + "N1": 6, + "N2": 18, + "programLength": 24, + "programVocabulary": 12, + "volume": 86.03910001730775, + "difficulty": 3, + "effort": 258.1173000519232, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRects" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRect": { + "line": 100, + "lineCount": 29, + "argCount": 2, + "returnCount": 1, + "variableCount": 12, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 6, + "n2": 28, + "N1": 26, + "N2": 54, + "programLength": 80, + "programVocabulary": 34, + "volume": 406.9970273000271, + "difficulty": 5.785714285714286, + "effort": 2354.7685150930142, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRect" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::wrapSvg": { + "line": 136, + "lineCount": 21, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 2, + "N2": 8, + "programLength": 10, + "programVocabulary": 4, + "volume": 20, + "difficulty": 1.3333333333333333, + "effort": 26.666666666666664, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::wrapSvg" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::prepareItems": { + "line": 28, + "lineCount": 18, + "argCount": 1, + "returnCount": 1, + "variableCount": 7, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 12, + "N1": 9, + "N2": 30, + "programLength": 39, + "programVocabulary": 17, + "volume": 159.41105080876324, + "difficulty": 6.25, + "effort": 996.3190675547702, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::prepareItems" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findScoreRange": { + "line": 53, + "lineCount": 16, + "argCount": 1, + "returnCount": 3, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 7, + "N2": 13, + "programLength": 20, + "programVocabulary": 8, + "volume": 60, + "difficulty": 3.9000000000000004, + "effort": 234.00000000000003, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findScoreRange" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::normalizeScore": { + "line": 78, + "lineCount": 8, + "argCount": 3, + "returnCount": 2, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 8, + "volume": 45, + "difficulty": 5, + "effort": 225, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::normalizeScore" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::scoreToColor": { + "line": 93, + "lineCount": 9, + "argCount": 1, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 5, + "n2": 9, + "N1": 12, + "N2": 16, + "programLength": 28, + "programVocabulary": 14, + "volume": 106.60593781761291, + "difficulty": 4.444444444444445, + "effort": 473.80416807827964, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::scoreToColor" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::calculateTreemapLayout": { + "line": 115, + "lineCount": 23, + "argCount": 7, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 9, + "N1": 2, + "N2": 18, + "programLength": 20, + "programVocabulary": 11, + "volume": 69.18863237274594, + "difficulty": 2, + "effort": 138.37726474549189, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::calculateTreemapLayout" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::layoutTreemap": { + "line": 152, + "lineCount": 89, + "argCount": 8, + "returnCount": 3, + "variableCount": 11, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 8, + "n2": 28, + "N1": 32, + "N2": 98, + "programLength": 130, + "programVocabulary": 36, + "volume": 672.0902501875006, + "difficulty": 14, + "effort": 9409.263502625008, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::layoutTreemap" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findSplitIndex": { + "line": 249, + "lineCount": 13, + "argCount": 2, + "returnCount": 2, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 7, + "n2": 10, + "N1": 9, + "N2": 23, + "programLength": 32, + "programVocabulary": 17, + "volume": 130.79881092001085, + "difficulty": 8.049999999999999, + "effort": 1052.9304279060873, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findSplitIndex" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::__construct": { + "line": 23, + "lineCount": 18, + "argCount": 1, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 7, + "N2": 11, + "programLength": 18, + "programVocabulary": 6, + "volume": 46.529325012980806, + "difficulty": 5.5, + "effort": 255.91128757139444, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::getAllClasses": { + "line": 47, + "lineCount": 17, + "argCount": 0, + "returnCount": 2, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 6, + "N2": 12, + "programLength": 18, + "programVocabulary": 9, + "volume": 57.05865002596162, + "difficulty": 3, + "effort": 171.17595007788486, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::getAllClasses" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::withClassNode": { + "line": 73, + "lineCount": 8, + "argCount": 2, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 4, + "N2": 8, + "programLength": 12, + "programVocabulary": 8, + "volume": 36, + "difficulty": 4, + "effort": 144, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::withClassNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::findClassNode": { + "line": 85, + "lineCount": 25, + "argCount": 1, + "returnCount": 4, + "variableCount": 5, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 13, + "N2": 29, + "programLength": 42, + "programVocabulary": 11, + "volume": 145.29612798276648, + "difficulty": 8.285714285714286, + "effort": 1203.8822032857795, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::findClassNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::escapeXPathValue": { + "line": 114, + "lineCount": 16, + "argCount": 1, + "returnCount": 3, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 9, + "N1": 11, + "N2": 18, + "programLength": 29, + "programVocabulary": 13, + "volume": 107.31275182609167, + "difficulty": 4, + "effort": 429.2510073043667, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::escapeXPathValue" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getLineCoverage": { + "line": 22, + "lineCount": 18, + "argCount": 1, + "returnCount": 4, + "variableCount": 5, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 9, + "N1": 10, + "N2": 19, + "programLength": 29, + "programVocabulary": 13, + "volume": 107.31275182609167, + "difficulty": 4.222222222222222, + "effort": 453.09828548794263, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getLineCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getBranchCoverage": { + "line": 48, + "lineCount": 18, + "argCount": 1, + "returnCount": 4, + "variableCount": 5, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 9, + "N1": 10, + "N2": 19, + "programLength": 29, + "programVocabulary": 13, + "volume": 107.31275182609167, + "difficulty": 4.222222222222222, + "effort": 453.09828548794263, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getBranchCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getComplexity": { + "line": 73, + "lineCount": 13, + "argCount": 1, + "returnCount": 3, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 7, + "N2": 14, + "programLength": 21, + "programVocabulary": 11, + "volume": 72.64806399138324, + "difficulty": 4, + "effort": 290.59225596553296, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getComplexity" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getCoverageDetails": { + "line": 93, + "lineCount": 26, + "argCount": 1, + "returnCount": 3, + "variableCount": 9, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 17, + "N1": 22, + "N2": 42, + "programLength": 64, + "programVocabulary": 22, + "volume": 285.403623592787, + "difficulty": 6.176470588235294, + "effort": 1762.7870868966259, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getCoverageDetails" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getMetricsNode": { + "line": 123, + "lineCount": 12, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 6, + "N1": 7, + "N2": 13, + "programLength": 20, + "programVocabulary": 10, + "volume": 66.43856189774725, + "difficulty": 4.333333333333333, + "effort": 287.90043489023805, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getMetricsNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getFilenameForClass": { + "line": 139, + "lineCount": 9, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 5, + "N1": 4, + "N2": 9, + "programLength": 13, + "programVocabulary": 9, + "volume": 41.209025018750054, + "difficulty": 3.6, + "effort": 148.3524900675002, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getFilenameForClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodsCoverage": { + "line": 154, + "lineCount": 36, + "argCount": 1, + "returnCount": 3, + "variableCount": 8, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 13, + "N1": 12, + "N2": 30, + "programLength": 42, + "programVocabulary": 16, + "volume": 168, + "difficulty": 3.4615384615384612, + "effort": 581.5384615384614, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodsCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::calculateMethodCoverage": { + "line": 194, + "lineCount": 15, + "argCount": 2, + "returnCount": 2, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 11, + "N1": 9, + "N2": 23, + "programLength": 32, + "programVocabulary": 16, + "volume": 128, + "difficulty": 5.227272727272727, + "effort": 669.090909090909, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::calculateMethodCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodCoverageFromLines": { + "line": 215, + "lineCount": 36, + "argCount": 2, + "returnCount": 1, + "variableCount": 7, + "propertyCallCount": 0, + "ifNestingLevel": 2, + "elseCount": 0, + "ifCount": 5, + "halstead": { + "n1": 2, + "n2": 14, + "N1": 12, + "N2": 35, + "programLength": 47, + "programVocabulary": 16, + "volume": 188, + "difficulty": 2.5, + "effort": 470, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodCoverageFromLines" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStart": { + "line": 252, + "lineCount": 4, + "argCount": 3, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 3, + "N2": 7, + "programLength": 10, + "programVocabulary": 6, + "volume": 25.84962500721156, + "difficulty": 1.75, + "effort": 45.23684376262023, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStart" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodEnd": { + "line": 257, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 5, + "programLength": 7, + "programVocabulary": 5, + "volume": 16.253496664211536, + "difficulty": 1.6666666666666667, + "effort": 27.089161107019226, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodEnd" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStatement": { + "line": 262, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 5, + "programLength": 7, + "programVocabulary": 5, + "volume": 16.253496664211536, + "difficulty": 1.6666666666666667, + "effort": 27.089161107019226, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStatement" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isStatementCovered": { + "line": 267, + "lineCount": 5, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 4, + "N1": 3, + "N2": 6, + "programLength": 9, + "programVocabulary": 7, + "volume": 25.26619429851844, + "difficulty": 2.25, + "effort": 56.848937171666485, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isStatementCovered" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getLineCoverage": { + "line": 20, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 9, + "volume": 44.37895002019237, + "difficulty": 2.5, + "effort": 110.94737505048093, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getLineCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getBranchCoverage": { + "line": 34, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 9, + "volume": 44.37895002019237, + "difficulty": 2.5, + "effort": 110.94737505048093, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getBranchCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getComplexity": { + "line": 48, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 9, + "volume": 44.37895002019237, + "difficulty": 2.5, + "effort": 110.94737505048093, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getComplexity" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getCoverageDetails": { + "line": 62, + "lineCount": 13, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 8, + "N1": 7, + "N2": 16, + "programLength": 23, + "programVocabulary": 9, + "volume": 72.90827503317318, + "difficulty": 1, + "effort": 72.90827503317318, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getCoverageDetails" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::extractMethodsCoverage": { + "line": 81, + "lineCount": 23, + "argCount": 1, + "returnCount": 2, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 11, + "N1": 10, + "N2": 23, + "programLength": 33, + "programVocabulary": 14, + "volume": 125.64271242790093, + "difficulty": 3.1363636363636362, + "effort": 394.061234432962, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::extractMethodsCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CodeCoverageFactory::createFromName": { + "line": 14, + "lineCount": 8, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 4, + "N1": 1, + "N2": 8, + "programLength": 9, + "programVocabulary": 5, + "volume": 20.89735285398626, + "difficulty": 1, + "effort": 20.89735285398626, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CodeCoverageFactory::createFromName" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::__construct": { + "line": 28, + "lineCount": 15, + "argCount": 6, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 6, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 7, + "N1": 6, + "N2": 18, + "programLength": 24, + "programVocabulary": 8, + "volume": 72, + "difficulty": 1.2857142857142858, + "effort": 92.57142857142858, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getName": { + "line": 44, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getName" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getFilename": { + "line": 49, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getFilename" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getLineRate": { + "line": 54, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getLineRate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getBranchRate": { + "line": 59, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getBranchRate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getComplexity": { + "line": 64, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getComplexity" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getMethods": { + "line": 72, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getMethods" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::__construct": { + "line": 17, + "lineCount": 11, + "argCount": 4, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 4, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 5, + "N1": 4, + "N2": 12, + "programLength": 16, + "programVocabulary": 6, + "volume": 41.3594000115385, + "difficulty": 1.2, + "effort": 49.631280013846194, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getName": { + "line": 29, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getName" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getLineRate": { + "line": 34, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getLineRate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getBranchRate": { + "line": 39, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getBranchRate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getComplexity": { + "line": 44, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getComplexity" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::calculateDeltas": { + "line": 19, + "lineCount": 14, + "argCount": 2, + "returnCount": 0, + "variableCount": 6, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 9, + "N1": 4, + "N2": 18, + "programLength": 22, + "programVocabulary": 11, + "volume": 76.10749561002054, + "difficulty": 2, + "effort": 152.21499122004107, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::calculateDeltas" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::loadBaseline": { + "line": 41, + "lineCount": 13, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 5, + "N2": 9, + "programLength": 14, + "programVocabulary": 8, + "volume": 42, + "difficulty": 2.7, + "effort": 113.4, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::loadBaseline" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::__construct": { + "line": 72, + "lineCount": 21, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 6, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 9, + "N1": 12, + "N2": 34, + "programLength": 46, + "programVocabulary": 12, + "volume": 164.90827503317317, + "difficulty": 5.666666666666666, + "effort": 934.4802251879812, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setRequiredMetricProperties": { + "line": 98, + "lineCount": 30, + "argCount": 1, + "returnCount": 0, + "variableCount": 6, + "propertyCallCount": 9, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 21, + "N1": 21, + "N2": 51, + "programLength": 72, + "programVocabulary": 24, + "volume": 330.1173000519232, + "difficulty": 3.6428571428571423, + "effort": 1202.570164474863, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setRequiredMetricProperties" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setOptionalMetricProperties": { + "line": 133, + "lineCount": 12, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 8, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 11, + "N1": 16, + "N2": 33, + "programLength": 49, + "programVocabulary": 13, + "volume": 181.32154618891352, + "difficulty": 3, + "effort": 543.9646385667405, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setOptionalMetricProperties" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setTimesChanged": { + "line": 146, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setTimesChanged" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertSame": { + "line": 151, + "lineCount": 14, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 6, + "N2": 8, + "programLength": 14, + "programVocabulary": 5, + "volume": 32.50699332842307, + "difficulty": 2.6666666666666665, + "effort": 86.68531554246152, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertSame" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::calculateDeltas": { + "line": 169, + "lineCount": 13, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 16, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 17, + "N2": 27, + "programLength": 44, + "programVocabulary": 4, + "volume": 88, + "difficulty": 13.5, + "effort": 1188, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::calculateDeltas" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::fromArray": { + "line": 187, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::fromArray" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertArrayKeyIsPresent": { + "line": 197, + "lineCount": 6, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 5, + "programLength": 5, + "programVocabulary": 2, + "volume": 5, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertArrayKeyIsPresent" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getClass": { + "line": 204, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getMethod": { + "line": 209, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getMethod" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCount": { + "line": 214, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCount": { + "line": 219, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCount": { + "line": 224, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCount": { + "line": 229, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCount": { + "line": 234, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCount": { + "line": 239, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevel": { + "line": 244, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevel" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCount": { + "line": 249, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeight": { + "line": 254, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setLineCountWeight": { + "line": 259, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setLineCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeight": { + "line": 264, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setArgCountWeight": { + "line": 269, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setArgCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeight": { + "line": 274, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setReturnCountWeight": { + "line": 279, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setReturnCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeight": { + "line": 284, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setVariableCountWeight": { + "line": 289, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setVariableCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeight": { + "line": 294, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setPropertyCallCountWeight": { + "line": 299, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setPropertyCallCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeight": { + "line": 304, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfCountWeight": { + "line": 309, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeight": { + "line": 314, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfNestingLevelWeight": { + "line": 319, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfNestingLevelWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeight": { + "line": 324, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setElseCountWeight": { + "line": 329, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setElseCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setScore": { + "line": 334, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setScore" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getScore": { + "line": 339, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getScore" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setCoverage": { + "line": 344, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCoverage": { + "line": 349, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeightDelta": { + "line": 354, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeightDelta": { + "line": 359, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeightDelta": { + "line": 364, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeightDelta": { + "line": 369, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeightDelta": { + "line": 374, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeightDelta": { + "line": 379, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeightDelta": { + "line": 384, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeightDelta": { + "line": 389, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getTimesChanged": { + "line": 394, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 2, + "programLength": 3, + "programVocabulary": 3, + "volume": 4.754887502163468, + "difficulty": 0.5, + "effort": 2.377443751081734, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getTimesChanged" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getFileName": { + "line": 399, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getFileName" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLine": { + "line": 404, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLine" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::equals": { + "line": 409, + "lineCount": 5, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 2, + "N1": 5, + "N2": 5, + "programLength": 10, + "programVocabulary": 5, + "volume": 23.21928094887362, + "difficulty": 3.75, + "effort": 87.07230355827608, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::equals" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::toArray": { + "line": 418, + "lineCount": 34, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 29, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 30, + "N1": 0, + "N2": 58, + "programLength": 58, + "programVocabulary": 30, + "volume": 284.5996545452941, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::toArray" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::jsonSerialize": { + "line": 456, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::jsonSerialize" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getHalstead": { + "line": 464, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getHalstead" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCyclomatic": { + "line": 472, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCyclomatic" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::add": { + "line": 30, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 5, + "N2": 6, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 3, + "effort": 85.30376252379816, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::add" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filter": { + "line": 40, + "lineCount": 11, + "argCount": 1, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 8, + "volume": 42, + "difficulty": 3, + "effort": 126, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filter" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getIterator": { + "line": 57, + "lineCount": 5, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getIterator" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::count": { + "line": 66, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::count" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterWithScoreGreaterThan": { + "line": 71, + "lineCount": 6, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 3, + "N2": 6, + "programLength": 9, + "programVocabulary": 5, + "volume": 20.89735285398626, + "difficulty": 2, + "effort": 41.79470570797252, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterWithScoreGreaterThan" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::contains": { + "line": 78, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 4, + "N2": 5, + "programLength": 9, + "programVocabulary": 5, + "volume": 20.89735285398626, + "difficulty": 1.6666666666666667, + "effort": 34.82892142331043, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::contains" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getClassWithMethod": { + "line": 83, + "lineCount": 9, + "argCount": 2, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 3, + "N2": 10, + "programLength": 13, + "programVocabulary": 7, + "volume": 36.49561398674886, + "difficulty": 2, + "effort": 72.99122797349771, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getClassWithMethod" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterByClassName": { + "line": 93, + "lineCount": 6, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 3, + "N2": 6, + "programLength": 9, + "programVocabulary": 5, + "volume": 20.89735285398626, + "difficulty": 2, + "effort": 41.79470570797252, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterByClassName" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::assertMetricHasGetter": { + "line": 100, + "lineCount": 9, + "argCount": 3, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 6, + "programLength": 7, + "programVocabulary": 4, + "volume": 14, + "difficulty": 1, + "effort": 14, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::assertMetricHasGetter" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::groupBy": { + "line": 117, + "lineCount": 20, + "argCount": 1, + "returnCount": 1, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 10, + "N2": 23, + "programLength": 33, + "programVocabulary": 11, + "volume": 114.16124341503081, + "difficulty": 6.571428571428571, + "effort": 750.2024567273453, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::groupBy" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::jsonSerialize": { + "line": 141, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::jsonSerialize" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::__construct": { + "line": 32, + "lineCount": 8, + "argCount": 5, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 5, + "N1": 0, + "N2": 5, + "programLength": 5, + "programVocabulary": 5, + "volume": 11.60964047443681, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collect": { + "line": 49, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 5, + "programLength": 6, + "programVocabulary": 4, + "volume": 12, + "difficulty": 0.8333333333333334, + "effort": 10, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collect" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collectFromPaths": { + "line": 62, + "lineCount": 13, + "argCount": 2, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 8, + "N2": 16, + "programLength": 24, + "programVocabulary": 9, + "volume": 76.07820003461549, + "difficulty": 4, + "effort": 304.31280013846197, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collectFromPaths" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCodeFromFile": { + "line": 79, + "lineCount": 10, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 2, + "N1": 5, + "N2": 6, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 6, + "effort": 170.6075250475963, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCodeFromFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findMetrics": { + "line": 98, + "lineCount": 31, + "argCount": 1, + "returnCount": 1, + "variableCount": 9, + "propertyCallCount": 2, + "ifNestingLevel": 2, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 13, + "N1": 18, + "N2": 38, + "programLength": 56, + "programVocabulary": 16, + "volume": 224, + "difficulty": 4.384615384615384, + "effort": 982.1538461538461, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findMetrics" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processMethodMetrics": { + "line": 136, + "lineCount": 29, + "argCount": 3, + "returnCount": 1, + "variableCount": 7, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 14, + "N1": 8, + "N2": 27, + "programLength": 35, + "programVocabulary": 17, + "volume": 143.06119944376186, + "difficulty": 2.892857142857143, + "effort": 413.8556126765968, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processMethodMetrics" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::isExcluded": { + "line": 166, + "lineCount": 12, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 5, + "N1": 5, + "N2": 9, + "programLength": 14, + "programVocabulary": 9, + "volume": 44.37895002019237, + "difficulty": 3.6, + "effort": 159.76422007269252, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::isExcluded" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findSourceFiles": { + "line": 187, + "lineCount": 7, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 2, + "N2": 6, + "programLength": 8, + "programVocabulary": 6, + "volume": 20.67970000576925, + "difficulty": 1.5, + "effort": 31.019550008653873, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findSourceFiles" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getProjectRoot": { + "line": 202, + "lineCount": 13, + "argCount": 0, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 2, + "N1": 8, + "N2": 8, + "programLength": 16, + "programVocabulary": 6, + "volume": 41.3594000115385, + "difficulty": 8, + "effort": 330.875200092308, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getProjectRoot" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateCacheKey": { + "line": 219, + "lineCount": 7, + "argCount": 2, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 6, + "N1": 10, + "N2": 12, + "programLength": 22, + "programVocabulary": 10, + "volume": 73.08241808752197, + "difficulty": 4, + "effort": 292.3296723500879, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateCacheKey" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateConfigHash": { + "line": 230, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 1, + "N1": 3, + "N2": 2, + "programLength": 5, + "programVocabulary": 3, + "volume": 7.92481250360578, + "difficulty": 2, + "effort": 15.84962500721156, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateConfigHash" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::cacheResult": { + "line": 239, + "lineCount": 14, + "argCount": 4, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 13, + "N1": 5, + "N2": 20, + "programLength": 25, + "programVocabulary": 15, + "volume": 97.67226489021297, + "difficulty": 1.5384615384615385, + "effort": 150.26502290801997, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::cacheResult" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::clearCache": { + "line": 254, + "lineCount": 4, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::clearCache" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::normalizeFilename": { + "line": 264, + "lineCount": 15, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 6, + "n2": 7, + "N1": 12, + "N2": 16, + "programLength": 28, + "programVocabulary": 13, + "volume": 103.61231210795059, + "difficulty": 6.857142857142857, + "effort": 710.4844258830897, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::normalizeFilename" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCachedMetrics": { + "line": 286, + "lineCount": 19, + "argCount": 3, + "returnCount": 3, + "variableCount": 4, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 11, + "N1": 10, + "N2": 29, + "programLength": 39, + "programVocabulary": 14, + "volume": 148.48684196024655, + "difficulty": 3.954545454545454, + "effort": 587.1979659337022, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCachedMetrics" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processFile": { + "line": 312, + "lineCount": 37, + "argCount": 5, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 7, + "n2": 10, + "N1": 12, + "N2": 28, + "programLength": 40, + "programVocabulary": 17, + "volume": 163.49851365001356, + "difficulty": 9.799999999999999, + "effort": 1602.2854337701328, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::sort": { + "line": 51, + "lineCount": 41, + "argCount": 3, + "returnCount": 2, + "variableCount": 10, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 18, + "N1": 20, + "N2": 43, + "programLength": 63, + "programVocabulary": 22, + "volume": 280.9441919741497, + "difficulty": 4.777777777777778, + "effort": 1342.2889172098264, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::sort" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getFieldValue": { + "line": 100, + "lineCount": 28, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 25, + "N1": 24, + "N2": 50, + "programLength": 74, + "programVocabulary": 27, + "volume": 351.86167516009664, + "difficulty": 2, + "effort": 703.7233503201933, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getFieldValue" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::compareValues": { + "line": 136, + "lineCount": 13, + "argCount": 2, + "returnCount": 3, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 2, + "N1": 9, + "N2": 12, + "programLength": 21, + "programVocabulary": 5, + "volume": 48.760489992634604, + "difficulty": 9, + "effort": 438.8444099337114, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::compareValues" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getSortableFields": { + "line": 155, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 0, + "N1": 0, + "N2": 0, + "programLength": 0, + "programVocabulary": 0, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getSortableFields" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__construct": { + "line": 15, + "lineCount": 11, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "cyclomatic_complexity": { + "complexity": 2, + "risk_level": "low" + }, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 7, + "N2": 12, + "programLength": 19, + "programVocabulary": 6, + "volume": 49.11428751370197, + "difficulty": 6, + "effort": 294.6857250822118, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::getValue": { + "line": 27, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::getValue" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasIncreased": { + "line": 32, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasIncreased" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__toString": { + "line": 37, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__toString" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasNotChanged": { + "line": 42, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 2, + "programLength": 3, + "programVocabulary": 3, + "volume": 4.754887502163468, + "difficulty": 0.5, + "effort": 2.377443751081734, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasNotChanged" + } + } + }, + "ignored_items": [], + "cached_at": 1759967601 +} \ No newline at end of file diff --git a/.phpcca.cache/96/964076a765aa13ec3431a60dd38c4fa2.cache b/.phpcca.cache/96/964076a765aa13ec3431a60dd38c4fa2.cache new file mode 100644 index 0000000..86b7982 --- /dev/null +++ b/.phpcca.cache/96/964076a765aa13ec3431a60dd38c4fa2.cache @@ -0,0 +1,1322 @@ +{ + "version": "1.0", + "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/Command\/Handler\/CognitiveMetricsReportHandler.php", + "file_mtime": 1759791861, + "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", + "analysis_result": { + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::__construct": { + "line": 26, + "lineCount": 5, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 4, + "N1": 3, + "N2": 6, + "programLength": 9, + "programVocabulary": 7, + "volume": 25.26619429851844, + "difficulty": 2.25, + "effort": 56.848937171666485, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItem": { + "line": 35, + "lineCount": 15, + "argCount": 1, + "returnCount": 3, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 6, + "N2": 13, + "programLength": 19, + "programVocabulary": 8, + "volume": 57, + "difficulty": 6.5, + "effort": 370.5, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItem" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItems": { + "line": 55, + "lineCount": 9, + "argCount": 1, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 3, + "N2": 9, + "programLength": 12, + "programVocabulary": 6, + "volume": 31.019550008653873, + "difficulty": 2.25, + "effort": 69.79398751947122, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItems" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::hasItem": { + "line": 68, + "lineCount": 6, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 5, + "n2": 3, + "N1": 6, + "N2": 7, + "programLength": 13, + "programVocabulary": 8, + "volume": 39, + "difficulty": 5.833333333333334, + "effort": 227.50000000000003, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::hasItem" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::clear": { + "line": 75, + "lineCount": 10, + "argCount": 0, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 2, + "N2": 4, + "programLength": 6, + "programVocabulary": 3, + "volume": 9.509775004326936, + "difficulty": 1, + "effort": 9.509775004326936, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::clear" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItem": { + "line": 89, + "lineCount": 10, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 4, + "N2": 6, + "programLength": 10, + "programVocabulary": 6, + "volume": 25.84962500721156, + "difficulty": 3, + "effort": 77.54887502163469, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItem" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItems": { + "line": 103, + "lineCount": 10, + "argCount": 1, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 3, + "N2": 8, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 2, + "effort": 56.86917501586544, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItems" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::save": { + "line": 117, + "lineCount": 11, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 4, + "N1": 9, + "N2": 12, + "programLength": 21, + "programVocabulary": 7, + "volume": 58.95445336320969, + "difficulty": 4.5, + "effort": 265.2950401344436, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::save" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveDeferred": { + "line": 129, + "lineCount": 6, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveDeferred" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::commit": { + "line": 136, + "lineCount": 11, + "argCount": 0, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 4, + "N2": 8, + "programLength": 12, + "programVocabulary": 5, + "volume": 27.863137138648348, + "difficulty": 2.6666666666666665, + "effort": 74.30169903639559, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::commit" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::ensureCacheDirectory": { + "line": 152, + "lineCount": 9, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 3, + "N2": 4, + "programLength": 7, + "programVocabulary": 4, + "volume": 14, + "difficulty": 2, + "effort": 28, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::ensureCacheDirectory" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getCacheFilePath": { + "line": 168, + "lineCount": 15, + "argCount": 1, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 10, + "N1": 13, + "N2": 19, + "programLength": 32, + "programVocabulary": 14, + "volume": 121.83535750584333, + "difficulty": 3.8, + "effort": 462.9743585222046, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getCacheFilePath" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::loadCacheData": { + "line": 187, + "lineCount": 14, + "argCount": 1, + "returnCount": 3, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 6, + "N2": 8, + "programLength": 14, + "programVocabulary": 6, + "volume": 36.18947501009619, + "difficulty": 4, + "effort": 144.75790004038475, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::loadCacheData" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveCacheData": { + "line": 209, + "lineCount": 21, + "argCount": 2, + "returnCount": 3, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 6, + "n2": 7, + "N1": 13, + "N2": 17, + "programLength": 30, + "programVocabulary": 13, + "volume": 111.01319154423277, + "difficulty": 7.285714285714285, + "effort": 808.810395536553, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveCacheData" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::sanitizeUtf8": { + "line": 234, + "lineCount": 25, + "argCount": 1, + "returnCount": 4, + "variableCount": 6, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 8, + "N1": 13, + "N2": 29, + "programLength": 42, + "programVocabulary": 11, + "volume": 145.29612798276648, + "difficulty": 5.4375, + "effort": 790.0476959062927, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::sanitizeUtf8" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::removeDirectory": { + "line": 260, + "lineCount": 23, + "argCount": 1, + "returnCount": 2, + "variableCount": 5, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 5, + "n2": 9, + "N1": 13, + "N2": 20, + "programLength": 33, + "programVocabulary": 14, + "volume": 125.64271242790093, + "difficulty": 5.555555555555555, + "effort": 698.0150690438941, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::removeDirectory" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::__construct": { + "line": 42, + "lineCount": 7, + "argCount": 3, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 3, + "N1": 0, + "N2": 3, + "programLength": 3, + "programVocabulary": 3, + "volume": 4.754887502163468, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::configure": { + "line": 53, + "lineCount": 57, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 15, + "N1": 9, + "N2": 16, + "programLength": 25, + "programVocabulary": 16, + "volume": 100, + "difficulty": 0.5333333333333333, + "effort": 53.333333333333336, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::configure" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::execute": { + "line": 119, + "lineCount": 43, + "argCount": 2, + "returnCount": 5, + "variableCount": 9, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 4, + "halstead": { + "n1": 7, + "n2": 14, + "N1": 31, + "N2": 45, + "programLength": 76, + "programVocabulary": 21, + "volume": 333.8161241311858, + "difficulty": 11.25, + "effort": 3755.4313964758403, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::execute" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::loadCoverageReader": { + "line": 171, + "lineCount": 32, + "argCount": 3, + "returnCount": 4, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 2, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 4, + "n2": 9, + "N1": 9, + "N2": 21, + "programLength": 30, + "programVocabulary": 13, + "volume": 111.01319154423277, + "difficulty": 4.666666666666667, + "effort": 518.0615605397529, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::loadCoverageReader" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::detectCoverageFormat": { + "line": 207, + "lineCount": 19, + "argCount": 1, + "returnCount": 4, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 9, + "volume": 47.548875021634686, + "difficulty": 2.5, + "effort": 118.87218755408671, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::detectCoverageFormat" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::coverageFileExists": { + "line": 227, + "lineCount": 20, + "argCount": 2, + "returnCount": 3, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 4, + "N2": 7, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 3.5, + "effort": 99.52105627776452, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::coverageFileExists" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::__construct": { + "line": 49, + "lineCount": 10, + "argCount": 6, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 6, + "N1": 0, + "N2": 6, + "programLength": 6, + "programVocabulary": 6, + "volume": 15.509775004326936, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::configure": { + "line": 63, + "lineCount": 76, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 20, + "N1": 13, + "N2": 20, + "programLength": 33, + "programVocabulary": 21, + "volume": 144.94647495169912, + "difficulty": 0.5, + "effort": 72.47323747584956, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::configure" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::execute": { + "line": 150, + "lineCount": 52, + "argCount": 2, + "returnCount": 5, + "variableCount": 11, + "propertyCallCount": 6, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 7, + "halstead": { + "n1": 6, + "n2": 15, + "N1": 43, + "N2": 61, + "programLength": 104, + "programVocabulary": 21, + "volume": 456.80101196899113, + "difficulty": 12.2, + "effort": 5572.972346021692, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::execute" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::parsePaths": { + "line": 209, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 4, + "N2": 8, + "programLength": 12, + "programVocabulary": 7, + "volume": 33.68825906469125, + "difficulty": 1.6, + "effort": 53.901214503506004, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::parsePaths" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleBaseLine": { + "line": 224, + "lineCount": 8, + "argCount": 2, + "returnCount": 0, + "variableCount": 3, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 5, + "N2": 11, + "programLength": 16, + "programVocabulary": 7, + "volume": 44.91767875292167, + "difficulty": 2.2, + "effort": 98.81889325642767, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleBaseLine" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleCoverageOptions": { + "line": 238, + "lineCount": 20, + "argCount": 2, + "returnCount": 3, + "variableCount": 5, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 5, + "n2": 10, + "N1": 15, + "N2": 25, + "programLength": 40, + "programVocabulary": 15, + "volume": 156.27562382434076, + "difficulty": 6.25, + "effort": 976.7226489021298, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleCoverageOptions" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::applySorting": { + "line": 264, + "lineCount": 21, + "argCount": 3, + "returnCount": 3, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 15, + "N1": 16, + "N2": 32, + "programLength": 48, + "programVocabulary": 20, + "volume": 207.45254855459342, + "difficulty": 5.333333333333333, + "effort": 1106.4135922911648, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::applySorting" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadConfiguration": { + "line": 293, + "lineCount": 10, + "argCount": 2, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 6, + "N1": 5, + "N2": 9, + "programLength": 14, + "programVocabulary": 8, + "volume": 42, + "difficulty": 1.5, + "effort": 63, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadConfiguration" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadCoverageReader": { + "line": 313, + "lineCount": 28, + "argCount": 3, + "returnCount": 4, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 2, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 10, + "N2": 18, + "programLength": 28, + "programVocabulary": 11, + "volume": 96.86408532184433, + "difficulty": 5.142857142857143, + "effort": 498.15815308377086, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadCoverageReader" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::detectCoverageFormat": { + "line": 345, + "lineCount": 19, + "argCount": 1, + "returnCount": 4, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 9, + "volume": 47.548875021634686, + "difficulty": 2.5, + "effort": 118.87218755408671, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::detectCoverageFormat" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::coverageFileExists": { + "line": 365, + "lineCount": 20, + "argCount": 2, + "returnCount": 3, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 4, + "N2": 7, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 3.5, + "effort": 99.52105627776452, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::coverageFileExists" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__construct": { + "line": 12, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__invoke": { + "line": 17, + "lineCount": 22, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 3, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 10, + "N2": 11, + "programLength": 21, + "programVocabulary": 7, + "volume": 58.95445336320969, + "difficulty": 2.2, + "effort": 129.6997973990613, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__invoke" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__construct": { + "line": 21, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__invoke": { + "line": 26, + "lineCount": 11, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 4, + "N2": 9, + "programLength": 13, + "programVocabulary": 4, + "volume": 26, + "difficulty": 4.5, + "effort": 117, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__invoke" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleSourceFilesFound": { + "line": 38, + "lineCount": 6, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 4, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 6, + "N2": 10, + "programLength": 16, + "programVocabulary": 8, + "volume": 48, + "difficulty": 5, + "effort": 240, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleSourceFilesFound" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleFileProcessed": { + "line": 45, + "lineCount": 5, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleFileProcessed" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleAllFilesProcessed": { + "line": 51, + "lineCount": 6, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 3, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 3, + "N2": 5, + "programLength": 8, + "programVocabulary": 5, + "volume": 18.575424759098897, + "difficulty": 1.6666666666666667, + "effort": 30.95904126516483, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleAllFilesProcessed" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__construct": { + "line": 20, + "lineCount": 5, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__invoke": { + "line": 26, + "lineCount": 17, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 5, + "n2": 8, + "N1": 17, + "N2": 17, + "programLength": 34, + "programVocabulary": 13, + "volume": 125.81495041679713, + "difficulty": 5.3125, + "effort": 668.3919240892347, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__invoke" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::formatBytes": { + "line": 50, + "lineCount": 12, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 7, + "n2": 13, + "N1": 10, + "N2": 22, + "programLength": 32, + "programVocabulary": 20, + "volume": 138.3016990363956, + "difficulty": 5.923076923076923, + "effort": 819.1716019848047, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::formatBytes" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::isDebugEnabled": { + "line": 66, + "lineCount": 5, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 1, + "N1": 4, + "N2": 2, + "programLength": 6, + "programVocabulary": 4, + "volume": 12, + "difficulty": 3, + "effort": 36, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::isDebugEnabled" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::__construct": { + "line": 20, + "lineCount": 6, + "argCount": 2, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 4, + "volume": 8, + "difficulty": 0.5, + "effort": 4, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::exportToFile": { + "line": 32, + "lineCount": 27, + "argCount": 3, + "returnCount": 4, + "variableCount": 2, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 1, + "n2": 6, + "N1": 6, + "N2": 19, + "programLength": 25, + "programVocabulary": 7, + "volume": 70.1838730514401, + "difficulty": 1.5833333333333333, + "effort": 111.12446566478016, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::exportToFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::hasIncompleteReportOptions": { + "line": 60, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 2, + "N1": 7, + "N2": 6, + "programLength": 13, + "programVocabulary": 6, + "volume": 33.60451250937503, + "difficulty": 6, + "effort": 201.62707505625016, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::hasIncompleteReportOptions" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::isValidReportType": { + "line": 65, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 2, + "N2": 4, + "programLength": 6, + "programVocabulary": 4, + "volume": 12, + "difficulty": 2, + "effort": 24, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::isValidReportType" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleExceptions": { + "line": 77, + "lineCount": 9, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 3, + "N2": 4, + "programLength": 7, + "programVocabulary": 5, + "volume": 16.253496664211536, + "difficulty": 1.3333333333333333, + "effort": 21.67132888561538, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleExceptions" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleInvalidReportType": { + "line": 91, + "lineCount": 11, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 5, + "N2": 8, + "programLength": 13, + "programVocabulary": 8, + "volume": 39, + "difficulty": 2.4000000000000004, + "effort": 93.60000000000001, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleInvalidReportType" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::__construct": { + "line": 15, + "lineCount": 5, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handle": { + "line": 24, + "lineCount": 27, + "argCount": 3, + "returnCount": 4, + "variableCount": 2, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "cyclomatic_complexity": { + "complexity": 4, + "risk_level": "low" + }, + "halstead": { + "n1": 1, + "n2": 6, + "N1": 6, + "N2": 19, + "programLength": 25, + "programVocabulary": 7, + "volume": 70.1838730514401, + "difficulty": 1.5833333333333333, + "effort": 111.12446566478016, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handle" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::hasIncompleteReportOptions": { + "line": 52, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 4, + "n2": 2, + "N1": 7, + "N2": 6, + "programLength": 13, + "programVocabulary": 6, + "volume": 33.60451250937503, + "difficulty": 6, + "effort": 201.62707505625016, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::hasIncompleteReportOptions" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::isValidReportType": { + "line": 57, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 1, + "n2": 5, + "N1": 1, + "N2": 6, + "programLength": 7, + "programVocabulary": 6, + "volume": 18.094737505048094, + "difficulty": 0.6, + "effort": 10.856842503028856, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::isValidReportType" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handleExceptions": { + "line": 66, + "lineCount": 9, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 3, + "N2": 4, + "programLength": 7, + "programVocabulary": 5, + "volume": 16.253496664211536, + "difficulty": 1.3333333333333333, + "effort": 21.67132888561538, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handleExceptions" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handleInvalidReporType": { + "line": 80, + "lineCount": 9, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 4, + "programLength": 6, + "programVocabulary": 5, + "volume": 13.931568569324174, + "difficulty": 1.3333333333333333, + "effort": 18.575424759098897, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handleInvalidReporType" + } + } + }, + "ignored_items": [], + "cached_at": 1759967602 +} \ No newline at end of file diff --git a/.phpcca.cache/97/97aa92a1903454f3238d0c0bc9c3669b.cache b/.phpcca.cache/97/97aa92a1903454f3238d0c0bc9c3669b.cache new file mode 100644 index 0000000..5357eed --- /dev/null +++ b/.phpcca.cache/97/97aa92a1903454f3238d0c0bc9c3669b.cache @@ -0,0 +1,950 @@ +{ + "version": "1.0", + "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/Command\/EventHandler\/ProgressBarHandler.php", + "file_mtime": 1759791861, + "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", + "analysis_result": { + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::__construct": { + "line": 26, + "lineCount": 5, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 4, + "N1": 3, + "N2": 6, + "programLength": 9, + "programVocabulary": 7, + "volume": 25.26619429851844, + "difficulty": 2.25, + "effort": 56.848937171666485, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItem": { + "line": 35, + "lineCount": 15, + "argCount": 1, + "returnCount": 3, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 6, + "N2": 13, + "programLength": 19, + "programVocabulary": 8, + "volume": 57, + "difficulty": 6.5, + "effort": 370.5, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItem" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItems": { + "line": 55, + "lineCount": 9, + "argCount": 1, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 3, + "N2": 9, + "programLength": 12, + "programVocabulary": 6, + "volume": 31.019550008653873, + "difficulty": 2.25, + "effort": 69.79398751947122, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItems" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::hasItem": { + "line": 68, + "lineCount": 6, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 5, + "n2": 3, + "N1": 6, + "N2": 7, + "programLength": 13, + "programVocabulary": 8, + "volume": 39, + "difficulty": 5.833333333333334, + "effort": 227.50000000000003, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::hasItem" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::clear": { + "line": 75, + "lineCount": 10, + "argCount": 0, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 2, + "N2": 4, + "programLength": 6, + "programVocabulary": 3, + "volume": 9.509775004326936, + "difficulty": 1, + "effort": 9.509775004326936, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::clear" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItem": { + "line": 89, + "lineCount": 10, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 4, + "N2": 6, + "programLength": 10, + "programVocabulary": 6, + "volume": 25.84962500721156, + "difficulty": 3, + "effort": 77.54887502163469, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItem" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItems": { + "line": 103, + "lineCount": 10, + "argCount": 1, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 3, + "N2": 8, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 2, + "effort": 56.86917501586544, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItems" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::save": { + "line": 117, + "lineCount": 11, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 4, + "N1": 9, + "N2": 12, + "programLength": 21, + "programVocabulary": 7, + "volume": 58.95445336320969, + "difficulty": 4.5, + "effort": 265.2950401344436, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::save" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveDeferred": { + "line": 129, + "lineCount": 6, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveDeferred" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::commit": { + "line": 136, + "lineCount": 11, + "argCount": 0, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 4, + "N2": 8, + "programLength": 12, + "programVocabulary": 5, + "volume": 27.863137138648348, + "difficulty": 2.6666666666666665, + "effort": 74.30169903639559, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::commit" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::ensureCacheDirectory": { + "line": 152, + "lineCount": 9, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 3, + "N2": 4, + "programLength": 7, + "programVocabulary": 4, + "volume": 14, + "difficulty": 2, + "effort": 28, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::ensureCacheDirectory" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getCacheFilePath": { + "line": 168, + "lineCount": 15, + "argCount": 1, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 10, + "N1": 13, + "N2": 19, + "programLength": 32, + "programVocabulary": 14, + "volume": 121.83535750584333, + "difficulty": 3.8, + "effort": 462.9743585222046, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getCacheFilePath" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::loadCacheData": { + "line": 187, + "lineCount": 14, + "argCount": 1, + "returnCount": 3, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 6, + "N2": 8, + "programLength": 14, + "programVocabulary": 6, + "volume": 36.18947501009619, + "difficulty": 4, + "effort": 144.75790004038475, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::loadCacheData" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveCacheData": { + "line": 209, + "lineCount": 21, + "argCount": 2, + "returnCount": 3, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 6, + "n2": 7, + "N1": 13, + "N2": 17, + "programLength": 30, + "programVocabulary": 13, + "volume": 111.01319154423277, + "difficulty": 7.285714285714285, + "effort": 808.810395536553, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveCacheData" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::sanitizeUtf8": { + "line": 234, + "lineCount": 25, + "argCount": 1, + "returnCount": 4, + "variableCount": 6, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 8, + "N1": 13, + "N2": 29, + "programLength": 42, + "programVocabulary": 11, + "volume": 145.29612798276648, + "difficulty": 5.4375, + "effort": 790.0476959062927, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::sanitizeUtf8" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::removeDirectory": { + "line": 260, + "lineCount": 23, + "argCount": 1, + "returnCount": 2, + "variableCount": 5, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 5, + "n2": 9, + "N1": 13, + "N2": 20, + "programLength": 33, + "programVocabulary": 14, + "volume": 125.64271242790093, + "difficulty": 5.555555555555555, + "effort": 698.0150690438941, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::removeDirectory" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::__construct": { + "line": 42, + "lineCount": 7, + "argCount": 3, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 3, + "N1": 0, + "N2": 3, + "programLength": 3, + "programVocabulary": 3, + "volume": 4.754887502163468, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::configure": { + "line": 53, + "lineCount": 57, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 15, + "N1": 9, + "N2": 16, + "programLength": 25, + "programVocabulary": 16, + "volume": 100, + "difficulty": 0.5333333333333333, + "effort": 53.333333333333336, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::configure" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::execute": { + "line": 119, + "lineCount": 43, + "argCount": 2, + "returnCount": 5, + "variableCount": 9, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 4, + "halstead": { + "n1": 7, + "n2": 14, + "N1": 31, + "N2": 45, + "programLength": 76, + "programVocabulary": 21, + "volume": 333.8161241311858, + "difficulty": 11.25, + "effort": 3755.4313964758403, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::execute" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::loadCoverageReader": { + "line": 171, + "lineCount": 32, + "argCount": 3, + "returnCount": 4, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 2, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 4, + "n2": 9, + "N1": 9, + "N2": 21, + "programLength": 30, + "programVocabulary": 13, + "volume": 111.01319154423277, + "difficulty": 4.666666666666667, + "effort": 518.0615605397529, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::loadCoverageReader" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::detectCoverageFormat": { + "line": 207, + "lineCount": 19, + "argCount": 1, + "returnCount": 4, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 9, + "volume": 47.548875021634686, + "difficulty": 2.5, + "effort": 118.87218755408671, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::detectCoverageFormat" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::coverageFileExists": { + "line": 227, + "lineCount": 20, + "argCount": 2, + "returnCount": 3, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 4, + "N2": 7, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 3.5, + "effort": 99.52105627776452, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::coverageFileExists" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::__construct": { + "line": 49, + "lineCount": 10, + "argCount": 6, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 6, + "N1": 0, + "N2": 6, + "programLength": 6, + "programVocabulary": 6, + "volume": 15.509775004326936, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::configure": { + "line": 63, + "lineCount": 76, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 20, + "N1": 13, + "N2": 20, + "programLength": 33, + "programVocabulary": 21, + "volume": 144.94647495169912, + "difficulty": 0.5, + "effort": 72.47323747584956, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::configure" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::execute": { + "line": 150, + "lineCount": 52, + "argCount": 2, + "returnCount": 5, + "variableCount": 11, + "propertyCallCount": 6, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 7, + "halstead": { + "n1": 6, + "n2": 15, + "N1": 43, + "N2": 61, + "programLength": 104, + "programVocabulary": 21, + "volume": 456.80101196899113, + "difficulty": 12.2, + "effort": 5572.972346021692, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::execute" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::parsePaths": { + "line": 209, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 4, + "N2": 8, + "programLength": 12, + "programVocabulary": 7, + "volume": 33.68825906469125, + "difficulty": 1.6, + "effort": 53.901214503506004, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::parsePaths" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleBaseLine": { + "line": 224, + "lineCount": 8, + "argCount": 2, + "returnCount": 0, + "variableCount": 3, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 5, + "N2": 11, + "programLength": 16, + "programVocabulary": 7, + "volume": 44.91767875292167, + "difficulty": 2.2, + "effort": 98.81889325642767, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleBaseLine" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleCoverageOptions": { + "line": 238, + "lineCount": 20, + "argCount": 2, + "returnCount": 3, + "variableCount": 5, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 5, + "n2": 10, + "N1": 15, + "N2": 25, + "programLength": 40, + "programVocabulary": 15, + "volume": 156.27562382434076, + "difficulty": 6.25, + "effort": 976.7226489021298, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleCoverageOptions" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::applySorting": { + "line": 264, + "lineCount": 21, + "argCount": 3, + "returnCount": 3, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 15, + "N1": 16, + "N2": 32, + "programLength": 48, + "programVocabulary": 20, + "volume": 207.45254855459342, + "difficulty": 5.333333333333333, + "effort": 1106.4135922911648, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::applySorting" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadConfiguration": { + "line": 293, + "lineCount": 10, + "argCount": 2, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 6, + "N1": 5, + "N2": 9, + "programLength": 14, + "programVocabulary": 8, + "volume": 42, + "difficulty": 1.5, + "effort": 63, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadConfiguration" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadCoverageReader": { + "line": 313, + "lineCount": 28, + "argCount": 3, + "returnCount": 4, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 2, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 10, + "N2": 18, + "programLength": 28, + "programVocabulary": 11, + "volume": 96.86408532184433, + "difficulty": 5.142857142857143, + "effort": 498.15815308377086, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadCoverageReader" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::detectCoverageFormat": { + "line": 345, + "lineCount": 19, + "argCount": 1, + "returnCount": 4, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 9, + "volume": 47.548875021634686, + "difficulty": 2.5, + "effort": 118.87218755408671, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::detectCoverageFormat" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::coverageFileExists": { + "line": 365, + "lineCount": 20, + "argCount": 2, + "returnCount": 3, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 4, + "N2": 7, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 3.5, + "effort": 99.52105627776452, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::coverageFileExists" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__construct": { + "line": 12, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__invoke": { + "line": 17, + "lineCount": 22, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 3, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 10, + "N2": 11, + "programLength": 21, + "programVocabulary": 7, + "volume": 58.95445336320969, + "difficulty": 2.2, + "effort": 129.6997973990613, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__invoke" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__construct": { + "line": 21, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__invoke": { + "line": 26, + "lineCount": 11, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "cyclomatic_complexity": { + "complexity": 2, + "risk_level": "low" + }, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 4, + "N2": 9, + "programLength": 13, + "programVocabulary": 4, + "volume": 26, + "difficulty": 4.5, + "effort": 117, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__invoke" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleSourceFilesFound": { + "line": 38, + "lineCount": 6, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 4, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 6, + "N2": 10, + "programLength": 16, + "programVocabulary": 8, + "volume": 48, + "difficulty": 5, + "effort": 240, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleSourceFilesFound" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleFileProcessed": { + "line": 45, + "lineCount": 5, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleFileProcessed" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleAllFilesProcessed": { + "line": 51, + "lineCount": 6, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 3, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 3, + "N2": 5, + "programLength": 8, + "programVocabulary": 5, + "volume": 18.575424759098897, + "difficulty": 1.6666666666666667, + "effort": 30.95904126516483, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleAllFilesProcessed" + } + } + }, + "ignored_items": [], + "cached_at": 1759967601 +} \ No newline at end of file diff --git a/.phpcca.cache/9f/9f79ee702d014eb40442a807e23a6d2d.cache b/.phpcca.cache/9f/9f79ee702d014eb40442a807e23a6d2d.cache new file mode 100644 index 0000000..4ab1640 --- /dev/null +++ b/.phpcca.cache/9f/9f79ee702d014eb40442a807e23a6d2d.cache @@ -0,0 +1,442 @@ +{ + "version": "1.0", + "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/Cache\/FileCache.php", + "file_mtime": 1759967628, + "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", + "analysis_result": { + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::__construct": { + "line": 26, + "lineCount": 5, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 3, + "n2": 4, + "N1": 3, + "N2": 6, + "programLength": 9, + "programVocabulary": 7, + "volume": 25.26619429851844, + "difficulty": 2.25, + "effort": 56.848937171666485, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItem": { + "line": 35, + "lineCount": 15, + "argCount": 1, + "returnCount": 3, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "cyclomatic_complexity": { + "complexity": 3, + "risk_level": "low" + }, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 6, + "N2": 13, + "programLength": 19, + "programVocabulary": 8, + "volume": 57, + "difficulty": 6.5, + "effort": 370.5, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItem" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItems": { + "line": 55, + "lineCount": 9, + "argCount": 1, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 2, + "risk_level": "low" + }, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 3, + "N2": 9, + "programLength": 12, + "programVocabulary": 6, + "volume": 31.019550008653873, + "difficulty": 2.25, + "effort": 69.79398751947122, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItems" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::hasItem": { + "line": 68, + "lineCount": 6, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 5, + "n2": 3, + "N1": 6, + "N2": 7, + "programLength": 13, + "programVocabulary": 8, + "volume": 39, + "difficulty": 5.833333333333334, + "effort": 227.50000000000003, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::hasItem" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::clear": { + "line": 75, + "lineCount": 10, + "argCount": 0, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 2, + "risk_level": "low" + }, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 2, + "N2": 4, + "programLength": 6, + "programVocabulary": 3, + "volume": 9.509775004326936, + "difficulty": 1, + "effort": 9.509775004326936, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::clear" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItem": { + "line": 89, + "lineCount": 10, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "cyclomatic_complexity": { + "complexity": 2, + "risk_level": "low" + }, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 4, + "N2": 6, + "programLength": 10, + "programVocabulary": 6, + "volume": 25.84962500721156, + "difficulty": 3, + "effort": 77.54887502163469, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItem" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItems": { + "line": 103, + "lineCount": 10, + "argCount": 1, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "cyclomatic_complexity": { + "complexity": 3, + "risk_level": "low" + }, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 3, + "N2": 8, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 2, + "effort": 56.86917501586544, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItems" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::save": { + "line": 117, + "lineCount": 11, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "cyclomatic_complexity": { + "complexity": 2, + "risk_level": "low" + }, + "halstead": { + "n1": 3, + "n2": 4, + "N1": 9, + "N2": 12, + "programLength": 21, + "programVocabulary": 7, + "volume": 58.95445336320969, + "difficulty": 4.5, + "effort": 265.2950401344436, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::save" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveDeferred": { + "line": 129, + "lineCount": 6, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveDeferred" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::commit": { + "line": 136, + "lineCount": 11, + "argCount": 0, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "cyclomatic_complexity": { + "complexity": 3, + "risk_level": "low" + }, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 4, + "N2": 8, + "programLength": 12, + "programVocabulary": 5, + "volume": 27.863137138648348, + "difficulty": 2.6666666666666665, + "effort": 74.30169903639559, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::commit" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::ensureCacheDirectory": { + "line": 152, + "lineCount": 9, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "cyclomatic_complexity": { + "complexity": 2, + "risk_level": "low" + }, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 3, + "N2": 4, + "programLength": 7, + "programVocabulary": 4, + "volume": 14, + "difficulty": 2, + "effort": 28, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::ensureCacheDirectory" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getCacheFilePath": { + "line": 168, + "lineCount": 15, + "argCount": 1, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "cyclomatic_complexity": { + "complexity": 2, + "risk_level": "low" + }, + "halstead": { + "n1": 4, + "n2": 10, + "N1": 13, + "N2": 19, + "programLength": 32, + "programVocabulary": 14, + "volume": 121.83535750584333, + "difficulty": 3.8, + "effort": 462.9743585222046, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getCacheFilePath" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::loadCacheData": { + "line": 187, + "lineCount": 14, + "argCount": 1, + "returnCount": 3, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "cyclomatic_complexity": { + "complexity": 3, + "risk_level": "low" + }, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 6, + "N2": 8, + "programLength": 14, + "programVocabulary": 6, + "volume": 36.18947501009619, + "difficulty": 4, + "effort": 144.75790004038475, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::loadCacheData" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveCacheData": { + "line": 209, + "lineCount": 21, + "argCount": 2, + "returnCount": 3, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "cyclomatic_complexity": { + "complexity": 3, + "risk_level": "low" + }, + "halstead": { + "n1": 6, + "n2": 7, + "N1": 13, + "N2": 17, + "programLength": 30, + "programVocabulary": 13, + "volume": 111.01319154423277, + "difficulty": 7.285714285714285, + "effort": 808.810395536553, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveCacheData" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::sanitizeUtf8": { + "line": 234, + "lineCount": 25, + "argCount": 1, + "returnCount": 4, + "variableCount": 6, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "cyclomatic_complexity": { + "complexity": 6, + "risk_level": "medium" + }, + "halstead": { + "n1": 3, + "n2": 8, + "N1": 13, + "N2": 29, + "programLength": 42, + "programVocabulary": 11, + "volume": 145.29612798276648, + "difficulty": 5.4375, + "effort": 790.0476959062927, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::sanitizeUtf8" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::removeDirectory": { + "line": 260, + "lineCount": 23, + "argCount": 1, + "returnCount": 2, + "variableCount": 5, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "cyclomatic_complexity": { + "complexity": 5, + "risk_level": "low" + }, + "halstead": { + "n1": 5, + "n2": 9, + "N1": 13, + "N2": 20, + "programLength": 33, + "programVocabulary": 14, + "volume": 125.64271242790093, + "difficulty": 5.555555555555555, + "effort": 698.0150690438941, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::removeDirectory" + } + } + }, + "ignored_items": [], + "cached_at": 1759967650 +} \ No newline at end of file diff --git a/.phpcca.cache/a1/a168ffba4ceb9e8f5c525b84a3ab779f.cache b/.phpcca.cache/a1/a168ffba4ceb9e8f5c525b84a3ab779f.cache new file mode 100644 index 0000000..5d64db0 --- /dev/null +++ b/.phpcca.cache/a1/a168ffba4ceb9e8f5c525b84a3ab779f.cache @@ -0,0 +1,3469 @@ +{ + "version": "1.0", + "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/Business\/Cognitive\/CognitiveMetrics.php", + "file_mtime": 1759870485, + "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", + "analysis_result": { + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct": { + "line": 60, + "lineCount": 5, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 1, + "N1": 2, + "N2": 2, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 2, + "effort": 12.679700005769249, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices": { + "line": 66, + "lineCount": 95, + "argCount": 0, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 5, + "N1": 58, + "N2": 32, + "programLength": 90, + "programVocabulary": 9, + "volume": 285.2932501298081, + "difficulty": 12.8, + "effort": 3651.7536016615436, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap": { + "line": 162, + "lineCount": 10, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 7, + "N2": 7, + "programLength": 14, + "programVocabulary": 2, + "volume": 14, + "difficulty": 3.5, + "effort": 49, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors": { + "line": 173, + "lineCount": 12, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 3, + "N2": 1, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0.5, + "effort": 2, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus": { + "line": 186, + "lineCount": 19, + "argCount": 0, + "returnCount": 0, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 9, + "N2": 13, + "programLength": 22, + "programVocabulary": 7, + "volume": 61.76180828526729, + "difficulty": 2.6, + "effort": 160.58070154169496, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService": { + "line": 206, + "lineCount": 9, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 3, + "N2": 1, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0.5, + "effort": 2, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade": { + "line": 216, + "lineCount": 13, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 3, + "N2": 1, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0.5, + "effort": 2, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands": { + "line": 230, + "lineCount": 21, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 6, + "N2": 2, + "programLength": 8, + "programVocabulary": 2, + "volume": 8, + "difficulty": 1, + "effort": 8, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication": { + "line": 252, + "lineCount": 11, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 5, + "N2": 4, + "programLength": 9, + "programVocabulary": 4, + "volume": 18, + "difficulty": 0.6666666666666666, + "effort": 12, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run": { + "line": 264, + "lineCount": 9, + "argCount": 0, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 5, + "N2": 5, + "programLength": 10, + "programVocabulary": 4, + "volume": 20, + "difficulty": 2.5, + "effort": 50, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get": { + "line": 274, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer": { + "line": 279, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator": { + "line": 289, + "lineCount": 16, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 7, + "programLength": 8, + "programVocabulary": 4, + "volume": 16, + "difficulty": 1.1666666666666667, + "effort": 18.666666666666668, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create": { + "line": 18, + "lineCount": 7, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 4, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile": { + "line": 17, + "lineCount": 17, + "argCount": 2, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 8, + "N1": 11, + "N2": 19, + "programLength": 30, + "programVocabulary": 11, + "volume": 103.78294855911892, + "difficulty": 3.5625, + "effort": 369.72675424186116, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode": { + "line": 42, + "lineCount": 8, + "argCount": 3, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 3, + "N2": 8, + "programLength": 11, + "programVocabulary": 8, + "volume": 33, + "difficulty": 2.4000000000000004, + "effort": 79.20000000000002, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate": { + "line": 22, + "lineCount": 10, + "argCount": 2, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 6, + "N2": 13, + "programLength": 19, + "programVocabulary": 6, + "volume": 49.11428751370197, + "difficulty": 3.25, + "effort": 159.6214344195314, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending": { + "line": 37, + "lineCount": 8, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 2, + "N2": 9, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 2.25, + "effort": 63.97782189284862, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn": { + "line": 51, + "lineCount": 24, + "argCount": 2, + "returnCount": 1, + "variableCount": 6, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 15, + "N1": 17, + "N2": 46, + "programLength": 63, + "programVocabulary": 20, + "volume": 272.28146997790384, + "difficulty": 7.666666666666667, + "effort": 2087.491269830596, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses": { + "line": 81, + "lineCount": 20, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 2, + "n2": 7, + "N1": 10, + "N2": 24, + "programLength": 34, + "programVocabulary": 9, + "volume": 107.7774500490386, + "difficulty": 3.4285714285714284, + "effort": 369.52268588241805, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass": { + "line": 109, + "lineCount": 9, + "argCount": 2, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 6, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 10, + "volume": 49.82892142331043, + "difficulty": 3.3333333333333335, + "effort": 166.09640474436813, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel": { + "line": 126, + "lineCount": 16, + "argCount": 2, + "returnCount": 4, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 12, + "N1": 9, + "N2": 18, + "programLength": 27, + "programVocabulary": 15, + "volume": 105.48604608143, + "difficulty": 2.25, + "effort": 237.3436036832175, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile": { + "line": 14, + "lineCount": 6, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 2, + "N2": 5, + "programLength": 7, + "programVocabulary": 4, + "volume": 14, + "difficulty": 2.5, + "effort": 35, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable": { + "line": 24, + "lineCount": 11, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 10, + "N2": 12, + "programLength": 22, + "programVocabulary": 8, + "volume": 66, + "difficulty": 6, + "effort": 396, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create": { + "line": 21, + "lineCount": 11, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 7, + "N1": 0, + "N2": 9, + "programLength": 9, + "programVocabulary": 7, + "volume": 25.26619429851844, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes": { + "line": 38, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 6, + "N1": 0, + "N2": 6, + "programLength": 6, + "programVocabulary": 6, + "volume": 15.509775004326936, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported": { + "line": 49, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 2, + "N2": 3, + "programLength": 5, + "programVocabulary": 4, + "volume": 10, + "difficulty": 1.5, + "effort": 15, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export": { + "line": 30, + "lineCount": 23, + "argCount": 2, + "returnCount": 0, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 16, + "N1": 10, + "N2": 33, + "programLength": 43, + "programVocabulary": 20, + "volume": 185.8429080801566, + "difficulty": 4.125, + "effort": 766.601995830646, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export": { + "line": 28, + "lineCount": 8, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 6, + "volume": 36.18947501009619, + "difficulty": 2.5, + "effort": 90.47368752524048, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape": { + "line": 37, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber": { + "line": 42, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml": { + "line": 52, + "lineCount": 50, + "argCount": 1, + "returnCount": 1, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 12, + "N1": 11, + "N2": 25, + "programLength": 36, + "programVocabulary": 17, + "volume": 147.14866228501222, + "difficulty": 5.208333333333334, + "effort": 766.3992827344388, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export": { + "line": 17, + "lineCount": 13, + "argCount": 2, + "returnCount": 0, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 8, + "N1": 7, + "N2": 14, + "programLength": 21, + "programVocabulary": 12, + "volume": 75.28421251514428, + "difficulty": 3.5, + "effort": 263.49474380300495, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export": { + "line": 48, + "lineCount": 8, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 6, + "volume": 36.18947501009619, + "difficulty": 2.5, + "effort": 90.47368752524048, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown": { + "line": 61, + "lineCount": 24, + "argCount": 1, + "returnCount": 1, + "variableCount": 6, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 6, + "n2": 16, + "N1": 19, + "N2": 41, + "programLength": 60, + "programVocabulary": 22, + "volume": 267.56589711823784, + "difficulty": 7.6875, + "effort": 2056.9128340964535, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow": { + "line": 94, + "lineCount": 21, + "argCount": 3, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 7, + "n2": 18, + "N1": 16, + "N2": 39, + "programLength": 55, + "programVocabulary": 25, + "volume": 255.41209043760983, + "difficulty": 7.583333333333333, + "effort": 1936.8750191518745, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::__construct": { + "line": 26, + "lineCount": 4, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::export": { + "line": 36, + "lineCount": 10, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 8, + "volume": 45, + "difficulty": 5, + "effort": 225, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::generateSvgTreemap": { + "line": 53, + "lineCount": 20, + "argCount": 1, + "returnCount": 1, + "variableCount": 6, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 8, + "N1": 9, + "N2": 20, + "programLength": 29, + "programVocabulary": 10, + "volume": 96.3359147517335, + "difficulty": 2.5, + "effort": 240.83978687933376, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::generateSvgTreemap" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRects": { + "line": 82, + "lineCount": 10, + "argCount": 3, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 9, + "N1": 6, + "N2": 18, + "programLength": 24, + "programVocabulary": 12, + "volume": 86.03910001730775, + "difficulty": 3, + "effort": 258.1173000519232, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRects" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRect": { + "line": 100, + "lineCount": 29, + "argCount": 2, + "returnCount": 1, + "variableCount": 12, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 6, + "n2": 28, + "N1": 26, + "N2": 54, + "programLength": 80, + "programVocabulary": 34, + "volume": 406.9970273000271, + "difficulty": 5.785714285714286, + "effort": 2354.7685150930142, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRect" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::wrapSvg": { + "line": 136, + "lineCount": 21, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 2, + "N2": 8, + "programLength": 10, + "programVocabulary": 4, + "volume": 20, + "difficulty": 1.3333333333333333, + "effort": 26.666666666666664, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::wrapSvg" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::prepareItems": { + "line": 28, + "lineCount": 18, + "argCount": 1, + "returnCount": 1, + "variableCount": 7, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 12, + "N1": 9, + "N2": 30, + "programLength": 39, + "programVocabulary": 17, + "volume": 159.41105080876324, + "difficulty": 6.25, + "effort": 996.3190675547702, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::prepareItems" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findScoreRange": { + "line": 53, + "lineCount": 16, + "argCount": 1, + "returnCount": 3, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 7, + "N2": 13, + "programLength": 20, + "programVocabulary": 8, + "volume": 60, + "difficulty": 3.9000000000000004, + "effort": 234.00000000000003, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findScoreRange" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::normalizeScore": { + "line": 78, + "lineCount": 8, + "argCount": 3, + "returnCount": 2, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 8, + "volume": 45, + "difficulty": 5, + "effort": 225, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::normalizeScore" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::scoreToColor": { + "line": 93, + "lineCount": 9, + "argCount": 1, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 5, + "n2": 9, + "N1": 12, + "N2": 16, + "programLength": 28, + "programVocabulary": 14, + "volume": 106.60593781761291, + "difficulty": 4.444444444444445, + "effort": 473.80416807827964, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::scoreToColor" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::calculateTreemapLayout": { + "line": 115, + "lineCount": 23, + "argCount": 7, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 9, + "N1": 2, + "N2": 18, + "programLength": 20, + "programVocabulary": 11, + "volume": 69.18863237274594, + "difficulty": 2, + "effort": 138.37726474549189, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::calculateTreemapLayout" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::layoutTreemap": { + "line": 152, + "lineCount": 89, + "argCount": 8, + "returnCount": 3, + "variableCount": 11, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 8, + "n2": 28, + "N1": 32, + "N2": 98, + "programLength": 130, + "programVocabulary": 36, + "volume": 672.0902501875006, + "difficulty": 14, + "effort": 9409.263502625008, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::layoutTreemap" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findSplitIndex": { + "line": 249, + "lineCount": 13, + "argCount": 2, + "returnCount": 2, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 7, + "n2": 10, + "N1": 9, + "N2": 23, + "programLength": 32, + "programVocabulary": 17, + "volume": 130.79881092001085, + "difficulty": 8.049999999999999, + "effort": 1052.9304279060873, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findSplitIndex" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::__construct": { + "line": 23, + "lineCount": 18, + "argCount": 1, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 7, + "N2": 11, + "programLength": 18, + "programVocabulary": 6, + "volume": 46.529325012980806, + "difficulty": 5.5, + "effort": 255.91128757139444, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::getAllClasses": { + "line": 47, + "lineCount": 17, + "argCount": 0, + "returnCount": 2, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 6, + "N2": 12, + "programLength": 18, + "programVocabulary": 9, + "volume": 57.05865002596162, + "difficulty": 3, + "effort": 171.17595007788486, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::getAllClasses" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::withClassNode": { + "line": 73, + "lineCount": 8, + "argCount": 2, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 4, + "N2": 8, + "programLength": 12, + "programVocabulary": 8, + "volume": 36, + "difficulty": 4, + "effort": 144, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::withClassNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::findClassNode": { + "line": 85, + "lineCount": 25, + "argCount": 1, + "returnCount": 4, + "variableCount": 5, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 13, + "N2": 29, + "programLength": 42, + "programVocabulary": 11, + "volume": 145.29612798276648, + "difficulty": 8.285714285714286, + "effort": 1203.8822032857795, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::findClassNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::escapeXPathValue": { + "line": 114, + "lineCount": 16, + "argCount": 1, + "returnCount": 3, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 9, + "N1": 11, + "N2": 18, + "programLength": 29, + "programVocabulary": 13, + "volume": 107.31275182609167, + "difficulty": 4, + "effort": 429.2510073043667, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::escapeXPathValue" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getLineCoverage": { + "line": 22, + "lineCount": 18, + "argCount": 1, + "returnCount": 4, + "variableCount": 5, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 9, + "N1": 10, + "N2": 19, + "programLength": 29, + "programVocabulary": 13, + "volume": 107.31275182609167, + "difficulty": 4.222222222222222, + "effort": 453.09828548794263, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getLineCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getBranchCoverage": { + "line": 48, + "lineCount": 18, + "argCount": 1, + "returnCount": 4, + "variableCount": 5, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 9, + "N1": 10, + "N2": 19, + "programLength": 29, + "programVocabulary": 13, + "volume": 107.31275182609167, + "difficulty": 4.222222222222222, + "effort": 453.09828548794263, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getBranchCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getComplexity": { + "line": 73, + "lineCount": 13, + "argCount": 1, + "returnCount": 3, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 7, + "N2": 14, + "programLength": 21, + "programVocabulary": 11, + "volume": 72.64806399138324, + "difficulty": 4, + "effort": 290.59225596553296, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getComplexity" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getCoverageDetails": { + "line": 93, + "lineCount": 26, + "argCount": 1, + "returnCount": 3, + "variableCount": 9, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 17, + "N1": 22, + "N2": 42, + "programLength": 64, + "programVocabulary": 22, + "volume": 285.403623592787, + "difficulty": 6.176470588235294, + "effort": 1762.7870868966259, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getCoverageDetails" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getMetricsNode": { + "line": 123, + "lineCount": 12, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 6, + "N1": 7, + "N2": 13, + "programLength": 20, + "programVocabulary": 10, + "volume": 66.43856189774725, + "difficulty": 4.333333333333333, + "effort": 287.90043489023805, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getMetricsNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getFilenameForClass": { + "line": 139, + "lineCount": 9, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 5, + "N1": 4, + "N2": 9, + "programLength": 13, + "programVocabulary": 9, + "volume": 41.209025018750054, + "difficulty": 3.6, + "effort": 148.3524900675002, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getFilenameForClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodsCoverage": { + "line": 154, + "lineCount": 36, + "argCount": 1, + "returnCount": 3, + "variableCount": 8, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 13, + "N1": 12, + "N2": 30, + "programLength": 42, + "programVocabulary": 16, + "volume": 168, + "difficulty": 3.4615384615384612, + "effort": 581.5384615384614, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodsCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::calculateMethodCoverage": { + "line": 194, + "lineCount": 15, + "argCount": 2, + "returnCount": 2, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 11, + "N1": 9, + "N2": 23, + "programLength": 32, + "programVocabulary": 16, + "volume": 128, + "difficulty": 5.227272727272727, + "effort": 669.090909090909, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::calculateMethodCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodCoverageFromLines": { + "line": 215, + "lineCount": 36, + "argCount": 2, + "returnCount": 1, + "variableCount": 7, + "propertyCallCount": 0, + "ifNestingLevel": 2, + "elseCount": 0, + "ifCount": 5, + "halstead": { + "n1": 2, + "n2": 14, + "N1": 12, + "N2": 35, + "programLength": 47, + "programVocabulary": 16, + "volume": 188, + "difficulty": 2.5, + "effort": 470, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodCoverageFromLines" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStart": { + "line": 252, + "lineCount": 4, + "argCount": 3, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 3, + "N2": 7, + "programLength": 10, + "programVocabulary": 6, + "volume": 25.84962500721156, + "difficulty": 1.75, + "effort": 45.23684376262023, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStart" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodEnd": { + "line": 257, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 5, + "programLength": 7, + "programVocabulary": 5, + "volume": 16.253496664211536, + "difficulty": 1.6666666666666667, + "effort": 27.089161107019226, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodEnd" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStatement": { + "line": 262, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 5, + "programLength": 7, + "programVocabulary": 5, + "volume": 16.253496664211536, + "difficulty": 1.6666666666666667, + "effort": 27.089161107019226, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStatement" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isStatementCovered": { + "line": 267, + "lineCount": 5, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 4, + "N1": 3, + "N2": 6, + "programLength": 9, + "programVocabulary": 7, + "volume": 25.26619429851844, + "difficulty": 2.25, + "effort": 56.848937171666485, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isStatementCovered" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getLineCoverage": { + "line": 20, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 9, + "volume": 44.37895002019237, + "difficulty": 2.5, + "effort": 110.94737505048093, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getLineCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getBranchCoverage": { + "line": 34, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 9, + "volume": 44.37895002019237, + "difficulty": 2.5, + "effort": 110.94737505048093, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getBranchCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getComplexity": { + "line": 48, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 9, + "volume": 44.37895002019237, + "difficulty": 2.5, + "effort": 110.94737505048093, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getComplexity" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getCoverageDetails": { + "line": 62, + "lineCount": 13, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 8, + "N1": 7, + "N2": 16, + "programLength": 23, + "programVocabulary": 9, + "volume": 72.90827503317318, + "difficulty": 1, + "effort": 72.90827503317318, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getCoverageDetails" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::extractMethodsCoverage": { + "line": 81, + "lineCount": 23, + "argCount": 1, + "returnCount": 2, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 11, + "N1": 10, + "N2": 23, + "programLength": 33, + "programVocabulary": 14, + "volume": 125.64271242790093, + "difficulty": 3.1363636363636362, + "effort": 394.061234432962, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::extractMethodsCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CodeCoverageFactory::createFromName": { + "line": 14, + "lineCount": 8, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 4, + "N1": 1, + "N2": 8, + "programLength": 9, + "programVocabulary": 5, + "volume": 20.89735285398626, + "difficulty": 1, + "effort": 20.89735285398626, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CodeCoverageFactory::createFromName" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::__construct": { + "line": 28, + "lineCount": 15, + "argCount": 6, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 6, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 7, + "N1": 6, + "N2": 18, + "programLength": 24, + "programVocabulary": 8, + "volume": 72, + "difficulty": 1.2857142857142858, + "effort": 92.57142857142858, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getName": { + "line": 44, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getName" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getFilename": { + "line": 49, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getFilename" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getLineRate": { + "line": 54, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getLineRate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getBranchRate": { + "line": 59, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getBranchRate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getComplexity": { + "line": 64, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getComplexity" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getMethods": { + "line": 72, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getMethods" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::__construct": { + "line": 17, + "lineCount": 11, + "argCount": 4, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 4, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 5, + "N1": 4, + "N2": 12, + "programLength": 16, + "programVocabulary": 6, + "volume": 41.3594000115385, + "difficulty": 1.2, + "effort": 49.631280013846194, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getName": { + "line": 29, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getName" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getLineRate": { + "line": 34, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getLineRate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getBranchRate": { + "line": 39, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getBranchRate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getComplexity": { + "line": 44, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getComplexity" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::calculateDeltas": { + "line": 19, + "lineCount": 14, + "argCount": 2, + "returnCount": 0, + "variableCount": 6, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 9, + "N1": 4, + "N2": 18, + "programLength": 22, + "programVocabulary": 11, + "volume": 76.10749561002054, + "difficulty": 2, + "effort": 152.21499122004107, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::calculateDeltas" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::loadBaseline": { + "line": 41, + "lineCount": 13, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 5, + "N2": 9, + "programLength": 14, + "programVocabulary": 8, + "volume": 42, + "difficulty": 2.7, + "effort": 113.4, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::loadBaseline" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::__construct": { + "line": 72, + "lineCount": 21, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 6, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "cyclomatic_complexity": { + "complexity": 3, + "risk_level": "low" + }, + "halstead": { + "n1": 3, + "n2": 9, + "N1": 12, + "N2": 34, + "programLength": 46, + "programVocabulary": 12, + "volume": 164.90827503317317, + "difficulty": 5.666666666666666, + "effort": 934.4802251879812, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setRequiredMetricProperties": { + "line": 98, + "lineCount": 30, + "argCount": 1, + "returnCount": 0, + "variableCount": 6, + "propertyCallCount": 9, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "cyclomatic_complexity": { + "complexity": 2, + "risk_level": "low" + }, + "halstead": { + "n1": 3, + "n2": 21, + "N1": 21, + "N2": 51, + "programLength": 72, + "programVocabulary": 24, + "volume": 330.1173000519232, + "difficulty": 3.6428571428571423, + "effort": 1202.570164474863, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setRequiredMetricProperties" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setOptionalMetricProperties": { + "line": 133, + "lineCount": 12, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 8, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 2, + "n2": 11, + "N1": 16, + "N2": 33, + "programLength": 49, + "programVocabulary": 13, + "volume": 181.32154618891352, + "difficulty": 3, + "effort": 543.9646385667405, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setOptionalMetricProperties" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setTimesChanged": { + "line": 146, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setTimesChanged" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertSame": { + "line": 151, + "lineCount": 14, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "cyclomatic_complexity": { + "complexity": 2, + "risk_level": "low" + }, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 6, + "N2": 8, + "programLength": 14, + "programVocabulary": 5, + "volume": 32.50699332842307, + "difficulty": 2.6666666666666665, + "effort": 86.68531554246152, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertSame" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::calculateDeltas": { + "line": 169, + "lineCount": 13, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 16, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 17, + "N2": 27, + "programLength": 44, + "programVocabulary": 4, + "volume": 88, + "difficulty": 13.5, + "effort": 1188, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::calculateDeltas" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::fromArray": { + "line": 187, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::fromArray" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertArrayKeyIsPresent": { + "line": 197, + "lineCount": 6, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "cyclomatic_complexity": { + "complexity": 2, + "risk_level": "low" + }, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 5, + "programLength": 5, + "programVocabulary": 2, + "volume": 5, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertArrayKeyIsPresent" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getClass": { + "line": 204, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getMethod": { + "line": 209, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getMethod" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCount": { + "line": 214, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCount": { + "line": 219, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCount": { + "line": 224, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCount": { + "line": 229, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCount": { + "line": 234, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCount": { + "line": 239, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevel": { + "line": 244, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevel" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCount": { + "line": 249, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeight": { + "line": 254, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setLineCountWeight": { + "line": 259, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setLineCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeight": { + "line": 264, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setArgCountWeight": { + "line": 269, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setArgCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeight": { + "line": 274, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setReturnCountWeight": { + "line": 279, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setReturnCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeight": { + "line": 284, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setVariableCountWeight": { + "line": 289, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setVariableCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeight": { + "line": 294, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setPropertyCallCountWeight": { + "line": 299, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setPropertyCallCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeight": { + "line": 304, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfCountWeight": { + "line": 309, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeight": { + "line": 314, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfNestingLevelWeight": { + "line": 319, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfNestingLevelWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeight": { + "line": 324, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setElseCountWeight": { + "line": 329, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setElseCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setScore": { + "line": 334, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setScore" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getScore": { + "line": 339, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getScore" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setCoverage": { + "line": 344, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCoverage": { + "line": 349, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeightDelta": { + "line": 354, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeightDelta": { + "line": 359, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeightDelta": { + "line": 364, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeightDelta": { + "line": 369, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeightDelta": { + "line": 374, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeightDelta": { + "line": 379, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeightDelta": { + "line": 384, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeightDelta": { + "line": 389, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getTimesChanged": { + "line": 394, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 2, + "programLength": 3, + "programVocabulary": 3, + "volume": 4.754887502163468, + "difficulty": 0.5, + "effort": 2.377443751081734, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getTimesChanged" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getFileName": { + "line": 399, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getFileName" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLine": { + "line": 404, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLine" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::equals": { + "line": 409, + "lineCount": 5, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 3, + "n2": 2, + "N1": 5, + "N2": 5, + "programLength": 10, + "programVocabulary": 5, + "volume": 23.21928094887362, + "difficulty": 3.75, + "effort": 87.07230355827608, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::equals" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::toArray": { + "line": 418, + "lineCount": 34, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 29, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 0, + "n2": 30, + "N1": 0, + "N2": 58, + "programLength": 58, + "programVocabulary": 30, + "volume": 284.5996545452941, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::toArray" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::jsonSerialize": { + "line": 456, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::jsonSerialize" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getHalstead": { + "line": 464, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getHalstead" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCyclomatic": { + "line": 472, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCyclomatic" + } + } + }, + "ignored_items": [], + "cached_at": 1759967601 +} \ No newline at end of file diff --git a/.phpcca.cache/a2/a280499ad110a86fd31ed7e3b54e1ef6.cache b/.phpcca.cache/a2/a280499ad110a86fd31ed7e3b54e1ef6.cache new file mode 100644 index 0000000..29f774b --- /dev/null +++ b/.phpcca.cache/a2/a280499ad110a86fd31ed7e3b54e1ef6.cache @@ -0,0 +1,4407 @@ +{ + "version": "1.0", + "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/Business\/Cognitive\/Exporter\/JsonExporter.php", + "file_mtime": 1759793044, + "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", + "analysis_result": { + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct": { + "line": 60, + "lineCount": 5, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 1, + "N1": 2, + "N2": 2, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 2, + "effort": 12.679700005769249, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices": { + "line": 66, + "lineCount": 95, + "argCount": 0, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 5, + "N1": 58, + "N2": 32, + "programLength": 90, + "programVocabulary": 9, + "volume": 285.2932501298081, + "difficulty": 12.8, + "effort": 3651.7536016615436, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap": { + "line": 162, + "lineCount": 10, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 7, + "N2": 7, + "programLength": 14, + "programVocabulary": 2, + "volume": 14, + "difficulty": 3.5, + "effort": 49, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors": { + "line": 173, + "lineCount": 12, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 3, + "N2": 1, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0.5, + "effort": 2, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus": { + "line": 186, + "lineCount": 19, + "argCount": 0, + "returnCount": 0, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 9, + "N2": 13, + "programLength": 22, + "programVocabulary": 7, + "volume": 61.76180828526729, + "difficulty": 2.6, + "effort": 160.58070154169496, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService": { + "line": 206, + "lineCount": 9, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 3, + "N2": 1, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0.5, + "effort": 2, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade": { + "line": 216, + "lineCount": 13, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 3, + "N2": 1, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0.5, + "effort": 2, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands": { + "line": 230, + "lineCount": 21, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 6, + "N2": 2, + "programLength": 8, + "programVocabulary": 2, + "volume": 8, + "difficulty": 1, + "effort": 8, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication": { + "line": 252, + "lineCount": 11, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 5, + "N2": 4, + "programLength": 9, + "programVocabulary": 4, + "volume": 18, + "difficulty": 0.6666666666666666, + "effort": 12, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run": { + "line": 264, + "lineCount": 9, + "argCount": 0, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 5, + "N2": 5, + "programLength": 10, + "programVocabulary": 4, + "volume": 20, + "difficulty": 2.5, + "effort": 50, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get": { + "line": 274, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer": { + "line": 279, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator": { + "line": 289, + "lineCount": 16, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 7, + "programLength": 8, + "programVocabulary": 4, + "volume": 16, + "difficulty": 1.1666666666666667, + "effort": 18.666666666666668, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create": { + "line": 18, + "lineCount": 7, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 4, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile": { + "line": 17, + "lineCount": 17, + "argCount": 2, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 8, + "N1": 11, + "N2": 19, + "programLength": 30, + "programVocabulary": 11, + "volume": 103.78294855911892, + "difficulty": 3.5625, + "effort": 369.72675424186116, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode": { + "line": 42, + "lineCount": 8, + "argCount": 3, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 3, + "N2": 8, + "programLength": 11, + "programVocabulary": 8, + "volume": 33, + "difficulty": 2.4000000000000004, + "effort": 79.20000000000002, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate": { + "line": 22, + "lineCount": 10, + "argCount": 2, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 6, + "N2": 13, + "programLength": 19, + "programVocabulary": 6, + "volume": 49.11428751370197, + "difficulty": 3.25, + "effort": 159.6214344195314, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending": { + "line": 37, + "lineCount": 8, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 2, + "N2": 9, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 2.25, + "effort": 63.97782189284862, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn": { + "line": 51, + "lineCount": 24, + "argCount": 2, + "returnCount": 1, + "variableCount": 6, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 15, + "N1": 17, + "N2": 46, + "programLength": 63, + "programVocabulary": 20, + "volume": 272.28146997790384, + "difficulty": 7.666666666666667, + "effort": 2087.491269830596, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses": { + "line": 81, + "lineCount": 20, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 2, + "n2": 7, + "N1": 10, + "N2": 24, + "programLength": 34, + "programVocabulary": 9, + "volume": 107.7774500490386, + "difficulty": 3.4285714285714284, + "effort": 369.52268588241805, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass": { + "line": 109, + "lineCount": 9, + "argCount": 2, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 6, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 10, + "volume": 49.82892142331043, + "difficulty": 3.3333333333333335, + "effort": 166.09640474436813, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel": { + "line": 126, + "lineCount": 16, + "argCount": 2, + "returnCount": 4, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 12, + "N1": 9, + "N2": 18, + "programLength": 27, + "programVocabulary": 15, + "volume": 105.48604608143, + "difficulty": 2.25, + "effort": 237.3436036832175, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile": { + "line": 14, + "lineCount": 6, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 2, + "N2": 5, + "programLength": 7, + "programVocabulary": 4, + "volume": 14, + "difficulty": 2.5, + "effort": 35, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable": { + "line": 24, + "lineCount": 11, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 10, + "N2": 12, + "programLength": 22, + "programVocabulary": 8, + "volume": 66, + "difficulty": 6, + "effort": 396, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create": { + "line": 21, + "lineCount": 11, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 7, + "N1": 0, + "N2": 9, + "programLength": 9, + "programVocabulary": 7, + "volume": 25.26619429851844, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes": { + "line": 38, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 6, + "N1": 0, + "N2": 6, + "programLength": 6, + "programVocabulary": 6, + "volume": 15.509775004326936, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported": { + "line": 49, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 2, + "N2": 3, + "programLength": 5, + "programVocabulary": 4, + "volume": 10, + "difficulty": 1.5, + "effort": 15, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export": { + "line": 30, + "lineCount": 23, + "argCount": 2, + "returnCount": 0, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 16, + "N1": 10, + "N2": 33, + "programLength": 43, + "programVocabulary": 20, + "volume": 185.8429080801566, + "difficulty": 4.125, + "effort": 766.601995830646, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export": { + "line": 28, + "lineCount": 8, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 6, + "volume": 36.18947501009619, + "difficulty": 2.5, + "effort": 90.47368752524048, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape": { + "line": 37, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber": { + "line": 42, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml": { + "line": 52, + "lineCount": 50, + "argCount": 1, + "returnCount": 1, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 12, + "N1": 11, + "N2": 25, + "programLength": 36, + "programVocabulary": 17, + "volume": 147.14866228501222, + "difficulty": 5.208333333333334, + "effort": 766.3992827344388, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export": { + "line": 17, + "lineCount": 13, + "argCount": 2, + "returnCount": 0, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 8, + "N1": 7, + "N2": 14, + "programLength": 21, + "programVocabulary": 12, + "volume": 75.28421251514428, + "difficulty": 3.5, + "effort": 263.49474380300495, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export": { + "line": 48, + "lineCount": 8, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 6, + "volume": 36.18947501009619, + "difficulty": 2.5, + "effort": 90.47368752524048, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown": { + "line": 61, + "lineCount": 24, + "argCount": 1, + "returnCount": 1, + "variableCount": 6, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 6, + "n2": 16, + "N1": 19, + "N2": 41, + "programLength": 60, + "programVocabulary": 22, + "volume": 267.56589711823784, + "difficulty": 7.6875, + "effort": 2056.9128340964535, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow": { + "line": 94, + "lineCount": 21, + "argCount": 3, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 7, + "n2": 18, + "N1": 16, + "N2": 39, + "programLength": 55, + "programVocabulary": 25, + "volume": 255.41209043760983, + "difficulty": 7.583333333333333, + "effort": 1936.8750191518745, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::__construct": { + "line": 26, + "lineCount": 4, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::export": { + "line": 36, + "lineCount": 10, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 8, + "volume": 45, + "difficulty": 5, + "effort": 225, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::generateSvgTreemap": { + "line": 53, + "lineCount": 20, + "argCount": 1, + "returnCount": 1, + "variableCount": 6, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 8, + "N1": 9, + "N2": 20, + "programLength": 29, + "programVocabulary": 10, + "volume": 96.3359147517335, + "difficulty": 2.5, + "effort": 240.83978687933376, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::generateSvgTreemap" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRects": { + "line": 82, + "lineCount": 10, + "argCount": 3, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 9, + "N1": 6, + "N2": 18, + "programLength": 24, + "programVocabulary": 12, + "volume": 86.03910001730775, + "difficulty": 3, + "effort": 258.1173000519232, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRects" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRect": { + "line": 100, + "lineCount": 29, + "argCount": 2, + "returnCount": 1, + "variableCount": 12, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 6, + "n2": 28, + "N1": 26, + "N2": 54, + "programLength": 80, + "programVocabulary": 34, + "volume": 406.9970273000271, + "difficulty": 5.785714285714286, + "effort": 2354.7685150930142, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRect" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::wrapSvg": { + "line": 136, + "lineCount": 21, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 2, + "N2": 8, + "programLength": 10, + "programVocabulary": 4, + "volume": 20, + "difficulty": 1.3333333333333333, + "effort": 26.666666666666664, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::wrapSvg" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::prepareItems": { + "line": 28, + "lineCount": 18, + "argCount": 1, + "returnCount": 1, + "variableCount": 7, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 12, + "N1": 9, + "N2": 30, + "programLength": 39, + "programVocabulary": 17, + "volume": 159.41105080876324, + "difficulty": 6.25, + "effort": 996.3190675547702, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::prepareItems" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findScoreRange": { + "line": 53, + "lineCount": 16, + "argCount": 1, + "returnCount": 3, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 7, + "N2": 13, + "programLength": 20, + "programVocabulary": 8, + "volume": 60, + "difficulty": 3.9000000000000004, + "effort": 234.00000000000003, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findScoreRange" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::normalizeScore": { + "line": 78, + "lineCount": 8, + "argCount": 3, + "returnCount": 2, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 8, + "volume": 45, + "difficulty": 5, + "effort": 225, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::normalizeScore" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::scoreToColor": { + "line": 93, + "lineCount": 9, + "argCount": 1, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 5, + "n2": 9, + "N1": 12, + "N2": 16, + "programLength": 28, + "programVocabulary": 14, + "volume": 106.60593781761291, + "difficulty": 4.444444444444445, + "effort": 473.80416807827964, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::scoreToColor" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::calculateTreemapLayout": { + "line": 115, + "lineCount": 23, + "argCount": 7, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 9, + "N1": 2, + "N2": 18, + "programLength": 20, + "programVocabulary": 11, + "volume": 69.18863237274594, + "difficulty": 2, + "effort": 138.37726474549189, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::calculateTreemapLayout" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::layoutTreemap": { + "line": 152, + "lineCount": 89, + "argCount": 8, + "returnCount": 3, + "variableCount": 11, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 8, + "n2": 28, + "N1": 32, + "N2": 98, + "programLength": 130, + "programVocabulary": 36, + "volume": 672.0902501875006, + "difficulty": 14, + "effort": 9409.263502625008, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::layoutTreemap" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findSplitIndex": { + "line": 249, + "lineCount": 13, + "argCount": 2, + "returnCount": 2, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 7, + "n2": 10, + "N1": 9, + "N2": 23, + "programLength": 32, + "programVocabulary": 17, + "volume": 130.79881092001085, + "difficulty": 8.049999999999999, + "effort": 1052.9304279060873, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findSplitIndex" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::__construct": { + "line": 23, + "lineCount": 18, + "argCount": 1, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 7, + "N2": 11, + "programLength": 18, + "programVocabulary": 6, + "volume": 46.529325012980806, + "difficulty": 5.5, + "effort": 255.91128757139444, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::getAllClasses": { + "line": 47, + "lineCount": 17, + "argCount": 0, + "returnCount": 2, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 6, + "N2": 12, + "programLength": 18, + "programVocabulary": 9, + "volume": 57.05865002596162, + "difficulty": 3, + "effort": 171.17595007788486, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::getAllClasses" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::withClassNode": { + "line": 73, + "lineCount": 8, + "argCount": 2, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 4, + "N2": 8, + "programLength": 12, + "programVocabulary": 8, + "volume": 36, + "difficulty": 4, + "effort": 144, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::withClassNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::findClassNode": { + "line": 85, + "lineCount": 25, + "argCount": 1, + "returnCount": 4, + "variableCount": 5, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 13, + "N2": 29, + "programLength": 42, + "programVocabulary": 11, + "volume": 145.29612798276648, + "difficulty": 8.285714285714286, + "effort": 1203.8822032857795, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::findClassNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::escapeXPathValue": { + "line": 114, + "lineCount": 16, + "argCount": 1, + "returnCount": 3, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 9, + "N1": 11, + "N2": 18, + "programLength": 29, + "programVocabulary": 13, + "volume": 107.31275182609167, + "difficulty": 4, + "effort": 429.2510073043667, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::escapeXPathValue" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getLineCoverage": { + "line": 22, + "lineCount": 18, + "argCount": 1, + "returnCount": 4, + "variableCount": 5, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 9, + "N1": 10, + "N2": 19, + "programLength": 29, + "programVocabulary": 13, + "volume": 107.31275182609167, + "difficulty": 4.222222222222222, + "effort": 453.09828548794263, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getLineCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getBranchCoverage": { + "line": 48, + "lineCount": 18, + "argCount": 1, + "returnCount": 4, + "variableCount": 5, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 9, + "N1": 10, + "N2": 19, + "programLength": 29, + "programVocabulary": 13, + "volume": 107.31275182609167, + "difficulty": 4.222222222222222, + "effort": 453.09828548794263, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getBranchCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getComplexity": { + "line": 73, + "lineCount": 13, + "argCount": 1, + "returnCount": 3, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 7, + "N2": 14, + "programLength": 21, + "programVocabulary": 11, + "volume": 72.64806399138324, + "difficulty": 4, + "effort": 290.59225596553296, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getComplexity" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getCoverageDetails": { + "line": 93, + "lineCount": 26, + "argCount": 1, + "returnCount": 3, + "variableCount": 9, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 17, + "N1": 22, + "N2": 42, + "programLength": 64, + "programVocabulary": 22, + "volume": 285.403623592787, + "difficulty": 6.176470588235294, + "effort": 1762.7870868966259, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getCoverageDetails" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getMetricsNode": { + "line": 123, + "lineCount": 12, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 6, + "N1": 7, + "N2": 13, + "programLength": 20, + "programVocabulary": 10, + "volume": 66.43856189774725, + "difficulty": 4.333333333333333, + "effort": 287.90043489023805, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getMetricsNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getFilenameForClass": { + "line": 139, + "lineCount": 9, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 5, + "N1": 4, + "N2": 9, + "programLength": 13, + "programVocabulary": 9, + "volume": 41.209025018750054, + "difficulty": 3.6, + "effort": 148.3524900675002, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getFilenameForClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodsCoverage": { + "line": 154, + "lineCount": 36, + "argCount": 1, + "returnCount": 3, + "variableCount": 8, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 13, + "N1": 12, + "N2": 30, + "programLength": 42, + "programVocabulary": 16, + "volume": 168, + "difficulty": 3.4615384615384612, + "effort": 581.5384615384614, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodsCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::calculateMethodCoverage": { + "line": 194, + "lineCount": 15, + "argCount": 2, + "returnCount": 2, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 11, + "N1": 9, + "N2": 23, + "programLength": 32, + "programVocabulary": 16, + "volume": 128, + "difficulty": 5.227272727272727, + "effort": 669.090909090909, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::calculateMethodCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodCoverageFromLines": { + "line": 215, + "lineCount": 36, + "argCount": 2, + "returnCount": 1, + "variableCount": 7, + "propertyCallCount": 0, + "ifNestingLevel": 2, + "elseCount": 0, + "ifCount": 5, + "halstead": { + "n1": 2, + "n2": 14, + "N1": 12, + "N2": 35, + "programLength": 47, + "programVocabulary": 16, + "volume": 188, + "difficulty": 2.5, + "effort": 470, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodCoverageFromLines" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStart": { + "line": 252, + "lineCount": 4, + "argCount": 3, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 3, + "N2": 7, + "programLength": 10, + "programVocabulary": 6, + "volume": 25.84962500721156, + "difficulty": 1.75, + "effort": 45.23684376262023, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStart" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodEnd": { + "line": 257, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 5, + "programLength": 7, + "programVocabulary": 5, + "volume": 16.253496664211536, + "difficulty": 1.6666666666666667, + "effort": 27.089161107019226, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodEnd" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStatement": { + "line": 262, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 5, + "programLength": 7, + "programVocabulary": 5, + "volume": 16.253496664211536, + "difficulty": 1.6666666666666667, + "effort": 27.089161107019226, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStatement" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isStatementCovered": { + "line": 267, + "lineCount": 5, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 4, + "N1": 3, + "N2": 6, + "programLength": 9, + "programVocabulary": 7, + "volume": 25.26619429851844, + "difficulty": 2.25, + "effort": 56.848937171666485, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isStatementCovered" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getLineCoverage": { + "line": 20, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 9, + "volume": 44.37895002019237, + "difficulty": 2.5, + "effort": 110.94737505048093, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getLineCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getBranchCoverage": { + "line": 34, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 9, + "volume": 44.37895002019237, + "difficulty": 2.5, + "effort": 110.94737505048093, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getBranchCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getComplexity": { + "line": 48, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 9, + "volume": 44.37895002019237, + "difficulty": 2.5, + "effort": 110.94737505048093, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getComplexity" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getCoverageDetails": { + "line": 62, + "lineCount": 13, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 8, + "N1": 7, + "N2": 16, + "programLength": 23, + "programVocabulary": 9, + "volume": 72.90827503317318, + "difficulty": 1, + "effort": 72.90827503317318, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getCoverageDetails" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::extractMethodsCoverage": { + "line": 81, + "lineCount": 23, + "argCount": 1, + "returnCount": 2, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 11, + "N1": 10, + "N2": 23, + "programLength": 33, + "programVocabulary": 14, + "volume": 125.64271242790093, + "difficulty": 3.1363636363636362, + "effort": 394.061234432962, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::extractMethodsCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CodeCoverageFactory::createFromName": { + "line": 14, + "lineCount": 8, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 4, + "N1": 1, + "N2": 8, + "programLength": 9, + "programVocabulary": 5, + "volume": 20.89735285398626, + "difficulty": 1, + "effort": 20.89735285398626, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CodeCoverageFactory::createFromName" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::__construct": { + "line": 28, + "lineCount": 15, + "argCount": 6, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 6, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 7, + "N1": 6, + "N2": 18, + "programLength": 24, + "programVocabulary": 8, + "volume": 72, + "difficulty": 1.2857142857142858, + "effort": 92.57142857142858, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getName": { + "line": 44, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getName" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getFilename": { + "line": 49, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getFilename" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getLineRate": { + "line": 54, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getLineRate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getBranchRate": { + "line": 59, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getBranchRate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getComplexity": { + "line": 64, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getComplexity" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getMethods": { + "line": 72, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getMethods" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::__construct": { + "line": 17, + "lineCount": 11, + "argCount": 4, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 4, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 5, + "N1": 4, + "N2": 12, + "programLength": 16, + "programVocabulary": 6, + "volume": 41.3594000115385, + "difficulty": 1.2, + "effort": 49.631280013846194, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getName": { + "line": 29, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getName" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getLineRate": { + "line": 34, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getLineRate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getBranchRate": { + "line": 39, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getBranchRate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getComplexity": { + "line": 44, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getComplexity" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::calculateDeltas": { + "line": 19, + "lineCount": 14, + "argCount": 2, + "returnCount": 0, + "variableCount": 6, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 9, + "N1": 4, + "N2": 18, + "programLength": 22, + "programVocabulary": 11, + "volume": 76.10749561002054, + "difficulty": 2, + "effort": 152.21499122004107, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::calculateDeltas" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::loadBaseline": { + "line": 41, + "lineCount": 13, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 5, + "N2": 9, + "programLength": 14, + "programVocabulary": 8, + "volume": 42, + "difficulty": 2.7, + "effort": 113.4, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::loadBaseline" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::__construct": { + "line": 72, + "lineCount": 21, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 6, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 9, + "N1": 12, + "N2": 34, + "programLength": 46, + "programVocabulary": 12, + "volume": 164.90827503317317, + "difficulty": 5.666666666666666, + "effort": 934.4802251879812, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setRequiredMetricProperties": { + "line": 98, + "lineCount": 30, + "argCount": 1, + "returnCount": 0, + "variableCount": 6, + "propertyCallCount": 9, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 21, + "N1": 21, + "N2": 51, + "programLength": 72, + "programVocabulary": 24, + "volume": 330.1173000519232, + "difficulty": 3.6428571428571423, + "effort": 1202.570164474863, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setRequiredMetricProperties" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setOptionalMetricProperties": { + "line": 133, + "lineCount": 12, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 8, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 11, + "N1": 16, + "N2": 33, + "programLength": 49, + "programVocabulary": 13, + "volume": 181.32154618891352, + "difficulty": 3, + "effort": 543.9646385667405, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setOptionalMetricProperties" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setTimesChanged": { + "line": 146, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setTimesChanged" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertSame": { + "line": 151, + "lineCount": 14, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 6, + "N2": 8, + "programLength": 14, + "programVocabulary": 5, + "volume": 32.50699332842307, + "difficulty": 2.6666666666666665, + "effort": 86.68531554246152, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertSame" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::calculateDeltas": { + "line": 169, + "lineCount": 13, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 16, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 17, + "N2": 27, + "programLength": 44, + "programVocabulary": 4, + "volume": 88, + "difficulty": 13.5, + "effort": 1188, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::calculateDeltas" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::fromArray": { + "line": 187, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::fromArray" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertArrayKeyIsPresent": { + "line": 197, + "lineCount": 6, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 5, + "programLength": 5, + "programVocabulary": 2, + "volume": 5, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertArrayKeyIsPresent" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getClass": { + "line": 204, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getMethod": { + "line": 209, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getMethod" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCount": { + "line": 214, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCount": { + "line": 219, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCount": { + "line": 224, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCount": { + "line": 229, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCount": { + "line": 234, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCount": { + "line": 239, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevel": { + "line": 244, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevel" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCount": { + "line": 249, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeight": { + "line": 254, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setLineCountWeight": { + "line": 259, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setLineCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeight": { + "line": 264, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setArgCountWeight": { + "line": 269, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setArgCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeight": { + "line": 274, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setReturnCountWeight": { + "line": 279, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setReturnCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeight": { + "line": 284, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setVariableCountWeight": { + "line": 289, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setVariableCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeight": { + "line": 294, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setPropertyCallCountWeight": { + "line": 299, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setPropertyCallCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeight": { + "line": 304, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfCountWeight": { + "line": 309, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeight": { + "line": 314, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfNestingLevelWeight": { + "line": 319, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfNestingLevelWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeight": { + "line": 324, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setElseCountWeight": { + "line": 329, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setElseCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setScore": { + "line": 334, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setScore" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getScore": { + "line": 339, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getScore" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setCoverage": { + "line": 344, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCoverage": { + "line": 349, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeightDelta": { + "line": 354, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeightDelta": { + "line": 359, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeightDelta": { + "line": 364, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeightDelta": { + "line": 369, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeightDelta": { + "line": 374, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeightDelta": { + "line": 379, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeightDelta": { + "line": 384, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeightDelta": { + "line": 389, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getTimesChanged": { + "line": 394, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 2, + "programLength": 3, + "programVocabulary": 3, + "volume": 4.754887502163468, + "difficulty": 0.5, + "effort": 2.377443751081734, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getTimesChanged" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getFileName": { + "line": 399, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getFileName" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLine": { + "line": 404, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLine" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::equals": { + "line": 409, + "lineCount": 5, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 2, + "N1": 5, + "N2": 5, + "programLength": 10, + "programVocabulary": 5, + "volume": 23.21928094887362, + "difficulty": 3.75, + "effort": 87.07230355827608, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::equals" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::toArray": { + "line": 418, + "lineCount": 34, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 29, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 30, + "N1": 0, + "N2": 58, + "programLength": 58, + "programVocabulary": 30, + "volume": 284.5996545452941, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::toArray" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::jsonSerialize": { + "line": 456, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::jsonSerialize" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getHalstead": { + "line": 464, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getHalstead" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCyclomatic": { + "line": 472, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCyclomatic" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::add": { + "line": 30, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 5, + "N2": 6, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 3, + "effort": 85.30376252379816, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::add" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filter": { + "line": 40, + "lineCount": 11, + "argCount": 1, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 8, + "volume": 42, + "difficulty": 3, + "effort": 126, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filter" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getIterator": { + "line": 57, + "lineCount": 5, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getIterator" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::count": { + "line": 66, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::count" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterWithScoreGreaterThan": { + "line": 71, + "lineCount": 6, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 3, + "N2": 6, + "programLength": 9, + "programVocabulary": 5, + "volume": 20.89735285398626, + "difficulty": 2, + "effort": 41.79470570797252, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterWithScoreGreaterThan" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::contains": { + "line": 78, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 4, + "N2": 5, + "programLength": 9, + "programVocabulary": 5, + "volume": 20.89735285398626, + "difficulty": 1.6666666666666667, + "effort": 34.82892142331043, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::contains" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getClassWithMethod": { + "line": 83, + "lineCount": 9, + "argCount": 2, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 3, + "N2": 10, + "programLength": 13, + "programVocabulary": 7, + "volume": 36.49561398674886, + "difficulty": 2, + "effort": 72.99122797349771, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getClassWithMethod" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterByClassName": { + "line": 93, + "lineCount": 6, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 3, + "N2": 6, + "programLength": 9, + "programVocabulary": 5, + "volume": 20.89735285398626, + "difficulty": 2, + "effort": 41.79470570797252, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterByClassName" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::assertMetricHasGetter": { + "line": 100, + "lineCount": 9, + "argCount": 3, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 6, + "programLength": 7, + "programVocabulary": 4, + "volume": 14, + "difficulty": 1, + "effort": 14, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::assertMetricHasGetter" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::groupBy": { + "line": 117, + "lineCount": 20, + "argCount": 1, + "returnCount": 1, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 10, + "N2": 23, + "programLength": 33, + "programVocabulary": 11, + "volume": 114.16124341503081, + "difficulty": 6.571428571428571, + "effort": 750.2024567273453, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::groupBy" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::jsonSerialize": { + "line": 141, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::jsonSerialize" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::__construct": { + "line": 32, + "lineCount": 8, + "argCount": 5, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 5, + "N1": 0, + "N2": 5, + "programLength": 5, + "programVocabulary": 5, + "volume": 11.60964047443681, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collect": { + "line": 49, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 5, + "programLength": 6, + "programVocabulary": 4, + "volume": 12, + "difficulty": 0.8333333333333334, + "effort": 10, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collect" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collectFromPaths": { + "line": 62, + "lineCount": 13, + "argCount": 2, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 8, + "N2": 16, + "programLength": 24, + "programVocabulary": 9, + "volume": 76.07820003461549, + "difficulty": 4, + "effort": 304.31280013846197, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collectFromPaths" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCodeFromFile": { + "line": 79, + "lineCount": 10, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 2, + "N1": 5, + "N2": 6, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 6, + "effort": 170.6075250475963, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCodeFromFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findMetrics": { + "line": 98, + "lineCount": 31, + "argCount": 1, + "returnCount": 1, + "variableCount": 9, + "propertyCallCount": 2, + "ifNestingLevel": 2, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 13, + "N1": 18, + "N2": 38, + "programLength": 56, + "programVocabulary": 16, + "volume": 224, + "difficulty": 4.384615384615384, + "effort": 982.1538461538461, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findMetrics" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processMethodMetrics": { + "line": 136, + "lineCount": 29, + "argCount": 3, + "returnCount": 1, + "variableCount": 7, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 14, + "N1": 8, + "N2": 27, + "programLength": 35, + "programVocabulary": 17, + "volume": 143.06119944376186, + "difficulty": 2.892857142857143, + "effort": 413.8556126765968, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processMethodMetrics" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::isExcluded": { + "line": 166, + "lineCount": 12, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 5, + "N1": 5, + "N2": 9, + "programLength": 14, + "programVocabulary": 9, + "volume": 44.37895002019237, + "difficulty": 3.6, + "effort": 159.76422007269252, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::isExcluded" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findSourceFiles": { + "line": 187, + "lineCount": 7, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 2, + "N2": 6, + "programLength": 8, + "programVocabulary": 6, + "volume": 20.67970000576925, + "difficulty": 1.5, + "effort": 31.019550008653873, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findSourceFiles" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getProjectRoot": { + "line": 202, + "lineCount": 13, + "argCount": 0, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 2, + "N1": 8, + "N2": 8, + "programLength": 16, + "programVocabulary": 6, + "volume": 41.3594000115385, + "difficulty": 8, + "effort": 330.875200092308, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getProjectRoot" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateCacheKey": { + "line": 219, + "lineCount": 7, + "argCount": 2, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 6, + "N1": 10, + "N2": 12, + "programLength": 22, + "programVocabulary": 10, + "volume": 73.08241808752197, + "difficulty": 4, + "effort": 292.3296723500879, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateCacheKey" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateConfigHash": { + "line": 230, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 1, + "N1": 3, + "N2": 2, + "programLength": 5, + "programVocabulary": 3, + "volume": 7.92481250360578, + "difficulty": 2, + "effort": 15.84962500721156, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateConfigHash" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::cacheResult": { + "line": 239, + "lineCount": 14, + "argCount": 4, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 13, + "N1": 5, + "N2": 20, + "programLength": 25, + "programVocabulary": 15, + "volume": 97.67226489021297, + "difficulty": 1.5384615384615385, + "effort": 150.26502290801997, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::cacheResult" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::clearCache": { + "line": 254, + "lineCount": 4, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::clearCache" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::normalizeFilename": { + "line": 264, + "lineCount": 15, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 6, + "n2": 7, + "N1": 12, + "N2": 16, + "programLength": 28, + "programVocabulary": 13, + "volume": 103.61231210795059, + "difficulty": 6.857142857142857, + "effort": 710.4844258830897, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::normalizeFilename" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCachedMetrics": { + "line": 286, + "lineCount": 19, + "argCount": 3, + "returnCount": 3, + "variableCount": 4, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 11, + "N1": 10, + "N2": 29, + "programLength": 39, + "programVocabulary": 14, + "volume": 148.48684196024655, + "difficulty": 3.954545454545454, + "effort": 587.1979659337022, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCachedMetrics" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processFile": { + "line": 312, + "lineCount": 37, + "argCount": 5, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 7, + "n2": 10, + "N1": 12, + "N2": 28, + "programLength": 40, + "programVocabulary": 17, + "volume": 163.49851365001356, + "difficulty": 9.799999999999999, + "effort": 1602.2854337701328, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::sort": { + "line": 51, + "lineCount": 41, + "argCount": 3, + "returnCount": 2, + "variableCount": 10, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 18, + "N1": 20, + "N2": 43, + "programLength": 63, + "programVocabulary": 22, + "volume": 280.9441919741497, + "difficulty": 4.777777777777778, + "effort": 1342.2889172098264, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::sort" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getFieldValue": { + "line": 100, + "lineCount": 28, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 25, + "N1": 24, + "N2": 50, + "programLength": 74, + "programVocabulary": 27, + "volume": 351.86167516009664, + "difficulty": 2, + "effort": 703.7233503201933, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getFieldValue" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::compareValues": { + "line": 136, + "lineCount": 13, + "argCount": 2, + "returnCount": 3, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 2, + "N1": 9, + "N2": 12, + "programLength": 21, + "programVocabulary": 5, + "volume": 48.760489992634604, + "difficulty": 9, + "effort": 438.8444099337114, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::compareValues" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getSortableFields": { + "line": 155, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 0, + "N1": 0, + "N2": 0, + "programLength": 0, + "programVocabulary": 0, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getSortableFields" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__construct": { + "line": 15, + "lineCount": 11, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 7, + "N2": 12, + "programLength": 19, + "programVocabulary": 6, + "volume": 49.11428751370197, + "difficulty": 6, + "effort": 294.6857250822118, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::getValue": { + "line": 27, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::getValue" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasIncreased": { + "line": 32, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasIncreased" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__toString": { + "line": 37, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__toString" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasNotChanged": { + "line": 42, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 2, + "programLength": 3, + "programVocabulary": 3, + "volume": 4.754887502163468, + "difficulty": 0.5, + "effort": 2.377443751081734, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasNotChanged" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\FileProcessed::__construct": { + "line": 14, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\FileProcessed::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\ParserFailed::__construct": { + "line": 15, + "lineCount": 5, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\ParserFailed::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\SourceFilesFound::__construct": { + "line": 17, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\SourceFilesFound::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::__construct": { + "line": 15, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::create": { + "line": 27, + "lineCount": 10, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 6, + "N1": 0, + "N2": 8, + "programLength": 8, + "programVocabulary": 6, + "volume": 20.67970000576925, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::create" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::getSupportedTypes": { + "line": 43, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 4, + "N1": 0, + "N2": 4, + "programLength": 4, + "programVocabulary": 4, + "volume": 8, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::getSupportedTypes" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::isSupported": { + "line": 54, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 2, + "N2": 3, + "programLength": 5, + "programVocabulary": 4, + "volume": 10, + "difficulty": 1.5, + "effort": 15, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::isSupported" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CsvExporter::export": { + "line": 46, + "lineCount": 57, + "argCount": 2, + "returnCount": 0, + "variableCount": 6, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 15, + "N1": 37, + "N2": 54, + "programLength": 91, + "programVocabulary": 19, + "volume": 386.56140372336625, + "difficulty": 7.2, + "effort": 2783.242106808237, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CsvExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::export": { + "line": 40, + "lineCount": 8, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 5, + "N1": 4, + "N2": 8, + "programLength": 12, + "programVocabulary": 9, + "volume": 38.039100017307746, + "difficulty": 3.2, + "effort": 121.72512005538479, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::escape": { + "line": 49, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::escape" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::formatNumber": { + "line": 54, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::formatNumber" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::generateMetricRow": { + "line": 59, + "lineCount": 12, + "argCount": 3, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 16, + "N1": 19, + "N2": 27, + "programLength": 46, + "programVocabulary": 21, + "volume": 202.04660144782298, + "difficulty": 4.21875, + "effort": 852.3840998580032, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::generateMetricRow" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::generateHtml": { + "line": 78, + "lineCount": 64, + "argCount": 1, + "returnCount": 1, + "variableCount": 7, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 11, + "N1": 46, + "N2": 57, + "programLength": 103, + "programVocabulary": 15, + "volume": 402.40973134767745, + "difficulty": 10.363636363636363, + "effort": 4170.42812487593, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::generateHtml" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\JsonExporter::export": { + "line": 19, + "lineCount": 38, + "argCount": 2, + "returnCount": 0, + "variableCount": 5, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "cyclomatic_complexity": { + "complexity": 4, + "risk_level": "low" + }, + "halstead": { + "n1": 5, + "n2": 27, + "N1": 29, + "N2": 58, + "programLength": 87, + "programVocabulary": 32, + "volume": 435, + "difficulty": 5.370370370370371, + "effort": 2336.1111111111113, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\JsonExporter::export" + } + } + }, + "ignored_items": [], + "cached_at": 1759967601 +} \ No newline at end of file diff --git a/.phpcca.cache/a4/a48cd9157e0d22eecc24a5ba8f9f2bae.cache b/.phpcca.cache/a4/a48cd9157e0d22eecc24a5ba8f9f2bae.cache new file mode 100644 index 0000000..bb97b26 --- /dev/null +++ b/.phpcca.cache/a4/a48cd9157e0d22eecc24a5ba8f9f2bae.cache @@ -0,0 +1,4439 @@ +{ + "version": "1.0", + "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/PhpParser\/CyclomaticComplexityVisitor.php", + "file_mtime": 1759791861, + "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", + "analysis_result": { + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::__construct": { + "line": 26, + "lineCount": 5, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 4, + "N1": 3, + "N2": 6, + "programLength": 9, + "programVocabulary": 7, + "volume": 25.26619429851844, + "difficulty": 2.25, + "effort": 56.848937171666485, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItem": { + "line": 35, + "lineCount": 15, + "argCount": 1, + "returnCount": 3, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 6, + "N2": 13, + "programLength": 19, + "programVocabulary": 8, + "volume": 57, + "difficulty": 6.5, + "effort": 370.5, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItem" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItems": { + "line": 55, + "lineCount": 9, + "argCount": 1, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 3, + "N2": 9, + "programLength": 12, + "programVocabulary": 6, + "volume": 31.019550008653873, + "difficulty": 2.25, + "effort": 69.79398751947122, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItems" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::hasItem": { + "line": 68, + "lineCount": 6, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 5, + "n2": 3, + "N1": 6, + "N2": 7, + "programLength": 13, + "programVocabulary": 8, + "volume": 39, + "difficulty": 5.833333333333334, + "effort": 227.50000000000003, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::hasItem" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::clear": { + "line": 75, + "lineCount": 10, + "argCount": 0, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 2, + "N2": 4, + "programLength": 6, + "programVocabulary": 3, + "volume": 9.509775004326936, + "difficulty": 1, + "effort": 9.509775004326936, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::clear" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItem": { + "line": 89, + "lineCount": 10, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 4, + "N2": 6, + "programLength": 10, + "programVocabulary": 6, + "volume": 25.84962500721156, + "difficulty": 3, + "effort": 77.54887502163469, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItem" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItems": { + "line": 103, + "lineCount": 10, + "argCount": 1, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 3, + "N2": 8, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 2, + "effort": 56.86917501586544, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItems" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::save": { + "line": 117, + "lineCount": 11, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 4, + "N1": 9, + "N2": 12, + "programLength": 21, + "programVocabulary": 7, + "volume": 58.95445336320969, + "difficulty": 4.5, + "effort": 265.2950401344436, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::save" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveDeferred": { + "line": 129, + "lineCount": 6, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveDeferred" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::commit": { + "line": 136, + "lineCount": 11, + "argCount": 0, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 4, + "N2": 8, + "programLength": 12, + "programVocabulary": 5, + "volume": 27.863137138648348, + "difficulty": 2.6666666666666665, + "effort": 74.30169903639559, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::commit" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::ensureCacheDirectory": { + "line": 152, + "lineCount": 9, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 3, + "N2": 4, + "programLength": 7, + "programVocabulary": 4, + "volume": 14, + "difficulty": 2, + "effort": 28, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::ensureCacheDirectory" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getCacheFilePath": { + "line": 168, + "lineCount": 15, + "argCount": 1, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 10, + "N1": 13, + "N2": 19, + "programLength": 32, + "programVocabulary": 14, + "volume": 121.83535750584333, + "difficulty": 3.8, + "effort": 462.9743585222046, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getCacheFilePath" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::loadCacheData": { + "line": 187, + "lineCount": 14, + "argCount": 1, + "returnCount": 3, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 6, + "N2": 8, + "programLength": 14, + "programVocabulary": 6, + "volume": 36.18947501009619, + "difficulty": 4, + "effort": 144.75790004038475, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::loadCacheData" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveCacheData": { + "line": 209, + "lineCount": 21, + "argCount": 2, + "returnCount": 3, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 6, + "n2": 7, + "N1": 13, + "N2": 17, + "programLength": 30, + "programVocabulary": 13, + "volume": 111.01319154423277, + "difficulty": 7.285714285714285, + "effort": 808.810395536553, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveCacheData" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::sanitizeUtf8": { + "line": 234, + "lineCount": 25, + "argCount": 1, + "returnCount": 4, + "variableCount": 6, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 8, + "N1": 13, + "N2": 29, + "programLength": 42, + "programVocabulary": 11, + "volume": 145.29612798276648, + "difficulty": 5.4375, + "effort": 790.0476959062927, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::sanitizeUtf8" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::removeDirectory": { + "line": 260, + "lineCount": 23, + "argCount": 1, + "returnCount": 2, + "variableCount": 5, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 5, + "n2": 9, + "N1": 13, + "N2": 20, + "programLength": 33, + "programVocabulary": 14, + "volume": 125.64271242790093, + "difficulty": 5.555555555555555, + "effort": 698.0150690438941, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::removeDirectory" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::__construct": { + "line": 42, + "lineCount": 7, + "argCount": 3, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 3, + "N1": 0, + "N2": 3, + "programLength": 3, + "programVocabulary": 3, + "volume": 4.754887502163468, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::configure": { + "line": 53, + "lineCount": 57, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 15, + "N1": 9, + "N2": 16, + "programLength": 25, + "programVocabulary": 16, + "volume": 100, + "difficulty": 0.5333333333333333, + "effort": 53.333333333333336, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::configure" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::execute": { + "line": 119, + "lineCount": 43, + "argCount": 2, + "returnCount": 5, + "variableCount": 9, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 4, + "halstead": { + "n1": 7, + "n2": 14, + "N1": 31, + "N2": 45, + "programLength": 76, + "programVocabulary": 21, + "volume": 333.8161241311858, + "difficulty": 11.25, + "effort": 3755.4313964758403, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::execute" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::loadCoverageReader": { + "line": 171, + "lineCount": 32, + "argCount": 3, + "returnCount": 4, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 2, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 4, + "n2": 9, + "N1": 9, + "N2": 21, + "programLength": 30, + "programVocabulary": 13, + "volume": 111.01319154423277, + "difficulty": 4.666666666666667, + "effort": 518.0615605397529, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::loadCoverageReader" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::detectCoverageFormat": { + "line": 207, + "lineCount": 19, + "argCount": 1, + "returnCount": 4, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 9, + "volume": 47.548875021634686, + "difficulty": 2.5, + "effort": 118.87218755408671, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::detectCoverageFormat" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::coverageFileExists": { + "line": 227, + "lineCount": 20, + "argCount": 2, + "returnCount": 3, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 4, + "N2": 7, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 3.5, + "effort": 99.52105627776452, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::coverageFileExists" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::__construct": { + "line": 49, + "lineCount": 10, + "argCount": 6, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 6, + "N1": 0, + "N2": 6, + "programLength": 6, + "programVocabulary": 6, + "volume": 15.509775004326936, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::configure": { + "line": 63, + "lineCount": 76, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 20, + "N1": 13, + "N2": 20, + "programLength": 33, + "programVocabulary": 21, + "volume": 144.94647495169912, + "difficulty": 0.5, + "effort": 72.47323747584956, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::configure" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::execute": { + "line": 150, + "lineCount": 52, + "argCount": 2, + "returnCount": 5, + "variableCount": 11, + "propertyCallCount": 6, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 7, + "halstead": { + "n1": 6, + "n2": 15, + "N1": 43, + "N2": 61, + "programLength": 104, + "programVocabulary": 21, + "volume": 456.80101196899113, + "difficulty": 12.2, + "effort": 5572.972346021692, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::execute" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::parsePaths": { + "line": 209, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 4, + "N2": 8, + "programLength": 12, + "programVocabulary": 7, + "volume": 33.68825906469125, + "difficulty": 1.6, + "effort": 53.901214503506004, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::parsePaths" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleBaseLine": { + "line": 224, + "lineCount": 8, + "argCount": 2, + "returnCount": 0, + "variableCount": 3, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 5, + "N2": 11, + "programLength": 16, + "programVocabulary": 7, + "volume": 44.91767875292167, + "difficulty": 2.2, + "effort": 98.81889325642767, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleBaseLine" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleCoverageOptions": { + "line": 238, + "lineCount": 20, + "argCount": 2, + "returnCount": 3, + "variableCount": 5, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 5, + "n2": 10, + "N1": 15, + "N2": 25, + "programLength": 40, + "programVocabulary": 15, + "volume": 156.27562382434076, + "difficulty": 6.25, + "effort": 976.7226489021298, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleCoverageOptions" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::applySorting": { + "line": 264, + "lineCount": 21, + "argCount": 3, + "returnCount": 3, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 15, + "N1": 16, + "N2": 32, + "programLength": 48, + "programVocabulary": 20, + "volume": 207.45254855459342, + "difficulty": 5.333333333333333, + "effort": 1106.4135922911648, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::applySorting" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadConfiguration": { + "line": 293, + "lineCount": 10, + "argCount": 2, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 6, + "N1": 5, + "N2": 9, + "programLength": 14, + "programVocabulary": 8, + "volume": 42, + "difficulty": 1.5, + "effort": 63, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadConfiguration" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadCoverageReader": { + "line": 313, + "lineCount": 28, + "argCount": 3, + "returnCount": 4, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 2, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 10, + "N2": 18, + "programLength": 28, + "programVocabulary": 11, + "volume": 96.86408532184433, + "difficulty": 5.142857142857143, + "effort": 498.15815308377086, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadCoverageReader" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::detectCoverageFormat": { + "line": 345, + "lineCount": 19, + "argCount": 1, + "returnCount": 4, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 9, + "volume": 47.548875021634686, + "difficulty": 2.5, + "effort": 118.87218755408671, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::detectCoverageFormat" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::coverageFileExists": { + "line": 365, + "lineCount": 20, + "argCount": 2, + "returnCount": 3, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 4, + "N2": 7, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 3.5, + "effort": 99.52105627776452, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::coverageFileExists" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__construct": { + "line": 12, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__invoke": { + "line": 17, + "lineCount": 22, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 3, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 10, + "N2": 11, + "programLength": 21, + "programVocabulary": 7, + "volume": 58.95445336320969, + "difficulty": 2.2, + "effort": 129.6997973990613, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__invoke" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__construct": { + "line": 21, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__invoke": { + "line": 26, + "lineCount": 11, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 4, + "N2": 9, + "programLength": 13, + "programVocabulary": 4, + "volume": 26, + "difficulty": 4.5, + "effort": 117, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__invoke" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleSourceFilesFound": { + "line": 38, + "lineCount": 6, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 4, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 6, + "N2": 10, + "programLength": 16, + "programVocabulary": 8, + "volume": 48, + "difficulty": 5, + "effort": 240, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleSourceFilesFound" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleFileProcessed": { + "line": 45, + "lineCount": 5, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleFileProcessed" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleAllFilesProcessed": { + "line": 51, + "lineCount": 6, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 3, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 3, + "N2": 5, + "programLength": 8, + "programVocabulary": 5, + "volume": 18.575424759098897, + "difficulty": 1.6666666666666667, + "effort": 30.95904126516483, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleAllFilesProcessed" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__construct": { + "line": 20, + "lineCount": 5, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__invoke": { + "line": 26, + "lineCount": 17, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 5, + "n2": 8, + "N1": 17, + "N2": 17, + "programLength": 34, + "programVocabulary": 13, + "volume": 125.81495041679713, + "difficulty": 5.3125, + "effort": 668.3919240892347, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__invoke" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::formatBytes": { + "line": 50, + "lineCount": 12, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 7, + "n2": 13, + "N1": 10, + "N2": 22, + "programLength": 32, + "programVocabulary": 20, + "volume": 138.3016990363956, + "difficulty": 5.923076923076923, + "effort": 819.1716019848047, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::formatBytes" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::isDebugEnabled": { + "line": 66, + "lineCount": 5, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 1, + "N1": 4, + "N2": 2, + "programLength": 6, + "programVocabulary": 4, + "volume": 12, + "difficulty": 3, + "effort": 36, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::isDebugEnabled" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::__construct": { + "line": 20, + "lineCount": 6, + "argCount": 2, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 4, + "volume": 8, + "difficulty": 0.5, + "effort": 4, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::exportToFile": { + "line": 32, + "lineCount": 27, + "argCount": 3, + "returnCount": 4, + "variableCount": 2, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 1, + "n2": 6, + "N1": 6, + "N2": 19, + "programLength": 25, + "programVocabulary": 7, + "volume": 70.1838730514401, + "difficulty": 1.5833333333333333, + "effort": 111.12446566478016, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::exportToFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::hasIncompleteReportOptions": { + "line": 60, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 2, + "N1": 7, + "N2": 6, + "programLength": 13, + "programVocabulary": 6, + "volume": 33.60451250937503, + "difficulty": 6, + "effort": 201.62707505625016, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::hasIncompleteReportOptions" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::isValidReportType": { + "line": 65, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 2, + "N2": 4, + "programLength": 6, + "programVocabulary": 4, + "volume": 12, + "difficulty": 2, + "effort": 24, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::isValidReportType" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleExceptions": { + "line": 77, + "lineCount": 9, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 3, + "N2": 4, + "programLength": 7, + "programVocabulary": 5, + "volume": 16.253496664211536, + "difficulty": 1.3333333333333333, + "effort": 21.67132888561538, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleExceptions" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleInvalidReportType": { + "line": 91, + "lineCount": 11, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 5, + "N2": 8, + "programLength": 13, + "programVocabulary": 8, + "volume": 39, + "difficulty": 2.4000000000000004, + "effort": 93.60000000000001, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleInvalidReportType" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::__construct": { + "line": 15, + "lineCount": 5, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handle": { + "line": 24, + "lineCount": 27, + "argCount": 3, + "returnCount": 4, + "variableCount": 2, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 1, + "n2": 6, + "N1": 6, + "N2": 19, + "programLength": 25, + "programVocabulary": 7, + "volume": 70.1838730514401, + "difficulty": 1.5833333333333333, + "effort": 111.12446566478016, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handle" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::hasIncompleteReportOptions": { + "line": 52, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 2, + "N1": 7, + "N2": 6, + "programLength": 13, + "programVocabulary": 6, + "volume": 33.60451250937503, + "difficulty": 6, + "effort": 201.62707505625016, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::hasIncompleteReportOptions" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::isValidReportType": { + "line": 57, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 5, + "N1": 1, + "N2": 6, + "programLength": 7, + "programVocabulary": 6, + "volume": 18.094737505048094, + "difficulty": 0.6, + "effort": 10.856842503028856, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::isValidReportType" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handleExceptions": { + "line": 66, + "lineCount": 9, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 3, + "N2": 4, + "programLength": 7, + "programVocabulary": 5, + "volume": 16.253496664211536, + "difficulty": 1.3333333333333333, + "effort": 21.67132888561538, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handleExceptions" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handleInvalidReporType": { + "line": 80, + "lineCount": 9, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 4, + "programLength": 6, + "programVocabulary": 5, + "volume": 13.931568569324174, + "difficulty": 1.3333333333333333, + "effort": 18.575424759098897, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handleInvalidReporType" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::__construct": { + "line": 42, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::reportWritten": { + "line": 47, + "lineCount": 7, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 4, + "programLength": 6, + "programVocabulary": 5, + "volume": 13.931568569324174, + "difficulty": 1.3333333333333333, + "effort": 18.575424759098897, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::reportWritten" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::renderChurnTable": { + "line": 59, + "lineCount": 35, + "argCount": 1, + "returnCount": 0, + "variableCount": 6, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 8, + "n2": 18, + "N1": 21, + "N2": 53, + "programLength": 74, + "programVocabulary": 26, + "volume": 347.8325391424408, + "difficulty": 11.777777777777779, + "effort": 4096.694349899859, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::renderChurnTable" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricSummaryTextRenderer::__construct": { + "line": 18, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricSummaryTextRenderer::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricSummaryTextRenderer::render": { + "line": 23, + "lineCount": 32, + "argCount": 2, + "returnCount": 0, + "variableCount": 6, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 6, + "n2": 16, + "N1": 27, + "N2": 38, + "programLength": 65, + "programVocabulary": 22, + "volume": 289.86305521142435, + "difficulty": 7.125, + "effort": 2065.2742683813985, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricSummaryTextRenderer::render" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::__construct": { + "line": 27, + "lineCount": 5, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::metricExceedsThreshold": { + "line": 33, + "lineCount": 6, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 2, + "N1": 3, + "N2": 5, + "programLength": 8, + "programVocabulary": 5, + "volume": 18.575424759098897, + "difficulty": 3.75, + "effort": 69.65784284662087, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::metricExceedsThreshold" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::hasCoverageInCollection": { + "line": 43, + "lineCount": 10, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 2, + "N2": 4, + "programLength": 6, + "programVocabulary": 4, + "volume": 12, + "difficulty": 2, + "effort": 24, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::hasCoverageInCollection" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::render": { + "line": 58, + "lineCount": 17, + "argCount": 2, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 6, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 9, + "N2": 25, + "programLength": 34, + "programVocabulary": 6, + "volume": 87.8887250245193, + "difficulty": 6.25, + "effort": 549.3045314032456, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::render" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderGroupedByClass": { + "line": 81, + "lineCount": 19, + "argCount": 3, + "returnCount": 0, + "variableCount": 6, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 5, + "n2": 11, + "N1": 11, + "N2": 25, + "programLength": 36, + "programVocabulary": 16, + "volume": 144, + "difficulty": 5.6818181818181825, + "effort": 818.1818181818182, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderGroupedByClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::buildRowsForClass": { + "line": 106, + "lineCount": 13, + "argCount": 2, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 4, + "N2": 12, + "programLength": 16, + "programVocabulary": 7, + "volume": 44.91767875292167, + "difficulty": 2.4, + "effort": 107.802429007012, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::buildRowsForClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::getFilenameFromMetrics": { + "line": 123, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 5, + "programLength": 6, + "programVocabulary": 4, + "volume": 12, + "difficulty": 0.8333333333333334, + "effort": 10, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::getFilenameFromMetrics" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderAllMethodsInSingleTable": { + "line": 136, + "lineCount": 12, + "argCount": 3, + "returnCount": 0, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 6, + "N2": 15, + "programLength": 21, + "programVocabulary": 11, + "volume": 72.64806399138324, + "difficulty": 4.285714285714286, + "effort": 311.34884567735673, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderAllMethodsInSingleTable" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::buildRowsForSingleTable": { + "line": 154, + "lineCount": 13, + "argCount": 2, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 4, + "N2": 12, + "programLength": 16, + "programVocabulary": 7, + "volume": 44.91767875292167, + "difficulty": 2.4, + "effort": 107.802429007012, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::buildRowsForSingleTable" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderTableCommon": { + "line": 173, + "lineCount": 19, + "argCount": 4, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 8, + "N1": 7, + "N2": 19, + "programLength": 26, + "programVocabulary": 10, + "volume": 86.37013046707142, + "difficulty": 2.375, + "effort": 205.1290598592946, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderTableCommon" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderTable": { + "line": 196, + "lineCount": 13, + "argCount": 4, + "returnCount": 0, + "variableCount": 3, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 7, + "N1": 4, + "N2": 14, + "programLength": 18, + "programVocabulary": 9, + "volume": 57.05865002596162, + "difficulty": 2, + "effort": 114.11730005192324, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderTable" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderSingleTable": { + "line": 213, + "lineCount": 11, + "argCount": 3, + "returnCount": 0, + "variableCount": 3, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 6, + "N1": 4, + "N2": 12, + "programLength": 16, + "programVocabulary": 8, + "volume": 48, + "difficulty": 2, + "effort": 96, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderSingleTable" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::__construct": { + "line": 16, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatScore": { + "line": 21, + "lineCount": 6, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 6, + "N1": 5, + "N2": 9, + "programLength": 14, + "programVocabulary": 8, + "volume": 42, + "difficulty": 1.5, + "effort": 63, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatScore" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadVolume": { + "line": 28, + "lineCount": 14, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 10, + "N1": 9, + "N2": 17, + "programLength": 26, + "programVocabulary": 15, + "volume": 101.57915548582149, + "difficulty": 4.25, + "effort": 431.7114108147413, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadVolume" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadDifficulty": { + "line": 43, + "lineCount": 13, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 10, + "N1": 8, + "N2": 17, + "programLength": 25, + "programVocabulary": 14, + "volume": 95.1838730514401, + "difficulty": 3.4, + "effort": 323.62516837489636, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadDifficulty" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadEffort": { + "line": 57, + "lineCount": 13, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 10, + "N1": 8, + "N2": 17, + "programLength": 25, + "programVocabulary": 14, + "volume": 95.1838730514401, + "difficulty": 3.4, + "effort": 323.62516837489636, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadEffort" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatCyclomaticComplexity": { + "line": 71, + "lineCount": 13, + "argCount": 1, + "returnCount": 3, + "variableCount": 4, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 5, + "n2": 9, + "N1": 9, + "N2": 18, + "programLength": 27, + "programVocabulary": 14, + "volume": 102.79858289555531, + "difficulty": 5, + "effort": 513.9929144777766, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatCyclomaticComplexity" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::colorCyclomaticRisk": { + "line": 85, + "lineCount": 8, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 7, + "N1": 5, + "N2": 11, + "programLength": 16, + "programVocabulary": 9, + "volume": 50.718800023076994, + "difficulty": 1.5714285714285714, + "effort": 79.70097146483528, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::colorCyclomaticRisk" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::__construct": { + "line": 17, + "lineCount": 5, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::getGroupedTableHeaders": { + "line": 28, + "lineCount": 16, + "argCount": 0, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 10, + "N2": 17, + "programLength": 27, + "programVocabulary": 6, + "volume": 69.79398751947122, + "difficulty": 4.25, + "effort": 296.62444695775264, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::getGroupedTableHeaders" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCoverageHeader": { + "line": 49, + "lineCount": 10, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 6, + "programLength": 7, + "programVocabulary": 4, + "volume": 14, + "difficulty": 1, + "effort": 14, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCoverageHeader" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::getSingleTableHeaders": { + "line": 65, + "lineCount": 20, + "argCount": 0, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 6, + "N1": 9, + "N2": 18, + "programLength": 27, + "programVocabulary": 8, + "volume": 81, + "difficulty": 3, + "effort": 243, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::getSingleTableHeaders" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addHalsteadHeaders": { + "line": 92, + "lineCount": 10, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 1, + "n2": 5, + "N1": 3, + "N2": 9, + "programLength": 12, + "programVocabulary": 6, + "volume": 31.019550008653873, + "difficulty": 0.9, + "effort": 27.917595007788485, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addHalsteadHeaders" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCyclomaticHeaders": { + "line": 109, + "lineCount": 8, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 5, + "programLength": 6, + "programVocabulary": 4, + "volume": 12, + "difficulty": 0.8333333333333334, + "effort": 10, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCyclomaticHeaders" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCognitiveMetricDetails": { + "line": 122, + "lineCount": 16, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 10, + "N1": 2, + "N2": 13, + "programLength": 15, + "programVocabulary": 12, + "volume": 53.77443751081734, + "difficulty": 1.3, + "effort": 69.90676876406255, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCognitiveMetricDetails" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::__construct": { + "line": 21, + "lineCount": 6, + "argCount": 3, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 3, + "N1": 0, + "N2": 3, + "programLength": 3, + "programVocabulary": 3, + "volume": 4.754887502163468, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::buildRow": { + "line": 34, + "lineCount": 16, + "argCount": 1, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 10, + "N2": 24, + "programLength": 34, + "programVocabulary": 7, + "volume": 95.45006734995854, + "difficulty": 4.8, + "effort": 458.160323279801, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::buildRow" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::buildRowWithClassInfo": { + "line": 57, + "lineCount": 16, + "argCount": 1, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 10, + "N2": 24, + "programLength": 34, + "programVocabulary": 7, + "volume": 95.45006734995854, + "difficulty": 4.8, + "effort": 458.160323279801, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::buildRowWithClassInfo" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::metricsToArray": { + "line": 79, + "lineCount": 8, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 3, + "N2": 7, + "programLength": 10, + "programVocabulary": 6, + "volume": 25.84962500721156, + "difficulty": 1.75, + "effort": 45.23684376262023, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::metricsToArray" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::metricsToArrayWithClassInfo": { + "line": 93, + "lineCount": 9, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 4, + "N2": 9, + "programLength": 13, + "programVocabulary": 7, + "volume": 36.49561398674886, + "difficulty": 1.8, + "effort": 65.69210517614795, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::metricsToArrayWithClassInfo" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addHalsteadFields": { + "line": 109, + "lineCount": 10, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 6, + "N1": 6, + "N2": 16, + "programLength": 22, + "programVocabulary": 8, + "volume": 66, + "difficulty": 2.6666666666666665, + "effort": 176, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addHalsteadFields" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addCyclomaticFields": { + "line": 126, + "lineCount": 8, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 2, + "N2": 8, + "programLength": 10, + "programVocabulary": 6, + "volume": 25.84962500721156, + "difficulty": 2, + "effort": 51.69925001442312, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addCyclomaticFields" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addWeightedValue": { + "line": 141, + "lineCount": 10, + "argCount": 3, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 11, + "N1": 13, + "N2": 22, + "programLength": 35, + "programVocabulary": 15, + "volume": 136.74117084629816, + "difficulty": 4, + "effort": 546.9646833851926, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addWeightedValue" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addDelta": { + "line": 158, + "lineCount": 20, + "argCount": 3, + "returnCount": 3, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 6, + "n2": 13, + "N1": 19, + "N2": 30, + "programLength": 49, + "programVocabulary": 19, + "volume": 208.14844815873568, + "difficulty": 6.9230769230769225, + "effort": 1441.0277180220162, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::getKeys": { + "line": 184, + "lineCount": 17, + "argCount": 0, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 0, + "n2": 9, + "N1": 0, + "N2": 9, + "programLength": 9, + "programVocabulary": 9, + "volume": 28.52932501298081, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::getKeys" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::assertDeltaMethodExists": { + "line": 205, + "lineCount": 6, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 6, + "programLength": 8, + "programVocabulary": 5, + "volume": 18.575424759098897, + "difficulty": 2, + "effort": 37.150849518197795, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::assertDeltaMethodExists" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addCoverageValue": { + "line": 216, + "lineCount": 11, + "argCount": 2, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 7, + "N1": 7, + "N2": 15, + "programLength": 22, + "programVocabulary": 12, + "volume": 78.86917501586544, + "difficulty": 5.357142857142857, + "effort": 422.51343758499337, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addCoverageValue" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::extracted": { + "line": 233, + "lineCount": 22, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 12, + "N1": 19, + "N2": 34, + "programLength": 53, + "programVocabulary": 15, + "volume": 207.06520156725148, + "difficulty": 4.25, + "effort": 880.0271066608187, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::extracted" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CacheConfig::__construct": { + "line": 12, + "lineCount": 5, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CacheConfig::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CacheConfig::toArray": { + "line": 23, + "lineCount": 7, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 3, + "N1": 0, + "N2": 4, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CacheConfig::toArray" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CognitiveConfig::__construct": { + "line": 20, + "lineCount": 13, + "argCount": 10, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 10, + "N1": 0, + "N2": 10, + "programLength": 10, + "programVocabulary": 10, + "volume": 33.219280948873624, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CognitiveConfig::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CognitiveConfig::toArray": { + "line": 39, + "lineCount": 20, + "argCount": 0, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 10, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 14, + "N1": 3, + "N2": 27, + "programLength": 30, + "programVocabulary": 16, + "volume": 120, + "difficulty": 1.9285714285714286, + "effort": 231.42857142857144, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CognitiveConfig::toArray" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigFactory::fromArray": { + "line": 16, + "lineCount": 31, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 20, + "N1": 10, + "N2": 52, + "programLength": 62, + "programVocabulary": 23, + "volume": 280.4608412755348, + "difficulty": 3.9000000000000004, + "effort": 1093.7972809745859, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigFactory::fromArray" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigLoader::getCognitiveMetricDefaults": { + "line": 27, + "lineCount": 45, + "argCount": 0, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 8, + "N1": 0, + "N2": 16, + "programLength": 16, + "programVocabulary": 8, + "volume": 48, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigLoader::getCognitiveMetricDefaults" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigLoader::getConfigTreeBuilder": { + "line": 73, + "lineCount": 75, + "argCount": 0, + "returnCount": 2, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 24, + "N1": 68, + "N2": 29, + "programLength": 97, + "programVocabulary": 27, + "volume": 461.2240877098564, + "difficulty": 1.8125, + "effort": 835.9686589741148, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigLoader::getConfigTreeBuilder" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigService::__construct": { + "line": 20, + "lineCount": 6, + "argCount": 2, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 4, + "volume": 8, + "difficulty": 0.5, + "effort": 4, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigService::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigService::loadDefaultConfig": { + "line": 30, + "lineCount": 8, + "argCount": 0, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 3, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 5, + "N2": 6, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 3, + "effort": 85.30376252379816, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigService::loadDefaultConfig" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigService::loadConfig": { + "line": 42, + "lineCount": 9, + "argCount": 1, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 3, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 4, + "N1": 5, + "N2": 8, + "programLength": 13, + "programVocabulary": 7, + "volume": 36.49561398674886, + "difficulty": 3, + "effort": 109.48684196024658, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigService::loadConfig" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigService::getConfig": { + "line": 52, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigService::getConfig" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\MetricsConfig::__construct": { + "line": 12, + "lineCount": 6, + "argCount": 3, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 3, + "N1": 0, + "N2": 3, + "programLength": 3, + "programVocabulary": 3, + "volume": 4.754887502163468, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\MetricsConfig::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\MetricsConfig::toArray": { + "line": 24, + "lineCount": 8, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 3, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 4, + "N1": 0, + "N2": 6, + "programLength": 6, + "programVocabulary": 4, + "volume": 12, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\MetricsConfig::toArray" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::setAnnotationVisitor": { + "line": 63, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::setAnnotationVisitor" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::resetValues": { + "line": 68, + "lineCount": 12, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 9, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 9, + "N2": 15, + "programLength": 24, + "programVocabulary": 3, + "volume": 38.039100017307746, + "difficulty": 3.75, + "effort": 142.64662506490404, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::resetValues" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::resetAll": { + "line": 84, + "lineCount": 9, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 4, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 5, + "N2": 8, + "programLength": 13, + "programVocabulary": 4, + "volume": 26, + "difficulty": 4, + "effort": 104, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::resetAll" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::createMetricsArray": { + "line": 97, + "lineCount": 14, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 12, + "N1": 3, + "N2": 21, + "programLength": 24, + "programVocabulary": 13, + "volume": 88.81055323538621, + "difficulty": 0.875, + "effort": 77.70923408096293, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::createMetricsArray" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::isValidContext": { + "line": 115, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::isValidContext" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::buildMethodKey": { + "line": 123, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::buildMethodKey" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::classMethodOnEnterNode": { + "line": 128, + "lineCount": 20, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 3, + "ifNestingLevel": 2, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 5, + "n2": 4, + "N1": 12, + "N2": 16, + "programLength": 28, + "programVocabulary": 9, + "volume": 88.75790004038474, + "difficulty": 10, + "effort": 887.5790004038474, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::classMethodOnEnterNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::isClassMethodNode": { + "line": 155, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::isClassMethodNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::initializeMethodContext": { + "line": 166, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 2, + "N2": 3, + "programLength": 5, + "programVocabulary": 4, + "volume": 10, + "difficulty": 1.5, + "effort": 15, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::initializeMethodContext" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::trackMethodArguments": { + "line": 177, + "lineCount": 8, + "argCount": 1, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 4, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 7, + "programLength": 9, + "programVocabulary": 5, + "volume": 20.89735285398626, + "difficulty": 2.3333333333333335, + "effort": 48.76048999263461, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::trackMethodArguments" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::isVariable": { + "line": 192, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::isVariable" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::calculateLineCount": { + "line": 203, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 2, + "N1": 4, + "N2": 4, + "programLength": 8, + "programVocabulary": 5, + "volume": 18.575424759098897, + "difficulty": 3, + "effort": 55.726274277296696, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::calculateLineCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::countMethodArguments": { + "line": 214, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 2, + "programLength": 3, + "programVocabulary": 2, + "volume": 3, + "difficulty": 1, + "effort": 3, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::countMethodArguments" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::setCurrentNamespaceOnEnterNode": { + "line": 219, + "lineCount": 6, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 6, + "programLength": 8, + "programVocabulary": 5, + "volume": 18.575424759098897, + "difficulty": 2, + "effort": 37.150849518197795, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::setCurrentNamespaceOnEnterNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::isClassOrTraitNode": { + "line": 229, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 1.5, + "effort": 6, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::isClassOrTraitNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::setCurrentClassOnEnterNode": { + "line": 234, + "lineCount": 22, + "argCount": 1, + "returnCount": 4, + "variableCount": 2, + "propertyCallCount": 4, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 6, + "n2": 5, + "N1": 12, + "N2": 16, + "programLength": 28, + "programVocabulary": 11, + "volume": 96.86408532184433, + "difficulty": 9.600000000000001, + "effort": 929.8952190897057, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::setCurrentClassOnEnterNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::normalizeFqcn": { + "line": 261, + "lineCount": 8, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 2, + "N1": 3, + "N2": 9, + "programLength": 12, + "programVocabulary": 5, + "volume": 27.863137138648348, + "difficulty": 6.75, + "effort": 188.07617568587634, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::normalizeFqcn" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::enterNode": { + "line": 270, + "lineCount": 16, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 3, + "volume": 22.189475010096185, + "difficulty": 2.5, + "effort": 55.473687525240464, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::enterNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::gatherMetrics": { + "line": 287, + "lineCount": 12, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 5, + "N2": 14, + "programLength": 19, + "programVocabulary": 3, + "volume": 30.114287513701967, + "difficulty": 3.5, + "effort": 105.40000629795688, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::gatherMetrics" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::incrementReturnCount": { + "line": 300, + "lineCount": 4, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::incrementReturnCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::countVariablesNotAlreadyTrackedAsArguments": { + "line": 326, + "lineCount": 6, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 2, + "N1": 3, + "N2": 6, + "programLength": 9, + "programVocabulary": 5, + "volume": 20.89735285398626, + "difficulty": 4.5, + "effort": 94.03808784293817, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::countVariablesNotAlreadyTrackedAsArguments" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::trackPropertyFetch": { + "line": 333, + "lineCount": 15, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 3, + "N2": 9, + "programLength": 12, + "programVocabulary": 5, + "volume": 27.863137138648348, + "difficulty": 3, + "effort": 83.58941141594505, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::trackPropertyFetch" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::trackIfStatement": { + "line": 349, + "lineCount": 9, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 1, + "N1": 2, + "N2": 6, + "programLength": 8, + "programVocabulary": 3, + "volume": 12.679700005769249, + "difficulty": 6, + "effort": 76.07820003461549, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::trackIfStatement" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::incrementElseCount": { + "line": 359, + "lineCount": 4, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::incrementElseCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::checkNestingLevelOnLeaveNode": { + "line": 364, + "lineCount": 6, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 3, + "programLength": 3, + "programVocabulary": 2, + "volume": 3, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::checkNestingLevelOnLeaveNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::writeMetricsOnLeaveNode": { + "line": 373, + "lineCount": 38, + "argCount": 1, + "returnCount": 3, + "variableCount": 2, + "propertyCallCount": 11, + "ifNestingLevel": 2, + "elseCount": 0, + "ifCount": 5, + "halstead": { + "n1": 7, + "n2": 14, + "N1": 29, + "N2": 58, + "programLength": 87, + "programVocabulary": 21, + "volume": 382.1316157817522, + "difficulty": 14.500000000000002, + "effort": 5540.908428835408, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::writeMetricsOnLeaveNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::checkNameSpaceOnLeaveNode": { + "line": 412, + "lineCount": 6, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 4, + "programLength": 5, + "programVocabulary": 4, + "volume": 10, + "difficulty": 0.6666666666666666, + "effort": 6.666666666666666, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::checkNameSpaceOnLeaveNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::checkClassOnLeaveNode": { + "line": 419, + "lineCount": 11, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 2, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 6, + "programLength": 8, + "programVocabulary": 5, + "volume": 18.575424759098897, + "difficulty": 2, + "effort": 37.150849518197795, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::checkClassOnLeaveNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::leaveNode": { + "line": 431, + "lineCount": 7, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 4, + "N2": 9, + "programLength": 13, + "programVocabulary": 3, + "volume": 20.604512509375027, + "difficulty": 2.25, + "effort": 46.36015314609381, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::leaveNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::getMethodMetrics": { + "line": 439, + "lineCount": 13, + "argCount": 0, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 6, + "N1": 8, + "N2": 15, + "programLength": 23, + "programVocabulary": 10, + "volume": 76.40434618240933, + "difficulty": 5, + "effort": 382.0217309120466, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::getMethodMetrics" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CombinedMetricsVisitor::__construct": { + "line": 22, + "lineCount": 7, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 4, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 4, + "N2": 4, + "programLength": 8, + "programVocabulary": 2, + "volume": 8, + "difficulty": 2, + "effort": 16, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CombinedMetricsVisitor::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CombinedMetricsVisitor::beforeTraverse": { + "line": 33, + "lineCount": 7, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 2, + "programLength": 3, + "programVocabulary": 3, + "volume": 4.754887502163468, + "difficulty": 0.5, + "effort": 2.377443751081734, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CombinedMetricsVisitor::beforeTraverse" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CombinedMetricsVisitor::enterNode": { + "line": 41, + "lineCount": 20, + "argCount": 1, + "returnCount": 2, + "variableCount": 5, + "propertyCallCount": 4, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 6, + "N1": 15, + "N2": 17, + "programLength": 32, + "programVocabulary": 10, + "volume": 106.30169903639559, + "difficulty": 5.666666666666667, + "effort": 602.376294539575, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CombinedMetricsVisitor::enterNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CombinedMetricsVisitor::leaveNode": { + "line": 62, + "lineCount": 10, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 4, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 4, + "N2": 9, + "programLength": 13, + "programVocabulary": 3, + "volume": 20.604512509375027, + "difficulty": 2.25, + "effort": 46.36015314609381, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CombinedMetricsVisitor::leaveNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CombinedMetricsVisitor::afterTraverse": { + "line": 76, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CombinedMetricsVisitor::afterTraverse" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CombinedMetricsVisitor::resetAll": { + "line": 84, + "lineCount": 7, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 4, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 4, + "N2": 4, + "programLength": 8, + "programVocabulary": 2, + "volume": 8, + "difficulty": 2, + "effort": 16, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CombinedMetricsVisitor::resetAll" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CombinedMetricsVisitor::resetAllBetweenFiles": { + "line": 95, + "lineCount": 7, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 4, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 4, + "N2": 4, + "programLength": 8, + "programVocabulary": 2, + "volume": 8, + "difficulty": 2, + "effort": 16, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CombinedMetricsVisitor::resetAllBetweenFiles" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CombinedMetricsVisitor::getMethodMetrics": { + "line": 106, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CombinedMetricsVisitor::getMethodMetrics" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CombinedMetricsVisitor::getMethodComplexity": { + "line": 114, + "lineCount": 5, + "argCount": 0, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 3, + "N2": 4, + "programLength": 7, + "programVocabulary": 6, + "volume": 18.094737505048094, + "difficulty": 2, + "effort": 36.18947501009619, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CombinedMetricsVisitor::getMethodComplexity" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CombinedMetricsVisitor::getHalsteadMethodMetrics": { + "line": 123, + "lineCount": 5, + "argCount": 0, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 3, + "N2": 4, + "programLength": 7, + "programVocabulary": 6, + "volume": 18.094737505048094, + "difficulty": 2, + "effort": 36.18947501009619, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CombinedMetricsVisitor::getHalsteadMethodMetrics" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CombinedMetricsVisitor::getIgnored": { + "line": 132, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CombinedMetricsVisitor::getIgnored" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CombinedMetricsVisitor::setAnnotationVisitor": { + "line": 140, + "lineCount": 4, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 2, + "programLength": 3, + "programVocabulary": 2, + "volume": 3, + "difficulty": 1, + "effort": 3, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CombinedMetricsVisitor::setAnnotationVisitor" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::setAnnotationVisitor": { + "line": 73, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::setAnnotationVisitor" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::resetMethodCounters": { + "line": 78, + "lineCount": 19, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 16, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 16, + "N2": 32, + "programLength": 48, + "programVocabulary": 4, + "volume": 96, + "difficulty": 5.333333333333333, + "effort": 512, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::resetMethodCounters" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::resetAll": { + "line": 101, + "lineCount": 11, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 6, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 7, + "N2": 10, + "programLength": 17, + "programVocabulary": 4, + "volume": 34, + "difficulty": 5, + "effort": 170, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::resetAll" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::enterNode": { + "line": 113, + "lineCount": 10, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "cyclomatic_complexity": { + "complexity": 2, + "risk_level": "low" + }, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 3, + "volume": 22.189475010096185, + "difficulty": 2.5, + "effort": 55.473687525240464, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::enterNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::leaveNode": { + "line": 124, + "lineCount": 6, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 3, + "N2": 7, + "programLength": 10, + "programVocabulary": 3, + "volume": 15.84962500721156, + "difficulty": 1.75, + "effort": 27.736843762620232, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::leaveNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::setCurrentNamespaceOnEnterNode": { + "line": 131, + "lineCount": 6, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "cyclomatic_complexity": { + "complexity": 3, + "risk_level": "low" + }, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 6, + "programLength": 8, + "programVocabulary": 5, + "volume": 18.575424759098897, + "difficulty": 2, + "effort": 37.150849518197795, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::setCurrentNamespaceOnEnterNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::setCurrentClassOnEnterNode": { + "line": 138, + "lineCount": 17, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 5, + "ifNestingLevel": 3, + "elseCount": 0, + "ifCount": 3, + "cyclomatic_complexity": { + "complexity": 4, + "risk_level": "low" + }, + "halstead": { + "n1": 6, + "n2": 6, + "N1": 13, + "N2": 19, + "programLength": 32, + "programVocabulary": 12, + "volume": 114.718800023077, + "difficulty": 9.5, + "effort": 1089.8286002192315, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::setCurrentClassOnEnterNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::normalizeFqcn": { + "line": 156, + "lineCount": 8, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "cyclomatic_complexity": { + "complexity": 3, + "risk_level": "low" + }, + "halstead": { + "n1": 3, + "n2": 2, + "N1": 3, + "N2": 9, + "programLength": 12, + "programVocabulary": 5, + "volume": 27.863137138648348, + "difficulty": 6.75, + "effort": 188.07617568587634, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::normalizeFqcn" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::handleClassMethodEnter": { + "line": 165, + "lineCount": 19, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 4, + "ifNestingLevel": 2, + "elseCount": 0, + "ifCount": 3, + "cyclomatic_complexity": { + "complexity": 4, + "risk_level": "low" + }, + "halstead": { + "n1": 5, + "n2": 4, + "N1": 10, + "N2": 13, + "programLength": 23, + "programVocabulary": 9, + "volume": 72.90827503317318, + "difficulty": 8.125, + "effort": 592.3797346445322, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::handleClassMethodEnter" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::countDecisionPoints": { + "line": 185, + "lineCount": 20, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 14, + "N2": 29, + "programLength": 43, + "programVocabulary": 3, + "volume": 68.15338753100971, + "difficulty": 7.25, + "effort": 494.11205959982044, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::countDecisionPoints" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::countIfStatement": { + "line": 206, + "lineCount": 5, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::countIfStatement" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::countElseIfStatement": { + "line": 212, + "lineCount": 5, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::countElseIfStatement" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::countElseStatement": { + "line": 218, + "lineCount": 5, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::countElseStatement" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::countSwitchStatement": { + "line": 224, + "lineCount": 5, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::countSwitchStatement" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::countCaseStatement": { + "line": 230, + "lineCount": 5, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::countCaseStatement" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::countWhileStatement": { + "line": 236, + "lineCount": 5, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::countWhileStatement" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::countDoWhileStatement": { + "line": 242, + "lineCount": 5, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::countDoWhileStatement" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::countForStatement": { + "line": 248, + "lineCount": 5, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::countForStatement" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::countForeachStatement": { + "line": 254, + "lineCount": 5, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::countForeachStatement" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::countCatchStatement": { + "line": 260, + "lineCount": 5, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::countCatchStatement" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::countLogicalAnd": { + "line": 266, + "lineCount": 5, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::countLogicalAnd" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::countLogicalOr": { + "line": 272, + "lineCount": 5, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::countLogicalOr" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::countLogicalXor": { + "line": 278, + "lineCount": 5, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::countLogicalXor" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::countTernary": { + "line": 284, + "lineCount": 5, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::countTernary" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::handleClassMethodLeave": { + "line": 290, + "lineCount": 43, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 21, + "ifNestingLevel": 2, + "elseCount": 0, + "ifCount": 3, + "cyclomatic_complexity": { + "complexity": 4, + "risk_level": "low" + }, + "halstead": { + "n1": 1, + "n2": 22, + "N1": 5, + "N2": 54, + "programLength": 59, + "programVocabulary": 23, + "volume": 266.89015540736375, + "difficulty": 1.2272727272727273, + "effort": 327.54700890903734, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::handleClassMethodLeave" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::checkNamespaceLeave": { + "line": 334, + "lineCount": 6, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "cyclomatic_complexity": { + "complexity": 2, + "risk_level": "low" + }, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 4, + "programLength": 5, + "programVocabulary": 4, + "volume": 10, + "difficulty": 0.6666666666666666, + "effort": 6.666666666666666, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::checkNamespaceLeave" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::checkClassLeave": { + "line": 341, + "lineCount": 6, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "cyclomatic_complexity": { + "complexity": 2, + "risk_level": "low" + }, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 5, + "programLength": 7, + "programVocabulary": 5, + "volume": 16.253496664211536, + "difficulty": 1.6666666666666667, + "effort": 27.089161107019226, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::checkClassLeave" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::getClassComplexity": { + "line": 353, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::getClassComplexity" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::getMethodComplexity": { + "line": 363, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::getMethodComplexity" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::getMethodComplexityBreakdown": { + "line": 373, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::getMethodComplexityBreakdown" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::getComplexitySummary": { + "line": 383, + "lineCount": 36, + "argCount": 0, + "returnCount": 1, + "variableCount": 6, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "cyclomatic_complexity": { + "complexity": 5, + "risk_level": "low" + }, + "halstead": { + "n1": 4, + "n2": 15, + "N1": 11, + "N2": 45, + "programLength": 56, + "programVocabulary": 19, + "volume": 237.88394075284077, + "difficulty": 6, + "effort": 1427.3036445170446, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::getComplexitySummary" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::getRiskLevel": { + "line": 426, + "lineCount": 9, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 1, + "n2": 8, + "N1": 3, + "N2": 11, + "programLength": 14, + "programVocabulary": 9, + "volume": 44.37895002019237, + "difficulty": 0.6875, + "effort": 30.510528138882254, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::getRiskLevel" + } + } + }, + "ignored_items": [], + "cached_at": 1759967602 +} \ No newline at end of file diff --git a/.phpcca.cache/a4/a4b50d6d91a0b9c1cb499741fa0b7bc3.cache b/.phpcca.cache/a4/a4b50d6d91a0b9c1cb499741fa0b7bc3.cache new file mode 100644 index 0000000..d6f4a52 --- /dev/null +++ b/.phpcca.cache/a4/a4b50d6d91a0b9c1cb499741fa0b7bc3.cache @@ -0,0 +1,4258 @@ +{ + "version": "1.0", + "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/Business\/Cognitive\/Exporter\/CognitiveExporterFactory.php", + "file_mtime": 1759791861, + "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", + "analysis_result": { + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct": { + "line": 60, + "lineCount": 5, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 1, + "N1": 2, + "N2": 2, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 2, + "effort": 12.679700005769249, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices": { + "line": 66, + "lineCount": 95, + "argCount": 0, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 5, + "N1": 58, + "N2": 32, + "programLength": 90, + "programVocabulary": 9, + "volume": 285.2932501298081, + "difficulty": 12.8, + "effort": 3651.7536016615436, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap": { + "line": 162, + "lineCount": 10, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 7, + "N2": 7, + "programLength": 14, + "programVocabulary": 2, + "volume": 14, + "difficulty": 3.5, + "effort": 49, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors": { + "line": 173, + "lineCount": 12, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 3, + "N2": 1, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0.5, + "effort": 2, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus": { + "line": 186, + "lineCount": 19, + "argCount": 0, + "returnCount": 0, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 9, + "N2": 13, + "programLength": 22, + "programVocabulary": 7, + "volume": 61.76180828526729, + "difficulty": 2.6, + "effort": 160.58070154169496, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService": { + "line": 206, + "lineCount": 9, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 3, + "N2": 1, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0.5, + "effort": 2, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade": { + "line": 216, + "lineCount": 13, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 3, + "N2": 1, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0.5, + "effort": 2, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands": { + "line": 230, + "lineCount": 21, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 6, + "N2": 2, + "programLength": 8, + "programVocabulary": 2, + "volume": 8, + "difficulty": 1, + "effort": 8, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication": { + "line": 252, + "lineCount": 11, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 5, + "N2": 4, + "programLength": 9, + "programVocabulary": 4, + "volume": 18, + "difficulty": 0.6666666666666666, + "effort": 12, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run": { + "line": 264, + "lineCount": 9, + "argCount": 0, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 5, + "N2": 5, + "programLength": 10, + "programVocabulary": 4, + "volume": 20, + "difficulty": 2.5, + "effort": 50, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get": { + "line": 274, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer": { + "line": 279, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator": { + "line": 289, + "lineCount": 16, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 7, + "programLength": 8, + "programVocabulary": 4, + "volume": 16, + "difficulty": 1.1666666666666667, + "effort": 18.666666666666668, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create": { + "line": 18, + "lineCount": 7, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 4, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile": { + "line": 17, + "lineCount": 17, + "argCount": 2, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 8, + "N1": 11, + "N2": 19, + "programLength": 30, + "programVocabulary": 11, + "volume": 103.78294855911892, + "difficulty": 3.5625, + "effort": 369.72675424186116, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode": { + "line": 42, + "lineCount": 8, + "argCount": 3, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 3, + "N2": 8, + "programLength": 11, + "programVocabulary": 8, + "volume": 33, + "difficulty": 2.4000000000000004, + "effort": 79.20000000000002, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate": { + "line": 22, + "lineCount": 10, + "argCount": 2, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 6, + "N2": 13, + "programLength": 19, + "programVocabulary": 6, + "volume": 49.11428751370197, + "difficulty": 3.25, + "effort": 159.6214344195314, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending": { + "line": 37, + "lineCount": 8, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 2, + "N2": 9, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 2.25, + "effort": 63.97782189284862, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn": { + "line": 51, + "lineCount": 24, + "argCount": 2, + "returnCount": 1, + "variableCount": 6, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 15, + "N1": 17, + "N2": 46, + "programLength": 63, + "programVocabulary": 20, + "volume": 272.28146997790384, + "difficulty": 7.666666666666667, + "effort": 2087.491269830596, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses": { + "line": 81, + "lineCount": 20, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 2, + "n2": 7, + "N1": 10, + "N2": 24, + "programLength": 34, + "programVocabulary": 9, + "volume": 107.7774500490386, + "difficulty": 3.4285714285714284, + "effort": 369.52268588241805, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass": { + "line": 109, + "lineCount": 9, + "argCount": 2, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 6, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 10, + "volume": 49.82892142331043, + "difficulty": 3.3333333333333335, + "effort": 166.09640474436813, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel": { + "line": 126, + "lineCount": 16, + "argCount": 2, + "returnCount": 4, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 12, + "N1": 9, + "N2": 18, + "programLength": 27, + "programVocabulary": 15, + "volume": 105.48604608143, + "difficulty": 2.25, + "effort": 237.3436036832175, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile": { + "line": 14, + "lineCount": 6, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 2, + "N2": 5, + "programLength": 7, + "programVocabulary": 4, + "volume": 14, + "difficulty": 2.5, + "effort": 35, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable": { + "line": 24, + "lineCount": 11, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 10, + "N2": 12, + "programLength": 22, + "programVocabulary": 8, + "volume": 66, + "difficulty": 6, + "effort": 396, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create": { + "line": 21, + "lineCount": 11, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 7, + "N1": 0, + "N2": 9, + "programLength": 9, + "programVocabulary": 7, + "volume": 25.26619429851844, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes": { + "line": 38, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 6, + "N1": 0, + "N2": 6, + "programLength": 6, + "programVocabulary": 6, + "volume": 15.509775004326936, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported": { + "line": 49, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 2, + "N2": 3, + "programLength": 5, + "programVocabulary": 4, + "volume": 10, + "difficulty": 1.5, + "effort": 15, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export": { + "line": 30, + "lineCount": 23, + "argCount": 2, + "returnCount": 0, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 16, + "N1": 10, + "N2": 33, + "programLength": 43, + "programVocabulary": 20, + "volume": 185.8429080801566, + "difficulty": 4.125, + "effort": 766.601995830646, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export": { + "line": 28, + "lineCount": 8, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 6, + "volume": 36.18947501009619, + "difficulty": 2.5, + "effort": 90.47368752524048, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape": { + "line": 37, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber": { + "line": 42, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml": { + "line": 52, + "lineCount": 50, + "argCount": 1, + "returnCount": 1, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 12, + "N1": 11, + "N2": 25, + "programLength": 36, + "programVocabulary": 17, + "volume": 147.14866228501222, + "difficulty": 5.208333333333334, + "effort": 766.3992827344388, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export": { + "line": 17, + "lineCount": 13, + "argCount": 2, + "returnCount": 0, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 8, + "N1": 7, + "N2": 14, + "programLength": 21, + "programVocabulary": 12, + "volume": 75.28421251514428, + "difficulty": 3.5, + "effort": 263.49474380300495, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export": { + "line": 48, + "lineCount": 8, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 6, + "volume": 36.18947501009619, + "difficulty": 2.5, + "effort": 90.47368752524048, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown": { + "line": 61, + "lineCount": 24, + "argCount": 1, + "returnCount": 1, + "variableCount": 6, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 6, + "n2": 16, + "N1": 19, + "N2": 41, + "programLength": 60, + "programVocabulary": 22, + "volume": 267.56589711823784, + "difficulty": 7.6875, + "effort": 2056.9128340964535, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow": { + "line": 94, + "lineCount": 21, + "argCount": 3, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 7, + "n2": 18, + "N1": 16, + "N2": 39, + "programLength": 55, + "programVocabulary": 25, + "volume": 255.41209043760983, + "difficulty": 7.583333333333333, + "effort": 1936.8750191518745, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::__construct": { + "line": 26, + "lineCount": 4, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::export": { + "line": 36, + "lineCount": 10, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 8, + "volume": 45, + "difficulty": 5, + "effort": 225, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::generateSvgTreemap": { + "line": 53, + "lineCount": 20, + "argCount": 1, + "returnCount": 1, + "variableCount": 6, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 8, + "N1": 9, + "N2": 20, + "programLength": 29, + "programVocabulary": 10, + "volume": 96.3359147517335, + "difficulty": 2.5, + "effort": 240.83978687933376, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::generateSvgTreemap" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRects": { + "line": 82, + "lineCount": 10, + "argCount": 3, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 9, + "N1": 6, + "N2": 18, + "programLength": 24, + "programVocabulary": 12, + "volume": 86.03910001730775, + "difficulty": 3, + "effort": 258.1173000519232, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRects" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRect": { + "line": 100, + "lineCount": 29, + "argCount": 2, + "returnCount": 1, + "variableCount": 12, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 6, + "n2": 28, + "N1": 26, + "N2": 54, + "programLength": 80, + "programVocabulary": 34, + "volume": 406.9970273000271, + "difficulty": 5.785714285714286, + "effort": 2354.7685150930142, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRect" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::wrapSvg": { + "line": 136, + "lineCount": 21, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 2, + "N2": 8, + "programLength": 10, + "programVocabulary": 4, + "volume": 20, + "difficulty": 1.3333333333333333, + "effort": 26.666666666666664, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::wrapSvg" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::prepareItems": { + "line": 28, + "lineCount": 18, + "argCount": 1, + "returnCount": 1, + "variableCount": 7, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 12, + "N1": 9, + "N2": 30, + "programLength": 39, + "programVocabulary": 17, + "volume": 159.41105080876324, + "difficulty": 6.25, + "effort": 996.3190675547702, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::prepareItems" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findScoreRange": { + "line": 53, + "lineCount": 16, + "argCount": 1, + "returnCount": 3, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 7, + "N2": 13, + "programLength": 20, + "programVocabulary": 8, + "volume": 60, + "difficulty": 3.9000000000000004, + "effort": 234.00000000000003, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findScoreRange" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::normalizeScore": { + "line": 78, + "lineCount": 8, + "argCount": 3, + "returnCount": 2, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 8, + "volume": 45, + "difficulty": 5, + "effort": 225, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::normalizeScore" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::scoreToColor": { + "line": 93, + "lineCount": 9, + "argCount": 1, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 5, + "n2": 9, + "N1": 12, + "N2": 16, + "programLength": 28, + "programVocabulary": 14, + "volume": 106.60593781761291, + "difficulty": 4.444444444444445, + "effort": 473.80416807827964, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::scoreToColor" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::calculateTreemapLayout": { + "line": 115, + "lineCount": 23, + "argCount": 7, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 9, + "N1": 2, + "N2": 18, + "programLength": 20, + "programVocabulary": 11, + "volume": 69.18863237274594, + "difficulty": 2, + "effort": 138.37726474549189, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::calculateTreemapLayout" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::layoutTreemap": { + "line": 152, + "lineCount": 89, + "argCount": 8, + "returnCount": 3, + "variableCount": 11, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 8, + "n2": 28, + "N1": 32, + "N2": 98, + "programLength": 130, + "programVocabulary": 36, + "volume": 672.0902501875006, + "difficulty": 14, + "effort": 9409.263502625008, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::layoutTreemap" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findSplitIndex": { + "line": 249, + "lineCount": 13, + "argCount": 2, + "returnCount": 2, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 7, + "n2": 10, + "N1": 9, + "N2": 23, + "programLength": 32, + "programVocabulary": 17, + "volume": 130.79881092001085, + "difficulty": 8.049999999999999, + "effort": 1052.9304279060873, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findSplitIndex" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::__construct": { + "line": 23, + "lineCount": 18, + "argCount": 1, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 7, + "N2": 11, + "programLength": 18, + "programVocabulary": 6, + "volume": 46.529325012980806, + "difficulty": 5.5, + "effort": 255.91128757139444, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::getAllClasses": { + "line": 47, + "lineCount": 17, + "argCount": 0, + "returnCount": 2, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 6, + "N2": 12, + "programLength": 18, + "programVocabulary": 9, + "volume": 57.05865002596162, + "difficulty": 3, + "effort": 171.17595007788486, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::getAllClasses" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::withClassNode": { + "line": 73, + "lineCount": 8, + "argCount": 2, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 4, + "N2": 8, + "programLength": 12, + "programVocabulary": 8, + "volume": 36, + "difficulty": 4, + "effort": 144, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::withClassNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::findClassNode": { + "line": 85, + "lineCount": 25, + "argCount": 1, + "returnCount": 4, + "variableCount": 5, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 13, + "N2": 29, + "programLength": 42, + "programVocabulary": 11, + "volume": 145.29612798276648, + "difficulty": 8.285714285714286, + "effort": 1203.8822032857795, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::findClassNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::escapeXPathValue": { + "line": 114, + "lineCount": 16, + "argCount": 1, + "returnCount": 3, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 9, + "N1": 11, + "N2": 18, + "programLength": 29, + "programVocabulary": 13, + "volume": 107.31275182609167, + "difficulty": 4, + "effort": 429.2510073043667, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::escapeXPathValue" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getLineCoverage": { + "line": 22, + "lineCount": 18, + "argCount": 1, + "returnCount": 4, + "variableCount": 5, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 9, + "N1": 10, + "N2": 19, + "programLength": 29, + "programVocabulary": 13, + "volume": 107.31275182609167, + "difficulty": 4.222222222222222, + "effort": 453.09828548794263, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getLineCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getBranchCoverage": { + "line": 48, + "lineCount": 18, + "argCount": 1, + "returnCount": 4, + "variableCount": 5, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 9, + "N1": 10, + "N2": 19, + "programLength": 29, + "programVocabulary": 13, + "volume": 107.31275182609167, + "difficulty": 4.222222222222222, + "effort": 453.09828548794263, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getBranchCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getComplexity": { + "line": 73, + "lineCount": 13, + "argCount": 1, + "returnCount": 3, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 7, + "N2": 14, + "programLength": 21, + "programVocabulary": 11, + "volume": 72.64806399138324, + "difficulty": 4, + "effort": 290.59225596553296, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getComplexity" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getCoverageDetails": { + "line": 93, + "lineCount": 26, + "argCount": 1, + "returnCount": 3, + "variableCount": 9, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 17, + "N1": 22, + "N2": 42, + "programLength": 64, + "programVocabulary": 22, + "volume": 285.403623592787, + "difficulty": 6.176470588235294, + "effort": 1762.7870868966259, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getCoverageDetails" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getMetricsNode": { + "line": 123, + "lineCount": 12, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 6, + "N1": 7, + "N2": 13, + "programLength": 20, + "programVocabulary": 10, + "volume": 66.43856189774725, + "difficulty": 4.333333333333333, + "effort": 287.90043489023805, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getMetricsNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getFilenameForClass": { + "line": 139, + "lineCount": 9, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 5, + "N1": 4, + "N2": 9, + "programLength": 13, + "programVocabulary": 9, + "volume": 41.209025018750054, + "difficulty": 3.6, + "effort": 148.3524900675002, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getFilenameForClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodsCoverage": { + "line": 154, + "lineCount": 36, + "argCount": 1, + "returnCount": 3, + "variableCount": 8, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 13, + "N1": 12, + "N2": 30, + "programLength": 42, + "programVocabulary": 16, + "volume": 168, + "difficulty": 3.4615384615384612, + "effort": 581.5384615384614, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodsCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::calculateMethodCoverage": { + "line": 194, + "lineCount": 15, + "argCount": 2, + "returnCount": 2, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 11, + "N1": 9, + "N2": 23, + "programLength": 32, + "programVocabulary": 16, + "volume": 128, + "difficulty": 5.227272727272727, + "effort": 669.090909090909, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::calculateMethodCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodCoverageFromLines": { + "line": 215, + "lineCount": 36, + "argCount": 2, + "returnCount": 1, + "variableCount": 7, + "propertyCallCount": 0, + "ifNestingLevel": 2, + "elseCount": 0, + "ifCount": 5, + "halstead": { + "n1": 2, + "n2": 14, + "N1": 12, + "N2": 35, + "programLength": 47, + "programVocabulary": 16, + "volume": 188, + "difficulty": 2.5, + "effort": 470, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodCoverageFromLines" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStart": { + "line": 252, + "lineCount": 4, + "argCount": 3, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 3, + "N2": 7, + "programLength": 10, + "programVocabulary": 6, + "volume": 25.84962500721156, + "difficulty": 1.75, + "effort": 45.23684376262023, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStart" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodEnd": { + "line": 257, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 5, + "programLength": 7, + "programVocabulary": 5, + "volume": 16.253496664211536, + "difficulty": 1.6666666666666667, + "effort": 27.089161107019226, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodEnd" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStatement": { + "line": 262, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 5, + "programLength": 7, + "programVocabulary": 5, + "volume": 16.253496664211536, + "difficulty": 1.6666666666666667, + "effort": 27.089161107019226, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStatement" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isStatementCovered": { + "line": 267, + "lineCount": 5, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 4, + "N1": 3, + "N2": 6, + "programLength": 9, + "programVocabulary": 7, + "volume": 25.26619429851844, + "difficulty": 2.25, + "effort": 56.848937171666485, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isStatementCovered" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getLineCoverage": { + "line": 20, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 9, + "volume": 44.37895002019237, + "difficulty": 2.5, + "effort": 110.94737505048093, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getLineCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getBranchCoverage": { + "line": 34, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 9, + "volume": 44.37895002019237, + "difficulty": 2.5, + "effort": 110.94737505048093, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getBranchCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getComplexity": { + "line": 48, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 9, + "volume": 44.37895002019237, + "difficulty": 2.5, + "effort": 110.94737505048093, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getComplexity" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getCoverageDetails": { + "line": 62, + "lineCount": 13, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 8, + "N1": 7, + "N2": 16, + "programLength": 23, + "programVocabulary": 9, + "volume": 72.90827503317318, + "difficulty": 1, + "effort": 72.90827503317318, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getCoverageDetails" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::extractMethodsCoverage": { + "line": 81, + "lineCount": 23, + "argCount": 1, + "returnCount": 2, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 11, + "N1": 10, + "N2": 23, + "programLength": 33, + "programVocabulary": 14, + "volume": 125.64271242790093, + "difficulty": 3.1363636363636362, + "effort": 394.061234432962, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::extractMethodsCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CodeCoverageFactory::createFromName": { + "line": 14, + "lineCount": 8, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 4, + "N1": 1, + "N2": 8, + "programLength": 9, + "programVocabulary": 5, + "volume": 20.89735285398626, + "difficulty": 1, + "effort": 20.89735285398626, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CodeCoverageFactory::createFromName" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::__construct": { + "line": 28, + "lineCount": 15, + "argCount": 6, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 6, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 7, + "N1": 6, + "N2": 18, + "programLength": 24, + "programVocabulary": 8, + "volume": 72, + "difficulty": 1.2857142857142858, + "effort": 92.57142857142858, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getName": { + "line": 44, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getName" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getFilename": { + "line": 49, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getFilename" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getLineRate": { + "line": 54, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getLineRate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getBranchRate": { + "line": 59, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getBranchRate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getComplexity": { + "line": 64, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getComplexity" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getMethods": { + "line": 72, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getMethods" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::__construct": { + "line": 17, + "lineCount": 11, + "argCount": 4, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 4, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 5, + "N1": 4, + "N2": 12, + "programLength": 16, + "programVocabulary": 6, + "volume": 41.3594000115385, + "difficulty": 1.2, + "effort": 49.631280013846194, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getName": { + "line": 29, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getName" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getLineRate": { + "line": 34, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getLineRate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getBranchRate": { + "line": 39, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getBranchRate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getComplexity": { + "line": 44, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getComplexity" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::calculateDeltas": { + "line": 19, + "lineCount": 14, + "argCount": 2, + "returnCount": 0, + "variableCount": 6, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 9, + "N1": 4, + "N2": 18, + "programLength": 22, + "programVocabulary": 11, + "volume": 76.10749561002054, + "difficulty": 2, + "effort": 152.21499122004107, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::calculateDeltas" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::loadBaseline": { + "line": 41, + "lineCount": 13, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 5, + "N2": 9, + "programLength": 14, + "programVocabulary": 8, + "volume": 42, + "difficulty": 2.7, + "effort": 113.4, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::loadBaseline" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::__construct": { + "line": 72, + "lineCount": 21, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 6, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 9, + "N1": 12, + "N2": 34, + "programLength": 46, + "programVocabulary": 12, + "volume": 164.90827503317317, + "difficulty": 5.666666666666666, + "effort": 934.4802251879812, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setRequiredMetricProperties": { + "line": 98, + "lineCount": 30, + "argCount": 1, + "returnCount": 0, + "variableCount": 6, + "propertyCallCount": 9, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 21, + "N1": 21, + "N2": 51, + "programLength": 72, + "programVocabulary": 24, + "volume": 330.1173000519232, + "difficulty": 3.6428571428571423, + "effort": 1202.570164474863, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setRequiredMetricProperties" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setOptionalMetricProperties": { + "line": 133, + "lineCount": 12, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 8, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 11, + "N1": 16, + "N2": 33, + "programLength": 49, + "programVocabulary": 13, + "volume": 181.32154618891352, + "difficulty": 3, + "effort": 543.9646385667405, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setOptionalMetricProperties" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setTimesChanged": { + "line": 146, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setTimesChanged" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertSame": { + "line": 151, + "lineCount": 14, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 6, + "N2": 8, + "programLength": 14, + "programVocabulary": 5, + "volume": 32.50699332842307, + "difficulty": 2.6666666666666665, + "effort": 86.68531554246152, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertSame" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::calculateDeltas": { + "line": 169, + "lineCount": 13, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 16, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 17, + "N2": 27, + "programLength": 44, + "programVocabulary": 4, + "volume": 88, + "difficulty": 13.5, + "effort": 1188, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::calculateDeltas" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::fromArray": { + "line": 187, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::fromArray" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertArrayKeyIsPresent": { + "line": 197, + "lineCount": 6, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 5, + "programLength": 5, + "programVocabulary": 2, + "volume": 5, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertArrayKeyIsPresent" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getClass": { + "line": 204, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getMethod": { + "line": 209, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getMethod" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCount": { + "line": 214, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCount": { + "line": 219, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCount": { + "line": 224, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCount": { + "line": 229, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCount": { + "line": 234, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCount": { + "line": 239, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevel": { + "line": 244, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevel" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCount": { + "line": 249, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeight": { + "line": 254, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setLineCountWeight": { + "line": 259, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setLineCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeight": { + "line": 264, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setArgCountWeight": { + "line": 269, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setArgCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeight": { + "line": 274, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setReturnCountWeight": { + "line": 279, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setReturnCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeight": { + "line": 284, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setVariableCountWeight": { + "line": 289, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setVariableCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeight": { + "line": 294, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setPropertyCallCountWeight": { + "line": 299, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setPropertyCallCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeight": { + "line": 304, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfCountWeight": { + "line": 309, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeight": { + "line": 314, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfNestingLevelWeight": { + "line": 319, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfNestingLevelWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeight": { + "line": 324, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setElseCountWeight": { + "line": 329, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setElseCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setScore": { + "line": 334, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setScore" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getScore": { + "line": 339, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getScore" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setCoverage": { + "line": 344, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCoverage": { + "line": 349, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeightDelta": { + "line": 354, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeightDelta": { + "line": 359, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeightDelta": { + "line": 364, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeightDelta": { + "line": 369, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeightDelta": { + "line": 374, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeightDelta": { + "line": 379, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeightDelta": { + "line": 384, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeightDelta": { + "line": 389, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getTimesChanged": { + "line": 394, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 2, + "programLength": 3, + "programVocabulary": 3, + "volume": 4.754887502163468, + "difficulty": 0.5, + "effort": 2.377443751081734, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getTimesChanged" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getFileName": { + "line": 399, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getFileName" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLine": { + "line": 404, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLine" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::equals": { + "line": 409, + "lineCount": 5, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 2, + "N1": 5, + "N2": 5, + "programLength": 10, + "programVocabulary": 5, + "volume": 23.21928094887362, + "difficulty": 3.75, + "effort": 87.07230355827608, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::equals" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::toArray": { + "line": 418, + "lineCount": 34, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 29, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 30, + "N1": 0, + "N2": 58, + "programLength": 58, + "programVocabulary": 30, + "volume": 284.5996545452941, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::toArray" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::jsonSerialize": { + "line": 456, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::jsonSerialize" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getHalstead": { + "line": 464, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getHalstead" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCyclomatic": { + "line": 472, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCyclomatic" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::add": { + "line": 30, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 5, + "N2": 6, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 3, + "effort": 85.30376252379816, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::add" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filter": { + "line": 40, + "lineCount": 11, + "argCount": 1, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 8, + "volume": 42, + "difficulty": 3, + "effort": 126, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filter" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getIterator": { + "line": 57, + "lineCount": 5, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getIterator" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::count": { + "line": 66, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::count" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterWithScoreGreaterThan": { + "line": 71, + "lineCount": 6, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 3, + "N2": 6, + "programLength": 9, + "programVocabulary": 5, + "volume": 20.89735285398626, + "difficulty": 2, + "effort": 41.79470570797252, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterWithScoreGreaterThan" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::contains": { + "line": 78, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 4, + "N2": 5, + "programLength": 9, + "programVocabulary": 5, + "volume": 20.89735285398626, + "difficulty": 1.6666666666666667, + "effort": 34.82892142331043, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::contains" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getClassWithMethod": { + "line": 83, + "lineCount": 9, + "argCount": 2, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 3, + "N2": 10, + "programLength": 13, + "programVocabulary": 7, + "volume": 36.49561398674886, + "difficulty": 2, + "effort": 72.99122797349771, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getClassWithMethod" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterByClassName": { + "line": 93, + "lineCount": 6, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 3, + "N2": 6, + "programLength": 9, + "programVocabulary": 5, + "volume": 20.89735285398626, + "difficulty": 2, + "effort": 41.79470570797252, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterByClassName" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::assertMetricHasGetter": { + "line": 100, + "lineCount": 9, + "argCount": 3, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 6, + "programLength": 7, + "programVocabulary": 4, + "volume": 14, + "difficulty": 1, + "effort": 14, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::assertMetricHasGetter" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::groupBy": { + "line": 117, + "lineCount": 20, + "argCount": 1, + "returnCount": 1, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 10, + "N2": 23, + "programLength": 33, + "programVocabulary": 11, + "volume": 114.16124341503081, + "difficulty": 6.571428571428571, + "effort": 750.2024567273453, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::groupBy" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::jsonSerialize": { + "line": 141, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::jsonSerialize" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::__construct": { + "line": 32, + "lineCount": 8, + "argCount": 5, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 5, + "N1": 0, + "N2": 5, + "programLength": 5, + "programVocabulary": 5, + "volume": 11.60964047443681, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collect": { + "line": 49, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 5, + "programLength": 6, + "programVocabulary": 4, + "volume": 12, + "difficulty": 0.8333333333333334, + "effort": 10, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collect" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collectFromPaths": { + "line": 62, + "lineCount": 13, + "argCount": 2, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 8, + "N2": 16, + "programLength": 24, + "programVocabulary": 9, + "volume": 76.07820003461549, + "difficulty": 4, + "effort": 304.31280013846197, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collectFromPaths" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCodeFromFile": { + "line": 79, + "lineCount": 10, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 2, + "N1": 5, + "N2": 6, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 6, + "effort": 170.6075250475963, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCodeFromFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findMetrics": { + "line": 98, + "lineCount": 31, + "argCount": 1, + "returnCount": 1, + "variableCount": 9, + "propertyCallCount": 2, + "ifNestingLevel": 2, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 13, + "N1": 18, + "N2": 38, + "programLength": 56, + "programVocabulary": 16, + "volume": 224, + "difficulty": 4.384615384615384, + "effort": 982.1538461538461, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findMetrics" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processMethodMetrics": { + "line": 136, + "lineCount": 29, + "argCount": 3, + "returnCount": 1, + "variableCount": 7, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 14, + "N1": 8, + "N2": 27, + "programLength": 35, + "programVocabulary": 17, + "volume": 143.06119944376186, + "difficulty": 2.892857142857143, + "effort": 413.8556126765968, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processMethodMetrics" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::isExcluded": { + "line": 166, + "lineCount": 12, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 5, + "N1": 5, + "N2": 9, + "programLength": 14, + "programVocabulary": 9, + "volume": 44.37895002019237, + "difficulty": 3.6, + "effort": 159.76422007269252, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::isExcluded" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findSourceFiles": { + "line": 187, + "lineCount": 7, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 2, + "N2": 6, + "programLength": 8, + "programVocabulary": 6, + "volume": 20.67970000576925, + "difficulty": 1.5, + "effort": 31.019550008653873, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findSourceFiles" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getProjectRoot": { + "line": 202, + "lineCount": 13, + "argCount": 0, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 2, + "N1": 8, + "N2": 8, + "programLength": 16, + "programVocabulary": 6, + "volume": 41.3594000115385, + "difficulty": 8, + "effort": 330.875200092308, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getProjectRoot" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateCacheKey": { + "line": 219, + "lineCount": 7, + "argCount": 2, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 6, + "N1": 10, + "N2": 12, + "programLength": 22, + "programVocabulary": 10, + "volume": 73.08241808752197, + "difficulty": 4, + "effort": 292.3296723500879, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateCacheKey" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateConfigHash": { + "line": 230, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 1, + "N1": 3, + "N2": 2, + "programLength": 5, + "programVocabulary": 3, + "volume": 7.92481250360578, + "difficulty": 2, + "effort": 15.84962500721156, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateConfigHash" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::cacheResult": { + "line": 239, + "lineCount": 14, + "argCount": 4, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 13, + "N1": 5, + "N2": 20, + "programLength": 25, + "programVocabulary": 15, + "volume": 97.67226489021297, + "difficulty": 1.5384615384615385, + "effort": 150.26502290801997, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::cacheResult" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::clearCache": { + "line": 254, + "lineCount": 4, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::clearCache" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::normalizeFilename": { + "line": 264, + "lineCount": 15, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 6, + "n2": 7, + "N1": 12, + "N2": 16, + "programLength": 28, + "programVocabulary": 13, + "volume": 103.61231210795059, + "difficulty": 6.857142857142857, + "effort": 710.4844258830897, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::normalizeFilename" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCachedMetrics": { + "line": 286, + "lineCount": 19, + "argCount": 3, + "returnCount": 3, + "variableCount": 4, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 11, + "N1": 10, + "N2": 29, + "programLength": 39, + "programVocabulary": 14, + "volume": 148.48684196024655, + "difficulty": 3.954545454545454, + "effort": 587.1979659337022, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCachedMetrics" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processFile": { + "line": 312, + "lineCount": 37, + "argCount": 5, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 7, + "n2": 10, + "N1": 12, + "N2": 28, + "programLength": 40, + "programVocabulary": 17, + "volume": 163.49851365001356, + "difficulty": 9.799999999999999, + "effort": 1602.2854337701328, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::sort": { + "line": 51, + "lineCount": 41, + "argCount": 3, + "returnCount": 2, + "variableCount": 10, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 18, + "N1": 20, + "N2": 43, + "programLength": 63, + "programVocabulary": 22, + "volume": 280.9441919741497, + "difficulty": 4.777777777777778, + "effort": 1342.2889172098264, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::sort" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getFieldValue": { + "line": 100, + "lineCount": 28, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 25, + "N1": 24, + "N2": 50, + "programLength": 74, + "programVocabulary": 27, + "volume": 351.86167516009664, + "difficulty": 2, + "effort": 703.7233503201933, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getFieldValue" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::compareValues": { + "line": 136, + "lineCount": 13, + "argCount": 2, + "returnCount": 3, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 2, + "N1": 9, + "N2": 12, + "programLength": 21, + "programVocabulary": 5, + "volume": 48.760489992634604, + "difficulty": 9, + "effort": 438.8444099337114, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::compareValues" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getSortableFields": { + "line": 155, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 0, + "N1": 0, + "N2": 0, + "programLength": 0, + "programVocabulary": 0, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getSortableFields" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__construct": { + "line": 15, + "lineCount": 11, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 7, + "N2": 12, + "programLength": 19, + "programVocabulary": 6, + "volume": 49.11428751370197, + "difficulty": 6, + "effort": 294.6857250822118, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::getValue": { + "line": 27, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::getValue" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasIncreased": { + "line": 32, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasIncreased" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__toString": { + "line": 37, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__toString" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasNotChanged": { + "line": 42, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 2, + "programLength": 3, + "programVocabulary": 3, + "volume": 4.754887502163468, + "difficulty": 0.5, + "effort": 2.377443751081734, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasNotChanged" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\FileProcessed::__construct": { + "line": 14, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\FileProcessed::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\ParserFailed::__construct": { + "line": 15, + "lineCount": 5, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\ParserFailed::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\SourceFilesFound::__construct": { + "line": 17, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\SourceFilesFound::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::__construct": { + "line": 15, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::create": { + "line": 27, + "lineCount": 10, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 0, + "n2": 6, + "N1": 0, + "N2": 8, + "programLength": 8, + "programVocabulary": 6, + "volume": 20.67970000576925, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::create" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::getSupportedTypes": { + "line": 43, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 0, + "n2": 4, + "N1": 0, + "N2": 4, + "programLength": 4, + "programVocabulary": 4, + "volume": 8, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::getSupportedTypes" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::isSupported": { + "line": 54, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 2, + "N2": 3, + "programLength": 5, + "programVocabulary": 4, + "volume": 10, + "difficulty": 1.5, + "effort": 15, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::isSupported" + } + } + }, + "ignored_items": [], + "cached_at": 1759967601 +} \ No newline at end of file diff --git a/.phpcca.cache/a4/a4e3d3db480a2fbe2536ea5058cf31d8.cache b/.phpcca.cache/a4/a4e3d3db480a2fbe2536ea5058cf31d8.cache new file mode 100644 index 0000000..9ae2a69 --- /dev/null +++ b/.phpcca.cache/a4/a4e3d3db480a2fbe2536ea5058cf31d8.cache @@ -0,0 +1,2019 @@ +{ + "version": "1.0", + "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/Business\/Cognitive\/Baseline.php", + "file_mtime": 1752612112, + "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", + "analysis_result": { + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct": { + "line": 60, + "lineCount": 5, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 1, + "N1": 2, + "N2": 2, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 2, + "effort": 12.679700005769249, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices": { + "line": 66, + "lineCount": 95, + "argCount": 0, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 5, + "N1": 58, + "N2": 32, + "programLength": 90, + "programVocabulary": 9, + "volume": 285.2932501298081, + "difficulty": 12.8, + "effort": 3651.7536016615436, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap": { + "line": 162, + "lineCount": 10, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 7, + "N2": 7, + "programLength": 14, + "programVocabulary": 2, + "volume": 14, + "difficulty": 3.5, + "effort": 49, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors": { + "line": 173, + "lineCount": 12, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 3, + "N2": 1, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0.5, + "effort": 2, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus": { + "line": 186, + "lineCount": 19, + "argCount": 0, + "returnCount": 0, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 9, + "N2": 13, + "programLength": 22, + "programVocabulary": 7, + "volume": 61.76180828526729, + "difficulty": 2.6, + "effort": 160.58070154169496, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService": { + "line": 206, + "lineCount": 9, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 3, + "N2": 1, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0.5, + "effort": 2, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade": { + "line": 216, + "lineCount": 13, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 3, + "N2": 1, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0.5, + "effort": 2, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands": { + "line": 230, + "lineCount": 21, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 6, + "N2": 2, + "programLength": 8, + "programVocabulary": 2, + "volume": 8, + "difficulty": 1, + "effort": 8, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication": { + "line": 252, + "lineCount": 11, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 5, + "N2": 4, + "programLength": 9, + "programVocabulary": 4, + "volume": 18, + "difficulty": 0.6666666666666666, + "effort": 12, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run": { + "line": 264, + "lineCount": 9, + "argCount": 0, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 5, + "N2": 5, + "programLength": 10, + "programVocabulary": 4, + "volume": 20, + "difficulty": 2.5, + "effort": 50, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get": { + "line": 274, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer": { + "line": 279, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator": { + "line": 289, + "lineCount": 16, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 7, + "programLength": 8, + "programVocabulary": 4, + "volume": 16, + "difficulty": 1.1666666666666667, + "effort": 18.666666666666668, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create": { + "line": 18, + "lineCount": 7, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 4, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile": { + "line": 17, + "lineCount": 17, + "argCount": 2, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 8, + "N1": 11, + "N2": 19, + "programLength": 30, + "programVocabulary": 11, + "volume": 103.78294855911892, + "difficulty": 3.5625, + "effort": 369.72675424186116, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode": { + "line": 42, + "lineCount": 8, + "argCount": 3, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 3, + "N2": 8, + "programLength": 11, + "programVocabulary": 8, + "volume": 33, + "difficulty": 2.4000000000000004, + "effort": 79.20000000000002, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate": { + "line": 22, + "lineCount": 10, + "argCount": 2, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 6, + "N2": 13, + "programLength": 19, + "programVocabulary": 6, + "volume": 49.11428751370197, + "difficulty": 3.25, + "effort": 159.6214344195314, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending": { + "line": 37, + "lineCount": 8, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 2, + "N2": 9, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 2.25, + "effort": 63.97782189284862, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn": { + "line": 51, + "lineCount": 24, + "argCount": 2, + "returnCount": 1, + "variableCount": 6, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 15, + "N1": 17, + "N2": 46, + "programLength": 63, + "programVocabulary": 20, + "volume": 272.28146997790384, + "difficulty": 7.666666666666667, + "effort": 2087.491269830596, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses": { + "line": 81, + "lineCount": 20, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 2, + "n2": 7, + "N1": 10, + "N2": 24, + "programLength": 34, + "programVocabulary": 9, + "volume": 107.7774500490386, + "difficulty": 3.4285714285714284, + "effort": 369.52268588241805, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass": { + "line": 109, + "lineCount": 9, + "argCount": 2, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 6, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 10, + "volume": 49.82892142331043, + "difficulty": 3.3333333333333335, + "effort": 166.09640474436813, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel": { + "line": 126, + "lineCount": 16, + "argCount": 2, + "returnCount": 4, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 12, + "N1": 9, + "N2": 18, + "programLength": 27, + "programVocabulary": 15, + "volume": 105.48604608143, + "difficulty": 2.25, + "effort": 237.3436036832175, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile": { + "line": 14, + "lineCount": 6, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 2, + "N2": 5, + "programLength": 7, + "programVocabulary": 4, + "volume": 14, + "difficulty": 2.5, + "effort": 35, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable": { + "line": 24, + "lineCount": 11, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 10, + "N2": 12, + "programLength": 22, + "programVocabulary": 8, + "volume": 66, + "difficulty": 6, + "effort": 396, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create": { + "line": 21, + "lineCount": 11, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 7, + "N1": 0, + "N2": 9, + "programLength": 9, + "programVocabulary": 7, + "volume": 25.26619429851844, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes": { + "line": 38, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 6, + "N1": 0, + "N2": 6, + "programLength": 6, + "programVocabulary": 6, + "volume": 15.509775004326936, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported": { + "line": 49, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 2, + "N2": 3, + "programLength": 5, + "programVocabulary": 4, + "volume": 10, + "difficulty": 1.5, + "effort": 15, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export": { + "line": 30, + "lineCount": 23, + "argCount": 2, + "returnCount": 0, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 16, + "N1": 10, + "N2": 33, + "programLength": 43, + "programVocabulary": 20, + "volume": 185.8429080801566, + "difficulty": 4.125, + "effort": 766.601995830646, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export": { + "line": 28, + "lineCount": 8, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 6, + "volume": 36.18947501009619, + "difficulty": 2.5, + "effort": 90.47368752524048, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape": { + "line": 37, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber": { + "line": 42, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml": { + "line": 52, + "lineCount": 50, + "argCount": 1, + "returnCount": 1, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 12, + "N1": 11, + "N2": 25, + "programLength": 36, + "programVocabulary": 17, + "volume": 147.14866228501222, + "difficulty": 5.208333333333334, + "effort": 766.3992827344388, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export": { + "line": 17, + "lineCount": 13, + "argCount": 2, + "returnCount": 0, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 8, + "N1": 7, + "N2": 14, + "programLength": 21, + "programVocabulary": 12, + "volume": 75.28421251514428, + "difficulty": 3.5, + "effort": 263.49474380300495, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export": { + "line": 48, + "lineCount": 8, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 6, + "volume": 36.18947501009619, + "difficulty": 2.5, + "effort": 90.47368752524048, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown": { + "line": 61, + "lineCount": 24, + "argCount": 1, + "returnCount": 1, + "variableCount": 6, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 6, + "n2": 16, + "N1": 19, + "N2": 41, + "programLength": 60, + "programVocabulary": 22, + "volume": 267.56589711823784, + "difficulty": 7.6875, + "effort": 2056.9128340964535, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow": { + "line": 94, + "lineCount": 21, + "argCount": 3, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 7, + "n2": 18, + "N1": 16, + "N2": 39, + "programLength": 55, + "programVocabulary": 25, + "volume": 255.41209043760983, + "difficulty": 7.583333333333333, + "effort": 1936.8750191518745, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::__construct": { + "line": 26, + "lineCount": 4, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::export": { + "line": 36, + "lineCount": 10, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 8, + "volume": 45, + "difficulty": 5, + "effort": 225, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::generateSvgTreemap": { + "line": 53, + "lineCount": 20, + "argCount": 1, + "returnCount": 1, + "variableCount": 6, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 8, + "N1": 9, + "N2": 20, + "programLength": 29, + "programVocabulary": 10, + "volume": 96.3359147517335, + "difficulty": 2.5, + "effort": 240.83978687933376, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::generateSvgTreemap" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRects": { + "line": 82, + "lineCount": 10, + "argCount": 3, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 9, + "N1": 6, + "N2": 18, + "programLength": 24, + "programVocabulary": 12, + "volume": 86.03910001730775, + "difficulty": 3, + "effort": 258.1173000519232, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRects" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRect": { + "line": 100, + "lineCount": 29, + "argCount": 2, + "returnCount": 1, + "variableCount": 12, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 6, + "n2": 28, + "N1": 26, + "N2": 54, + "programLength": 80, + "programVocabulary": 34, + "volume": 406.9970273000271, + "difficulty": 5.785714285714286, + "effort": 2354.7685150930142, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRect" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::wrapSvg": { + "line": 136, + "lineCount": 21, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 2, + "N2": 8, + "programLength": 10, + "programVocabulary": 4, + "volume": 20, + "difficulty": 1.3333333333333333, + "effort": 26.666666666666664, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::wrapSvg" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::prepareItems": { + "line": 28, + "lineCount": 18, + "argCount": 1, + "returnCount": 1, + "variableCount": 7, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 12, + "N1": 9, + "N2": 30, + "programLength": 39, + "programVocabulary": 17, + "volume": 159.41105080876324, + "difficulty": 6.25, + "effort": 996.3190675547702, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::prepareItems" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findScoreRange": { + "line": 53, + "lineCount": 16, + "argCount": 1, + "returnCount": 3, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 7, + "N2": 13, + "programLength": 20, + "programVocabulary": 8, + "volume": 60, + "difficulty": 3.9000000000000004, + "effort": 234.00000000000003, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findScoreRange" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::normalizeScore": { + "line": 78, + "lineCount": 8, + "argCount": 3, + "returnCount": 2, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 8, + "volume": 45, + "difficulty": 5, + "effort": 225, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::normalizeScore" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::scoreToColor": { + "line": 93, + "lineCount": 9, + "argCount": 1, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 5, + "n2": 9, + "N1": 12, + "N2": 16, + "programLength": 28, + "programVocabulary": 14, + "volume": 106.60593781761291, + "difficulty": 4.444444444444445, + "effort": 473.80416807827964, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::scoreToColor" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::calculateTreemapLayout": { + "line": 115, + "lineCount": 23, + "argCount": 7, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 9, + "N1": 2, + "N2": 18, + "programLength": 20, + "programVocabulary": 11, + "volume": 69.18863237274594, + "difficulty": 2, + "effort": 138.37726474549189, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::calculateTreemapLayout" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::layoutTreemap": { + "line": 152, + "lineCount": 89, + "argCount": 8, + "returnCount": 3, + "variableCount": 11, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 8, + "n2": 28, + "N1": 32, + "N2": 98, + "programLength": 130, + "programVocabulary": 36, + "volume": 672.0902501875006, + "difficulty": 14, + "effort": 9409.263502625008, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::layoutTreemap" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findSplitIndex": { + "line": 249, + "lineCount": 13, + "argCount": 2, + "returnCount": 2, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 7, + "n2": 10, + "N1": 9, + "N2": 23, + "programLength": 32, + "programVocabulary": 17, + "volume": 130.79881092001085, + "difficulty": 8.049999999999999, + "effort": 1052.9304279060873, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findSplitIndex" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::__construct": { + "line": 23, + "lineCount": 18, + "argCount": 1, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 7, + "N2": 11, + "programLength": 18, + "programVocabulary": 6, + "volume": 46.529325012980806, + "difficulty": 5.5, + "effort": 255.91128757139444, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::getAllClasses": { + "line": 47, + "lineCount": 17, + "argCount": 0, + "returnCount": 2, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 6, + "N2": 12, + "programLength": 18, + "programVocabulary": 9, + "volume": 57.05865002596162, + "difficulty": 3, + "effort": 171.17595007788486, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::getAllClasses" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::withClassNode": { + "line": 73, + "lineCount": 8, + "argCount": 2, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 4, + "N2": 8, + "programLength": 12, + "programVocabulary": 8, + "volume": 36, + "difficulty": 4, + "effort": 144, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::withClassNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::findClassNode": { + "line": 85, + "lineCount": 25, + "argCount": 1, + "returnCount": 4, + "variableCount": 5, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 13, + "N2": 29, + "programLength": 42, + "programVocabulary": 11, + "volume": 145.29612798276648, + "difficulty": 8.285714285714286, + "effort": 1203.8822032857795, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::findClassNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::escapeXPathValue": { + "line": 114, + "lineCount": 16, + "argCount": 1, + "returnCount": 3, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 9, + "N1": 11, + "N2": 18, + "programLength": 29, + "programVocabulary": 13, + "volume": 107.31275182609167, + "difficulty": 4, + "effort": 429.2510073043667, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::escapeXPathValue" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getLineCoverage": { + "line": 22, + "lineCount": 18, + "argCount": 1, + "returnCount": 4, + "variableCount": 5, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 9, + "N1": 10, + "N2": 19, + "programLength": 29, + "programVocabulary": 13, + "volume": 107.31275182609167, + "difficulty": 4.222222222222222, + "effort": 453.09828548794263, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getLineCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getBranchCoverage": { + "line": 48, + "lineCount": 18, + "argCount": 1, + "returnCount": 4, + "variableCount": 5, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 9, + "N1": 10, + "N2": 19, + "programLength": 29, + "programVocabulary": 13, + "volume": 107.31275182609167, + "difficulty": 4.222222222222222, + "effort": 453.09828548794263, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getBranchCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getComplexity": { + "line": 73, + "lineCount": 13, + "argCount": 1, + "returnCount": 3, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 7, + "N2": 14, + "programLength": 21, + "programVocabulary": 11, + "volume": 72.64806399138324, + "difficulty": 4, + "effort": 290.59225596553296, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getComplexity" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getCoverageDetails": { + "line": 93, + "lineCount": 26, + "argCount": 1, + "returnCount": 3, + "variableCount": 9, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 17, + "N1": 22, + "N2": 42, + "programLength": 64, + "programVocabulary": 22, + "volume": 285.403623592787, + "difficulty": 6.176470588235294, + "effort": 1762.7870868966259, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getCoverageDetails" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getMetricsNode": { + "line": 123, + "lineCount": 12, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 6, + "N1": 7, + "N2": 13, + "programLength": 20, + "programVocabulary": 10, + "volume": 66.43856189774725, + "difficulty": 4.333333333333333, + "effort": 287.90043489023805, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getMetricsNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getFilenameForClass": { + "line": 139, + "lineCount": 9, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 5, + "N1": 4, + "N2": 9, + "programLength": 13, + "programVocabulary": 9, + "volume": 41.209025018750054, + "difficulty": 3.6, + "effort": 148.3524900675002, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getFilenameForClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodsCoverage": { + "line": 154, + "lineCount": 36, + "argCount": 1, + "returnCount": 3, + "variableCount": 8, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 13, + "N1": 12, + "N2": 30, + "programLength": 42, + "programVocabulary": 16, + "volume": 168, + "difficulty": 3.4615384615384612, + "effort": 581.5384615384614, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodsCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::calculateMethodCoverage": { + "line": 194, + "lineCount": 15, + "argCount": 2, + "returnCount": 2, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 11, + "N1": 9, + "N2": 23, + "programLength": 32, + "programVocabulary": 16, + "volume": 128, + "difficulty": 5.227272727272727, + "effort": 669.090909090909, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::calculateMethodCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodCoverageFromLines": { + "line": 215, + "lineCount": 36, + "argCount": 2, + "returnCount": 1, + "variableCount": 7, + "propertyCallCount": 0, + "ifNestingLevel": 2, + "elseCount": 0, + "ifCount": 5, + "halstead": { + "n1": 2, + "n2": 14, + "N1": 12, + "N2": 35, + "programLength": 47, + "programVocabulary": 16, + "volume": 188, + "difficulty": 2.5, + "effort": 470, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodCoverageFromLines" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStart": { + "line": 252, + "lineCount": 4, + "argCount": 3, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 3, + "N2": 7, + "programLength": 10, + "programVocabulary": 6, + "volume": 25.84962500721156, + "difficulty": 1.75, + "effort": 45.23684376262023, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStart" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodEnd": { + "line": 257, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 5, + "programLength": 7, + "programVocabulary": 5, + "volume": 16.253496664211536, + "difficulty": 1.6666666666666667, + "effort": 27.089161107019226, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodEnd" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStatement": { + "line": 262, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 5, + "programLength": 7, + "programVocabulary": 5, + "volume": 16.253496664211536, + "difficulty": 1.6666666666666667, + "effort": 27.089161107019226, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStatement" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isStatementCovered": { + "line": 267, + "lineCount": 5, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 4, + "N1": 3, + "N2": 6, + "programLength": 9, + "programVocabulary": 7, + "volume": 25.26619429851844, + "difficulty": 2.25, + "effort": 56.848937171666485, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isStatementCovered" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getLineCoverage": { + "line": 20, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 9, + "volume": 44.37895002019237, + "difficulty": 2.5, + "effort": 110.94737505048093, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getLineCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getBranchCoverage": { + "line": 34, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 9, + "volume": 44.37895002019237, + "difficulty": 2.5, + "effort": 110.94737505048093, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getBranchCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getComplexity": { + "line": 48, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 9, + "volume": 44.37895002019237, + "difficulty": 2.5, + "effort": 110.94737505048093, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getComplexity" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getCoverageDetails": { + "line": 62, + "lineCount": 13, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 8, + "N1": 7, + "N2": 16, + "programLength": 23, + "programVocabulary": 9, + "volume": 72.90827503317318, + "difficulty": 1, + "effort": 72.90827503317318, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getCoverageDetails" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::extractMethodsCoverage": { + "line": 81, + "lineCount": 23, + "argCount": 1, + "returnCount": 2, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 11, + "N1": 10, + "N2": 23, + "programLength": 33, + "programVocabulary": 14, + "volume": 125.64271242790093, + "difficulty": 3.1363636363636362, + "effort": 394.061234432962, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::extractMethodsCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CodeCoverageFactory::createFromName": { + "line": 14, + "lineCount": 8, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 4, + "N1": 1, + "N2": 8, + "programLength": 9, + "programVocabulary": 5, + "volume": 20.89735285398626, + "difficulty": 1, + "effort": 20.89735285398626, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CodeCoverageFactory::createFromName" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::__construct": { + "line": 28, + "lineCount": 15, + "argCount": 6, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 6, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 7, + "N1": 6, + "N2": 18, + "programLength": 24, + "programVocabulary": 8, + "volume": 72, + "difficulty": 1.2857142857142858, + "effort": 92.57142857142858, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getName": { + "line": 44, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getName" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getFilename": { + "line": 49, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getFilename" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getLineRate": { + "line": 54, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getLineRate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getBranchRate": { + "line": 59, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getBranchRate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getComplexity": { + "line": 64, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getComplexity" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getMethods": { + "line": 72, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getMethods" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::__construct": { + "line": 17, + "lineCount": 11, + "argCount": 4, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 4, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 5, + "N1": 4, + "N2": 12, + "programLength": 16, + "programVocabulary": 6, + "volume": 41.3594000115385, + "difficulty": 1.2, + "effort": 49.631280013846194, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getName": { + "line": 29, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getName" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getLineRate": { + "line": 34, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getLineRate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getBranchRate": { + "line": 39, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getBranchRate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getComplexity": { + "line": 44, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getComplexity" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::calculateDeltas": { + "line": 19, + "lineCount": 14, + "argCount": 2, + "returnCount": 0, + "variableCount": 6, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "cyclomatic_complexity": { + "complexity": 4, + "risk_level": "low" + }, + "halstead": { + "n1": 2, + "n2": 9, + "N1": 4, + "N2": 18, + "programLength": 22, + "programVocabulary": 11, + "volume": 76.10749561002054, + "difficulty": 2, + "effort": 152.21499122004107, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::calculateDeltas" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::loadBaseline": { + "line": 41, + "lineCount": 13, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "cyclomatic_complexity": { + "complexity": 3, + "risk_level": "low" + }, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 5, + "N2": 9, + "programLength": 14, + "programVocabulary": 8, + "volume": 42, + "difficulty": 2.7, + "effort": 113.4, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::loadBaseline" + } + } + }, + "ignored_items": [], + "cached_at": 1759967600 +} \ No newline at end of file diff --git a/.phpcca.cache/a6/a694bd32301ba8960fff46ce0067abbd.cache b/.phpcca.cache/a6/a694bd32301ba8960fff46ce0067abbd.cache new file mode 100644 index 0000000..39eac3e --- /dev/null +++ b/.phpcca.cache/a6/a694bd32301ba8960fff46ce0067abbd.cache @@ -0,0 +1,6151 @@ +{ + "version": "1.0", + "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/Cache\/Exception\/CacheException.php", + "file_mtime": 1759964701, + "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", + "analysis_result": { + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct": { + "line": 60, + "lineCount": 5, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 1, + "N1": 2, + "N2": 2, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 2, + "effort": 12.679700005769249, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices": { + "line": 66, + "lineCount": 95, + "argCount": 0, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 5, + "N1": 58, + "N2": 32, + "programLength": 90, + "programVocabulary": 9, + "volume": 285.2932501298081, + "difficulty": 12.8, + "effort": 3651.7536016615436, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap": { + "line": 162, + "lineCount": 10, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 7, + "N2": 7, + "programLength": 14, + "programVocabulary": 2, + "volume": 14, + "difficulty": 3.5, + "effort": 49, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors": { + "line": 173, + "lineCount": 12, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 3, + "N2": 1, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0.5, + "effort": 2, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus": { + "line": 186, + "lineCount": 19, + "argCount": 0, + "returnCount": 0, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 9, + "N2": 13, + "programLength": 22, + "programVocabulary": 7, + "volume": 61.76180828526729, + "difficulty": 2.6, + "effort": 160.58070154169496, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService": { + "line": 206, + "lineCount": 9, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 3, + "N2": 1, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0.5, + "effort": 2, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade": { + "line": 216, + "lineCount": 13, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 3, + "N2": 1, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0.5, + "effort": 2, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands": { + "line": 230, + "lineCount": 21, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 6, + "N2": 2, + "programLength": 8, + "programVocabulary": 2, + "volume": 8, + "difficulty": 1, + "effort": 8, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication": { + "line": 252, + "lineCount": 11, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 5, + "N2": 4, + "programLength": 9, + "programVocabulary": 4, + "volume": 18, + "difficulty": 0.6666666666666666, + "effort": 12, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run": { + "line": 264, + "lineCount": 9, + "argCount": 0, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 5, + "N2": 5, + "programLength": 10, + "programVocabulary": 4, + "volume": 20, + "difficulty": 2.5, + "effort": 50, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get": { + "line": 274, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer": { + "line": 279, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator": { + "line": 289, + "lineCount": 16, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 7, + "programLength": 8, + "programVocabulary": 4, + "volume": 16, + "difficulty": 1.1666666666666667, + "effort": 18.666666666666668, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create": { + "line": 18, + "lineCount": 7, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 4, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile": { + "line": 17, + "lineCount": 17, + "argCount": 2, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 8, + "N1": 11, + "N2": 19, + "programLength": 30, + "programVocabulary": 11, + "volume": 103.78294855911892, + "difficulty": 3.5625, + "effort": 369.72675424186116, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode": { + "line": 42, + "lineCount": 8, + "argCount": 3, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 3, + "N2": 8, + "programLength": 11, + "programVocabulary": 8, + "volume": 33, + "difficulty": 2.4000000000000004, + "effort": 79.20000000000002, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate": { + "line": 22, + "lineCount": 10, + "argCount": 2, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 6, + "N2": 13, + "programLength": 19, + "programVocabulary": 6, + "volume": 49.11428751370197, + "difficulty": 3.25, + "effort": 159.6214344195314, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending": { + "line": 37, + "lineCount": 8, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 2, + "N2": 9, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 2.25, + "effort": 63.97782189284862, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn": { + "line": 51, + "lineCount": 24, + "argCount": 2, + "returnCount": 1, + "variableCount": 6, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 15, + "N1": 17, + "N2": 46, + "programLength": 63, + "programVocabulary": 20, + "volume": 272.28146997790384, + "difficulty": 7.666666666666667, + "effort": 2087.491269830596, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses": { + "line": 81, + "lineCount": 20, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 2, + "n2": 7, + "N1": 10, + "N2": 24, + "programLength": 34, + "programVocabulary": 9, + "volume": 107.7774500490386, + "difficulty": 3.4285714285714284, + "effort": 369.52268588241805, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass": { + "line": 109, + "lineCount": 9, + "argCount": 2, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 6, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 10, + "volume": 49.82892142331043, + "difficulty": 3.3333333333333335, + "effort": 166.09640474436813, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel": { + "line": 126, + "lineCount": 16, + "argCount": 2, + "returnCount": 4, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 12, + "N1": 9, + "N2": 18, + "programLength": 27, + "programVocabulary": 15, + "volume": 105.48604608143, + "difficulty": 2.25, + "effort": 237.3436036832175, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile": { + "line": 14, + "lineCount": 6, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 2, + "N2": 5, + "programLength": 7, + "programVocabulary": 4, + "volume": 14, + "difficulty": 2.5, + "effort": 35, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable": { + "line": 24, + "lineCount": 11, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 10, + "N2": 12, + "programLength": 22, + "programVocabulary": 8, + "volume": 66, + "difficulty": 6, + "effort": 396, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create": { + "line": 21, + "lineCount": 11, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 7, + "N1": 0, + "N2": 9, + "programLength": 9, + "programVocabulary": 7, + "volume": 25.26619429851844, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes": { + "line": 38, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 6, + "N1": 0, + "N2": 6, + "programLength": 6, + "programVocabulary": 6, + "volume": 15.509775004326936, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported": { + "line": 49, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 2, + "N2": 3, + "programLength": 5, + "programVocabulary": 4, + "volume": 10, + "difficulty": 1.5, + "effort": 15, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export": { + "line": 30, + "lineCount": 23, + "argCount": 2, + "returnCount": 0, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 16, + "N1": 10, + "N2": 33, + "programLength": 43, + "programVocabulary": 20, + "volume": 185.8429080801566, + "difficulty": 4.125, + "effort": 766.601995830646, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export": { + "line": 28, + "lineCount": 8, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 6, + "volume": 36.18947501009619, + "difficulty": 2.5, + "effort": 90.47368752524048, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape": { + "line": 37, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber": { + "line": 42, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml": { + "line": 52, + "lineCount": 50, + "argCount": 1, + "returnCount": 1, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 12, + "N1": 11, + "N2": 25, + "programLength": 36, + "programVocabulary": 17, + "volume": 147.14866228501222, + "difficulty": 5.208333333333334, + "effort": 766.3992827344388, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export": { + "line": 17, + "lineCount": 13, + "argCount": 2, + "returnCount": 0, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 8, + "N1": 7, + "N2": 14, + "programLength": 21, + "programVocabulary": 12, + "volume": 75.28421251514428, + "difficulty": 3.5, + "effort": 263.49474380300495, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export": { + "line": 48, + "lineCount": 8, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 6, + "volume": 36.18947501009619, + "difficulty": 2.5, + "effort": 90.47368752524048, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown": { + "line": 61, + "lineCount": 24, + "argCount": 1, + "returnCount": 1, + "variableCount": 6, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 6, + "n2": 16, + "N1": 19, + "N2": 41, + "programLength": 60, + "programVocabulary": 22, + "volume": 267.56589711823784, + "difficulty": 7.6875, + "effort": 2056.9128340964535, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow": { + "line": 94, + "lineCount": 21, + "argCount": 3, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 7, + "n2": 18, + "N1": 16, + "N2": 39, + "programLength": 55, + "programVocabulary": 25, + "volume": 255.41209043760983, + "difficulty": 7.583333333333333, + "effort": 1936.8750191518745, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::__construct": { + "line": 26, + "lineCount": 4, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::export": { + "line": 36, + "lineCount": 10, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 8, + "volume": 45, + "difficulty": 5, + "effort": 225, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::generateSvgTreemap": { + "line": 53, + "lineCount": 20, + "argCount": 1, + "returnCount": 1, + "variableCount": 6, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 8, + "N1": 9, + "N2": 20, + "programLength": 29, + "programVocabulary": 10, + "volume": 96.3359147517335, + "difficulty": 2.5, + "effort": 240.83978687933376, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::generateSvgTreemap" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRects": { + "line": 82, + "lineCount": 10, + "argCount": 3, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 9, + "N1": 6, + "N2": 18, + "programLength": 24, + "programVocabulary": 12, + "volume": 86.03910001730775, + "difficulty": 3, + "effort": 258.1173000519232, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRects" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRect": { + "line": 100, + "lineCount": 29, + "argCount": 2, + "returnCount": 1, + "variableCount": 12, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 6, + "n2": 28, + "N1": 26, + "N2": 54, + "programLength": 80, + "programVocabulary": 34, + "volume": 406.9970273000271, + "difficulty": 5.785714285714286, + "effort": 2354.7685150930142, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRect" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::wrapSvg": { + "line": 136, + "lineCount": 21, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 2, + "N2": 8, + "programLength": 10, + "programVocabulary": 4, + "volume": 20, + "difficulty": 1.3333333333333333, + "effort": 26.666666666666664, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::wrapSvg" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::prepareItems": { + "line": 28, + "lineCount": 18, + "argCount": 1, + "returnCount": 1, + "variableCount": 7, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 12, + "N1": 9, + "N2": 30, + "programLength": 39, + "programVocabulary": 17, + "volume": 159.41105080876324, + "difficulty": 6.25, + "effort": 996.3190675547702, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::prepareItems" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findScoreRange": { + "line": 53, + "lineCount": 16, + "argCount": 1, + "returnCount": 3, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 7, + "N2": 13, + "programLength": 20, + "programVocabulary": 8, + "volume": 60, + "difficulty": 3.9000000000000004, + "effort": 234.00000000000003, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findScoreRange" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::normalizeScore": { + "line": 78, + "lineCount": 8, + "argCount": 3, + "returnCount": 2, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 8, + "volume": 45, + "difficulty": 5, + "effort": 225, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::normalizeScore" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::scoreToColor": { + "line": 93, + "lineCount": 9, + "argCount": 1, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 5, + "n2": 9, + "N1": 12, + "N2": 16, + "programLength": 28, + "programVocabulary": 14, + "volume": 106.60593781761291, + "difficulty": 4.444444444444445, + "effort": 473.80416807827964, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::scoreToColor" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::calculateTreemapLayout": { + "line": 115, + "lineCount": 23, + "argCount": 7, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 9, + "N1": 2, + "N2": 18, + "programLength": 20, + "programVocabulary": 11, + "volume": 69.18863237274594, + "difficulty": 2, + "effort": 138.37726474549189, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::calculateTreemapLayout" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::layoutTreemap": { + "line": 152, + "lineCount": 89, + "argCount": 8, + "returnCount": 3, + "variableCount": 11, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 8, + "n2": 28, + "N1": 32, + "N2": 98, + "programLength": 130, + "programVocabulary": 36, + "volume": 672.0902501875006, + "difficulty": 14, + "effort": 9409.263502625008, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::layoutTreemap" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findSplitIndex": { + "line": 249, + "lineCount": 13, + "argCount": 2, + "returnCount": 2, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 7, + "n2": 10, + "N1": 9, + "N2": 23, + "programLength": 32, + "programVocabulary": 17, + "volume": 130.79881092001085, + "difficulty": 8.049999999999999, + "effort": 1052.9304279060873, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findSplitIndex" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::__construct": { + "line": 23, + "lineCount": 18, + "argCount": 1, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 7, + "N2": 11, + "programLength": 18, + "programVocabulary": 6, + "volume": 46.529325012980806, + "difficulty": 5.5, + "effort": 255.91128757139444, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::getAllClasses": { + "line": 47, + "lineCount": 17, + "argCount": 0, + "returnCount": 2, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 6, + "N2": 12, + "programLength": 18, + "programVocabulary": 9, + "volume": 57.05865002596162, + "difficulty": 3, + "effort": 171.17595007788486, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::getAllClasses" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::withClassNode": { + "line": 73, + "lineCount": 8, + "argCount": 2, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 4, + "N2": 8, + "programLength": 12, + "programVocabulary": 8, + "volume": 36, + "difficulty": 4, + "effort": 144, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::withClassNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::findClassNode": { + "line": 85, + "lineCount": 25, + "argCount": 1, + "returnCount": 4, + "variableCount": 5, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 13, + "N2": 29, + "programLength": 42, + "programVocabulary": 11, + "volume": 145.29612798276648, + "difficulty": 8.285714285714286, + "effort": 1203.8822032857795, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::findClassNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::escapeXPathValue": { + "line": 114, + "lineCount": 16, + "argCount": 1, + "returnCount": 3, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 9, + "N1": 11, + "N2": 18, + "programLength": 29, + "programVocabulary": 13, + "volume": 107.31275182609167, + "difficulty": 4, + "effort": 429.2510073043667, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::escapeXPathValue" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getLineCoverage": { + "line": 22, + "lineCount": 18, + "argCount": 1, + "returnCount": 4, + "variableCount": 5, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 9, + "N1": 10, + "N2": 19, + "programLength": 29, + "programVocabulary": 13, + "volume": 107.31275182609167, + "difficulty": 4.222222222222222, + "effort": 453.09828548794263, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getLineCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getBranchCoverage": { + "line": 48, + "lineCount": 18, + "argCount": 1, + "returnCount": 4, + "variableCount": 5, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 9, + "N1": 10, + "N2": 19, + "programLength": 29, + "programVocabulary": 13, + "volume": 107.31275182609167, + "difficulty": 4.222222222222222, + "effort": 453.09828548794263, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getBranchCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getComplexity": { + "line": 73, + "lineCount": 13, + "argCount": 1, + "returnCount": 3, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 7, + "N2": 14, + "programLength": 21, + "programVocabulary": 11, + "volume": 72.64806399138324, + "difficulty": 4, + "effort": 290.59225596553296, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getComplexity" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getCoverageDetails": { + "line": 93, + "lineCount": 26, + "argCount": 1, + "returnCount": 3, + "variableCount": 9, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 17, + "N1": 22, + "N2": 42, + "programLength": 64, + "programVocabulary": 22, + "volume": 285.403623592787, + "difficulty": 6.176470588235294, + "effort": 1762.7870868966259, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getCoverageDetails" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getMetricsNode": { + "line": 123, + "lineCount": 12, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 6, + "N1": 7, + "N2": 13, + "programLength": 20, + "programVocabulary": 10, + "volume": 66.43856189774725, + "difficulty": 4.333333333333333, + "effort": 287.90043489023805, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getMetricsNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getFilenameForClass": { + "line": 139, + "lineCount": 9, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 5, + "N1": 4, + "N2": 9, + "programLength": 13, + "programVocabulary": 9, + "volume": 41.209025018750054, + "difficulty": 3.6, + "effort": 148.3524900675002, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getFilenameForClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodsCoverage": { + "line": 154, + "lineCount": 36, + "argCount": 1, + "returnCount": 3, + "variableCount": 8, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 13, + "N1": 12, + "N2": 30, + "programLength": 42, + "programVocabulary": 16, + "volume": 168, + "difficulty": 3.4615384615384612, + "effort": 581.5384615384614, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodsCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::calculateMethodCoverage": { + "line": 194, + "lineCount": 15, + "argCount": 2, + "returnCount": 2, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 11, + "N1": 9, + "N2": 23, + "programLength": 32, + "programVocabulary": 16, + "volume": 128, + "difficulty": 5.227272727272727, + "effort": 669.090909090909, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::calculateMethodCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodCoverageFromLines": { + "line": 215, + "lineCount": 36, + "argCount": 2, + "returnCount": 1, + "variableCount": 7, + "propertyCallCount": 0, + "ifNestingLevel": 2, + "elseCount": 0, + "ifCount": 5, + "halstead": { + "n1": 2, + "n2": 14, + "N1": 12, + "N2": 35, + "programLength": 47, + "programVocabulary": 16, + "volume": 188, + "difficulty": 2.5, + "effort": 470, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodCoverageFromLines" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStart": { + "line": 252, + "lineCount": 4, + "argCount": 3, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 3, + "N2": 7, + "programLength": 10, + "programVocabulary": 6, + "volume": 25.84962500721156, + "difficulty": 1.75, + "effort": 45.23684376262023, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStart" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodEnd": { + "line": 257, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 5, + "programLength": 7, + "programVocabulary": 5, + "volume": 16.253496664211536, + "difficulty": 1.6666666666666667, + "effort": 27.089161107019226, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodEnd" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStatement": { + "line": 262, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 5, + "programLength": 7, + "programVocabulary": 5, + "volume": 16.253496664211536, + "difficulty": 1.6666666666666667, + "effort": 27.089161107019226, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStatement" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isStatementCovered": { + "line": 267, + "lineCount": 5, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 4, + "N1": 3, + "N2": 6, + "programLength": 9, + "programVocabulary": 7, + "volume": 25.26619429851844, + "difficulty": 2.25, + "effort": 56.848937171666485, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isStatementCovered" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getLineCoverage": { + "line": 20, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 9, + "volume": 44.37895002019237, + "difficulty": 2.5, + "effort": 110.94737505048093, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getLineCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getBranchCoverage": { + "line": 34, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 9, + "volume": 44.37895002019237, + "difficulty": 2.5, + "effort": 110.94737505048093, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getBranchCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getComplexity": { + "line": 48, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 9, + "volume": 44.37895002019237, + "difficulty": 2.5, + "effort": 110.94737505048093, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getComplexity" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getCoverageDetails": { + "line": 62, + "lineCount": 13, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 8, + "N1": 7, + "N2": 16, + "programLength": 23, + "programVocabulary": 9, + "volume": 72.90827503317318, + "difficulty": 1, + "effort": 72.90827503317318, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getCoverageDetails" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::extractMethodsCoverage": { + "line": 81, + "lineCount": 23, + "argCount": 1, + "returnCount": 2, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 11, + "N1": 10, + "N2": 23, + "programLength": 33, + "programVocabulary": 14, + "volume": 125.64271242790093, + "difficulty": 3.1363636363636362, + "effort": 394.061234432962, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::extractMethodsCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CodeCoverageFactory::createFromName": { + "line": 14, + "lineCount": 8, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 4, + "N1": 1, + "N2": 8, + "programLength": 9, + "programVocabulary": 5, + "volume": 20.89735285398626, + "difficulty": 1, + "effort": 20.89735285398626, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CodeCoverageFactory::createFromName" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::__construct": { + "line": 28, + "lineCount": 15, + "argCount": 6, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 6, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 7, + "N1": 6, + "N2": 18, + "programLength": 24, + "programVocabulary": 8, + "volume": 72, + "difficulty": 1.2857142857142858, + "effort": 92.57142857142858, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getName": { + "line": 44, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getName" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getFilename": { + "line": 49, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getFilename" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getLineRate": { + "line": 54, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getLineRate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getBranchRate": { + "line": 59, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getBranchRate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getComplexity": { + "line": 64, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getComplexity" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getMethods": { + "line": 72, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getMethods" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::__construct": { + "line": 17, + "lineCount": 11, + "argCount": 4, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 4, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 5, + "N1": 4, + "N2": 12, + "programLength": 16, + "programVocabulary": 6, + "volume": 41.3594000115385, + "difficulty": 1.2, + "effort": 49.631280013846194, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getName": { + "line": 29, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getName" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getLineRate": { + "line": 34, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getLineRate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getBranchRate": { + "line": 39, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getBranchRate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getComplexity": { + "line": 44, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getComplexity" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::calculateDeltas": { + "line": 19, + "lineCount": 14, + "argCount": 2, + "returnCount": 0, + "variableCount": 6, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 9, + "N1": 4, + "N2": 18, + "programLength": 22, + "programVocabulary": 11, + "volume": 76.10749561002054, + "difficulty": 2, + "effort": 152.21499122004107, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::calculateDeltas" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::loadBaseline": { + "line": 41, + "lineCount": 13, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 5, + "N2": 9, + "programLength": 14, + "programVocabulary": 8, + "volume": 42, + "difficulty": 2.7, + "effort": 113.4, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::loadBaseline" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::__construct": { + "line": 72, + "lineCount": 21, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 6, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 9, + "N1": 12, + "N2": 34, + "programLength": 46, + "programVocabulary": 12, + "volume": 164.90827503317317, + "difficulty": 5.666666666666666, + "effort": 934.4802251879812, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setRequiredMetricProperties": { + "line": 98, + "lineCount": 30, + "argCount": 1, + "returnCount": 0, + "variableCount": 6, + "propertyCallCount": 9, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 21, + "N1": 21, + "N2": 51, + "programLength": 72, + "programVocabulary": 24, + "volume": 330.1173000519232, + "difficulty": 3.6428571428571423, + "effort": 1202.570164474863, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setRequiredMetricProperties" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setOptionalMetricProperties": { + "line": 133, + "lineCount": 12, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 8, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 11, + "N1": 16, + "N2": 33, + "programLength": 49, + "programVocabulary": 13, + "volume": 181.32154618891352, + "difficulty": 3, + "effort": 543.9646385667405, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setOptionalMetricProperties" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setTimesChanged": { + "line": 146, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setTimesChanged" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertSame": { + "line": 151, + "lineCount": 14, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 6, + "N2": 8, + "programLength": 14, + "programVocabulary": 5, + "volume": 32.50699332842307, + "difficulty": 2.6666666666666665, + "effort": 86.68531554246152, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertSame" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::calculateDeltas": { + "line": 169, + "lineCount": 13, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 16, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 17, + "N2": 27, + "programLength": 44, + "programVocabulary": 4, + "volume": 88, + "difficulty": 13.5, + "effort": 1188, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::calculateDeltas" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::fromArray": { + "line": 187, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::fromArray" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertArrayKeyIsPresent": { + "line": 197, + "lineCount": 6, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 5, + "programLength": 5, + "programVocabulary": 2, + "volume": 5, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertArrayKeyIsPresent" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getClass": { + "line": 204, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getMethod": { + "line": 209, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getMethod" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCount": { + "line": 214, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCount": { + "line": 219, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCount": { + "line": 224, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCount": { + "line": 229, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCount": { + "line": 234, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCount": { + "line": 239, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevel": { + "line": 244, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevel" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCount": { + "line": 249, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeight": { + "line": 254, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setLineCountWeight": { + "line": 259, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setLineCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeight": { + "line": 264, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setArgCountWeight": { + "line": 269, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setArgCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeight": { + "line": 274, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setReturnCountWeight": { + "line": 279, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setReturnCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeight": { + "line": 284, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setVariableCountWeight": { + "line": 289, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setVariableCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeight": { + "line": 294, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setPropertyCallCountWeight": { + "line": 299, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setPropertyCallCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeight": { + "line": 304, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfCountWeight": { + "line": 309, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeight": { + "line": 314, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfNestingLevelWeight": { + "line": 319, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfNestingLevelWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeight": { + "line": 324, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setElseCountWeight": { + "line": 329, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setElseCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setScore": { + "line": 334, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setScore" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getScore": { + "line": 339, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getScore" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setCoverage": { + "line": 344, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCoverage": { + "line": 349, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeightDelta": { + "line": 354, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeightDelta": { + "line": 359, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeightDelta": { + "line": 364, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeightDelta": { + "line": 369, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeightDelta": { + "line": 374, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeightDelta": { + "line": 379, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeightDelta": { + "line": 384, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeightDelta": { + "line": 389, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getTimesChanged": { + "line": 394, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 2, + "programLength": 3, + "programVocabulary": 3, + "volume": 4.754887502163468, + "difficulty": 0.5, + "effort": 2.377443751081734, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getTimesChanged" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getFileName": { + "line": 399, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getFileName" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLine": { + "line": 404, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLine" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::equals": { + "line": 409, + "lineCount": 5, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 2, + "N1": 5, + "N2": 5, + "programLength": 10, + "programVocabulary": 5, + "volume": 23.21928094887362, + "difficulty": 3.75, + "effort": 87.07230355827608, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::equals" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::toArray": { + "line": 418, + "lineCount": 34, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 29, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 30, + "N1": 0, + "N2": 58, + "programLength": 58, + "programVocabulary": 30, + "volume": 284.5996545452941, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::toArray" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::jsonSerialize": { + "line": 456, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::jsonSerialize" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getHalstead": { + "line": 464, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getHalstead" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCyclomatic": { + "line": 472, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCyclomatic" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::add": { + "line": 30, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 5, + "N2": 6, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 3, + "effort": 85.30376252379816, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::add" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filter": { + "line": 40, + "lineCount": 11, + "argCount": 1, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 8, + "volume": 42, + "difficulty": 3, + "effort": 126, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filter" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getIterator": { + "line": 57, + "lineCount": 5, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getIterator" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::count": { + "line": 66, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::count" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterWithScoreGreaterThan": { + "line": 71, + "lineCount": 6, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 3, + "N2": 6, + "programLength": 9, + "programVocabulary": 5, + "volume": 20.89735285398626, + "difficulty": 2, + "effort": 41.79470570797252, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterWithScoreGreaterThan" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::contains": { + "line": 78, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 4, + "N2": 5, + "programLength": 9, + "programVocabulary": 5, + "volume": 20.89735285398626, + "difficulty": 1.6666666666666667, + "effort": 34.82892142331043, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::contains" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getClassWithMethod": { + "line": 83, + "lineCount": 9, + "argCount": 2, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 3, + "N2": 10, + "programLength": 13, + "programVocabulary": 7, + "volume": 36.49561398674886, + "difficulty": 2, + "effort": 72.99122797349771, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getClassWithMethod" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterByClassName": { + "line": 93, + "lineCount": 6, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 3, + "N2": 6, + "programLength": 9, + "programVocabulary": 5, + "volume": 20.89735285398626, + "difficulty": 2, + "effort": 41.79470570797252, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterByClassName" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::assertMetricHasGetter": { + "line": 100, + "lineCount": 9, + "argCount": 3, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 6, + "programLength": 7, + "programVocabulary": 4, + "volume": 14, + "difficulty": 1, + "effort": 14, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::assertMetricHasGetter" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::groupBy": { + "line": 117, + "lineCount": 20, + "argCount": 1, + "returnCount": 1, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 10, + "N2": 23, + "programLength": 33, + "programVocabulary": 11, + "volume": 114.16124341503081, + "difficulty": 6.571428571428571, + "effort": 750.2024567273453, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::groupBy" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::jsonSerialize": { + "line": 141, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::jsonSerialize" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::__construct": { + "line": 32, + "lineCount": 8, + "argCount": 5, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 5, + "N1": 0, + "N2": 5, + "programLength": 5, + "programVocabulary": 5, + "volume": 11.60964047443681, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collect": { + "line": 49, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 5, + "programLength": 6, + "programVocabulary": 4, + "volume": 12, + "difficulty": 0.8333333333333334, + "effort": 10, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collect" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collectFromPaths": { + "line": 62, + "lineCount": 13, + "argCount": 2, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 8, + "N2": 16, + "programLength": 24, + "programVocabulary": 9, + "volume": 76.07820003461549, + "difficulty": 4, + "effort": 304.31280013846197, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collectFromPaths" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCodeFromFile": { + "line": 79, + "lineCount": 10, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 2, + "N1": 5, + "N2": 6, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 6, + "effort": 170.6075250475963, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCodeFromFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findMetrics": { + "line": 98, + "lineCount": 31, + "argCount": 1, + "returnCount": 1, + "variableCount": 9, + "propertyCallCount": 2, + "ifNestingLevel": 2, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 13, + "N1": 18, + "N2": 38, + "programLength": 56, + "programVocabulary": 16, + "volume": 224, + "difficulty": 4.384615384615384, + "effort": 982.1538461538461, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findMetrics" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processMethodMetrics": { + "line": 136, + "lineCount": 29, + "argCount": 3, + "returnCount": 1, + "variableCount": 7, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 14, + "N1": 8, + "N2": 27, + "programLength": 35, + "programVocabulary": 17, + "volume": 143.06119944376186, + "difficulty": 2.892857142857143, + "effort": 413.8556126765968, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processMethodMetrics" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::isExcluded": { + "line": 166, + "lineCount": 12, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 5, + "N1": 5, + "N2": 9, + "programLength": 14, + "programVocabulary": 9, + "volume": 44.37895002019237, + "difficulty": 3.6, + "effort": 159.76422007269252, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::isExcluded" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findSourceFiles": { + "line": 187, + "lineCount": 7, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 2, + "N2": 6, + "programLength": 8, + "programVocabulary": 6, + "volume": 20.67970000576925, + "difficulty": 1.5, + "effort": 31.019550008653873, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findSourceFiles" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getProjectRoot": { + "line": 202, + "lineCount": 13, + "argCount": 0, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 2, + "N1": 8, + "N2": 8, + "programLength": 16, + "programVocabulary": 6, + "volume": 41.3594000115385, + "difficulty": 8, + "effort": 330.875200092308, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getProjectRoot" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateCacheKey": { + "line": 219, + "lineCount": 7, + "argCount": 2, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 6, + "N1": 10, + "N2": 12, + "programLength": 22, + "programVocabulary": 10, + "volume": 73.08241808752197, + "difficulty": 4, + "effort": 292.3296723500879, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateCacheKey" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateConfigHash": { + "line": 230, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 1, + "N1": 3, + "N2": 2, + "programLength": 5, + "programVocabulary": 3, + "volume": 7.92481250360578, + "difficulty": 2, + "effort": 15.84962500721156, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateConfigHash" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::cacheResult": { + "line": 239, + "lineCount": 14, + "argCount": 4, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 13, + "N1": 5, + "N2": 20, + "programLength": 25, + "programVocabulary": 15, + "volume": 97.67226489021297, + "difficulty": 1.5384615384615385, + "effort": 150.26502290801997, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::cacheResult" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::clearCache": { + "line": 254, + "lineCount": 4, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::clearCache" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::normalizeFilename": { + "line": 264, + "lineCount": 15, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 6, + "n2": 7, + "N1": 12, + "N2": 16, + "programLength": 28, + "programVocabulary": 13, + "volume": 103.61231210795059, + "difficulty": 6.857142857142857, + "effort": 710.4844258830897, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::normalizeFilename" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCachedMetrics": { + "line": 286, + "lineCount": 19, + "argCount": 3, + "returnCount": 3, + "variableCount": 4, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 11, + "N1": 10, + "N2": 29, + "programLength": 39, + "programVocabulary": 14, + "volume": 148.48684196024655, + "difficulty": 3.954545454545454, + "effort": 587.1979659337022, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCachedMetrics" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processFile": { + "line": 312, + "lineCount": 37, + "argCount": 5, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 7, + "n2": 10, + "N1": 12, + "N2": 28, + "programLength": 40, + "programVocabulary": 17, + "volume": 163.49851365001356, + "difficulty": 9.799999999999999, + "effort": 1602.2854337701328, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::sort": { + "line": 51, + "lineCount": 41, + "argCount": 3, + "returnCount": 2, + "variableCount": 10, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 18, + "N1": 20, + "N2": 43, + "programLength": 63, + "programVocabulary": 22, + "volume": 280.9441919741497, + "difficulty": 4.777777777777778, + "effort": 1342.2889172098264, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::sort" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getFieldValue": { + "line": 100, + "lineCount": 28, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 25, + "N1": 24, + "N2": 50, + "programLength": 74, + "programVocabulary": 27, + "volume": 351.86167516009664, + "difficulty": 2, + "effort": 703.7233503201933, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getFieldValue" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::compareValues": { + "line": 136, + "lineCount": 13, + "argCount": 2, + "returnCount": 3, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 2, + "N1": 9, + "N2": 12, + "programLength": 21, + "programVocabulary": 5, + "volume": 48.760489992634604, + "difficulty": 9, + "effort": 438.8444099337114, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::compareValues" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getSortableFields": { + "line": 155, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 0, + "N1": 0, + "N2": 0, + "programLength": 0, + "programVocabulary": 0, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getSortableFields" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__construct": { + "line": 15, + "lineCount": 11, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 7, + "N2": 12, + "programLength": 19, + "programVocabulary": 6, + "volume": 49.11428751370197, + "difficulty": 6, + "effort": 294.6857250822118, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::getValue": { + "line": 27, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::getValue" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasIncreased": { + "line": 32, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasIncreased" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__toString": { + "line": 37, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__toString" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasNotChanged": { + "line": 42, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 2, + "programLength": 3, + "programVocabulary": 3, + "volume": 4.754887502163468, + "difficulty": 0.5, + "effort": 2.377443751081734, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasNotChanged" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\FileProcessed::__construct": { + "line": 14, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\FileProcessed::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\ParserFailed::__construct": { + "line": 15, + "lineCount": 5, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\ParserFailed::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\SourceFilesFound::__construct": { + "line": 17, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\SourceFilesFound::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::__construct": { + "line": 15, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::create": { + "line": 27, + "lineCount": 10, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 6, + "N1": 0, + "N2": 8, + "programLength": 8, + "programVocabulary": 6, + "volume": 20.67970000576925, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::create" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::getSupportedTypes": { + "line": 43, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 4, + "N1": 0, + "N2": 4, + "programLength": 4, + "programVocabulary": 4, + "volume": 8, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::getSupportedTypes" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::isSupported": { + "line": 54, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 2, + "N2": 3, + "programLength": 5, + "programVocabulary": 4, + "volume": 10, + "difficulty": 1.5, + "effort": 15, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::isSupported" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CsvExporter::export": { + "line": 46, + "lineCount": 57, + "argCount": 2, + "returnCount": 0, + "variableCount": 6, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 15, + "N1": 37, + "N2": 54, + "programLength": 91, + "programVocabulary": 19, + "volume": 386.56140372336625, + "difficulty": 7.2, + "effort": 2783.242106808237, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CsvExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::export": { + "line": 40, + "lineCount": 8, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 5, + "N1": 4, + "N2": 8, + "programLength": 12, + "programVocabulary": 9, + "volume": 38.039100017307746, + "difficulty": 3.2, + "effort": 121.72512005538479, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::escape": { + "line": 49, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::escape" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::formatNumber": { + "line": 54, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::formatNumber" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::generateMetricRow": { + "line": 59, + "lineCount": 12, + "argCount": 3, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 16, + "N1": 19, + "N2": 27, + "programLength": 46, + "programVocabulary": 21, + "volume": 202.04660144782298, + "difficulty": 4.21875, + "effort": 852.3840998580032, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::generateMetricRow" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::generateHtml": { + "line": 78, + "lineCount": 64, + "argCount": 1, + "returnCount": 1, + "variableCount": 7, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 11, + "N1": 46, + "N2": 57, + "programLength": 103, + "programVocabulary": 15, + "volume": 402.40973134767745, + "difficulty": 10.363636363636363, + "effort": 4170.42812487593, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::generateHtml" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\JsonExporter::export": { + "line": 19, + "lineCount": 38, + "argCount": 2, + "returnCount": 0, + "variableCount": 5, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 27, + "N1": 29, + "N2": 58, + "programLength": 87, + "programVocabulary": 32, + "volume": 435, + "difficulty": 5.370370370370371, + "effort": 2336.1111111111113, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\JsonExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::__construct": { + "line": 24, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::export": { + "line": 36, + "lineCount": 8, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 5, + "N1": 4, + "N2": 8, + "programLength": 12, + "programVocabulary": 9, + "volume": 38.039100017307746, + "difficulty": 3.2, + "effort": 121.72512005538479, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::escape": { + "line": 48, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::escape" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateMetricCell": { + "line": 56, + "lineCount": 12, + "argCount": 3, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 12, + "N1": 16, + "N2": 24, + "programLength": 40, + "programVocabulary": 17, + "volume": 163.49851365001356, + "difficulty": 5, + "effort": 817.4925682500678, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateMetricCell" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::filterMetrics": { + "line": 75, + "lineCount": 15, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 4, + "N1": 4, + "N2": 11, + "programLength": 15, + "programVocabulary": 7, + "volume": 42.11032383086406, + "difficulty": 4.125, + "effort": 173.70508580231424, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::filterMetrics" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableHeader": { + "line": 94, + "lineCount": 33, + "argCount": 0, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 4, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 19, + "N1": 10, + "N2": 28, + "programLength": 38, + "programVocabulary": 22, + "volume": 169.4584015082173, + "difficulty": 2.2105263157894735, + "effort": 374.5922559655329, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableHeader" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableHeaderWithClass": { + "line": 131, + "lineCount": 33, + "argCount": 0, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 4, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 20, + "N1": 10, + "N2": 29, + "programLength": 39, + "programVocabulary": 23, + "volume": 176.41891628622352, + "difficulty": 2.175, + "effort": 383.7111429225361, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableHeaderWithClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableSeparator": { + "line": 168, + "lineCount": 20, + "argCount": 0, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 4, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 7, + "N1": 3, + "N2": 16, + "programLength": 19, + "programVocabulary": 10, + "volume": 63.11663380285988, + "difficulty": 3.4285714285714284, + "effort": 216.399887324091, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableSeparator" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableSeparatorWithClass": { + "line": 192, + "lineCount": 20, + "argCount": 0, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 4, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 8, + "N1": 3, + "N2": 16, + "programLength": 19, + "programVocabulary": 11, + "volume": 65.72920075410865, + "difficulty": 3, + "effort": 197.18760226232592, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableSeparatorWithClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableRow": { + "line": 216, + "lineCount": 22, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 6, + "N1": 53, + "N2": 60, + "programLength": 113, + "programVocabulary": 10, + "volume": 375.37787472227194, + "difficulty": 20, + "effort": 7507.557494445438, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableRow" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableRowWithClass": { + "line": 242, + "lineCount": 25, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 6, + "N1": 55, + "N2": 62, + "programLength": 117, + "programVocabulary": 10, + "volume": 388.66558710182136, + "difficulty": 20.666666666666668, + "effort": 8032.422133437642, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableRowWithClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::addHalsteadCells": { + "line": 274, + "lineCount": 20, + "argCount": 2, + "returnCount": 3, + "variableCount": 2, + "propertyCallCount": 5, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 12, + "N2": 24, + "programLength": 36, + "programVocabulary": 8, + "volume": 108, + "difficulty": 7.199999999999999, + "effort": 777.5999999999999, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::addHalsteadCells" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::addCyclomaticCell": { + "line": 301, + "lineCount": 16, + "argCount": 2, + "returnCount": 3, + "variableCount": 2, + "propertyCallCount": 4, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 8, + "N2": 16, + "programLength": 24, + "programVocabulary": 11, + "volume": 83.02635884729514, + "difficulty": 4.571428571428571, + "effort": 379.5490690162063, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::addCyclomaticCell" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateMarkdown": { + "line": 325, + "lineCount": 8, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 2, + "N2": 6, + "programLength": 8, + "programVocabulary": 3, + "volume": 12.679700005769249, + "difficulty": 1.5, + "effort": 19.019550008653873, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateMarkdown" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateGroupedMarkdown": { + "line": 337, + "lineCount": 49, + "argCount": 1, + "returnCount": 1, + "variableCount": 10, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 8, + "n2": 23, + "N1": 33, + "N2": 65, + "programLength": 98, + "programVocabulary": 31, + "volume": 485.5112384179137, + "difficulty": 11.304347826086957, + "effort": 5488.387912550329, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateGroupedMarkdown" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateSingleTableMarkdown": { + "line": 390, + "lineCount": 28, + "argCount": 1, + "returnCount": 1, + "variableCount": 6, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 6, + "n2": 13, + "N1": 19, + "N2": 37, + "programLength": 56, + "programVocabulary": 19, + "volume": 237.88394075284077, + "difficulty": 8.538461538461538, + "effort": 2031.1628787357943, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateSingleTableMarkdown" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::__construct": { + "line": 32, + "lineCount": 26, + "argCount": 2, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 7, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 14, + "N2": 22, + "programLength": 36, + "programVocabulary": 5, + "volume": 83.58941141594504, + "difficulty": 7.333333333333333, + "effort": 612.9890170502636, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::parse": { + "line": 63, + "lineCount": 37, + "argCount": 1, + "returnCount": 1, + "variableCount": 9, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 14, + "N1": 16, + "N2": 43, + "programLength": 59, + "programVocabulary": 17, + "volume": 241.16030763377, + "difficulty": 4.607142857142858, + "effort": 1111.0599887412977, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::parse" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::scanForAnnotations": { + "line": 104, + "lineCount": 20, + "argCount": 1, + "returnCount": 0, + "variableCount": 4, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 7, + "N1": 8, + "N2": 16, + "programLength": 24, + "programVocabulary": 10, + "volume": 79.7262742772967, + "difficulty": 3.4285714285714284, + "effort": 273.34722609358863, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::scanForAnnotations" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::traverseAbstractSyntaxTreeWithCombinedVisitor": { + "line": 129, + "lineCount": 17, + "argCount": 1, + "returnCount": 0, + "variableCount": 4, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 7, + "N1": 7, + "N2": 15, + "programLength": 22, + "programVocabulary": 10, + "volume": 73.08241808752197, + "difficulty": 3.2142857142857144, + "effort": 234.90777242417778, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::traverseAbstractSyntaxTreeWithCombinedVisitor" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getIgnored": { + "line": 153, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getIgnored" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getIgnoredClasses": { + "line": 163, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getIgnoredClasses" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getIgnoredMethods": { + "line": 173, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getIgnoredMethods" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::clearStaticCaches": { + "line": 181, + "lineCount": 15, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 9, + "N1": 7, + "N2": 19, + "programLength": 26, + "programVocabulary": 10, + "volume": 86.37013046707142, + "difficulty": 1.0555555555555556, + "effort": 91.16847104857538, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::clearStaticCaches" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::clearStaticProperty": { + "line": 200, + "lineCount": 14, + "argCount": 2, + "returnCount": 0, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 6, + "N2": 12, + "programLength": 18, + "programVocabulary": 7, + "volume": 50.53238859703688, + "difficulty": 2.4, + "effort": 121.2777326328885, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::clearStaticProperty" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getRiskLevel": { + "line": 218, + "lineCount": 9, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 8, + "N1": 3, + "N2": 11, + "programLength": 14, + "programVocabulary": 9, + "volume": 44.37895002019237, + "difficulty": 0.6875, + "effort": 30.510528138882254, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getRiskLevel" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculate": { + "line": 47, + "lineCount": 5, + "argCount": 2, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 2, + "N2": 8, + "programLength": 10, + "programVocabulary": 4, + "volume": 20, + "difficulty": 1.3333333333333333, + "effort": 26.666666666666664, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculateScore": { + "line": 53, + "lineCount": 10, + "argCount": 1, + "returnCount": 0, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 9, + "N1": 7, + "N2": 15, + "programLength": 22, + "programVocabulary": 13, + "volume": 81.40967379910403, + "difficulty": 3.3333333333333335, + "effort": 271.36557933034675, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculateScore" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculateMetricWeights": { + "line": 70, + "lineCount": 17, + "argCount": 3, + "returnCount": 0, + "variableCount": 6, + "propertyCallCount": 3, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 12, + "N1": 9, + "N2": 24, + "programLength": 33, + "programVocabulary": 15, + "volume": 128.92738965508113, + "difficulty": 3, + "effort": 386.7821689652434, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculateMetricWeights" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculateLogWeight": { + "line": 132, + "lineCount": 8, + "argCount": 3, + "returnCount": 2, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 5, + "N1": 5, + "N2": 11, + "programLength": 16, + "programVocabulary": 10, + "volume": 53.150849518197795, + "difficulty": 5.5, + "effort": 292.3296723500879, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculateLogWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cyclomatic\\CyclomaticMetrics::__construct": { + "line": 129, + "lineCount": 23, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 19, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 43, + "N1": 56, + "N2": 130, + "programLength": 186, + "programVocabulary": 45, + "volume": 1021.4846759173195, + "difficulty": 3.0232558139534884, + "effort": 3088.209485331431, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cyclomatic\\CyclomaticMetrics::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::escapeMarkdown": { + "line": 18, + "lineCount": 6, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 5, + "N1": 1, + "N2": 6, + "programLength": 7, + "programVocabulary": 6, + "volume": 18.094737505048094, + "difficulty": 0.6, + "effort": 10.856842503028856, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::escapeMarkdown" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::formatNumber": { + "line": 32, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 5, + "programLength": 6, + "programVocabulary": 4, + "volume": 12, + "difficulty": 0.8333333333333334, + "effort": 10, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::formatNumber" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::buildTableHeader": { + "line": 43, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 3, + "N2": 5, + "programLength": 8, + "programVocabulary": 6, + "volume": 20.67970000576925, + "difficulty": 1.25, + "effort": 25.84962500721156, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::buildTableHeader" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::buildTableSeparator": { + "line": 54, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 4, + "programLength": 6, + "programVocabulary": 5, + "volume": 13.931568569324174, + "difficulty": 1.3333333333333333, + "effort": 18.575424759098897, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::buildTableSeparator" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::buildTableRow": { + "line": 65, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 3, + "N2": 5, + "programLength": 8, + "programVocabulary": 6, + "volume": 20.67970000576925, + "difficulty": 1.25, + "effort": 25.84962500721156, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::buildTableRow" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::formatPercentage": { + "line": 77, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 2, + "N2": 6, + "programLength": 8, + "programVocabulary": 6, + "volume": 20.67970000576925, + "difficulty": 1.5, + "effort": 31.019550008653873, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::formatPercentage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::escapeMarkdown": { + "line": 18, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 5, + "N1": 1, + "N2": 6, + "programLength": 7, + "programVocabulary": 6, + "volume": 18.094737505048094, + "difficulty": 0.6, + "effort": 10.856842503028856, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::escapeMarkdown" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::formatNumber": { + "line": 30, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 5, + "programLength": 6, + "programVocabulary": 4, + "volume": 12, + "difficulty": 0.8333333333333334, + "effort": 10, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::formatNumber" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::buildMarkdownTableHeader": { + "line": 41, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 3, + "N2": 5, + "programLength": 8, + "programVocabulary": 6, + "volume": 20.67970000576925, + "difficulty": 1.25, + "effort": 25.84962500721156, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::buildMarkdownTableHeader" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::buildMarkdownTableSeparator": { + "line": 52, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 4, + "programLength": 6, + "programVocabulary": 5, + "volume": 13.931568569324174, + "difficulty": 1.3333333333333333, + "effort": 18.575424759098897, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::buildMarkdownTableSeparator" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::buildMarkdownTableRow": { + "line": 63, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 3, + "N2": 5, + "programLength": 8, + "programVocabulary": 6, + "volume": 20.67970000576925, + "difficulty": 1.25, + "effort": 25.84962500721156, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::buildMarkdownTableRow" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::formatMarkdownPercentage": { + "line": 75, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 2, + "N2": 6, + "programLength": 8, + "programVocabulary": 6, + "volume": 20.67970000576925, + "difficulty": 1.5, + "effort": 31.019550008653873, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::formatMarkdownPercentage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Halstead\\HalsteadMetrics::__construct": { + "line": 33, + "lineCount": 13, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 10, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 12, + "N1": 10, + "N2": 31, + "programLength": 41, + "programVocabulary": 13, + "volume": 151.7180284437848, + "difficulty": 1.2916666666666667, + "effort": 195.96912007322203, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Halstead\\HalsteadMetrics::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Halstead\\HalsteadMetrics::getVolume": { + "line": 47, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Halstead\\HalsteadMetrics::getVolume" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::__construct": { + "line": 32, + "lineCount": 9, + "argCount": 5, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 7, + "N1": 2, + "N2": 7, + "programLength": 9, + "programVocabulary": 9, + "volume": 28.52932501298081, + "difficulty": 1, + "effort": 28.52932501298081, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::getChurnExporterFactory": { + "line": 45, + "lineCount": 7, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 1, + "N1": 2, + "N2": 3, + "programLength": 5, + "programVocabulary": 3, + "volume": 7.92481250360578, + "difficulty": 3, + "effort": 23.774437510817343, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::getChurnExporterFactory" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::getCognitiveExporterFactory": { + "line": 56, + "lineCount": 7, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 1, + "N1": 3, + "N2": 4, + "programLength": 7, + "programVocabulary": 4, + "volume": 14, + "difficulty": 6, + "effort": 84, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::getCognitiveExporterFactory" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::getCognitiveMetrics": { + "line": 72, + "lineCount": 10, + "argCount": 1, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 3, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 5, + "N2": 11, + "programLength": 16, + "programVocabulary": 6, + "volume": 41.3594000115385, + "difficulty": 2.75, + "effort": 113.73835003173087, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::getCognitiveMetrics" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::getCognitiveMetricsFromPaths": { + "line": 92, + "lineCount": 16, + "argCount": 2, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 8, + "N2": 18, + "programLength": 26, + "programVocabulary": 9, + "volume": 82.41805003750011, + "difficulty": 4.5, + "effort": 370.88122516875046, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::getCognitiveMetricsFromPaths" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::calculateChurn": { + "line": 118, + "lineCount": 18, + "argCount": 4, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 10, + "N1": 8, + "N2": 21, + "programLength": 29, + "programVocabulary": 12, + "volume": 103.96391252091352, + "difficulty": 2.1, + "effort": 218.3242162939184, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::calculateChurn" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::loadConfig": { + "line": 143, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::loadConfig" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::getConfig": { + "line": 148, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::getConfig" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::exportChurnReport": { + "line": 156, + "lineCount": 9, + "argCount": 3, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 4, + "N1": 3, + "N2": 7, + "programLength": 10, + "programVocabulary": 5, + "volume": 23.21928094887362, + "difficulty": 0.875, + "effort": 20.316870830264417, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::exportChurnReport" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::exportMetricsReport": { + "line": 168, + "lineCount": 8, + "argCount": 3, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 4, + "N2": 9, + "programLength": 13, + "programVocabulary": 7, + "volume": 36.49561398674886, + "difficulty": 1.8, + "effort": 65.69210517614795, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::exportMetricsReport" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::clearCache": { + "line": 177, + "lineCount": 4, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::clearCache" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::addCoverageToMetric": { + "line": 185, + "lineCount": 20, + "argCount": 2, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 11, + "N2": 18, + "programLength": 29, + "programVocabulary": 11, + "volume": 100.32351694048162, + "difficulty": 5.142857142857143, + "effort": 515.9495156939055, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::addCoverageToMetric" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::addMethodLevelCoverage": { + "line": 209, + "lineCount": 16, + "argCount": 2, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 9, + "N2": 15, + "programLength": 24, + "programVocabulary": 7, + "volume": 67.3765181293825, + "difficulty": 3, + "effort": 202.1295543881475, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::addMethodLevelCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Traits\\CoverageDataDetector::hasCoverageData": { + "line": 18, + "lineCount": 10, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 3, + "N2": 7, + "programLength": 10, + "programVocabulary": 6, + "volume": 25.84962500721156, + "difficulty": 3.5, + "effort": 90.47368752524046, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Traits\\CoverageDataDetector::hasCoverageData" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Utility\\Datetime::__construct": { + "line": 19, + "lineCount": 9, + "argCount": 0, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 1, + "n2": 0, + "N1": 1, + "N2": 0, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Utility\\Datetime::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Utility\\DirectoryScanner::scan": { + "line": 29, + "lineCount": 14, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 5, + "N2": 14, + "programLength": 19, + "programVocabulary": 6, + "volume": 49.11428751370197, + "difficulty": 3.5, + "effort": 171.90000629795688, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Utility\\DirectoryScanner::scan" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Utility\\DirectoryScanner::assertValidPath": { + "line": 47, + "lineCount": 6, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 1.5, + "effort": 6, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Utility\\DirectoryScanner::assertValidPath" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Utility\\DirectoryScanner::yieldFileIfNotExcluded": { + "line": 59, + "lineCount": 8, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 2, + "N2": 8, + "programLength": 10, + "programVocabulary": 6, + "volume": 25.84962500721156, + "difficulty": 2, + "effort": 51.69925001442312, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Utility\\DirectoryScanner::yieldFileIfNotExcluded" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Utility\\DirectoryScanner::traverseDirectory": { + "line": 76, + "lineCount": 15, + "argCount": 2, + "returnCount": 0, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 6, + "N1": 4, + "N2": 13, + "programLength": 17, + "programVocabulary": 8, + "volume": 51, + "difficulty": 2.1666666666666665, + "effort": 110.49999999999999, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Utility\\DirectoryScanner::traverseDirectory" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Utility\\DirectoryScanner::sortFilesByPathname": { + "line": 97, + "lineCount": 6, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 4, + "N2": 6, + "programLength": 10, + "programVocabulary": 5, + "volume": 23.21928094887362, + "difficulty": 2, + "effort": 46.43856189774724, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Utility\\DirectoryScanner::sortFilesByPathname" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Utility\\DirectoryScanner::getFilesFromIterator": { + "line": 111, + "lineCount": 11, + "argCount": 2, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 5, + "N2": 12, + "programLength": 17, + "programVocabulary": 8, + "volume": 51, + "difficulty": 3.5999999999999996, + "effort": 183.6, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Utility\\DirectoryScanner::getFilesFromIterator" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Utility\\DirectoryScanner::isExcluded": { + "line": 130, + "lineCount": 12, + "argCount": 2, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 5, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 9, + "volume": 47.548875021634686, + "difficulty": 4, + "effort": 190.19550008653874, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Utility\\DirectoryScanner::isExcluded" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\CacheItem::__construct": { + "line": 20, + "lineCount": 6, + "argCount": 3, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 3, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 4, + "N1": 3, + "N2": 9, + "programLength": 12, + "programVocabulary": 5, + "volume": 27.863137138648348, + "difficulty": 1.125, + "effort": 31.34602928097939, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\CacheItem::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\CacheItem::getKey": { + "line": 27, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\CacheItem::getKey" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\CacheItem::get": { + "line": 32, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\CacheItem::get" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\CacheItem::set": { + "line": 37, + "lineCount": 5, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 4, + "programLength": 5, + "programVocabulary": 3, + "volume": 7.92481250360578, + "difficulty": 1, + "effort": 7.92481250360578, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\CacheItem::set" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\CacheItem::isHit": { + "line": 43, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\CacheItem::isHit" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\CacheItem::setExpiration": { + "line": 48, + "lineCount": 6, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\CacheItem::setExpiration" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\CacheItem::getExpiration": { + "line": 55, + "lineCount": 5, + "argCount": 0, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 0, + "N1": 0, + "N2": 0, + "programLength": 0, + "programVocabulary": 0, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\CacheItem::getExpiration" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\CacheItem::expiresAt": { + "line": 61, + "lineCount": 6, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\CacheItem::expiresAt" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\CacheItem::expiresAfter": { + "line": 68, + "lineCount": 6, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\CacheItem::expiresAfter" + } + } + }, + "ignored_items": [], + "cached_at": 1759967601 +} \ No newline at end of file diff --git a/.phpcca.cache/a7/a73b4cc0abef322a14d9909b06eea860.cache b/.phpcca.cache/a7/a73b4cc0abef322a14d9909b06eea860.cache new file mode 100644 index 0000000..f418a33 --- /dev/null +++ b/.phpcca.cache/a7/a73b4cc0abef322a14d9909b06eea860.cache @@ -0,0 +1,4771 @@ +{ + "version": "1.0", + "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/Business\/Cognitive\/MetricNames.php", + "file_mtime": 1752612112, + "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", + "analysis_result": { + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct": { + "line": 60, + "lineCount": 5, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 1, + "N1": 2, + "N2": 2, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 2, + "effort": 12.679700005769249, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices": { + "line": 66, + "lineCount": 95, + "argCount": 0, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 5, + "N1": 58, + "N2": 32, + "programLength": 90, + "programVocabulary": 9, + "volume": 285.2932501298081, + "difficulty": 12.8, + "effort": 3651.7536016615436, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap": { + "line": 162, + "lineCount": 10, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 7, + "N2": 7, + "programLength": 14, + "programVocabulary": 2, + "volume": 14, + "difficulty": 3.5, + "effort": 49, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors": { + "line": 173, + "lineCount": 12, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 3, + "N2": 1, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0.5, + "effort": 2, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus": { + "line": 186, + "lineCount": 19, + "argCount": 0, + "returnCount": 0, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 9, + "N2": 13, + "programLength": 22, + "programVocabulary": 7, + "volume": 61.76180828526729, + "difficulty": 2.6, + "effort": 160.58070154169496, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService": { + "line": 206, + "lineCount": 9, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 3, + "N2": 1, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0.5, + "effort": 2, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade": { + "line": 216, + "lineCount": 13, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 3, + "N2": 1, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0.5, + "effort": 2, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands": { + "line": 230, + "lineCount": 21, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 6, + "N2": 2, + "programLength": 8, + "programVocabulary": 2, + "volume": 8, + "difficulty": 1, + "effort": 8, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication": { + "line": 252, + "lineCount": 11, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 5, + "N2": 4, + "programLength": 9, + "programVocabulary": 4, + "volume": 18, + "difficulty": 0.6666666666666666, + "effort": 12, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run": { + "line": 264, + "lineCount": 9, + "argCount": 0, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 5, + "N2": 5, + "programLength": 10, + "programVocabulary": 4, + "volume": 20, + "difficulty": 2.5, + "effort": 50, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get": { + "line": 274, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer": { + "line": 279, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator": { + "line": 289, + "lineCount": 16, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 7, + "programLength": 8, + "programVocabulary": 4, + "volume": 16, + "difficulty": 1.1666666666666667, + "effort": 18.666666666666668, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create": { + "line": 18, + "lineCount": 7, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 4, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile": { + "line": 17, + "lineCount": 17, + "argCount": 2, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 8, + "N1": 11, + "N2": 19, + "programLength": 30, + "programVocabulary": 11, + "volume": 103.78294855911892, + "difficulty": 3.5625, + "effort": 369.72675424186116, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode": { + "line": 42, + "lineCount": 8, + "argCount": 3, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 3, + "N2": 8, + "programLength": 11, + "programVocabulary": 8, + "volume": 33, + "difficulty": 2.4000000000000004, + "effort": 79.20000000000002, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate": { + "line": 22, + "lineCount": 10, + "argCount": 2, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 6, + "N2": 13, + "programLength": 19, + "programVocabulary": 6, + "volume": 49.11428751370197, + "difficulty": 3.25, + "effort": 159.6214344195314, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending": { + "line": 37, + "lineCount": 8, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 2, + "N2": 9, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 2.25, + "effort": 63.97782189284862, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn": { + "line": 51, + "lineCount": 24, + "argCount": 2, + "returnCount": 1, + "variableCount": 6, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 15, + "N1": 17, + "N2": 46, + "programLength": 63, + "programVocabulary": 20, + "volume": 272.28146997790384, + "difficulty": 7.666666666666667, + "effort": 2087.491269830596, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses": { + "line": 81, + "lineCount": 20, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 2, + "n2": 7, + "N1": 10, + "N2": 24, + "programLength": 34, + "programVocabulary": 9, + "volume": 107.7774500490386, + "difficulty": 3.4285714285714284, + "effort": 369.52268588241805, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass": { + "line": 109, + "lineCount": 9, + "argCount": 2, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 6, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 10, + "volume": 49.82892142331043, + "difficulty": 3.3333333333333335, + "effort": 166.09640474436813, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel": { + "line": 126, + "lineCount": 16, + "argCount": 2, + "returnCount": 4, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 12, + "N1": 9, + "N2": 18, + "programLength": 27, + "programVocabulary": 15, + "volume": 105.48604608143, + "difficulty": 2.25, + "effort": 237.3436036832175, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile": { + "line": 14, + "lineCount": 6, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 2, + "N2": 5, + "programLength": 7, + "programVocabulary": 4, + "volume": 14, + "difficulty": 2.5, + "effort": 35, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable": { + "line": 24, + "lineCount": 11, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 10, + "N2": 12, + "programLength": 22, + "programVocabulary": 8, + "volume": 66, + "difficulty": 6, + "effort": 396, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create": { + "line": 21, + "lineCount": 11, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 7, + "N1": 0, + "N2": 9, + "programLength": 9, + "programVocabulary": 7, + "volume": 25.26619429851844, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes": { + "line": 38, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 6, + "N1": 0, + "N2": 6, + "programLength": 6, + "programVocabulary": 6, + "volume": 15.509775004326936, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported": { + "line": 49, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 2, + "N2": 3, + "programLength": 5, + "programVocabulary": 4, + "volume": 10, + "difficulty": 1.5, + "effort": 15, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export": { + "line": 30, + "lineCount": 23, + "argCount": 2, + "returnCount": 0, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 16, + "N1": 10, + "N2": 33, + "programLength": 43, + "programVocabulary": 20, + "volume": 185.8429080801566, + "difficulty": 4.125, + "effort": 766.601995830646, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export": { + "line": 28, + "lineCount": 8, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 6, + "volume": 36.18947501009619, + "difficulty": 2.5, + "effort": 90.47368752524048, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape": { + "line": 37, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber": { + "line": 42, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml": { + "line": 52, + "lineCount": 50, + "argCount": 1, + "returnCount": 1, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 12, + "N1": 11, + "N2": 25, + "programLength": 36, + "programVocabulary": 17, + "volume": 147.14866228501222, + "difficulty": 5.208333333333334, + "effort": 766.3992827344388, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export": { + "line": 17, + "lineCount": 13, + "argCount": 2, + "returnCount": 0, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 8, + "N1": 7, + "N2": 14, + "programLength": 21, + "programVocabulary": 12, + "volume": 75.28421251514428, + "difficulty": 3.5, + "effort": 263.49474380300495, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export": { + "line": 48, + "lineCount": 8, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 6, + "volume": 36.18947501009619, + "difficulty": 2.5, + "effort": 90.47368752524048, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown": { + "line": 61, + "lineCount": 24, + "argCount": 1, + "returnCount": 1, + "variableCount": 6, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 6, + "n2": 16, + "N1": 19, + "N2": 41, + "programLength": 60, + "programVocabulary": 22, + "volume": 267.56589711823784, + "difficulty": 7.6875, + "effort": 2056.9128340964535, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow": { + "line": 94, + "lineCount": 21, + "argCount": 3, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 7, + "n2": 18, + "N1": 16, + "N2": 39, + "programLength": 55, + "programVocabulary": 25, + "volume": 255.41209043760983, + "difficulty": 7.583333333333333, + "effort": 1936.8750191518745, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::__construct": { + "line": 26, + "lineCount": 4, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::export": { + "line": 36, + "lineCount": 10, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 8, + "volume": 45, + "difficulty": 5, + "effort": 225, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::generateSvgTreemap": { + "line": 53, + "lineCount": 20, + "argCount": 1, + "returnCount": 1, + "variableCount": 6, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 8, + "N1": 9, + "N2": 20, + "programLength": 29, + "programVocabulary": 10, + "volume": 96.3359147517335, + "difficulty": 2.5, + "effort": 240.83978687933376, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::generateSvgTreemap" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRects": { + "line": 82, + "lineCount": 10, + "argCount": 3, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 9, + "N1": 6, + "N2": 18, + "programLength": 24, + "programVocabulary": 12, + "volume": 86.03910001730775, + "difficulty": 3, + "effort": 258.1173000519232, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRects" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRect": { + "line": 100, + "lineCount": 29, + "argCount": 2, + "returnCount": 1, + "variableCount": 12, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 6, + "n2": 28, + "N1": 26, + "N2": 54, + "programLength": 80, + "programVocabulary": 34, + "volume": 406.9970273000271, + "difficulty": 5.785714285714286, + "effort": 2354.7685150930142, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRect" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::wrapSvg": { + "line": 136, + "lineCount": 21, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 2, + "N2": 8, + "programLength": 10, + "programVocabulary": 4, + "volume": 20, + "difficulty": 1.3333333333333333, + "effort": 26.666666666666664, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::wrapSvg" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::prepareItems": { + "line": 28, + "lineCount": 18, + "argCount": 1, + "returnCount": 1, + "variableCount": 7, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 12, + "N1": 9, + "N2": 30, + "programLength": 39, + "programVocabulary": 17, + "volume": 159.41105080876324, + "difficulty": 6.25, + "effort": 996.3190675547702, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::prepareItems" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findScoreRange": { + "line": 53, + "lineCount": 16, + "argCount": 1, + "returnCount": 3, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 7, + "N2": 13, + "programLength": 20, + "programVocabulary": 8, + "volume": 60, + "difficulty": 3.9000000000000004, + "effort": 234.00000000000003, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findScoreRange" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::normalizeScore": { + "line": 78, + "lineCount": 8, + "argCount": 3, + "returnCount": 2, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 8, + "volume": 45, + "difficulty": 5, + "effort": 225, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::normalizeScore" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::scoreToColor": { + "line": 93, + "lineCount": 9, + "argCount": 1, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 5, + "n2": 9, + "N1": 12, + "N2": 16, + "programLength": 28, + "programVocabulary": 14, + "volume": 106.60593781761291, + "difficulty": 4.444444444444445, + "effort": 473.80416807827964, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::scoreToColor" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::calculateTreemapLayout": { + "line": 115, + "lineCount": 23, + "argCount": 7, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 9, + "N1": 2, + "N2": 18, + "programLength": 20, + "programVocabulary": 11, + "volume": 69.18863237274594, + "difficulty": 2, + "effort": 138.37726474549189, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::calculateTreemapLayout" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::layoutTreemap": { + "line": 152, + "lineCount": 89, + "argCount": 8, + "returnCount": 3, + "variableCount": 11, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 8, + "n2": 28, + "N1": 32, + "N2": 98, + "programLength": 130, + "programVocabulary": 36, + "volume": 672.0902501875006, + "difficulty": 14, + "effort": 9409.263502625008, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::layoutTreemap" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findSplitIndex": { + "line": 249, + "lineCount": 13, + "argCount": 2, + "returnCount": 2, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 7, + "n2": 10, + "N1": 9, + "N2": 23, + "programLength": 32, + "programVocabulary": 17, + "volume": 130.79881092001085, + "difficulty": 8.049999999999999, + "effort": 1052.9304279060873, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findSplitIndex" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::__construct": { + "line": 23, + "lineCount": 18, + "argCount": 1, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 7, + "N2": 11, + "programLength": 18, + "programVocabulary": 6, + "volume": 46.529325012980806, + "difficulty": 5.5, + "effort": 255.91128757139444, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::getAllClasses": { + "line": 47, + "lineCount": 17, + "argCount": 0, + "returnCount": 2, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 6, + "N2": 12, + "programLength": 18, + "programVocabulary": 9, + "volume": 57.05865002596162, + "difficulty": 3, + "effort": 171.17595007788486, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::getAllClasses" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::withClassNode": { + "line": 73, + "lineCount": 8, + "argCount": 2, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 4, + "N2": 8, + "programLength": 12, + "programVocabulary": 8, + "volume": 36, + "difficulty": 4, + "effort": 144, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::withClassNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::findClassNode": { + "line": 85, + "lineCount": 25, + "argCount": 1, + "returnCount": 4, + "variableCount": 5, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 13, + "N2": 29, + "programLength": 42, + "programVocabulary": 11, + "volume": 145.29612798276648, + "difficulty": 8.285714285714286, + "effort": 1203.8822032857795, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::findClassNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::escapeXPathValue": { + "line": 114, + "lineCount": 16, + "argCount": 1, + "returnCount": 3, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 9, + "N1": 11, + "N2": 18, + "programLength": 29, + "programVocabulary": 13, + "volume": 107.31275182609167, + "difficulty": 4, + "effort": 429.2510073043667, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::escapeXPathValue" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getLineCoverage": { + "line": 22, + "lineCount": 18, + "argCount": 1, + "returnCount": 4, + "variableCount": 5, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 9, + "N1": 10, + "N2": 19, + "programLength": 29, + "programVocabulary": 13, + "volume": 107.31275182609167, + "difficulty": 4.222222222222222, + "effort": 453.09828548794263, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getLineCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getBranchCoverage": { + "line": 48, + "lineCount": 18, + "argCount": 1, + "returnCount": 4, + "variableCount": 5, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 9, + "N1": 10, + "N2": 19, + "programLength": 29, + "programVocabulary": 13, + "volume": 107.31275182609167, + "difficulty": 4.222222222222222, + "effort": 453.09828548794263, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getBranchCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getComplexity": { + "line": 73, + "lineCount": 13, + "argCount": 1, + "returnCount": 3, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 7, + "N2": 14, + "programLength": 21, + "programVocabulary": 11, + "volume": 72.64806399138324, + "difficulty": 4, + "effort": 290.59225596553296, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getComplexity" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getCoverageDetails": { + "line": 93, + "lineCount": 26, + "argCount": 1, + "returnCount": 3, + "variableCount": 9, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 17, + "N1": 22, + "N2": 42, + "programLength": 64, + "programVocabulary": 22, + "volume": 285.403623592787, + "difficulty": 6.176470588235294, + "effort": 1762.7870868966259, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getCoverageDetails" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getMetricsNode": { + "line": 123, + "lineCount": 12, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 6, + "N1": 7, + "N2": 13, + "programLength": 20, + "programVocabulary": 10, + "volume": 66.43856189774725, + "difficulty": 4.333333333333333, + "effort": 287.90043489023805, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getMetricsNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getFilenameForClass": { + "line": 139, + "lineCount": 9, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 5, + "N1": 4, + "N2": 9, + "programLength": 13, + "programVocabulary": 9, + "volume": 41.209025018750054, + "difficulty": 3.6, + "effort": 148.3524900675002, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getFilenameForClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodsCoverage": { + "line": 154, + "lineCount": 36, + "argCount": 1, + "returnCount": 3, + "variableCount": 8, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 13, + "N1": 12, + "N2": 30, + "programLength": 42, + "programVocabulary": 16, + "volume": 168, + "difficulty": 3.4615384615384612, + "effort": 581.5384615384614, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodsCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::calculateMethodCoverage": { + "line": 194, + "lineCount": 15, + "argCount": 2, + "returnCount": 2, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 11, + "N1": 9, + "N2": 23, + "programLength": 32, + "programVocabulary": 16, + "volume": 128, + "difficulty": 5.227272727272727, + "effort": 669.090909090909, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::calculateMethodCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodCoverageFromLines": { + "line": 215, + "lineCount": 36, + "argCount": 2, + "returnCount": 1, + "variableCount": 7, + "propertyCallCount": 0, + "ifNestingLevel": 2, + "elseCount": 0, + "ifCount": 5, + "halstead": { + "n1": 2, + "n2": 14, + "N1": 12, + "N2": 35, + "programLength": 47, + "programVocabulary": 16, + "volume": 188, + "difficulty": 2.5, + "effort": 470, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodCoverageFromLines" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStart": { + "line": 252, + "lineCount": 4, + "argCount": 3, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 3, + "N2": 7, + "programLength": 10, + "programVocabulary": 6, + "volume": 25.84962500721156, + "difficulty": 1.75, + "effort": 45.23684376262023, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStart" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodEnd": { + "line": 257, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 5, + "programLength": 7, + "programVocabulary": 5, + "volume": 16.253496664211536, + "difficulty": 1.6666666666666667, + "effort": 27.089161107019226, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodEnd" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStatement": { + "line": 262, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 5, + "programLength": 7, + "programVocabulary": 5, + "volume": 16.253496664211536, + "difficulty": 1.6666666666666667, + "effort": 27.089161107019226, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStatement" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isStatementCovered": { + "line": 267, + "lineCount": 5, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 4, + "N1": 3, + "N2": 6, + "programLength": 9, + "programVocabulary": 7, + "volume": 25.26619429851844, + "difficulty": 2.25, + "effort": 56.848937171666485, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isStatementCovered" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getLineCoverage": { + "line": 20, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 9, + "volume": 44.37895002019237, + "difficulty": 2.5, + "effort": 110.94737505048093, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getLineCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getBranchCoverage": { + "line": 34, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 9, + "volume": 44.37895002019237, + "difficulty": 2.5, + "effort": 110.94737505048093, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getBranchCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getComplexity": { + "line": 48, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 9, + "volume": 44.37895002019237, + "difficulty": 2.5, + "effort": 110.94737505048093, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getComplexity" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getCoverageDetails": { + "line": 62, + "lineCount": 13, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 8, + "N1": 7, + "N2": 16, + "programLength": 23, + "programVocabulary": 9, + "volume": 72.90827503317318, + "difficulty": 1, + "effort": 72.90827503317318, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getCoverageDetails" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::extractMethodsCoverage": { + "line": 81, + "lineCount": 23, + "argCount": 1, + "returnCount": 2, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 11, + "N1": 10, + "N2": 23, + "programLength": 33, + "programVocabulary": 14, + "volume": 125.64271242790093, + "difficulty": 3.1363636363636362, + "effort": 394.061234432962, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::extractMethodsCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CodeCoverageFactory::createFromName": { + "line": 14, + "lineCount": 8, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 4, + "N1": 1, + "N2": 8, + "programLength": 9, + "programVocabulary": 5, + "volume": 20.89735285398626, + "difficulty": 1, + "effort": 20.89735285398626, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CodeCoverageFactory::createFromName" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::__construct": { + "line": 28, + "lineCount": 15, + "argCount": 6, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 6, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 7, + "N1": 6, + "N2": 18, + "programLength": 24, + "programVocabulary": 8, + "volume": 72, + "difficulty": 1.2857142857142858, + "effort": 92.57142857142858, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getName": { + "line": 44, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getName" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getFilename": { + "line": 49, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getFilename" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getLineRate": { + "line": 54, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getLineRate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getBranchRate": { + "line": 59, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getBranchRate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getComplexity": { + "line": 64, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getComplexity" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getMethods": { + "line": 72, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getMethods" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::__construct": { + "line": 17, + "lineCount": 11, + "argCount": 4, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 4, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 5, + "N1": 4, + "N2": 12, + "programLength": 16, + "programVocabulary": 6, + "volume": 41.3594000115385, + "difficulty": 1.2, + "effort": 49.631280013846194, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getName": { + "line": 29, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getName" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getLineRate": { + "line": 34, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getLineRate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getBranchRate": { + "line": 39, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getBranchRate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getComplexity": { + "line": 44, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getComplexity" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::calculateDeltas": { + "line": 19, + "lineCount": 14, + "argCount": 2, + "returnCount": 0, + "variableCount": 6, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 9, + "N1": 4, + "N2": 18, + "programLength": 22, + "programVocabulary": 11, + "volume": 76.10749561002054, + "difficulty": 2, + "effort": 152.21499122004107, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::calculateDeltas" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::loadBaseline": { + "line": 41, + "lineCount": 13, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 5, + "N2": 9, + "programLength": 14, + "programVocabulary": 8, + "volume": 42, + "difficulty": 2.7, + "effort": 113.4, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::loadBaseline" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::__construct": { + "line": 72, + "lineCount": 21, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 6, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 9, + "N1": 12, + "N2": 34, + "programLength": 46, + "programVocabulary": 12, + "volume": 164.90827503317317, + "difficulty": 5.666666666666666, + "effort": 934.4802251879812, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setRequiredMetricProperties": { + "line": 98, + "lineCount": 30, + "argCount": 1, + "returnCount": 0, + "variableCount": 6, + "propertyCallCount": 9, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 21, + "N1": 21, + "N2": 51, + "programLength": 72, + "programVocabulary": 24, + "volume": 330.1173000519232, + "difficulty": 3.6428571428571423, + "effort": 1202.570164474863, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setRequiredMetricProperties" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setOptionalMetricProperties": { + "line": 133, + "lineCount": 12, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 8, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 11, + "N1": 16, + "N2": 33, + "programLength": 49, + "programVocabulary": 13, + "volume": 181.32154618891352, + "difficulty": 3, + "effort": 543.9646385667405, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setOptionalMetricProperties" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setTimesChanged": { + "line": 146, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setTimesChanged" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertSame": { + "line": 151, + "lineCount": 14, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 6, + "N2": 8, + "programLength": 14, + "programVocabulary": 5, + "volume": 32.50699332842307, + "difficulty": 2.6666666666666665, + "effort": 86.68531554246152, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertSame" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::calculateDeltas": { + "line": 169, + "lineCount": 13, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 16, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 17, + "N2": 27, + "programLength": 44, + "programVocabulary": 4, + "volume": 88, + "difficulty": 13.5, + "effort": 1188, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::calculateDeltas" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::fromArray": { + "line": 187, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::fromArray" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertArrayKeyIsPresent": { + "line": 197, + "lineCount": 6, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 5, + "programLength": 5, + "programVocabulary": 2, + "volume": 5, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertArrayKeyIsPresent" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getClass": { + "line": 204, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getMethod": { + "line": 209, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getMethod" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCount": { + "line": 214, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCount": { + "line": 219, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCount": { + "line": 224, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCount": { + "line": 229, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCount": { + "line": 234, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCount": { + "line": 239, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevel": { + "line": 244, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevel" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCount": { + "line": 249, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeight": { + "line": 254, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setLineCountWeight": { + "line": 259, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setLineCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeight": { + "line": 264, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setArgCountWeight": { + "line": 269, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setArgCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeight": { + "line": 274, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setReturnCountWeight": { + "line": 279, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setReturnCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeight": { + "line": 284, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setVariableCountWeight": { + "line": 289, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setVariableCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeight": { + "line": 294, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setPropertyCallCountWeight": { + "line": 299, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setPropertyCallCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeight": { + "line": 304, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfCountWeight": { + "line": 309, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeight": { + "line": 314, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfNestingLevelWeight": { + "line": 319, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfNestingLevelWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeight": { + "line": 324, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setElseCountWeight": { + "line": 329, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setElseCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setScore": { + "line": 334, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setScore" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getScore": { + "line": 339, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getScore" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setCoverage": { + "line": 344, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCoverage": { + "line": 349, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeightDelta": { + "line": 354, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeightDelta": { + "line": 359, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeightDelta": { + "line": 364, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeightDelta": { + "line": 369, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeightDelta": { + "line": 374, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeightDelta": { + "line": 379, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeightDelta": { + "line": 384, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeightDelta": { + "line": 389, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getTimesChanged": { + "line": 394, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 2, + "programLength": 3, + "programVocabulary": 3, + "volume": 4.754887502163468, + "difficulty": 0.5, + "effort": 2.377443751081734, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getTimesChanged" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getFileName": { + "line": 399, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getFileName" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLine": { + "line": 404, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLine" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::equals": { + "line": 409, + "lineCount": 5, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 2, + "N1": 5, + "N2": 5, + "programLength": 10, + "programVocabulary": 5, + "volume": 23.21928094887362, + "difficulty": 3.75, + "effort": 87.07230355827608, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::equals" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::toArray": { + "line": 418, + "lineCount": 34, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 29, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 30, + "N1": 0, + "N2": 58, + "programLength": 58, + "programVocabulary": 30, + "volume": 284.5996545452941, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::toArray" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::jsonSerialize": { + "line": 456, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::jsonSerialize" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getHalstead": { + "line": 464, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getHalstead" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCyclomatic": { + "line": 472, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCyclomatic" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::add": { + "line": 30, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 5, + "N2": 6, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 3, + "effort": 85.30376252379816, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::add" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filter": { + "line": 40, + "lineCount": 11, + "argCount": 1, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 8, + "volume": 42, + "difficulty": 3, + "effort": 126, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filter" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getIterator": { + "line": 57, + "lineCount": 5, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getIterator" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::count": { + "line": 66, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::count" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterWithScoreGreaterThan": { + "line": 71, + "lineCount": 6, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 3, + "N2": 6, + "programLength": 9, + "programVocabulary": 5, + "volume": 20.89735285398626, + "difficulty": 2, + "effort": 41.79470570797252, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterWithScoreGreaterThan" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::contains": { + "line": 78, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 4, + "N2": 5, + "programLength": 9, + "programVocabulary": 5, + "volume": 20.89735285398626, + "difficulty": 1.6666666666666667, + "effort": 34.82892142331043, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::contains" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getClassWithMethod": { + "line": 83, + "lineCount": 9, + "argCount": 2, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 3, + "N2": 10, + "programLength": 13, + "programVocabulary": 7, + "volume": 36.49561398674886, + "difficulty": 2, + "effort": 72.99122797349771, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getClassWithMethod" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterByClassName": { + "line": 93, + "lineCount": 6, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 3, + "N2": 6, + "programLength": 9, + "programVocabulary": 5, + "volume": 20.89735285398626, + "difficulty": 2, + "effort": 41.79470570797252, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterByClassName" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::assertMetricHasGetter": { + "line": 100, + "lineCount": 9, + "argCount": 3, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 6, + "programLength": 7, + "programVocabulary": 4, + "volume": 14, + "difficulty": 1, + "effort": 14, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::assertMetricHasGetter" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::groupBy": { + "line": 117, + "lineCount": 20, + "argCount": 1, + "returnCount": 1, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 10, + "N2": 23, + "programLength": 33, + "programVocabulary": 11, + "volume": 114.16124341503081, + "difficulty": 6.571428571428571, + "effort": 750.2024567273453, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::groupBy" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::jsonSerialize": { + "line": 141, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::jsonSerialize" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::__construct": { + "line": 32, + "lineCount": 8, + "argCount": 5, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 5, + "N1": 0, + "N2": 5, + "programLength": 5, + "programVocabulary": 5, + "volume": 11.60964047443681, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collect": { + "line": 49, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 5, + "programLength": 6, + "programVocabulary": 4, + "volume": 12, + "difficulty": 0.8333333333333334, + "effort": 10, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collect" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collectFromPaths": { + "line": 62, + "lineCount": 13, + "argCount": 2, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 8, + "N2": 16, + "programLength": 24, + "programVocabulary": 9, + "volume": 76.07820003461549, + "difficulty": 4, + "effort": 304.31280013846197, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collectFromPaths" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCodeFromFile": { + "line": 79, + "lineCount": 10, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 2, + "N1": 5, + "N2": 6, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 6, + "effort": 170.6075250475963, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCodeFromFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findMetrics": { + "line": 98, + "lineCount": 31, + "argCount": 1, + "returnCount": 1, + "variableCount": 9, + "propertyCallCount": 2, + "ifNestingLevel": 2, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 13, + "N1": 18, + "N2": 38, + "programLength": 56, + "programVocabulary": 16, + "volume": 224, + "difficulty": 4.384615384615384, + "effort": 982.1538461538461, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findMetrics" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processMethodMetrics": { + "line": 136, + "lineCount": 29, + "argCount": 3, + "returnCount": 1, + "variableCount": 7, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 14, + "N1": 8, + "N2": 27, + "programLength": 35, + "programVocabulary": 17, + "volume": 143.06119944376186, + "difficulty": 2.892857142857143, + "effort": 413.8556126765968, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processMethodMetrics" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::isExcluded": { + "line": 166, + "lineCount": 12, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 5, + "N1": 5, + "N2": 9, + "programLength": 14, + "programVocabulary": 9, + "volume": 44.37895002019237, + "difficulty": 3.6, + "effort": 159.76422007269252, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::isExcluded" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findSourceFiles": { + "line": 187, + "lineCount": 7, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 2, + "N2": 6, + "programLength": 8, + "programVocabulary": 6, + "volume": 20.67970000576925, + "difficulty": 1.5, + "effort": 31.019550008653873, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findSourceFiles" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getProjectRoot": { + "line": 202, + "lineCount": 13, + "argCount": 0, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 2, + "N1": 8, + "N2": 8, + "programLength": 16, + "programVocabulary": 6, + "volume": 41.3594000115385, + "difficulty": 8, + "effort": 330.875200092308, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getProjectRoot" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateCacheKey": { + "line": 219, + "lineCount": 7, + "argCount": 2, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 6, + "N1": 10, + "N2": 12, + "programLength": 22, + "programVocabulary": 10, + "volume": 73.08241808752197, + "difficulty": 4, + "effort": 292.3296723500879, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateCacheKey" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateConfigHash": { + "line": 230, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 1, + "N1": 3, + "N2": 2, + "programLength": 5, + "programVocabulary": 3, + "volume": 7.92481250360578, + "difficulty": 2, + "effort": 15.84962500721156, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateConfigHash" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::cacheResult": { + "line": 239, + "lineCount": 14, + "argCount": 4, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 13, + "N1": 5, + "N2": 20, + "programLength": 25, + "programVocabulary": 15, + "volume": 97.67226489021297, + "difficulty": 1.5384615384615385, + "effort": 150.26502290801997, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::cacheResult" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::clearCache": { + "line": 254, + "lineCount": 4, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::clearCache" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::normalizeFilename": { + "line": 264, + "lineCount": 15, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 6, + "n2": 7, + "N1": 12, + "N2": 16, + "programLength": 28, + "programVocabulary": 13, + "volume": 103.61231210795059, + "difficulty": 6.857142857142857, + "effort": 710.4844258830897, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::normalizeFilename" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCachedMetrics": { + "line": 286, + "lineCount": 19, + "argCount": 3, + "returnCount": 3, + "variableCount": 4, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 11, + "N1": 10, + "N2": 29, + "programLength": 39, + "programVocabulary": 14, + "volume": 148.48684196024655, + "difficulty": 3.954545454545454, + "effort": 587.1979659337022, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCachedMetrics" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processFile": { + "line": 312, + "lineCount": 37, + "argCount": 5, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 7, + "n2": 10, + "N1": 12, + "N2": 28, + "programLength": 40, + "programVocabulary": 17, + "volume": 163.49851365001356, + "difficulty": 9.799999999999999, + "effort": 1602.2854337701328, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::sort": { + "line": 51, + "lineCount": 41, + "argCount": 3, + "returnCount": 2, + "variableCount": 10, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 18, + "N1": 20, + "N2": 43, + "programLength": 63, + "programVocabulary": 22, + "volume": 280.9441919741497, + "difficulty": 4.777777777777778, + "effort": 1342.2889172098264, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::sort" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getFieldValue": { + "line": 100, + "lineCount": 28, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 25, + "N1": 24, + "N2": 50, + "programLength": 74, + "programVocabulary": 27, + "volume": 351.86167516009664, + "difficulty": 2, + "effort": 703.7233503201933, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getFieldValue" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::compareValues": { + "line": 136, + "lineCount": 13, + "argCount": 2, + "returnCount": 3, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 2, + "N1": 9, + "N2": 12, + "programLength": 21, + "programVocabulary": 5, + "volume": 48.760489992634604, + "difficulty": 9, + "effort": 438.8444099337114, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::compareValues" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getSortableFields": { + "line": 155, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 0, + "N1": 0, + "N2": 0, + "programLength": 0, + "programVocabulary": 0, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getSortableFields" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__construct": { + "line": 15, + "lineCount": 11, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 7, + "N2": 12, + "programLength": 19, + "programVocabulary": 6, + "volume": 49.11428751370197, + "difficulty": 6, + "effort": 294.6857250822118, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::getValue": { + "line": 27, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::getValue" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasIncreased": { + "line": 32, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasIncreased" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__toString": { + "line": 37, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__toString" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasNotChanged": { + "line": 42, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 2, + "programLength": 3, + "programVocabulary": 3, + "volume": 4.754887502163468, + "difficulty": 0.5, + "effort": 2.377443751081734, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasNotChanged" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\FileProcessed::__construct": { + "line": 14, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\FileProcessed::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\ParserFailed::__construct": { + "line": 15, + "lineCount": 5, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\ParserFailed::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\SourceFilesFound::__construct": { + "line": 17, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\SourceFilesFound::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::__construct": { + "line": 15, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::create": { + "line": 27, + "lineCount": 10, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 6, + "N1": 0, + "N2": 8, + "programLength": 8, + "programVocabulary": 6, + "volume": 20.67970000576925, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::create" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::getSupportedTypes": { + "line": 43, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 4, + "N1": 0, + "N2": 4, + "programLength": 4, + "programVocabulary": 4, + "volume": 8, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::getSupportedTypes" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::isSupported": { + "line": 54, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 2, + "N2": 3, + "programLength": 5, + "programVocabulary": 4, + "volume": 10, + "difficulty": 1.5, + "effort": 15, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::isSupported" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CsvExporter::export": { + "line": 46, + "lineCount": 57, + "argCount": 2, + "returnCount": 0, + "variableCount": 6, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 15, + "N1": 37, + "N2": 54, + "programLength": 91, + "programVocabulary": 19, + "volume": 386.56140372336625, + "difficulty": 7.2, + "effort": 2783.242106808237, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CsvExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::export": { + "line": 40, + "lineCount": 8, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 5, + "N1": 4, + "N2": 8, + "programLength": 12, + "programVocabulary": 9, + "volume": 38.039100017307746, + "difficulty": 3.2, + "effort": 121.72512005538479, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::escape": { + "line": 49, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::escape" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::formatNumber": { + "line": 54, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::formatNumber" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::generateMetricRow": { + "line": 59, + "lineCount": 12, + "argCount": 3, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 16, + "N1": 19, + "N2": 27, + "programLength": 46, + "programVocabulary": 21, + "volume": 202.04660144782298, + "difficulty": 4.21875, + "effort": 852.3840998580032, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::generateMetricRow" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::generateHtml": { + "line": 78, + "lineCount": 64, + "argCount": 1, + "returnCount": 1, + "variableCount": 7, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 11, + "N1": 46, + "N2": 57, + "programLength": 103, + "programVocabulary": 15, + "volume": 402.40973134767745, + "difficulty": 10.363636363636363, + "effort": 4170.42812487593, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::generateHtml" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\JsonExporter::export": { + "line": 19, + "lineCount": 38, + "argCount": 2, + "returnCount": 0, + "variableCount": 5, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 27, + "N1": 29, + "N2": 58, + "programLength": 87, + "programVocabulary": 32, + "volume": 435, + "difficulty": 5.370370370370371, + "effort": 2336.1111111111113, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\JsonExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::__construct": { + "line": 24, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::export": { + "line": 36, + "lineCount": 8, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 5, + "N1": 4, + "N2": 8, + "programLength": 12, + "programVocabulary": 9, + "volume": 38.039100017307746, + "difficulty": 3.2, + "effort": 121.72512005538479, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::escape": { + "line": 48, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::escape" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateMetricCell": { + "line": 56, + "lineCount": 12, + "argCount": 3, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 12, + "N1": 16, + "N2": 24, + "programLength": 40, + "programVocabulary": 17, + "volume": 163.49851365001356, + "difficulty": 5, + "effort": 817.4925682500678, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateMetricCell" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::filterMetrics": { + "line": 75, + "lineCount": 15, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 4, + "N1": 4, + "N2": 11, + "programLength": 15, + "programVocabulary": 7, + "volume": 42.11032383086406, + "difficulty": 4.125, + "effort": 173.70508580231424, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::filterMetrics" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableHeader": { + "line": 94, + "lineCount": 33, + "argCount": 0, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 4, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 19, + "N1": 10, + "N2": 28, + "programLength": 38, + "programVocabulary": 22, + "volume": 169.4584015082173, + "difficulty": 2.2105263157894735, + "effort": 374.5922559655329, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableHeader" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableHeaderWithClass": { + "line": 131, + "lineCount": 33, + "argCount": 0, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 4, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 20, + "N1": 10, + "N2": 29, + "programLength": 39, + "programVocabulary": 23, + "volume": 176.41891628622352, + "difficulty": 2.175, + "effort": 383.7111429225361, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableHeaderWithClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableSeparator": { + "line": 168, + "lineCount": 20, + "argCount": 0, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 4, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 7, + "N1": 3, + "N2": 16, + "programLength": 19, + "programVocabulary": 10, + "volume": 63.11663380285988, + "difficulty": 3.4285714285714284, + "effort": 216.399887324091, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableSeparator" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableSeparatorWithClass": { + "line": 192, + "lineCount": 20, + "argCount": 0, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 4, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 8, + "N1": 3, + "N2": 16, + "programLength": 19, + "programVocabulary": 11, + "volume": 65.72920075410865, + "difficulty": 3, + "effort": 197.18760226232592, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableSeparatorWithClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableRow": { + "line": 216, + "lineCount": 22, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 6, + "N1": 53, + "N2": 60, + "programLength": 113, + "programVocabulary": 10, + "volume": 375.37787472227194, + "difficulty": 20, + "effort": 7507.557494445438, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableRow" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableRowWithClass": { + "line": 242, + "lineCount": 25, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 6, + "N1": 55, + "N2": 62, + "programLength": 117, + "programVocabulary": 10, + "volume": 388.66558710182136, + "difficulty": 20.666666666666668, + "effort": 8032.422133437642, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableRowWithClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::addHalsteadCells": { + "line": 274, + "lineCount": 20, + "argCount": 2, + "returnCount": 3, + "variableCount": 2, + "propertyCallCount": 5, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 12, + "N2": 24, + "programLength": 36, + "programVocabulary": 8, + "volume": 108, + "difficulty": 7.199999999999999, + "effort": 777.5999999999999, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::addHalsteadCells" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::addCyclomaticCell": { + "line": 301, + "lineCount": 16, + "argCount": 2, + "returnCount": 3, + "variableCount": 2, + "propertyCallCount": 4, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 8, + "N2": 16, + "programLength": 24, + "programVocabulary": 11, + "volume": 83.02635884729514, + "difficulty": 4.571428571428571, + "effort": 379.5490690162063, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::addCyclomaticCell" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateMarkdown": { + "line": 325, + "lineCount": 8, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 2, + "N2": 6, + "programLength": 8, + "programVocabulary": 3, + "volume": 12.679700005769249, + "difficulty": 1.5, + "effort": 19.019550008653873, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateMarkdown" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateGroupedMarkdown": { + "line": 337, + "lineCount": 49, + "argCount": 1, + "returnCount": 1, + "variableCount": 10, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 8, + "n2": 23, + "N1": 33, + "N2": 65, + "programLength": 98, + "programVocabulary": 31, + "volume": 485.5112384179137, + "difficulty": 11.304347826086957, + "effort": 5488.387912550329, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateGroupedMarkdown" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateSingleTableMarkdown": { + "line": 390, + "lineCount": 28, + "argCount": 1, + "returnCount": 1, + "variableCount": 6, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 6, + "n2": 13, + "N1": 19, + "N2": 37, + "programLength": 56, + "programVocabulary": 19, + "volume": 237.88394075284077, + "difficulty": 8.538461538461538, + "effort": 2031.1628787357943, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateSingleTableMarkdown" + } + } + }, + "ignored_items": [], + "cached_at": 1759967601 +} \ No newline at end of file diff --git a/.phpcca.cache/a7/a7f6e78cba22e5898f9bf9e3bc9a70ac.cache b/.phpcca.cache/a7/a7f6e78cba22e5898f9bf9e3bc9a70ac.cache new file mode 100644 index 0000000..338c4ea --- /dev/null +++ b/.phpcca.cache/a7/a7f6e78cba22e5898f9bf9e3bc9a70ac.cache @@ -0,0 +1,4154 @@ +{ + "version": "1.0", + "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/Business\/Cognitive\/Events\/SourceFilesFound.php", + "file_mtime": 1752612112, + "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", + "analysis_result": { + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct": { + "line": 60, + "lineCount": 5, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 1, + "N1": 2, + "N2": 2, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 2, + "effort": 12.679700005769249, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices": { + "line": 66, + "lineCount": 95, + "argCount": 0, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 5, + "N1": 58, + "N2": 32, + "programLength": 90, + "programVocabulary": 9, + "volume": 285.2932501298081, + "difficulty": 12.8, + "effort": 3651.7536016615436, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap": { + "line": 162, + "lineCount": 10, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 7, + "N2": 7, + "programLength": 14, + "programVocabulary": 2, + "volume": 14, + "difficulty": 3.5, + "effort": 49, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors": { + "line": 173, + "lineCount": 12, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 3, + "N2": 1, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0.5, + "effort": 2, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus": { + "line": 186, + "lineCount": 19, + "argCount": 0, + "returnCount": 0, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 9, + "N2": 13, + "programLength": 22, + "programVocabulary": 7, + "volume": 61.76180828526729, + "difficulty": 2.6, + "effort": 160.58070154169496, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService": { + "line": 206, + "lineCount": 9, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 3, + "N2": 1, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0.5, + "effort": 2, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade": { + "line": 216, + "lineCount": 13, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 3, + "N2": 1, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0.5, + "effort": 2, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands": { + "line": 230, + "lineCount": 21, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 6, + "N2": 2, + "programLength": 8, + "programVocabulary": 2, + "volume": 8, + "difficulty": 1, + "effort": 8, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication": { + "line": 252, + "lineCount": 11, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 5, + "N2": 4, + "programLength": 9, + "programVocabulary": 4, + "volume": 18, + "difficulty": 0.6666666666666666, + "effort": 12, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run": { + "line": 264, + "lineCount": 9, + "argCount": 0, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 5, + "N2": 5, + "programLength": 10, + "programVocabulary": 4, + "volume": 20, + "difficulty": 2.5, + "effort": 50, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get": { + "line": 274, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer": { + "line": 279, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator": { + "line": 289, + "lineCount": 16, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 7, + "programLength": 8, + "programVocabulary": 4, + "volume": 16, + "difficulty": 1.1666666666666667, + "effort": 18.666666666666668, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create": { + "line": 18, + "lineCount": 7, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 4, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile": { + "line": 17, + "lineCount": 17, + "argCount": 2, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 8, + "N1": 11, + "N2": 19, + "programLength": 30, + "programVocabulary": 11, + "volume": 103.78294855911892, + "difficulty": 3.5625, + "effort": 369.72675424186116, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode": { + "line": 42, + "lineCount": 8, + "argCount": 3, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 3, + "N2": 8, + "programLength": 11, + "programVocabulary": 8, + "volume": 33, + "difficulty": 2.4000000000000004, + "effort": 79.20000000000002, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate": { + "line": 22, + "lineCount": 10, + "argCount": 2, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 6, + "N2": 13, + "programLength": 19, + "programVocabulary": 6, + "volume": 49.11428751370197, + "difficulty": 3.25, + "effort": 159.6214344195314, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending": { + "line": 37, + "lineCount": 8, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 2, + "N2": 9, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 2.25, + "effort": 63.97782189284862, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn": { + "line": 51, + "lineCount": 24, + "argCount": 2, + "returnCount": 1, + "variableCount": 6, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 15, + "N1": 17, + "N2": 46, + "programLength": 63, + "programVocabulary": 20, + "volume": 272.28146997790384, + "difficulty": 7.666666666666667, + "effort": 2087.491269830596, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses": { + "line": 81, + "lineCount": 20, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 2, + "n2": 7, + "N1": 10, + "N2": 24, + "programLength": 34, + "programVocabulary": 9, + "volume": 107.7774500490386, + "difficulty": 3.4285714285714284, + "effort": 369.52268588241805, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass": { + "line": 109, + "lineCount": 9, + "argCount": 2, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 6, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 10, + "volume": 49.82892142331043, + "difficulty": 3.3333333333333335, + "effort": 166.09640474436813, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel": { + "line": 126, + "lineCount": 16, + "argCount": 2, + "returnCount": 4, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 12, + "N1": 9, + "N2": 18, + "programLength": 27, + "programVocabulary": 15, + "volume": 105.48604608143, + "difficulty": 2.25, + "effort": 237.3436036832175, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile": { + "line": 14, + "lineCount": 6, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 2, + "N2": 5, + "programLength": 7, + "programVocabulary": 4, + "volume": 14, + "difficulty": 2.5, + "effort": 35, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable": { + "line": 24, + "lineCount": 11, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 10, + "N2": 12, + "programLength": 22, + "programVocabulary": 8, + "volume": 66, + "difficulty": 6, + "effort": 396, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create": { + "line": 21, + "lineCount": 11, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 7, + "N1": 0, + "N2": 9, + "programLength": 9, + "programVocabulary": 7, + "volume": 25.26619429851844, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes": { + "line": 38, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 6, + "N1": 0, + "N2": 6, + "programLength": 6, + "programVocabulary": 6, + "volume": 15.509775004326936, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported": { + "line": 49, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 2, + "N2": 3, + "programLength": 5, + "programVocabulary": 4, + "volume": 10, + "difficulty": 1.5, + "effort": 15, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export": { + "line": 30, + "lineCount": 23, + "argCount": 2, + "returnCount": 0, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 16, + "N1": 10, + "N2": 33, + "programLength": 43, + "programVocabulary": 20, + "volume": 185.8429080801566, + "difficulty": 4.125, + "effort": 766.601995830646, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export": { + "line": 28, + "lineCount": 8, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 6, + "volume": 36.18947501009619, + "difficulty": 2.5, + "effort": 90.47368752524048, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape": { + "line": 37, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber": { + "line": 42, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml": { + "line": 52, + "lineCount": 50, + "argCount": 1, + "returnCount": 1, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 12, + "N1": 11, + "N2": 25, + "programLength": 36, + "programVocabulary": 17, + "volume": 147.14866228501222, + "difficulty": 5.208333333333334, + "effort": 766.3992827344388, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export": { + "line": 17, + "lineCount": 13, + "argCount": 2, + "returnCount": 0, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 8, + "N1": 7, + "N2": 14, + "programLength": 21, + "programVocabulary": 12, + "volume": 75.28421251514428, + "difficulty": 3.5, + "effort": 263.49474380300495, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export": { + "line": 48, + "lineCount": 8, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 6, + "volume": 36.18947501009619, + "difficulty": 2.5, + "effort": 90.47368752524048, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown": { + "line": 61, + "lineCount": 24, + "argCount": 1, + "returnCount": 1, + "variableCount": 6, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 6, + "n2": 16, + "N1": 19, + "N2": 41, + "programLength": 60, + "programVocabulary": 22, + "volume": 267.56589711823784, + "difficulty": 7.6875, + "effort": 2056.9128340964535, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow": { + "line": 94, + "lineCount": 21, + "argCount": 3, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 7, + "n2": 18, + "N1": 16, + "N2": 39, + "programLength": 55, + "programVocabulary": 25, + "volume": 255.41209043760983, + "difficulty": 7.583333333333333, + "effort": 1936.8750191518745, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::__construct": { + "line": 26, + "lineCount": 4, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::export": { + "line": 36, + "lineCount": 10, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 8, + "volume": 45, + "difficulty": 5, + "effort": 225, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::generateSvgTreemap": { + "line": 53, + "lineCount": 20, + "argCount": 1, + "returnCount": 1, + "variableCount": 6, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 8, + "N1": 9, + "N2": 20, + "programLength": 29, + "programVocabulary": 10, + "volume": 96.3359147517335, + "difficulty": 2.5, + "effort": 240.83978687933376, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::generateSvgTreemap" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRects": { + "line": 82, + "lineCount": 10, + "argCount": 3, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 9, + "N1": 6, + "N2": 18, + "programLength": 24, + "programVocabulary": 12, + "volume": 86.03910001730775, + "difficulty": 3, + "effort": 258.1173000519232, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRects" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRect": { + "line": 100, + "lineCount": 29, + "argCount": 2, + "returnCount": 1, + "variableCount": 12, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 6, + "n2": 28, + "N1": 26, + "N2": 54, + "programLength": 80, + "programVocabulary": 34, + "volume": 406.9970273000271, + "difficulty": 5.785714285714286, + "effort": 2354.7685150930142, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRect" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::wrapSvg": { + "line": 136, + "lineCount": 21, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 2, + "N2": 8, + "programLength": 10, + "programVocabulary": 4, + "volume": 20, + "difficulty": 1.3333333333333333, + "effort": 26.666666666666664, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::wrapSvg" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::prepareItems": { + "line": 28, + "lineCount": 18, + "argCount": 1, + "returnCount": 1, + "variableCount": 7, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 12, + "N1": 9, + "N2": 30, + "programLength": 39, + "programVocabulary": 17, + "volume": 159.41105080876324, + "difficulty": 6.25, + "effort": 996.3190675547702, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::prepareItems" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findScoreRange": { + "line": 53, + "lineCount": 16, + "argCount": 1, + "returnCount": 3, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 7, + "N2": 13, + "programLength": 20, + "programVocabulary": 8, + "volume": 60, + "difficulty": 3.9000000000000004, + "effort": 234.00000000000003, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findScoreRange" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::normalizeScore": { + "line": 78, + "lineCount": 8, + "argCount": 3, + "returnCount": 2, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 8, + "volume": 45, + "difficulty": 5, + "effort": 225, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::normalizeScore" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::scoreToColor": { + "line": 93, + "lineCount": 9, + "argCount": 1, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 5, + "n2": 9, + "N1": 12, + "N2": 16, + "programLength": 28, + "programVocabulary": 14, + "volume": 106.60593781761291, + "difficulty": 4.444444444444445, + "effort": 473.80416807827964, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::scoreToColor" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::calculateTreemapLayout": { + "line": 115, + "lineCount": 23, + "argCount": 7, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 9, + "N1": 2, + "N2": 18, + "programLength": 20, + "programVocabulary": 11, + "volume": 69.18863237274594, + "difficulty": 2, + "effort": 138.37726474549189, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::calculateTreemapLayout" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::layoutTreemap": { + "line": 152, + "lineCount": 89, + "argCount": 8, + "returnCount": 3, + "variableCount": 11, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 8, + "n2": 28, + "N1": 32, + "N2": 98, + "programLength": 130, + "programVocabulary": 36, + "volume": 672.0902501875006, + "difficulty": 14, + "effort": 9409.263502625008, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::layoutTreemap" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findSplitIndex": { + "line": 249, + "lineCount": 13, + "argCount": 2, + "returnCount": 2, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 7, + "n2": 10, + "N1": 9, + "N2": 23, + "programLength": 32, + "programVocabulary": 17, + "volume": 130.79881092001085, + "difficulty": 8.049999999999999, + "effort": 1052.9304279060873, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findSplitIndex" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::__construct": { + "line": 23, + "lineCount": 18, + "argCount": 1, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 7, + "N2": 11, + "programLength": 18, + "programVocabulary": 6, + "volume": 46.529325012980806, + "difficulty": 5.5, + "effort": 255.91128757139444, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::getAllClasses": { + "line": 47, + "lineCount": 17, + "argCount": 0, + "returnCount": 2, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 6, + "N2": 12, + "programLength": 18, + "programVocabulary": 9, + "volume": 57.05865002596162, + "difficulty": 3, + "effort": 171.17595007788486, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::getAllClasses" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::withClassNode": { + "line": 73, + "lineCount": 8, + "argCount": 2, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 4, + "N2": 8, + "programLength": 12, + "programVocabulary": 8, + "volume": 36, + "difficulty": 4, + "effort": 144, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::withClassNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::findClassNode": { + "line": 85, + "lineCount": 25, + "argCount": 1, + "returnCount": 4, + "variableCount": 5, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 13, + "N2": 29, + "programLength": 42, + "programVocabulary": 11, + "volume": 145.29612798276648, + "difficulty": 8.285714285714286, + "effort": 1203.8822032857795, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::findClassNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::escapeXPathValue": { + "line": 114, + "lineCount": 16, + "argCount": 1, + "returnCount": 3, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 9, + "N1": 11, + "N2": 18, + "programLength": 29, + "programVocabulary": 13, + "volume": 107.31275182609167, + "difficulty": 4, + "effort": 429.2510073043667, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::escapeXPathValue" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getLineCoverage": { + "line": 22, + "lineCount": 18, + "argCount": 1, + "returnCount": 4, + "variableCount": 5, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 9, + "N1": 10, + "N2": 19, + "programLength": 29, + "programVocabulary": 13, + "volume": 107.31275182609167, + "difficulty": 4.222222222222222, + "effort": 453.09828548794263, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getLineCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getBranchCoverage": { + "line": 48, + "lineCount": 18, + "argCount": 1, + "returnCount": 4, + "variableCount": 5, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 9, + "N1": 10, + "N2": 19, + "programLength": 29, + "programVocabulary": 13, + "volume": 107.31275182609167, + "difficulty": 4.222222222222222, + "effort": 453.09828548794263, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getBranchCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getComplexity": { + "line": 73, + "lineCount": 13, + "argCount": 1, + "returnCount": 3, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 7, + "N2": 14, + "programLength": 21, + "programVocabulary": 11, + "volume": 72.64806399138324, + "difficulty": 4, + "effort": 290.59225596553296, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getComplexity" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getCoverageDetails": { + "line": 93, + "lineCount": 26, + "argCount": 1, + "returnCount": 3, + "variableCount": 9, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 17, + "N1": 22, + "N2": 42, + "programLength": 64, + "programVocabulary": 22, + "volume": 285.403623592787, + "difficulty": 6.176470588235294, + "effort": 1762.7870868966259, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getCoverageDetails" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getMetricsNode": { + "line": 123, + "lineCount": 12, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 6, + "N1": 7, + "N2": 13, + "programLength": 20, + "programVocabulary": 10, + "volume": 66.43856189774725, + "difficulty": 4.333333333333333, + "effort": 287.90043489023805, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getMetricsNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getFilenameForClass": { + "line": 139, + "lineCount": 9, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 5, + "N1": 4, + "N2": 9, + "programLength": 13, + "programVocabulary": 9, + "volume": 41.209025018750054, + "difficulty": 3.6, + "effort": 148.3524900675002, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getFilenameForClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodsCoverage": { + "line": 154, + "lineCount": 36, + "argCount": 1, + "returnCount": 3, + "variableCount": 8, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 13, + "N1": 12, + "N2": 30, + "programLength": 42, + "programVocabulary": 16, + "volume": 168, + "difficulty": 3.4615384615384612, + "effort": 581.5384615384614, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodsCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::calculateMethodCoverage": { + "line": 194, + "lineCount": 15, + "argCount": 2, + "returnCount": 2, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 11, + "N1": 9, + "N2": 23, + "programLength": 32, + "programVocabulary": 16, + "volume": 128, + "difficulty": 5.227272727272727, + "effort": 669.090909090909, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::calculateMethodCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodCoverageFromLines": { + "line": 215, + "lineCount": 36, + "argCount": 2, + "returnCount": 1, + "variableCount": 7, + "propertyCallCount": 0, + "ifNestingLevel": 2, + "elseCount": 0, + "ifCount": 5, + "halstead": { + "n1": 2, + "n2": 14, + "N1": 12, + "N2": 35, + "programLength": 47, + "programVocabulary": 16, + "volume": 188, + "difficulty": 2.5, + "effort": 470, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodCoverageFromLines" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStart": { + "line": 252, + "lineCount": 4, + "argCount": 3, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 3, + "N2": 7, + "programLength": 10, + "programVocabulary": 6, + "volume": 25.84962500721156, + "difficulty": 1.75, + "effort": 45.23684376262023, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStart" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodEnd": { + "line": 257, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 5, + "programLength": 7, + "programVocabulary": 5, + "volume": 16.253496664211536, + "difficulty": 1.6666666666666667, + "effort": 27.089161107019226, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodEnd" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStatement": { + "line": 262, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 5, + "programLength": 7, + "programVocabulary": 5, + "volume": 16.253496664211536, + "difficulty": 1.6666666666666667, + "effort": 27.089161107019226, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStatement" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isStatementCovered": { + "line": 267, + "lineCount": 5, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 4, + "N1": 3, + "N2": 6, + "programLength": 9, + "programVocabulary": 7, + "volume": 25.26619429851844, + "difficulty": 2.25, + "effort": 56.848937171666485, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isStatementCovered" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getLineCoverage": { + "line": 20, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 9, + "volume": 44.37895002019237, + "difficulty": 2.5, + "effort": 110.94737505048093, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getLineCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getBranchCoverage": { + "line": 34, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 9, + "volume": 44.37895002019237, + "difficulty": 2.5, + "effort": 110.94737505048093, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getBranchCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getComplexity": { + "line": 48, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 9, + "volume": 44.37895002019237, + "difficulty": 2.5, + "effort": 110.94737505048093, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getComplexity" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getCoverageDetails": { + "line": 62, + "lineCount": 13, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 8, + "N1": 7, + "N2": 16, + "programLength": 23, + "programVocabulary": 9, + "volume": 72.90827503317318, + "difficulty": 1, + "effort": 72.90827503317318, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getCoverageDetails" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::extractMethodsCoverage": { + "line": 81, + "lineCount": 23, + "argCount": 1, + "returnCount": 2, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 11, + "N1": 10, + "N2": 23, + "programLength": 33, + "programVocabulary": 14, + "volume": 125.64271242790093, + "difficulty": 3.1363636363636362, + "effort": 394.061234432962, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::extractMethodsCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CodeCoverageFactory::createFromName": { + "line": 14, + "lineCount": 8, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 4, + "N1": 1, + "N2": 8, + "programLength": 9, + "programVocabulary": 5, + "volume": 20.89735285398626, + "difficulty": 1, + "effort": 20.89735285398626, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CodeCoverageFactory::createFromName" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::__construct": { + "line": 28, + "lineCount": 15, + "argCount": 6, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 6, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 7, + "N1": 6, + "N2": 18, + "programLength": 24, + "programVocabulary": 8, + "volume": 72, + "difficulty": 1.2857142857142858, + "effort": 92.57142857142858, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getName": { + "line": 44, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getName" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getFilename": { + "line": 49, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getFilename" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getLineRate": { + "line": 54, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getLineRate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getBranchRate": { + "line": 59, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getBranchRate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getComplexity": { + "line": 64, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getComplexity" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getMethods": { + "line": 72, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getMethods" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::__construct": { + "line": 17, + "lineCount": 11, + "argCount": 4, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 4, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 5, + "N1": 4, + "N2": 12, + "programLength": 16, + "programVocabulary": 6, + "volume": 41.3594000115385, + "difficulty": 1.2, + "effort": 49.631280013846194, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getName": { + "line": 29, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getName" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getLineRate": { + "line": 34, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getLineRate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getBranchRate": { + "line": 39, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getBranchRate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getComplexity": { + "line": 44, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getComplexity" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::calculateDeltas": { + "line": 19, + "lineCount": 14, + "argCount": 2, + "returnCount": 0, + "variableCount": 6, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 9, + "N1": 4, + "N2": 18, + "programLength": 22, + "programVocabulary": 11, + "volume": 76.10749561002054, + "difficulty": 2, + "effort": 152.21499122004107, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::calculateDeltas" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::loadBaseline": { + "line": 41, + "lineCount": 13, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 5, + "N2": 9, + "programLength": 14, + "programVocabulary": 8, + "volume": 42, + "difficulty": 2.7, + "effort": 113.4, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::loadBaseline" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::__construct": { + "line": 72, + "lineCount": 21, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 6, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 9, + "N1": 12, + "N2": 34, + "programLength": 46, + "programVocabulary": 12, + "volume": 164.90827503317317, + "difficulty": 5.666666666666666, + "effort": 934.4802251879812, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setRequiredMetricProperties": { + "line": 98, + "lineCount": 30, + "argCount": 1, + "returnCount": 0, + "variableCount": 6, + "propertyCallCount": 9, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 21, + "N1": 21, + "N2": 51, + "programLength": 72, + "programVocabulary": 24, + "volume": 330.1173000519232, + "difficulty": 3.6428571428571423, + "effort": 1202.570164474863, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setRequiredMetricProperties" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setOptionalMetricProperties": { + "line": 133, + "lineCount": 12, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 8, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 11, + "N1": 16, + "N2": 33, + "programLength": 49, + "programVocabulary": 13, + "volume": 181.32154618891352, + "difficulty": 3, + "effort": 543.9646385667405, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setOptionalMetricProperties" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setTimesChanged": { + "line": 146, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setTimesChanged" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertSame": { + "line": 151, + "lineCount": 14, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 6, + "N2": 8, + "programLength": 14, + "programVocabulary": 5, + "volume": 32.50699332842307, + "difficulty": 2.6666666666666665, + "effort": 86.68531554246152, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertSame" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::calculateDeltas": { + "line": 169, + "lineCount": 13, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 16, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 17, + "N2": 27, + "programLength": 44, + "programVocabulary": 4, + "volume": 88, + "difficulty": 13.5, + "effort": 1188, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::calculateDeltas" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::fromArray": { + "line": 187, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::fromArray" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertArrayKeyIsPresent": { + "line": 197, + "lineCount": 6, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 5, + "programLength": 5, + "programVocabulary": 2, + "volume": 5, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertArrayKeyIsPresent" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getClass": { + "line": 204, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getMethod": { + "line": 209, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getMethod" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCount": { + "line": 214, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCount": { + "line": 219, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCount": { + "line": 224, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCount": { + "line": 229, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCount": { + "line": 234, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCount": { + "line": 239, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevel": { + "line": 244, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevel" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCount": { + "line": 249, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeight": { + "line": 254, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setLineCountWeight": { + "line": 259, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setLineCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeight": { + "line": 264, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setArgCountWeight": { + "line": 269, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setArgCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeight": { + "line": 274, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setReturnCountWeight": { + "line": 279, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setReturnCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeight": { + "line": 284, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setVariableCountWeight": { + "line": 289, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setVariableCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeight": { + "line": 294, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setPropertyCallCountWeight": { + "line": 299, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setPropertyCallCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeight": { + "line": 304, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfCountWeight": { + "line": 309, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeight": { + "line": 314, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfNestingLevelWeight": { + "line": 319, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfNestingLevelWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeight": { + "line": 324, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setElseCountWeight": { + "line": 329, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setElseCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setScore": { + "line": 334, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setScore" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getScore": { + "line": 339, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getScore" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setCoverage": { + "line": 344, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCoverage": { + "line": 349, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeightDelta": { + "line": 354, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeightDelta": { + "line": 359, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeightDelta": { + "line": 364, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeightDelta": { + "line": 369, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeightDelta": { + "line": 374, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeightDelta": { + "line": 379, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeightDelta": { + "line": 384, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeightDelta": { + "line": 389, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getTimesChanged": { + "line": 394, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 2, + "programLength": 3, + "programVocabulary": 3, + "volume": 4.754887502163468, + "difficulty": 0.5, + "effort": 2.377443751081734, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getTimesChanged" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getFileName": { + "line": 399, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getFileName" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLine": { + "line": 404, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLine" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::equals": { + "line": 409, + "lineCount": 5, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 2, + "N1": 5, + "N2": 5, + "programLength": 10, + "programVocabulary": 5, + "volume": 23.21928094887362, + "difficulty": 3.75, + "effort": 87.07230355827608, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::equals" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::toArray": { + "line": 418, + "lineCount": 34, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 29, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 30, + "N1": 0, + "N2": 58, + "programLength": 58, + "programVocabulary": 30, + "volume": 284.5996545452941, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::toArray" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::jsonSerialize": { + "line": 456, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::jsonSerialize" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getHalstead": { + "line": 464, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getHalstead" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCyclomatic": { + "line": 472, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCyclomatic" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::add": { + "line": 30, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 5, + "N2": 6, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 3, + "effort": 85.30376252379816, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::add" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filter": { + "line": 40, + "lineCount": 11, + "argCount": 1, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 8, + "volume": 42, + "difficulty": 3, + "effort": 126, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filter" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getIterator": { + "line": 57, + "lineCount": 5, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getIterator" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::count": { + "line": 66, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::count" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterWithScoreGreaterThan": { + "line": 71, + "lineCount": 6, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 3, + "N2": 6, + "programLength": 9, + "programVocabulary": 5, + "volume": 20.89735285398626, + "difficulty": 2, + "effort": 41.79470570797252, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterWithScoreGreaterThan" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::contains": { + "line": 78, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 4, + "N2": 5, + "programLength": 9, + "programVocabulary": 5, + "volume": 20.89735285398626, + "difficulty": 1.6666666666666667, + "effort": 34.82892142331043, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::contains" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getClassWithMethod": { + "line": 83, + "lineCount": 9, + "argCount": 2, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 3, + "N2": 10, + "programLength": 13, + "programVocabulary": 7, + "volume": 36.49561398674886, + "difficulty": 2, + "effort": 72.99122797349771, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getClassWithMethod" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterByClassName": { + "line": 93, + "lineCount": 6, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 3, + "N2": 6, + "programLength": 9, + "programVocabulary": 5, + "volume": 20.89735285398626, + "difficulty": 2, + "effort": 41.79470570797252, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterByClassName" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::assertMetricHasGetter": { + "line": 100, + "lineCount": 9, + "argCount": 3, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 6, + "programLength": 7, + "programVocabulary": 4, + "volume": 14, + "difficulty": 1, + "effort": 14, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::assertMetricHasGetter" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::groupBy": { + "line": 117, + "lineCount": 20, + "argCount": 1, + "returnCount": 1, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 10, + "N2": 23, + "programLength": 33, + "programVocabulary": 11, + "volume": 114.16124341503081, + "difficulty": 6.571428571428571, + "effort": 750.2024567273453, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::groupBy" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::jsonSerialize": { + "line": 141, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::jsonSerialize" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::__construct": { + "line": 32, + "lineCount": 8, + "argCount": 5, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 5, + "N1": 0, + "N2": 5, + "programLength": 5, + "programVocabulary": 5, + "volume": 11.60964047443681, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collect": { + "line": 49, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 5, + "programLength": 6, + "programVocabulary": 4, + "volume": 12, + "difficulty": 0.8333333333333334, + "effort": 10, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collect" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collectFromPaths": { + "line": 62, + "lineCount": 13, + "argCount": 2, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 8, + "N2": 16, + "programLength": 24, + "programVocabulary": 9, + "volume": 76.07820003461549, + "difficulty": 4, + "effort": 304.31280013846197, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collectFromPaths" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCodeFromFile": { + "line": 79, + "lineCount": 10, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 2, + "N1": 5, + "N2": 6, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 6, + "effort": 170.6075250475963, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCodeFromFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findMetrics": { + "line": 98, + "lineCount": 31, + "argCount": 1, + "returnCount": 1, + "variableCount": 9, + "propertyCallCount": 2, + "ifNestingLevel": 2, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 13, + "N1": 18, + "N2": 38, + "programLength": 56, + "programVocabulary": 16, + "volume": 224, + "difficulty": 4.384615384615384, + "effort": 982.1538461538461, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findMetrics" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processMethodMetrics": { + "line": 136, + "lineCount": 29, + "argCount": 3, + "returnCount": 1, + "variableCount": 7, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 14, + "N1": 8, + "N2": 27, + "programLength": 35, + "programVocabulary": 17, + "volume": 143.06119944376186, + "difficulty": 2.892857142857143, + "effort": 413.8556126765968, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processMethodMetrics" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::isExcluded": { + "line": 166, + "lineCount": 12, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 5, + "N1": 5, + "N2": 9, + "programLength": 14, + "programVocabulary": 9, + "volume": 44.37895002019237, + "difficulty": 3.6, + "effort": 159.76422007269252, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::isExcluded" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findSourceFiles": { + "line": 187, + "lineCount": 7, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 2, + "N2": 6, + "programLength": 8, + "programVocabulary": 6, + "volume": 20.67970000576925, + "difficulty": 1.5, + "effort": 31.019550008653873, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findSourceFiles" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getProjectRoot": { + "line": 202, + "lineCount": 13, + "argCount": 0, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 2, + "N1": 8, + "N2": 8, + "programLength": 16, + "programVocabulary": 6, + "volume": 41.3594000115385, + "difficulty": 8, + "effort": 330.875200092308, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getProjectRoot" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateCacheKey": { + "line": 219, + "lineCount": 7, + "argCount": 2, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 6, + "N1": 10, + "N2": 12, + "programLength": 22, + "programVocabulary": 10, + "volume": 73.08241808752197, + "difficulty": 4, + "effort": 292.3296723500879, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateCacheKey" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateConfigHash": { + "line": 230, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 1, + "N1": 3, + "N2": 2, + "programLength": 5, + "programVocabulary": 3, + "volume": 7.92481250360578, + "difficulty": 2, + "effort": 15.84962500721156, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateConfigHash" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::cacheResult": { + "line": 239, + "lineCount": 14, + "argCount": 4, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 13, + "N1": 5, + "N2": 20, + "programLength": 25, + "programVocabulary": 15, + "volume": 97.67226489021297, + "difficulty": 1.5384615384615385, + "effort": 150.26502290801997, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::cacheResult" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::clearCache": { + "line": 254, + "lineCount": 4, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::clearCache" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::normalizeFilename": { + "line": 264, + "lineCount": 15, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 6, + "n2": 7, + "N1": 12, + "N2": 16, + "programLength": 28, + "programVocabulary": 13, + "volume": 103.61231210795059, + "difficulty": 6.857142857142857, + "effort": 710.4844258830897, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::normalizeFilename" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCachedMetrics": { + "line": 286, + "lineCount": 19, + "argCount": 3, + "returnCount": 3, + "variableCount": 4, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 11, + "N1": 10, + "N2": 29, + "programLength": 39, + "programVocabulary": 14, + "volume": 148.48684196024655, + "difficulty": 3.954545454545454, + "effort": 587.1979659337022, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCachedMetrics" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processFile": { + "line": 312, + "lineCount": 37, + "argCount": 5, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 7, + "n2": 10, + "N1": 12, + "N2": 28, + "programLength": 40, + "programVocabulary": 17, + "volume": 163.49851365001356, + "difficulty": 9.799999999999999, + "effort": 1602.2854337701328, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::sort": { + "line": 51, + "lineCount": 41, + "argCount": 3, + "returnCount": 2, + "variableCount": 10, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 18, + "N1": 20, + "N2": 43, + "programLength": 63, + "programVocabulary": 22, + "volume": 280.9441919741497, + "difficulty": 4.777777777777778, + "effort": 1342.2889172098264, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::sort" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getFieldValue": { + "line": 100, + "lineCount": 28, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 25, + "N1": 24, + "N2": 50, + "programLength": 74, + "programVocabulary": 27, + "volume": 351.86167516009664, + "difficulty": 2, + "effort": 703.7233503201933, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getFieldValue" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::compareValues": { + "line": 136, + "lineCount": 13, + "argCount": 2, + "returnCount": 3, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 2, + "N1": 9, + "N2": 12, + "programLength": 21, + "programVocabulary": 5, + "volume": 48.760489992634604, + "difficulty": 9, + "effort": 438.8444099337114, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::compareValues" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getSortableFields": { + "line": 155, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 0, + "N1": 0, + "N2": 0, + "programLength": 0, + "programVocabulary": 0, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getSortableFields" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__construct": { + "line": 15, + "lineCount": 11, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 7, + "N2": 12, + "programLength": 19, + "programVocabulary": 6, + "volume": 49.11428751370197, + "difficulty": 6, + "effort": 294.6857250822118, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::getValue": { + "line": 27, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::getValue" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasIncreased": { + "line": 32, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasIncreased" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__toString": { + "line": 37, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__toString" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasNotChanged": { + "line": 42, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 2, + "programLength": 3, + "programVocabulary": 3, + "volume": 4.754887502163468, + "difficulty": 0.5, + "effort": 2.377443751081734, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasNotChanged" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\FileProcessed::__construct": { + "line": 14, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\FileProcessed::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\ParserFailed::__construct": { + "line": 15, + "lineCount": 5, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\ParserFailed::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\SourceFilesFound::__construct": { + "line": 17, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\SourceFilesFound::__construct" + } + } + }, + "ignored_items": [], + "cached_at": 1759967601 +} \ No newline at end of file diff --git a/.phpcca.cache/a8/a849208b283abdccc56926d1b948389a.cache b/.phpcca.cache/a8/a849208b283abdccc56926d1b948389a.cache new file mode 100644 index 0000000..4b9591c --- /dev/null +++ b/.phpcca.cache/a8/a849208b283abdccc56926d1b948389a.cache @@ -0,0 +1,3550 @@ +{ + "version": "1.0", + "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/Business\/Cognitive\/CognitiveMetricsCollection.php", + "file_mtime": 1759964701, + "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", + "analysis_result": { + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct": { + "line": 60, + "lineCount": 5, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 1, + "N1": 2, + "N2": 2, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 2, + "effort": 12.679700005769249, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices": { + "line": 66, + "lineCount": 95, + "argCount": 0, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 5, + "N1": 58, + "N2": 32, + "programLength": 90, + "programVocabulary": 9, + "volume": 285.2932501298081, + "difficulty": 12.8, + "effort": 3651.7536016615436, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap": { + "line": 162, + "lineCount": 10, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 7, + "N2": 7, + "programLength": 14, + "programVocabulary": 2, + "volume": 14, + "difficulty": 3.5, + "effort": 49, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors": { + "line": 173, + "lineCount": 12, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 3, + "N2": 1, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0.5, + "effort": 2, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus": { + "line": 186, + "lineCount": 19, + "argCount": 0, + "returnCount": 0, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 9, + "N2": 13, + "programLength": 22, + "programVocabulary": 7, + "volume": 61.76180828526729, + "difficulty": 2.6, + "effort": 160.58070154169496, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService": { + "line": 206, + "lineCount": 9, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 3, + "N2": 1, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0.5, + "effort": 2, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade": { + "line": 216, + "lineCount": 13, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 3, + "N2": 1, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0.5, + "effort": 2, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands": { + "line": 230, + "lineCount": 21, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 6, + "N2": 2, + "programLength": 8, + "programVocabulary": 2, + "volume": 8, + "difficulty": 1, + "effort": 8, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication": { + "line": 252, + "lineCount": 11, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 5, + "N2": 4, + "programLength": 9, + "programVocabulary": 4, + "volume": 18, + "difficulty": 0.6666666666666666, + "effort": 12, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run": { + "line": 264, + "lineCount": 9, + "argCount": 0, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 5, + "N2": 5, + "programLength": 10, + "programVocabulary": 4, + "volume": 20, + "difficulty": 2.5, + "effort": 50, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get": { + "line": 274, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer": { + "line": 279, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator": { + "line": 289, + "lineCount": 16, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 7, + "programLength": 8, + "programVocabulary": 4, + "volume": 16, + "difficulty": 1.1666666666666667, + "effort": 18.666666666666668, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create": { + "line": 18, + "lineCount": 7, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 4, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile": { + "line": 17, + "lineCount": 17, + "argCount": 2, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 8, + "N1": 11, + "N2": 19, + "programLength": 30, + "programVocabulary": 11, + "volume": 103.78294855911892, + "difficulty": 3.5625, + "effort": 369.72675424186116, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode": { + "line": 42, + "lineCount": 8, + "argCount": 3, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 3, + "N2": 8, + "programLength": 11, + "programVocabulary": 8, + "volume": 33, + "difficulty": 2.4000000000000004, + "effort": 79.20000000000002, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate": { + "line": 22, + "lineCount": 10, + "argCount": 2, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 6, + "N2": 13, + "programLength": 19, + "programVocabulary": 6, + "volume": 49.11428751370197, + "difficulty": 3.25, + "effort": 159.6214344195314, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending": { + "line": 37, + "lineCount": 8, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 2, + "N2": 9, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 2.25, + "effort": 63.97782189284862, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn": { + "line": 51, + "lineCount": 24, + "argCount": 2, + "returnCount": 1, + "variableCount": 6, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 15, + "N1": 17, + "N2": 46, + "programLength": 63, + "programVocabulary": 20, + "volume": 272.28146997790384, + "difficulty": 7.666666666666667, + "effort": 2087.491269830596, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses": { + "line": 81, + "lineCount": 20, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 2, + "n2": 7, + "N1": 10, + "N2": 24, + "programLength": 34, + "programVocabulary": 9, + "volume": 107.7774500490386, + "difficulty": 3.4285714285714284, + "effort": 369.52268588241805, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass": { + "line": 109, + "lineCount": 9, + "argCount": 2, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 6, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 10, + "volume": 49.82892142331043, + "difficulty": 3.3333333333333335, + "effort": 166.09640474436813, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel": { + "line": 126, + "lineCount": 16, + "argCount": 2, + "returnCount": 4, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 12, + "N1": 9, + "N2": 18, + "programLength": 27, + "programVocabulary": 15, + "volume": 105.48604608143, + "difficulty": 2.25, + "effort": 237.3436036832175, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile": { + "line": 14, + "lineCount": 6, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 2, + "N2": 5, + "programLength": 7, + "programVocabulary": 4, + "volume": 14, + "difficulty": 2.5, + "effort": 35, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable": { + "line": 24, + "lineCount": 11, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 10, + "N2": 12, + "programLength": 22, + "programVocabulary": 8, + "volume": 66, + "difficulty": 6, + "effort": 396, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create": { + "line": 21, + "lineCount": 11, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 7, + "N1": 0, + "N2": 9, + "programLength": 9, + "programVocabulary": 7, + "volume": 25.26619429851844, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes": { + "line": 38, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 6, + "N1": 0, + "N2": 6, + "programLength": 6, + "programVocabulary": 6, + "volume": 15.509775004326936, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported": { + "line": 49, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 2, + "N2": 3, + "programLength": 5, + "programVocabulary": 4, + "volume": 10, + "difficulty": 1.5, + "effort": 15, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export": { + "line": 30, + "lineCount": 23, + "argCount": 2, + "returnCount": 0, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 16, + "N1": 10, + "N2": 33, + "programLength": 43, + "programVocabulary": 20, + "volume": 185.8429080801566, + "difficulty": 4.125, + "effort": 766.601995830646, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export": { + "line": 28, + "lineCount": 8, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 6, + "volume": 36.18947501009619, + "difficulty": 2.5, + "effort": 90.47368752524048, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape": { + "line": 37, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber": { + "line": 42, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml": { + "line": 52, + "lineCount": 50, + "argCount": 1, + "returnCount": 1, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 12, + "N1": 11, + "N2": 25, + "programLength": 36, + "programVocabulary": 17, + "volume": 147.14866228501222, + "difficulty": 5.208333333333334, + "effort": 766.3992827344388, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export": { + "line": 17, + "lineCount": 13, + "argCount": 2, + "returnCount": 0, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 8, + "N1": 7, + "N2": 14, + "programLength": 21, + "programVocabulary": 12, + "volume": 75.28421251514428, + "difficulty": 3.5, + "effort": 263.49474380300495, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export": { + "line": 48, + "lineCount": 8, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 6, + "volume": 36.18947501009619, + "difficulty": 2.5, + "effort": 90.47368752524048, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown": { + "line": 61, + "lineCount": 24, + "argCount": 1, + "returnCount": 1, + "variableCount": 6, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 6, + "n2": 16, + "N1": 19, + "N2": 41, + "programLength": 60, + "programVocabulary": 22, + "volume": 267.56589711823784, + "difficulty": 7.6875, + "effort": 2056.9128340964535, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow": { + "line": 94, + "lineCount": 21, + "argCount": 3, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 7, + "n2": 18, + "N1": 16, + "N2": 39, + "programLength": 55, + "programVocabulary": 25, + "volume": 255.41209043760983, + "difficulty": 7.583333333333333, + "effort": 1936.8750191518745, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::__construct": { + "line": 26, + "lineCount": 4, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::export": { + "line": 36, + "lineCount": 10, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 8, + "volume": 45, + "difficulty": 5, + "effort": 225, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::generateSvgTreemap": { + "line": 53, + "lineCount": 20, + "argCount": 1, + "returnCount": 1, + "variableCount": 6, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 8, + "N1": 9, + "N2": 20, + "programLength": 29, + "programVocabulary": 10, + "volume": 96.3359147517335, + "difficulty": 2.5, + "effort": 240.83978687933376, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::generateSvgTreemap" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRects": { + "line": 82, + "lineCount": 10, + "argCount": 3, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 9, + "N1": 6, + "N2": 18, + "programLength": 24, + "programVocabulary": 12, + "volume": 86.03910001730775, + "difficulty": 3, + "effort": 258.1173000519232, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRects" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRect": { + "line": 100, + "lineCount": 29, + "argCount": 2, + "returnCount": 1, + "variableCount": 12, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 6, + "n2": 28, + "N1": 26, + "N2": 54, + "programLength": 80, + "programVocabulary": 34, + "volume": 406.9970273000271, + "difficulty": 5.785714285714286, + "effort": 2354.7685150930142, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRect" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::wrapSvg": { + "line": 136, + "lineCount": 21, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 2, + "N2": 8, + "programLength": 10, + "programVocabulary": 4, + "volume": 20, + "difficulty": 1.3333333333333333, + "effort": 26.666666666666664, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::wrapSvg" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::prepareItems": { + "line": 28, + "lineCount": 18, + "argCount": 1, + "returnCount": 1, + "variableCount": 7, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 12, + "N1": 9, + "N2": 30, + "programLength": 39, + "programVocabulary": 17, + "volume": 159.41105080876324, + "difficulty": 6.25, + "effort": 996.3190675547702, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::prepareItems" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findScoreRange": { + "line": 53, + "lineCount": 16, + "argCount": 1, + "returnCount": 3, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 7, + "N2": 13, + "programLength": 20, + "programVocabulary": 8, + "volume": 60, + "difficulty": 3.9000000000000004, + "effort": 234.00000000000003, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findScoreRange" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::normalizeScore": { + "line": 78, + "lineCount": 8, + "argCount": 3, + "returnCount": 2, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 8, + "volume": 45, + "difficulty": 5, + "effort": 225, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::normalizeScore" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::scoreToColor": { + "line": 93, + "lineCount": 9, + "argCount": 1, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 5, + "n2": 9, + "N1": 12, + "N2": 16, + "programLength": 28, + "programVocabulary": 14, + "volume": 106.60593781761291, + "difficulty": 4.444444444444445, + "effort": 473.80416807827964, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::scoreToColor" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::calculateTreemapLayout": { + "line": 115, + "lineCount": 23, + "argCount": 7, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 9, + "N1": 2, + "N2": 18, + "programLength": 20, + "programVocabulary": 11, + "volume": 69.18863237274594, + "difficulty": 2, + "effort": 138.37726474549189, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::calculateTreemapLayout" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::layoutTreemap": { + "line": 152, + "lineCount": 89, + "argCount": 8, + "returnCount": 3, + "variableCount": 11, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 8, + "n2": 28, + "N1": 32, + "N2": 98, + "programLength": 130, + "programVocabulary": 36, + "volume": 672.0902501875006, + "difficulty": 14, + "effort": 9409.263502625008, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::layoutTreemap" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findSplitIndex": { + "line": 249, + "lineCount": 13, + "argCount": 2, + "returnCount": 2, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 7, + "n2": 10, + "N1": 9, + "N2": 23, + "programLength": 32, + "programVocabulary": 17, + "volume": 130.79881092001085, + "difficulty": 8.049999999999999, + "effort": 1052.9304279060873, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findSplitIndex" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::__construct": { + "line": 23, + "lineCount": 18, + "argCount": 1, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 7, + "N2": 11, + "programLength": 18, + "programVocabulary": 6, + "volume": 46.529325012980806, + "difficulty": 5.5, + "effort": 255.91128757139444, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::getAllClasses": { + "line": 47, + "lineCount": 17, + "argCount": 0, + "returnCount": 2, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 6, + "N2": 12, + "programLength": 18, + "programVocabulary": 9, + "volume": 57.05865002596162, + "difficulty": 3, + "effort": 171.17595007788486, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::getAllClasses" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::withClassNode": { + "line": 73, + "lineCount": 8, + "argCount": 2, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 4, + "N2": 8, + "programLength": 12, + "programVocabulary": 8, + "volume": 36, + "difficulty": 4, + "effort": 144, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::withClassNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::findClassNode": { + "line": 85, + "lineCount": 25, + "argCount": 1, + "returnCount": 4, + "variableCount": 5, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 13, + "N2": 29, + "programLength": 42, + "programVocabulary": 11, + "volume": 145.29612798276648, + "difficulty": 8.285714285714286, + "effort": 1203.8822032857795, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::findClassNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::escapeXPathValue": { + "line": 114, + "lineCount": 16, + "argCount": 1, + "returnCount": 3, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 9, + "N1": 11, + "N2": 18, + "programLength": 29, + "programVocabulary": 13, + "volume": 107.31275182609167, + "difficulty": 4, + "effort": 429.2510073043667, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::escapeXPathValue" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getLineCoverage": { + "line": 22, + "lineCount": 18, + "argCount": 1, + "returnCount": 4, + "variableCount": 5, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 9, + "N1": 10, + "N2": 19, + "programLength": 29, + "programVocabulary": 13, + "volume": 107.31275182609167, + "difficulty": 4.222222222222222, + "effort": 453.09828548794263, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getLineCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getBranchCoverage": { + "line": 48, + "lineCount": 18, + "argCount": 1, + "returnCount": 4, + "variableCount": 5, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 9, + "N1": 10, + "N2": 19, + "programLength": 29, + "programVocabulary": 13, + "volume": 107.31275182609167, + "difficulty": 4.222222222222222, + "effort": 453.09828548794263, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getBranchCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getComplexity": { + "line": 73, + "lineCount": 13, + "argCount": 1, + "returnCount": 3, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 7, + "N2": 14, + "programLength": 21, + "programVocabulary": 11, + "volume": 72.64806399138324, + "difficulty": 4, + "effort": 290.59225596553296, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getComplexity" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getCoverageDetails": { + "line": 93, + "lineCount": 26, + "argCount": 1, + "returnCount": 3, + "variableCount": 9, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 17, + "N1": 22, + "N2": 42, + "programLength": 64, + "programVocabulary": 22, + "volume": 285.403623592787, + "difficulty": 6.176470588235294, + "effort": 1762.7870868966259, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getCoverageDetails" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getMetricsNode": { + "line": 123, + "lineCount": 12, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 6, + "N1": 7, + "N2": 13, + "programLength": 20, + "programVocabulary": 10, + "volume": 66.43856189774725, + "difficulty": 4.333333333333333, + "effort": 287.90043489023805, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getMetricsNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getFilenameForClass": { + "line": 139, + "lineCount": 9, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 5, + "N1": 4, + "N2": 9, + "programLength": 13, + "programVocabulary": 9, + "volume": 41.209025018750054, + "difficulty": 3.6, + "effort": 148.3524900675002, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getFilenameForClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodsCoverage": { + "line": 154, + "lineCount": 36, + "argCount": 1, + "returnCount": 3, + "variableCount": 8, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 13, + "N1": 12, + "N2": 30, + "programLength": 42, + "programVocabulary": 16, + "volume": 168, + "difficulty": 3.4615384615384612, + "effort": 581.5384615384614, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodsCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::calculateMethodCoverage": { + "line": 194, + "lineCount": 15, + "argCount": 2, + "returnCount": 2, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 11, + "N1": 9, + "N2": 23, + "programLength": 32, + "programVocabulary": 16, + "volume": 128, + "difficulty": 5.227272727272727, + "effort": 669.090909090909, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::calculateMethodCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodCoverageFromLines": { + "line": 215, + "lineCount": 36, + "argCount": 2, + "returnCount": 1, + "variableCount": 7, + "propertyCallCount": 0, + "ifNestingLevel": 2, + "elseCount": 0, + "ifCount": 5, + "halstead": { + "n1": 2, + "n2": 14, + "N1": 12, + "N2": 35, + "programLength": 47, + "programVocabulary": 16, + "volume": 188, + "difficulty": 2.5, + "effort": 470, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodCoverageFromLines" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStart": { + "line": 252, + "lineCount": 4, + "argCount": 3, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 3, + "N2": 7, + "programLength": 10, + "programVocabulary": 6, + "volume": 25.84962500721156, + "difficulty": 1.75, + "effort": 45.23684376262023, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStart" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodEnd": { + "line": 257, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 5, + "programLength": 7, + "programVocabulary": 5, + "volume": 16.253496664211536, + "difficulty": 1.6666666666666667, + "effort": 27.089161107019226, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodEnd" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStatement": { + "line": 262, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 5, + "programLength": 7, + "programVocabulary": 5, + "volume": 16.253496664211536, + "difficulty": 1.6666666666666667, + "effort": 27.089161107019226, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStatement" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isStatementCovered": { + "line": 267, + "lineCount": 5, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 4, + "N1": 3, + "N2": 6, + "programLength": 9, + "programVocabulary": 7, + "volume": 25.26619429851844, + "difficulty": 2.25, + "effort": 56.848937171666485, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isStatementCovered" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getLineCoverage": { + "line": 20, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 9, + "volume": 44.37895002019237, + "difficulty": 2.5, + "effort": 110.94737505048093, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getLineCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getBranchCoverage": { + "line": 34, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 9, + "volume": 44.37895002019237, + "difficulty": 2.5, + "effort": 110.94737505048093, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getBranchCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getComplexity": { + "line": 48, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 9, + "volume": 44.37895002019237, + "difficulty": 2.5, + "effort": 110.94737505048093, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getComplexity" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getCoverageDetails": { + "line": 62, + "lineCount": 13, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 8, + "N1": 7, + "N2": 16, + "programLength": 23, + "programVocabulary": 9, + "volume": 72.90827503317318, + "difficulty": 1, + "effort": 72.90827503317318, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getCoverageDetails" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::extractMethodsCoverage": { + "line": 81, + "lineCount": 23, + "argCount": 1, + "returnCount": 2, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 11, + "N1": 10, + "N2": 23, + "programLength": 33, + "programVocabulary": 14, + "volume": 125.64271242790093, + "difficulty": 3.1363636363636362, + "effort": 394.061234432962, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::extractMethodsCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CodeCoverageFactory::createFromName": { + "line": 14, + "lineCount": 8, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 4, + "N1": 1, + "N2": 8, + "programLength": 9, + "programVocabulary": 5, + "volume": 20.89735285398626, + "difficulty": 1, + "effort": 20.89735285398626, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CodeCoverageFactory::createFromName" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::__construct": { + "line": 28, + "lineCount": 15, + "argCount": 6, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 6, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 7, + "N1": 6, + "N2": 18, + "programLength": 24, + "programVocabulary": 8, + "volume": 72, + "difficulty": 1.2857142857142858, + "effort": 92.57142857142858, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getName": { + "line": 44, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getName" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getFilename": { + "line": 49, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getFilename" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getLineRate": { + "line": 54, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getLineRate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getBranchRate": { + "line": 59, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getBranchRate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getComplexity": { + "line": 64, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getComplexity" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getMethods": { + "line": 72, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getMethods" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::__construct": { + "line": 17, + "lineCount": 11, + "argCount": 4, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 4, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 5, + "N1": 4, + "N2": 12, + "programLength": 16, + "programVocabulary": 6, + "volume": 41.3594000115385, + "difficulty": 1.2, + "effort": 49.631280013846194, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getName": { + "line": 29, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getName" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getLineRate": { + "line": 34, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getLineRate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getBranchRate": { + "line": 39, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getBranchRate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getComplexity": { + "line": 44, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getComplexity" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::calculateDeltas": { + "line": 19, + "lineCount": 14, + "argCount": 2, + "returnCount": 0, + "variableCount": 6, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 9, + "N1": 4, + "N2": 18, + "programLength": 22, + "programVocabulary": 11, + "volume": 76.10749561002054, + "difficulty": 2, + "effort": 152.21499122004107, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::calculateDeltas" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::loadBaseline": { + "line": 41, + "lineCount": 13, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 5, + "N2": 9, + "programLength": 14, + "programVocabulary": 8, + "volume": 42, + "difficulty": 2.7, + "effort": 113.4, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::loadBaseline" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::__construct": { + "line": 72, + "lineCount": 21, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 6, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 9, + "N1": 12, + "N2": 34, + "programLength": 46, + "programVocabulary": 12, + "volume": 164.90827503317317, + "difficulty": 5.666666666666666, + "effort": 934.4802251879812, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setRequiredMetricProperties": { + "line": 98, + "lineCount": 30, + "argCount": 1, + "returnCount": 0, + "variableCount": 6, + "propertyCallCount": 9, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 21, + "N1": 21, + "N2": 51, + "programLength": 72, + "programVocabulary": 24, + "volume": 330.1173000519232, + "difficulty": 3.6428571428571423, + "effort": 1202.570164474863, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setRequiredMetricProperties" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setOptionalMetricProperties": { + "line": 133, + "lineCount": 12, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 8, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 11, + "N1": 16, + "N2": 33, + "programLength": 49, + "programVocabulary": 13, + "volume": 181.32154618891352, + "difficulty": 3, + "effort": 543.9646385667405, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setOptionalMetricProperties" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setTimesChanged": { + "line": 146, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setTimesChanged" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertSame": { + "line": 151, + "lineCount": 14, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 6, + "N2": 8, + "programLength": 14, + "programVocabulary": 5, + "volume": 32.50699332842307, + "difficulty": 2.6666666666666665, + "effort": 86.68531554246152, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertSame" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::calculateDeltas": { + "line": 169, + "lineCount": 13, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 16, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 17, + "N2": 27, + "programLength": 44, + "programVocabulary": 4, + "volume": 88, + "difficulty": 13.5, + "effort": 1188, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::calculateDeltas" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::fromArray": { + "line": 187, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::fromArray" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertArrayKeyIsPresent": { + "line": 197, + "lineCount": 6, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 5, + "programLength": 5, + "programVocabulary": 2, + "volume": 5, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertArrayKeyIsPresent" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getClass": { + "line": 204, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getMethod": { + "line": 209, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getMethod" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCount": { + "line": 214, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCount": { + "line": 219, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCount": { + "line": 224, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCount": { + "line": 229, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCount": { + "line": 234, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCount": { + "line": 239, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevel": { + "line": 244, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevel" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCount": { + "line": 249, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeight": { + "line": 254, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setLineCountWeight": { + "line": 259, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setLineCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeight": { + "line": 264, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setArgCountWeight": { + "line": 269, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setArgCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeight": { + "line": 274, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setReturnCountWeight": { + "line": 279, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setReturnCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeight": { + "line": 284, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setVariableCountWeight": { + "line": 289, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setVariableCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeight": { + "line": 294, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setPropertyCallCountWeight": { + "line": 299, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setPropertyCallCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeight": { + "line": 304, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfCountWeight": { + "line": 309, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeight": { + "line": 314, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfNestingLevelWeight": { + "line": 319, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfNestingLevelWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeight": { + "line": 324, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setElseCountWeight": { + "line": 329, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setElseCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setScore": { + "line": 334, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setScore" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getScore": { + "line": 339, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getScore" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setCoverage": { + "line": 344, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCoverage": { + "line": 349, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeightDelta": { + "line": 354, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeightDelta": { + "line": 359, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeightDelta": { + "line": 364, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeightDelta": { + "line": 369, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeightDelta": { + "line": 374, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeightDelta": { + "line": 379, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeightDelta": { + "line": 384, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeightDelta": { + "line": 389, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getTimesChanged": { + "line": 394, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 2, + "programLength": 3, + "programVocabulary": 3, + "volume": 4.754887502163468, + "difficulty": 0.5, + "effort": 2.377443751081734, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getTimesChanged" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getFileName": { + "line": 399, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getFileName" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLine": { + "line": 404, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLine" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::equals": { + "line": 409, + "lineCount": 5, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 2, + "N1": 5, + "N2": 5, + "programLength": 10, + "programVocabulary": 5, + "volume": 23.21928094887362, + "difficulty": 3.75, + "effort": 87.07230355827608, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::equals" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::toArray": { + "line": 418, + "lineCount": 34, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 29, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 30, + "N1": 0, + "N2": 58, + "programLength": 58, + "programVocabulary": 30, + "volume": 284.5996545452941, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::toArray" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::jsonSerialize": { + "line": 456, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::jsonSerialize" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getHalstead": { + "line": 464, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getHalstead" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCyclomatic": { + "line": 472, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCyclomatic" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::add": { + "line": 30, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 5, + "N2": 6, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 3, + "effort": 85.30376252379816, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::add" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filter": { + "line": 40, + "lineCount": 11, + "argCount": 1, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 2, + "risk_level": "low" + }, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 8, + "volume": 42, + "difficulty": 3, + "effort": 126, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filter" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getIterator": { + "line": 57, + "lineCount": 5, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getIterator" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::count": { + "line": 66, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::count" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterWithScoreGreaterThan": { + "line": 71, + "lineCount": 6, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 3, + "N2": 6, + "programLength": 9, + "programVocabulary": 5, + "volume": 20.89735285398626, + "difficulty": 2, + "effort": 41.79470570797252, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterWithScoreGreaterThan" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::contains": { + "line": 78, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 4, + "N2": 5, + "programLength": 9, + "programVocabulary": 5, + "volume": 20.89735285398626, + "difficulty": 1.6666666666666667, + "effort": 34.82892142331043, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::contains" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getClassWithMethod": { + "line": 83, + "lineCount": 9, + "argCount": 2, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "cyclomatic_complexity": { + "complexity": 2, + "risk_level": "low" + }, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 3, + "N2": 10, + "programLength": 13, + "programVocabulary": 7, + "volume": 36.49561398674886, + "difficulty": 2, + "effort": 72.99122797349771, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getClassWithMethod" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterByClassName": { + "line": 93, + "lineCount": 6, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 3, + "N2": 6, + "programLength": 9, + "programVocabulary": 5, + "volume": 20.89735285398626, + "difficulty": 2, + "effort": 41.79470570797252, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterByClassName" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::assertMetricHasGetter": { + "line": 100, + "lineCount": 9, + "argCount": 3, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "cyclomatic_complexity": { + "complexity": 2, + "risk_level": "low" + }, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 6, + "programLength": 7, + "programVocabulary": 4, + "volume": 14, + "difficulty": 1, + "effort": 14, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::assertMetricHasGetter" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::groupBy": { + "line": 117, + "lineCount": 20, + "argCount": 1, + "returnCount": 1, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "cyclomatic_complexity": { + "complexity": 3, + "risk_level": "low" + }, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 10, + "N2": 23, + "programLength": 33, + "programVocabulary": 11, + "volume": 114.16124341503081, + "difficulty": 6.571428571428571, + "effort": 750.2024567273453, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::groupBy" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::jsonSerialize": { + "line": 141, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::jsonSerialize" + } + } + }, + "ignored_items": [], + "cached_at": 1759967601 +} \ No newline at end of file diff --git a/.phpcca.cache/ad/ad7d9af05f895adb8331b437106d2e00.cache b/.phpcca.cache/ad/ad7d9af05f895adb8331b437106d2e00.cache new file mode 100644 index 0000000..8fbe385 --- /dev/null +++ b/.phpcca.cache/ad/ad7d9af05f895adb8331b437106d2e00.cache @@ -0,0 +1,386 @@ +{ + "version": "1.0", + "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/Business\/Churn\/ChangeCounter\/GitChangeCounter.php", + "file_mtime": 1752612112, + "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", + "analysis_result": { + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct": { + "line": 60, + "lineCount": 5, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 1, + "N1": 2, + "N2": 2, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 2, + "effort": 12.679700005769249, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices": { + "line": 66, + "lineCount": 95, + "argCount": 0, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 5, + "N1": 58, + "N2": 32, + "programLength": 90, + "programVocabulary": 9, + "volume": 285.2932501298081, + "difficulty": 12.8, + "effort": 3651.7536016615436, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap": { + "line": 162, + "lineCount": 10, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 7, + "N2": 7, + "programLength": 14, + "programVocabulary": 2, + "volume": 14, + "difficulty": 3.5, + "effort": 49, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors": { + "line": 173, + "lineCount": 12, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 3, + "N2": 1, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0.5, + "effort": 2, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus": { + "line": 186, + "lineCount": 19, + "argCount": 0, + "returnCount": 0, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 9, + "N2": 13, + "programLength": 22, + "programVocabulary": 7, + "volume": 61.76180828526729, + "difficulty": 2.6, + "effort": 160.58070154169496, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService": { + "line": 206, + "lineCount": 9, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 3, + "N2": 1, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0.5, + "effort": 2, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade": { + "line": 216, + "lineCount": 13, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 3, + "N2": 1, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0.5, + "effort": 2, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands": { + "line": 230, + "lineCount": 21, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 6, + "N2": 2, + "programLength": 8, + "programVocabulary": 2, + "volume": 8, + "difficulty": 1, + "effort": 8, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication": { + "line": 252, + "lineCount": 11, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 5, + "N2": 4, + "programLength": 9, + "programVocabulary": 4, + "volume": 18, + "difficulty": 0.6666666666666666, + "effort": 12, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run": { + "line": 264, + "lineCount": 9, + "argCount": 0, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 5, + "N2": 5, + "programLength": 10, + "programVocabulary": 4, + "volume": 20, + "difficulty": 2.5, + "effort": 50, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get": { + "line": 274, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer": { + "line": 279, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator": { + "line": 289, + "lineCount": 16, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 7, + "programLength": 8, + "programVocabulary": 4, + "volume": 16, + "difficulty": 1.1666666666666667, + "effort": 18.666666666666668, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create": { + "line": 18, + "lineCount": 7, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 4, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile": { + "line": 17, + "lineCount": 17, + "argCount": 2, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 3, + "n2": 8, + "N1": 11, + "N2": 19, + "programLength": 30, + "programVocabulary": 11, + "volume": 103.78294855911892, + "difficulty": 3.5625, + "effort": 369.72675424186116, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode": { + "line": 42, + "lineCount": 8, + "argCount": 3, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "cyclomatic_complexity": { + "complexity": 2, + "risk_level": "low" + }, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 3, + "N2": 8, + "programLength": 11, + "programVocabulary": 8, + "volume": 33, + "difficulty": 2.4000000000000004, + "effort": 79.20000000000002, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode" + } + } + }, + "ignored_items": [], + "cached_at": 1759967600 +} \ No newline at end of file diff --git a/.phpcca.cache/b5/b55bef25fe783a8a349d37aa777472a1.cache b/.phpcca.cache/b5/b55bef25fe783a8a349d37aa777472a1.cache new file mode 100644 index 0000000..f45c06e --- /dev/null +++ b/.phpcca.cache/b5/b55bef25fe783a8a349d37aa777472a1.cache @@ -0,0 +1,4835 @@ +{ + "version": "1.0", + "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/Business\/Cognitive\/Exporter\/MarkdownExporter.php", + "file_mtime": 1759793043, + "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", + "analysis_result": { + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct": { + "line": 60, + "lineCount": 5, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 1, + "N1": 2, + "N2": 2, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 2, + "effort": 12.679700005769249, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices": { + "line": 66, + "lineCount": 95, + "argCount": 0, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 5, + "N1": 58, + "N2": 32, + "programLength": 90, + "programVocabulary": 9, + "volume": 285.2932501298081, + "difficulty": 12.8, + "effort": 3651.7536016615436, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap": { + "line": 162, + "lineCount": 10, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 7, + "N2": 7, + "programLength": 14, + "programVocabulary": 2, + "volume": 14, + "difficulty": 3.5, + "effort": 49, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors": { + "line": 173, + "lineCount": 12, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 3, + "N2": 1, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0.5, + "effort": 2, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus": { + "line": 186, + "lineCount": 19, + "argCount": 0, + "returnCount": 0, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 9, + "N2": 13, + "programLength": 22, + "programVocabulary": 7, + "volume": 61.76180828526729, + "difficulty": 2.6, + "effort": 160.58070154169496, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService": { + "line": 206, + "lineCount": 9, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 3, + "N2": 1, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0.5, + "effort": 2, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade": { + "line": 216, + "lineCount": 13, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 3, + "N2": 1, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0.5, + "effort": 2, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands": { + "line": 230, + "lineCount": 21, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 6, + "N2": 2, + "programLength": 8, + "programVocabulary": 2, + "volume": 8, + "difficulty": 1, + "effort": 8, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication": { + "line": 252, + "lineCount": 11, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 5, + "N2": 4, + "programLength": 9, + "programVocabulary": 4, + "volume": 18, + "difficulty": 0.6666666666666666, + "effort": 12, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run": { + "line": 264, + "lineCount": 9, + "argCount": 0, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 5, + "N2": 5, + "programLength": 10, + "programVocabulary": 4, + "volume": 20, + "difficulty": 2.5, + "effort": 50, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get": { + "line": 274, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer": { + "line": 279, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator": { + "line": 289, + "lineCount": 16, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 7, + "programLength": 8, + "programVocabulary": 4, + "volume": 16, + "difficulty": 1.1666666666666667, + "effort": 18.666666666666668, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create": { + "line": 18, + "lineCount": 7, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 4, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile": { + "line": 17, + "lineCount": 17, + "argCount": 2, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 8, + "N1": 11, + "N2": 19, + "programLength": 30, + "programVocabulary": 11, + "volume": 103.78294855911892, + "difficulty": 3.5625, + "effort": 369.72675424186116, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode": { + "line": 42, + "lineCount": 8, + "argCount": 3, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 3, + "N2": 8, + "programLength": 11, + "programVocabulary": 8, + "volume": 33, + "difficulty": 2.4000000000000004, + "effort": 79.20000000000002, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate": { + "line": 22, + "lineCount": 10, + "argCount": 2, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 6, + "N2": 13, + "programLength": 19, + "programVocabulary": 6, + "volume": 49.11428751370197, + "difficulty": 3.25, + "effort": 159.6214344195314, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending": { + "line": 37, + "lineCount": 8, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 2, + "N2": 9, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 2.25, + "effort": 63.97782189284862, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn": { + "line": 51, + "lineCount": 24, + "argCount": 2, + "returnCount": 1, + "variableCount": 6, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 15, + "N1": 17, + "N2": 46, + "programLength": 63, + "programVocabulary": 20, + "volume": 272.28146997790384, + "difficulty": 7.666666666666667, + "effort": 2087.491269830596, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses": { + "line": 81, + "lineCount": 20, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 2, + "n2": 7, + "N1": 10, + "N2": 24, + "programLength": 34, + "programVocabulary": 9, + "volume": 107.7774500490386, + "difficulty": 3.4285714285714284, + "effort": 369.52268588241805, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass": { + "line": 109, + "lineCount": 9, + "argCount": 2, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 6, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 10, + "volume": 49.82892142331043, + "difficulty": 3.3333333333333335, + "effort": 166.09640474436813, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel": { + "line": 126, + "lineCount": 16, + "argCount": 2, + "returnCount": 4, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 12, + "N1": 9, + "N2": 18, + "programLength": 27, + "programVocabulary": 15, + "volume": 105.48604608143, + "difficulty": 2.25, + "effort": 237.3436036832175, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile": { + "line": 14, + "lineCount": 6, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 2, + "N2": 5, + "programLength": 7, + "programVocabulary": 4, + "volume": 14, + "difficulty": 2.5, + "effort": 35, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable": { + "line": 24, + "lineCount": 11, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 10, + "N2": 12, + "programLength": 22, + "programVocabulary": 8, + "volume": 66, + "difficulty": 6, + "effort": 396, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create": { + "line": 21, + "lineCount": 11, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 7, + "N1": 0, + "N2": 9, + "programLength": 9, + "programVocabulary": 7, + "volume": 25.26619429851844, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes": { + "line": 38, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 6, + "N1": 0, + "N2": 6, + "programLength": 6, + "programVocabulary": 6, + "volume": 15.509775004326936, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported": { + "line": 49, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 2, + "N2": 3, + "programLength": 5, + "programVocabulary": 4, + "volume": 10, + "difficulty": 1.5, + "effort": 15, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export": { + "line": 30, + "lineCount": 23, + "argCount": 2, + "returnCount": 0, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 16, + "N1": 10, + "N2": 33, + "programLength": 43, + "programVocabulary": 20, + "volume": 185.8429080801566, + "difficulty": 4.125, + "effort": 766.601995830646, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export": { + "line": 28, + "lineCount": 8, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 6, + "volume": 36.18947501009619, + "difficulty": 2.5, + "effort": 90.47368752524048, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape": { + "line": 37, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber": { + "line": 42, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml": { + "line": 52, + "lineCount": 50, + "argCount": 1, + "returnCount": 1, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 12, + "N1": 11, + "N2": 25, + "programLength": 36, + "programVocabulary": 17, + "volume": 147.14866228501222, + "difficulty": 5.208333333333334, + "effort": 766.3992827344388, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export": { + "line": 17, + "lineCount": 13, + "argCount": 2, + "returnCount": 0, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 8, + "N1": 7, + "N2": 14, + "programLength": 21, + "programVocabulary": 12, + "volume": 75.28421251514428, + "difficulty": 3.5, + "effort": 263.49474380300495, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export": { + "line": 48, + "lineCount": 8, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 6, + "volume": 36.18947501009619, + "difficulty": 2.5, + "effort": 90.47368752524048, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown": { + "line": 61, + "lineCount": 24, + "argCount": 1, + "returnCount": 1, + "variableCount": 6, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 6, + "n2": 16, + "N1": 19, + "N2": 41, + "programLength": 60, + "programVocabulary": 22, + "volume": 267.56589711823784, + "difficulty": 7.6875, + "effort": 2056.9128340964535, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow": { + "line": 94, + "lineCount": 21, + "argCount": 3, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 7, + "n2": 18, + "N1": 16, + "N2": 39, + "programLength": 55, + "programVocabulary": 25, + "volume": 255.41209043760983, + "difficulty": 7.583333333333333, + "effort": 1936.8750191518745, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::__construct": { + "line": 26, + "lineCount": 4, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::export": { + "line": 36, + "lineCount": 10, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 8, + "volume": 45, + "difficulty": 5, + "effort": 225, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::generateSvgTreemap": { + "line": 53, + "lineCount": 20, + "argCount": 1, + "returnCount": 1, + "variableCount": 6, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 8, + "N1": 9, + "N2": 20, + "programLength": 29, + "programVocabulary": 10, + "volume": 96.3359147517335, + "difficulty": 2.5, + "effort": 240.83978687933376, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::generateSvgTreemap" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRects": { + "line": 82, + "lineCount": 10, + "argCount": 3, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 9, + "N1": 6, + "N2": 18, + "programLength": 24, + "programVocabulary": 12, + "volume": 86.03910001730775, + "difficulty": 3, + "effort": 258.1173000519232, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRects" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRect": { + "line": 100, + "lineCount": 29, + "argCount": 2, + "returnCount": 1, + "variableCount": 12, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 6, + "n2": 28, + "N1": 26, + "N2": 54, + "programLength": 80, + "programVocabulary": 34, + "volume": 406.9970273000271, + "difficulty": 5.785714285714286, + "effort": 2354.7685150930142, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRect" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::wrapSvg": { + "line": 136, + "lineCount": 21, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 2, + "N2": 8, + "programLength": 10, + "programVocabulary": 4, + "volume": 20, + "difficulty": 1.3333333333333333, + "effort": 26.666666666666664, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::wrapSvg" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::prepareItems": { + "line": 28, + "lineCount": 18, + "argCount": 1, + "returnCount": 1, + "variableCount": 7, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 12, + "N1": 9, + "N2": 30, + "programLength": 39, + "programVocabulary": 17, + "volume": 159.41105080876324, + "difficulty": 6.25, + "effort": 996.3190675547702, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::prepareItems" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findScoreRange": { + "line": 53, + "lineCount": 16, + "argCount": 1, + "returnCount": 3, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 7, + "N2": 13, + "programLength": 20, + "programVocabulary": 8, + "volume": 60, + "difficulty": 3.9000000000000004, + "effort": 234.00000000000003, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findScoreRange" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::normalizeScore": { + "line": 78, + "lineCount": 8, + "argCount": 3, + "returnCount": 2, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 8, + "volume": 45, + "difficulty": 5, + "effort": 225, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::normalizeScore" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::scoreToColor": { + "line": 93, + "lineCount": 9, + "argCount": 1, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 5, + "n2": 9, + "N1": 12, + "N2": 16, + "programLength": 28, + "programVocabulary": 14, + "volume": 106.60593781761291, + "difficulty": 4.444444444444445, + "effort": 473.80416807827964, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::scoreToColor" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::calculateTreemapLayout": { + "line": 115, + "lineCount": 23, + "argCount": 7, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 9, + "N1": 2, + "N2": 18, + "programLength": 20, + "programVocabulary": 11, + "volume": 69.18863237274594, + "difficulty": 2, + "effort": 138.37726474549189, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::calculateTreemapLayout" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::layoutTreemap": { + "line": 152, + "lineCount": 89, + "argCount": 8, + "returnCount": 3, + "variableCount": 11, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 8, + "n2": 28, + "N1": 32, + "N2": 98, + "programLength": 130, + "programVocabulary": 36, + "volume": 672.0902501875006, + "difficulty": 14, + "effort": 9409.263502625008, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::layoutTreemap" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findSplitIndex": { + "line": 249, + "lineCount": 13, + "argCount": 2, + "returnCount": 2, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 7, + "n2": 10, + "N1": 9, + "N2": 23, + "programLength": 32, + "programVocabulary": 17, + "volume": 130.79881092001085, + "difficulty": 8.049999999999999, + "effort": 1052.9304279060873, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findSplitIndex" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::__construct": { + "line": 23, + "lineCount": 18, + "argCount": 1, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 7, + "N2": 11, + "programLength": 18, + "programVocabulary": 6, + "volume": 46.529325012980806, + "difficulty": 5.5, + "effort": 255.91128757139444, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::getAllClasses": { + "line": 47, + "lineCount": 17, + "argCount": 0, + "returnCount": 2, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 6, + "N2": 12, + "programLength": 18, + "programVocabulary": 9, + "volume": 57.05865002596162, + "difficulty": 3, + "effort": 171.17595007788486, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::getAllClasses" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::withClassNode": { + "line": 73, + "lineCount": 8, + "argCount": 2, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 4, + "N2": 8, + "programLength": 12, + "programVocabulary": 8, + "volume": 36, + "difficulty": 4, + "effort": 144, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::withClassNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::findClassNode": { + "line": 85, + "lineCount": 25, + "argCount": 1, + "returnCount": 4, + "variableCount": 5, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 13, + "N2": 29, + "programLength": 42, + "programVocabulary": 11, + "volume": 145.29612798276648, + "difficulty": 8.285714285714286, + "effort": 1203.8822032857795, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::findClassNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::escapeXPathValue": { + "line": 114, + "lineCount": 16, + "argCount": 1, + "returnCount": 3, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 9, + "N1": 11, + "N2": 18, + "programLength": 29, + "programVocabulary": 13, + "volume": 107.31275182609167, + "difficulty": 4, + "effort": 429.2510073043667, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::escapeXPathValue" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getLineCoverage": { + "line": 22, + "lineCount": 18, + "argCount": 1, + "returnCount": 4, + "variableCount": 5, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 9, + "N1": 10, + "N2": 19, + "programLength": 29, + "programVocabulary": 13, + "volume": 107.31275182609167, + "difficulty": 4.222222222222222, + "effort": 453.09828548794263, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getLineCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getBranchCoverage": { + "line": 48, + "lineCount": 18, + "argCount": 1, + "returnCount": 4, + "variableCount": 5, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 9, + "N1": 10, + "N2": 19, + "programLength": 29, + "programVocabulary": 13, + "volume": 107.31275182609167, + "difficulty": 4.222222222222222, + "effort": 453.09828548794263, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getBranchCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getComplexity": { + "line": 73, + "lineCount": 13, + "argCount": 1, + "returnCount": 3, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 7, + "N2": 14, + "programLength": 21, + "programVocabulary": 11, + "volume": 72.64806399138324, + "difficulty": 4, + "effort": 290.59225596553296, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getComplexity" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getCoverageDetails": { + "line": 93, + "lineCount": 26, + "argCount": 1, + "returnCount": 3, + "variableCount": 9, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 17, + "N1": 22, + "N2": 42, + "programLength": 64, + "programVocabulary": 22, + "volume": 285.403623592787, + "difficulty": 6.176470588235294, + "effort": 1762.7870868966259, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getCoverageDetails" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getMetricsNode": { + "line": 123, + "lineCount": 12, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 6, + "N1": 7, + "N2": 13, + "programLength": 20, + "programVocabulary": 10, + "volume": 66.43856189774725, + "difficulty": 4.333333333333333, + "effort": 287.90043489023805, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getMetricsNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getFilenameForClass": { + "line": 139, + "lineCount": 9, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 5, + "N1": 4, + "N2": 9, + "programLength": 13, + "programVocabulary": 9, + "volume": 41.209025018750054, + "difficulty": 3.6, + "effort": 148.3524900675002, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getFilenameForClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodsCoverage": { + "line": 154, + "lineCount": 36, + "argCount": 1, + "returnCount": 3, + "variableCount": 8, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 13, + "N1": 12, + "N2": 30, + "programLength": 42, + "programVocabulary": 16, + "volume": 168, + "difficulty": 3.4615384615384612, + "effort": 581.5384615384614, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodsCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::calculateMethodCoverage": { + "line": 194, + "lineCount": 15, + "argCount": 2, + "returnCount": 2, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 11, + "N1": 9, + "N2": 23, + "programLength": 32, + "programVocabulary": 16, + "volume": 128, + "difficulty": 5.227272727272727, + "effort": 669.090909090909, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::calculateMethodCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodCoverageFromLines": { + "line": 215, + "lineCount": 36, + "argCount": 2, + "returnCount": 1, + "variableCount": 7, + "propertyCallCount": 0, + "ifNestingLevel": 2, + "elseCount": 0, + "ifCount": 5, + "halstead": { + "n1": 2, + "n2": 14, + "N1": 12, + "N2": 35, + "programLength": 47, + "programVocabulary": 16, + "volume": 188, + "difficulty": 2.5, + "effort": 470, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodCoverageFromLines" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStart": { + "line": 252, + "lineCount": 4, + "argCount": 3, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 3, + "N2": 7, + "programLength": 10, + "programVocabulary": 6, + "volume": 25.84962500721156, + "difficulty": 1.75, + "effort": 45.23684376262023, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStart" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodEnd": { + "line": 257, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 5, + "programLength": 7, + "programVocabulary": 5, + "volume": 16.253496664211536, + "difficulty": 1.6666666666666667, + "effort": 27.089161107019226, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodEnd" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStatement": { + "line": 262, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 5, + "programLength": 7, + "programVocabulary": 5, + "volume": 16.253496664211536, + "difficulty": 1.6666666666666667, + "effort": 27.089161107019226, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStatement" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isStatementCovered": { + "line": 267, + "lineCount": 5, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 4, + "N1": 3, + "N2": 6, + "programLength": 9, + "programVocabulary": 7, + "volume": 25.26619429851844, + "difficulty": 2.25, + "effort": 56.848937171666485, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isStatementCovered" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getLineCoverage": { + "line": 20, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 9, + "volume": 44.37895002019237, + "difficulty": 2.5, + "effort": 110.94737505048093, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getLineCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getBranchCoverage": { + "line": 34, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 9, + "volume": 44.37895002019237, + "difficulty": 2.5, + "effort": 110.94737505048093, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getBranchCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getComplexity": { + "line": 48, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 9, + "volume": 44.37895002019237, + "difficulty": 2.5, + "effort": 110.94737505048093, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getComplexity" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getCoverageDetails": { + "line": 62, + "lineCount": 13, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 8, + "N1": 7, + "N2": 16, + "programLength": 23, + "programVocabulary": 9, + "volume": 72.90827503317318, + "difficulty": 1, + "effort": 72.90827503317318, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getCoverageDetails" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::extractMethodsCoverage": { + "line": 81, + "lineCount": 23, + "argCount": 1, + "returnCount": 2, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 11, + "N1": 10, + "N2": 23, + "programLength": 33, + "programVocabulary": 14, + "volume": 125.64271242790093, + "difficulty": 3.1363636363636362, + "effort": 394.061234432962, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::extractMethodsCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CodeCoverageFactory::createFromName": { + "line": 14, + "lineCount": 8, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 4, + "N1": 1, + "N2": 8, + "programLength": 9, + "programVocabulary": 5, + "volume": 20.89735285398626, + "difficulty": 1, + "effort": 20.89735285398626, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CodeCoverageFactory::createFromName" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::__construct": { + "line": 28, + "lineCount": 15, + "argCount": 6, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 6, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 7, + "N1": 6, + "N2": 18, + "programLength": 24, + "programVocabulary": 8, + "volume": 72, + "difficulty": 1.2857142857142858, + "effort": 92.57142857142858, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getName": { + "line": 44, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getName" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getFilename": { + "line": 49, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getFilename" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getLineRate": { + "line": 54, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getLineRate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getBranchRate": { + "line": 59, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getBranchRate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getComplexity": { + "line": 64, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getComplexity" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getMethods": { + "line": 72, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getMethods" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::__construct": { + "line": 17, + "lineCount": 11, + "argCount": 4, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 4, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 5, + "N1": 4, + "N2": 12, + "programLength": 16, + "programVocabulary": 6, + "volume": 41.3594000115385, + "difficulty": 1.2, + "effort": 49.631280013846194, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getName": { + "line": 29, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getName" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getLineRate": { + "line": 34, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getLineRate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getBranchRate": { + "line": 39, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getBranchRate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getComplexity": { + "line": 44, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getComplexity" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::calculateDeltas": { + "line": 19, + "lineCount": 14, + "argCount": 2, + "returnCount": 0, + "variableCount": 6, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 9, + "N1": 4, + "N2": 18, + "programLength": 22, + "programVocabulary": 11, + "volume": 76.10749561002054, + "difficulty": 2, + "effort": 152.21499122004107, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::calculateDeltas" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::loadBaseline": { + "line": 41, + "lineCount": 13, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 5, + "N2": 9, + "programLength": 14, + "programVocabulary": 8, + "volume": 42, + "difficulty": 2.7, + "effort": 113.4, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::loadBaseline" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::__construct": { + "line": 72, + "lineCount": 21, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 6, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 9, + "N1": 12, + "N2": 34, + "programLength": 46, + "programVocabulary": 12, + "volume": 164.90827503317317, + "difficulty": 5.666666666666666, + "effort": 934.4802251879812, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setRequiredMetricProperties": { + "line": 98, + "lineCount": 30, + "argCount": 1, + "returnCount": 0, + "variableCount": 6, + "propertyCallCount": 9, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 21, + "N1": 21, + "N2": 51, + "programLength": 72, + "programVocabulary": 24, + "volume": 330.1173000519232, + "difficulty": 3.6428571428571423, + "effort": 1202.570164474863, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setRequiredMetricProperties" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setOptionalMetricProperties": { + "line": 133, + "lineCount": 12, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 8, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 11, + "N1": 16, + "N2": 33, + "programLength": 49, + "programVocabulary": 13, + "volume": 181.32154618891352, + "difficulty": 3, + "effort": 543.9646385667405, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setOptionalMetricProperties" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setTimesChanged": { + "line": 146, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setTimesChanged" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertSame": { + "line": 151, + "lineCount": 14, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 6, + "N2": 8, + "programLength": 14, + "programVocabulary": 5, + "volume": 32.50699332842307, + "difficulty": 2.6666666666666665, + "effort": 86.68531554246152, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertSame" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::calculateDeltas": { + "line": 169, + "lineCount": 13, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 16, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 17, + "N2": 27, + "programLength": 44, + "programVocabulary": 4, + "volume": 88, + "difficulty": 13.5, + "effort": 1188, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::calculateDeltas" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::fromArray": { + "line": 187, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::fromArray" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertArrayKeyIsPresent": { + "line": 197, + "lineCount": 6, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 5, + "programLength": 5, + "programVocabulary": 2, + "volume": 5, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertArrayKeyIsPresent" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getClass": { + "line": 204, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getMethod": { + "line": 209, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getMethod" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCount": { + "line": 214, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCount": { + "line": 219, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCount": { + "line": 224, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCount": { + "line": 229, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCount": { + "line": 234, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCount": { + "line": 239, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevel": { + "line": 244, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevel" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCount": { + "line": 249, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeight": { + "line": 254, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setLineCountWeight": { + "line": 259, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setLineCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeight": { + "line": 264, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setArgCountWeight": { + "line": 269, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setArgCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeight": { + "line": 274, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setReturnCountWeight": { + "line": 279, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setReturnCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeight": { + "line": 284, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setVariableCountWeight": { + "line": 289, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setVariableCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeight": { + "line": 294, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setPropertyCallCountWeight": { + "line": 299, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setPropertyCallCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeight": { + "line": 304, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfCountWeight": { + "line": 309, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeight": { + "line": 314, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfNestingLevelWeight": { + "line": 319, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfNestingLevelWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeight": { + "line": 324, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setElseCountWeight": { + "line": 329, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setElseCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setScore": { + "line": 334, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setScore" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getScore": { + "line": 339, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getScore" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setCoverage": { + "line": 344, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCoverage": { + "line": 349, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeightDelta": { + "line": 354, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeightDelta": { + "line": 359, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeightDelta": { + "line": 364, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeightDelta": { + "line": 369, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeightDelta": { + "line": 374, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeightDelta": { + "line": 379, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeightDelta": { + "line": 384, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeightDelta": { + "line": 389, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getTimesChanged": { + "line": 394, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 2, + "programLength": 3, + "programVocabulary": 3, + "volume": 4.754887502163468, + "difficulty": 0.5, + "effort": 2.377443751081734, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getTimesChanged" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getFileName": { + "line": 399, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getFileName" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLine": { + "line": 404, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLine" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::equals": { + "line": 409, + "lineCount": 5, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 2, + "N1": 5, + "N2": 5, + "programLength": 10, + "programVocabulary": 5, + "volume": 23.21928094887362, + "difficulty": 3.75, + "effort": 87.07230355827608, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::equals" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::toArray": { + "line": 418, + "lineCount": 34, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 29, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 30, + "N1": 0, + "N2": 58, + "programLength": 58, + "programVocabulary": 30, + "volume": 284.5996545452941, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::toArray" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::jsonSerialize": { + "line": 456, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::jsonSerialize" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getHalstead": { + "line": 464, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getHalstead" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCyclomatic": { + "line": 472, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCyclomatic" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::add": { + "line": 30, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 5, + "N2": 6, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 3, + "effort": 85.30376252379816, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::add" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filter": { + "line": 40, + "lineCount": 11, + "argCount": 1, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 8, + "volume": 42, + "difficulty": 3, + "effort": 126, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filter" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getIterator": { + "line": 57, + "lineCount": 5, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getIterator" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::count": { + "line": 66, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::count" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterWithScoreGreaterThan": { + "line": 71, + "lineCount": 6, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 3, + "N2": 6, + "programLength": 9, + "programVocabulary": 5, + "volume": 20.89735285398626, + "difficulty": 2, + "effort": 41.79470570797252, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterWithScoreGreaterThan" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::contains": { + "line": 78, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 4, + "N2": 5, + "programLength": 9, + "programVocabulary": 5, + "volume": 20.89735285398626, + "difficulty": 1.6666666666666667, + "effort": 34.82892142331043, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::contains" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getClassWithMethod": { + "line": 83, + "lineCount": 9, + "argCount": 2, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 3, + "N2": 10, + "programLength": 13, + "programVocabulary": 7, + "volume": 36.49561398674886, + "difficulty": 2, + "effort": 72.99122797349771, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getClassWithMethod" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterByClassName": { + "line": 93, + "lineCount": 6, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 3, + "N2": 6, + "programLength": 9, + "programVocabulary": 5, + "volume": 20.89735285398626, + "difficulty": 2, + "effort": 41.79470570797252, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterByClassName" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::assertMetricHasGetter": { + "line": 100, + "lineCount": 9, + "argCount": 3, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 6, + "programLength": 7, + "programVocabulary": 4, + "volume": 14, + "difficulty": 1, + "effort": 14, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::assertMetricHasGetter" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::groupBy": { + "line": 117, + "lineCount": 20, + "argCount": 1, + "returnCount": 1, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 10, + "N2": 23, + "programLength": 33, + "programVocabulary": 11, + "volume": 114.16124341503081, + "difficulty": 6.571428571428571, + "effort": 750.2024567273453, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::groupBy" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::jsonSerialize": { + "line": 141, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::jsonSerialize" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::__construct": { + "line": 32, + "lineCount": 8, + "argCount": 5, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 5, + "N1": 0, + "N2": 5, + "programLength": 5, + "programVocabulary": 5, + "volume": 11.60964047443681, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collect": { + "line": 49, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 5, + "programLength": 6, + "programVocabulary": 4, + "volume": 12, + "difficulty": 0.8333333333333334, + "effort": 10, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collect" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collectFromPaths": { + "line": 62, + "lineCount": 13, + "argCount": 2, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 8, + "N2": 16, + "programLength": 24, + "programVocabulary": 9, + "volume": 76.07820003461549, + "difficulty": 4, + "effort": 304.31280013846197, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collectFromPaths" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCodeFromFile": { + "line": 79, + "lineCount": 10, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 2, + "N1": 5, + "N2": 6, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 6, + "effort": 170.6075250475963, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCodeFromFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findMetrics": { + "line": 98, + "lineCount": 31, + "argCount": 1, + "returnCount": 1, + "variableCount": 9, + "propertyCallCount": 2, + "ifNestingLevel": 2, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 13, + "N1": 18, + "N2": 38, + "programLength": 56, + "programVocabulary": 16, + "volume": 224, + "difficulty": 4.384615384615384, + "effort": 982.1538461538461, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findMetrics" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processMethodMetrics": { + "line": 136, + "lineCount": 29, + "argCount": 3, + "returnCount": 1, + "variableCount": 7, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 14, + "N1": 8, + "N2": 27, + "programLength": 35, + "programVocabulary": 17, + "volume": 143.06119944376186, + "difficulty": 2.892857142857143, + "effort": 413.8556126765968, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processMethodMetrics" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::isExcluded": { + "line": 166, + "lineCount": 12, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 5, + "N1": 5, + "N2": 9, + "programLength": 14, + "programVocabulary": 9, + "volume": 44.37895002019237, + "difficulty": 3.6, + "effort": 159.76422007269252, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::isExcluded" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findSourceFiles": { + "line": 187, + "lineCount": 7, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 2, + "N2": 6, + "programLength": 8, + "programVocabulary": 6, + "volume": 20.67970000576925, + "difficulty": 1.5, + "effort": 31.019550008653873, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findSourceFiles" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getProjectRoot": { + "line": 202, + "lineCount": 13, + "argCount": 0, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 2, + "N1": 8, + "N2": 8, + "programLength": 16, + "programVocabulary": 6, + "volume": 41.3594000115385, + "difficulty": 8, + "effort": 330.875200092308, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getProjectRoot" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateCacheKey": { + "line": 219, + "lineCount": 7, + "argCount": 2, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 6, + "N1": 10, + "N2": 12, + "programLength": 22, + "programVocabulary": 10, + "volume": 73.08241808752197, + "difficulty": 4, + "effort": 292.3296723500879, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateCacheKey" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateConfigHash": { + "line": 230, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 1, + "N1": 3, + "N2": 2, + "programLength": 5, + "programVocabulary": 3, + "volume": 7.92481250360578, + "difficulty": 2, + "effort": 15.84962500721156, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateConfigHash" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::cacheResult": { + "line": 239, + "lineCount": 14, + "argCount": 4, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 13, + "N1": 5, + "N2": 20, + "programLength": 25, + "programVocabulary": 15, + "volume": 97.67226489021297, + "difficulty": 1.5384615384615385, + "effort": 150.26502290801997, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::cacheResult" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::clearCache": { + "line": 254, + "lineCount": 4, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::clearCache" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::normalizeFilename": { + "line": 264, + "lineCount": 15, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 6, + "n2": 7, + "N1": 12, + "N2": 16, + "programLength": 28, + "programVocabulary": 13, + "volume": 103.61231210795059, + "difficulty": 6.857142857142857, + "effort": 710.4844258830897, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::normalizeFilename" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCachedMetrics": { + "line": 286, + "lineCount": 19, + "argCount": 3, + "returnCount": 3, + "variableCount": 4, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 11, + "N1": 10, + "N2": 29, + "programLength": 39, + "programVocabulary": 14, + "volume": 148.48684196024655, + "difficulty": 3.954545454545454, + "effort": 587.1979659337022, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCachedMetrics" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processFile": { + "line": 312, + "lineCount": 37, + "argCount": 5, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 7, + "n2": 10, + "N1": 12, + "N2": 28, + "programLength": 40, + "programVocabulary": 17, + "volume": 163.49851365001356, + "difficulty": 9.799999999999999, + "effort": 1602.2854337701328, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::sort": { + "line": 51, + "lineCount": 41, + "argCount": 3, + "returnCount": 2, + "variableCount": 10, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 18, + "N1": 20, + "N2": 43, + "programLength": 63, + "programVocabulary": 22, + "volume": 280.9441919741497, + "difficulty": 4.777777777777778, + "effort": 1342.2889172098264, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::sort" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getFieldValue": { + "line": 100, + "lineCount": 28, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 25, + "N1": 24, + "N2": 50, + "programLength": 74, + "programVocabulary": 27, + "volume": 351.86167516009664, + "difficulty": 2, + "effort": 703.7233503201933, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getFieldValue" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::compareValues": { + "line": 136, + "lineCount": 13, + "argCount": 2, + "returnCount": 3, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 2, + "N1": 9, + "N2": 12, + "programLength": 21, + "programVocabulary": 5, + "volume": 48.760489992634604, + "difficulty": 9, + "effort": 438.8444099337114, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::compareValues" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getSortableFields": { + "line": 155, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 0, + "N1": 0, + "N2": 0, + "programLength": 0, + "programVocabulary": 0, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getSortableFields" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__construct": { + "line": 15, + "lineCount": 11, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 7, + "N2": 12, + "programLength": 19, + "programVocabulary": 6, + "volume": 49.11428751370197, + "difficulty": 6, + "effort": 294.6857250822118, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::getValue": { + "line": 27, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::getValue" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasIncreased": { + "line": 32, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasIncreased" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__toString": { + "line": 37, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__toString" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasNotChanged": { + "line": 42, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 2, + "programLength": 3, + "programVocabulary": 3, + "volume": 4.754887502163468, + "difficulty": 0.5, + "effort": 2.377443751081734, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasNotChanged" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\FileProcessed::__construct": { + "line": 14, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\FileProcessed::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\ParserFailed::__construct": { + "line": 15, + "lineCount": 5, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\ParserFailed::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\SourceFilesFound::__construct": { + "line": 17, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\SourceFilesFound::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::__construct": { + "line": 15, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::create": { + "line": 27, + "lineCount": 10, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 6, + "N1": 0, + "N2": 8, + "programLength": 8, + "programVocabulary": 6, + "volume": 20.67970000576925, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::create" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::getSupportedTypes": { + "line": 43, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 4, + "N1": 0, + "N2": 4, + "programLength": 4, + "programVocabulary": 4, + "volume": 8, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::getSupportedTypes" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::isSupported": { + "line": 54, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 2, + "N2": 3, + "programLength": 5, + "programVocabulary": 4, + "volume": 10, + "difficulty": 1.5, + "effort": 15, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::isSupported" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CsvExporter::export": { + "line": 46, + "lineCount": 57, + "argCount": 2, + "returnCount": 0, + "variableCount": 6, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 15, + "N1": 37, + "N2": 54, + "programLength": 91, + "programVocabulary": 19, + "volume": 386.56140372336625, + "difficulty": 7.2, + "effort": 2783.242106808237, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CsvExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::export": { + "line": 40, + "lineCount": 8, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 5, + "N1": 4, + "N2": 8, + "programLength": 12, + "programVocabulary": 9, + "volume": 38.039100017307746, + "difficulty": 3.2, + "effort": 121.72512005538479, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::escape": { + "line": 49, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::escape" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::formatNumber": { + "line": 54, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::formatNumber" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::generateMetricRow": { + "line": 59, + "lineCount": 12, + "argCount": 3, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 16, + "N1": 19, + "N2": 27, + "programLength": 46, + "programVocabulary": 21, + "volume": 202.04660144782298, + "difficulty": 4.21875, + "effort": 852.3840998580032, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::generateMetricRow" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::generateHtml": { + "line": 78, + "lineCount": 64, + "argCount": 1, + "returnCount": 1, + "variableCount": 7, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 11, + "N1": 46, + "N2": 57, + "programLength": 103, + "programVocabulary": 15, + "volume": 402.40973134767745, + "difficulty": 10.363636363636363, + "effort": 4170.42812487593, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::generateHtml" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\JsonExporter::export": { + "line": 19, + "lineCount": 38, + "argCount": 2, + "returnCount": 0, + "variableCount": 5, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 27, + "N1": 29, + "N2": 58, + "programLength": 87, + "programVocabulary": 32, + "volume": 435, + "difficulty": 5.370370370370371, + "effort": 2336.1111111111113, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\JsonExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::__construct": { + "line": 24, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::export": { + "line": 36, + "lineCount": 8, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "cyclomatic_complexity": { + "complexity": 2, + "risk_level": "low" + }, + "halstead": { + "n1": 4, + "n2": 5, + "N1": 4, + "N2": 8, + "programLength": 12, + "programVocabulary": 9, + "volume": 38.039100017307746, + "difficulty": 3.2, + "effort": 121.72512005538479, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::escape": { + "line": 48, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::escape" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateMetricCell": { + "line": 56, + "lineCount": 12, + "argCount": 3, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "cyclomatic_complexity": { + "complexity": 3, + "risk_level": "low" + }, + "halstead": { + "n1": 5, + "n2": 12, + "N1": 16, + "N2": 24, + "programLength": 40, + "programVocabulary": 17, + "volume": 163.49851365001356, + "difficulty": 5, + "effort": 817.4925682500678, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateMetricCell" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::filterMetrics": { + "line": 75, + "lineCount": 15, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "cyclomatic_complexity": { + "complexity": 4, + "risk_level": "low" + }, + "halstead": { + "n1": 3, + "n2": 4, + "N1": 4, + "N2": 11, + "programLength": 15, + "programVocabulary": 7, + "volume": 42.11032383086406, + "difficulty": 4.125, + "effort": 173.70508580231424, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::filterMetrics" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableHeader": { + "line": 94, + "lineCount": 33, + "argCount": 0, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 4, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "cyclomatic_complexity": { + "complexity": 4, + "risk_level": "low" + }, + "halstead": { + "n1": 3, + "n2": 19, + "N1": 10, + "N2": 28, + "programLength": 38, + "programVocabulary": 22, + "volume": 169.4584015082173, + "difficulty": 2.2105263157894735, + "effort": 374.5922559655329, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableHeader" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableHeaderWithClass": { + "line": 131, + "lineCount": 33, + "argCount": 0, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 4, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "cyclomatic_complexity": { + "complexity": 4, + "risk_level": "low" + }, + "halstead": { + "n1": 3, + "n2": 20, + "N1": 10, + "N2": 29, + "programLength": 39, + "programVocabulary": 23, + "volume": 176.41891628622352, + "difficulty": 2.175, + "effort": 383.7111429225361, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableHeaderWithClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableSeparator": { + "line": 168, + "lineCount": 20, + "argCount": 0, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 4, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "cyclomatic_complexity": { + "complexity": 4, + "risk_level": "low" + }, + "halstead": { + "n1": 3, + "n2": 7, + "N1": 3, + "N2": 16, + "programLength": 19, + "programVocabulary": 10, + "volume": 63.11663380285988, + "difficulty": 3.4285714285714284, + "effort": 216.399887324091, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableSeparator" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableSeparatorWithClass": { + "line": 192, + "lineCount": 20, + "argCount": 0, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 4, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "cyclomatic_complexity": { + "complexity": 4, + "risk_level": "low" + }, + "halstead": { + "n1": 3, + "n2": 8, + "N1": 3, + "N2": 16, + "programLength": 19, + "programVocabulary": 11, + "volume": 65.72920075410865, + "difficulty": 3, + "effort": 197.18760226232592, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableSeparatorWithClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableRow": { + "line": 216, + "lineCount": 22, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "cyclomatic_complexity": { + "complexity": 2, + "risk_level": "low" + }, + "halstead": { + "n1": 4, + "n2": 6, + "N1": 53, + "N2": 60, + "programLength": 113, + "programVocabulary": 10, + "volume": 375.37787472227194, + "difficulty": 20, + "effort": 7507.557494445438, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableRow" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableRowWithClass": { + "line": 242, + "lineCount": 25, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "cyclomatic_complexity": { + "complexity": 2, + "risk_level": "low" + }, + "halstead": { + "n1": 4, + "n2": 6, + "N1": 55, + "N2": 62, + "programLength": 117, + "programVocabulary": 10, + "volume": 388.66558710182136, + "difficulty": 20.666666666666668, + "effort": 8032.422133437642, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableRowWithClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::addHalsteadCells": { + "line": 274, + "lineCount": 20, + "argCount": 2, + "returnCount": 3, + "variableCount": 2, + "propertyCallCount": 5, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "cyclomatic_complexity": { + "complexity": 3, + "risk_level": "low" + }, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 12, + "N2": 24, + "programLength": 36, + "programVocabulary": 8, + "volume": 108, + "difficulty": 7.199999999999999, + "effort": 777.5999999999999, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::addHalsteadCells" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::addCyclomaticCell": { + "line": 301, + "lineCount": 16, + "argCount": 2, + "returnCount": 3, + "variableCount": 2, + "propertyCallCount": 4, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "cyclomatic_complexity": { + "complexity": 3, + "risk_level": "low" + }, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 8, + "N2": 16, + "programLength": 24, + "programVocabulary": 11, + "volume": 83.02635884729514, + "difficulty": 4.571428571428571, + "effort": 379.5490690162063, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::addCyclomaticCell" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateMarkdown": { + "line": 325, + "lineCount": 8, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "cyclomatic_complexity": { + "complexity": 2, + "risk_level": "low" + }, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 2, + "N2": 6, + "programLength": 8, + "programVocabulary": 3, + "volume": 12.679700005769249, + "difficulty": 1.5, + "effort": 19.019550008653873, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateMarkdown" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateGroupedMarkdown": { + "line": 337, + "lineCount": 49, + "argCount": 1, + "returnCount": 1, + "variableCount": 10, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "cyclomatic_complexity": { + "complexity": 7, + "risk_level": "medium" + }, + "halstead": { + "n1": 8, + "n2": 23, + "N1": 33, + "N2": 65, + "programLength": 98, + "programVocabulary": 31, + "volume": 485.5112384179137, + "difficulty": 11.304347826086957, + "effort": 5488.387912550329, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateGroupedMarkdown" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateSingleTableMarkdown": { + "line": 390, + "lineCount": 28, + "argCount": 1, + "returnCount": 1, + "variableCount": 6, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "cyclomatic_complexity": { + "complexity": 4, + "risk_level": "low" + }, + "halstead": { + "n1": 6, + "n2": 13, + "N1": 19, + "N2": 37, + "programLength": 56, + "programVocabulary": 19, + "volume": 237.88394075284077, + "difficulty": 8.538461538461538, + "effort": 2031.1628787357943, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateSingleTableMarkdown" + } + } + }, + "ignored_items": [], + "cached_at": 1759967601 +} \ No newline at end of file diff --git a/.phpcca.cache/b9/b9182645d874577019950161800ea61e.cache b/.phpcca.cache/b9/b9182645d874577019950161800ea61e.cache new file mode 100644 index 0000000..bcb0e0b --- /dev/null +++ b/.phpcca.cache/b9/b9182645d874577019950161800ea61e.cache @@ -0,0 +1,1421 @@ +{ + "version": "1.0", + "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/Command\/Presentation\/CognitiveMetricSummaryTextRenderer.php", + "file_mtime": 1759791861, + "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", + "analysis_result": { + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::__construct": { + "line": 26, + "lineCount": 5, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 4, + "N1": 3, + "N2": 6, + "programLength": 9, + "programVocabulary": 7, + "volume": 25.26619429851844, + "difficulty": 2.25, + "effort": 56.848937171666485, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItem": { + "line": 35, + "lineCount": 15, + "argCount": 1, + "returnCount": 3, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 6, + "N2": 13, + "programLength": 19, + "programVocabulary": 8, + "volume": 57, + "difficulty": 6.5, + "effort": 370.5, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItem" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItems": { + "line": 55, + "lineCount": 9, + "argCount": 1, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 3, + "N2": 9, + "programLength": 12, + "programVocabulary": 6, + "volume": 31.019550008653873, + "difficulty": 2.25, + "effort": 69.79398751947122, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItems" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::hasItem": { + "line": 68, + "lineCount": 6, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 5, + "n2": 3, + "N1": 6, + "N2": 7, + "programLength": 13, + "programVocabulary": 8, + "volume": 39, + "difficulty": 5.833333333333334, + "effort": 227.50000000000003, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::hasItem" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::clear": { + "line": 75, + "lineCount": 10, + "argCount": 0, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 2, + "N2": 4, + "programLength": 6, + "programVocabulary": 3, + "volume": 9.509775004326936, + "difficulty": 1, + "effort": 9.509775004326936, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::clear" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItem": { + "line": 89, + "lineCount": 10, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 4, + "N2": 6, + "programLength": 10, + "programVocabulary": 6, + "volume": 25.84962500721156, + "difficulty": 3, + "effort": 77.54887502163469, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItem" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItems": { + "line": 103, + "lineCount": 10, + "argCount": 1, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 3, + "N2": 8, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 2, + "effort": 56.86917501586544, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItems" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::save": { + "line": 117, + "lineCount": 11, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 4, + "N1": 9, + "N2": 12, + "programLength": 21, + "programVocabulary": 7, + "volume": 58.95445336320969, + "difficulty": 4.5, + "effort": 265.2950401344436, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::save" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveDeferred": { + "line": 129, + "lineCount": 6, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveDeferred" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::commit": { + "line": 136, + "lineCount": 11, + "argCount": 0, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 4, + "N2": 8, + "programLength": 12, + "programVocabulary": 5, + "volume": 27.863137138648348, + "difficulty": 2.6666666666666665, + "effort": 74.30169903639559, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::commit" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::ensureCacheDirectory": { + "line": 152, + "lineCount": 9, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 3, + "N2": 4, + "programLength": 7, + "programVocabulary": 4, + "volume": 14, + "difficulty": 2, + "effort": 28, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::ensureCacheDirectory" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getCacheFilePath": { + "line": 168, + "lineCount": 15, + "argCount": 1, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 10, + "N1": 13, + "N2": 19, + "programLength": 32, + "programVocabulary": 14, + "volume": 121.83535750584333, + "difficulty": 3.8, + "effort": 462.9743585222046, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getCacheFilePath" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::loadCacheData": { + "line": 187, + "lineCount": 14, + "argCount": 1, + "returnCount": 3, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 6, + "N2": 8, + "programLength": 14, + "programVocabulary": 6, + "volume": 36.18947501009619, + "difficulty": 4, + "effort": 144.75790004038475, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::loadCacheData" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveCacheData": { + "line": 209, + "lineCount": 21, + "argCount": 2, + "returnCount": 3, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 6, + "n2": 7, + "N1": 13, + "N2": 17, + "programLength": 30, + "programVocabulary": 13, + "volume": 111.01319154423277, + "difficulty": 7.285714285714285, + "effort": 808.810395536553, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveCacheData" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::sanitizeUtf8": { + "line": 234, + "lineCount": 25, + "argCount": 1, + "returnCount": 4, + "variableCount": 6, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 8, + "N1": 13, + "N2": 29, + "programLength": 42, + "programVocabulary": 11, + "volume": 145.29612798276648, + "difficulty": 5.4375, + "effort": 790.0476959062927, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::sanitizeUtf8" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::removeDirectory": { + "line": 260, + "lineCount": 23, + "argCount": 1, + "returnCount": 2, + "variableCount": 5, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 5, + "n2": 9, + "N1": 13, + "N2": 20, + "programLength": 33, + "programVocabulary": 14, + "volume": 125.64271242790093, + "difficulty": 5.555555555555555, + "effort": 698.0150690438941, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::removeDirectory" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::__construct": { + "line": 42, + "lineCount": 7, + "argCount": 3, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 3, + "N1": 0, + "N2": 3, + "programLength": 3, + "programVocabulary": 3, + "volume": 4.754887502163468, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::configure": { + "line": 53, + "lineCount": 57, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 15, + "N1": 9, + "N2": 16, + "programLength": 25, + "programVocabulary": 16, + "volume": 100, + "difficulty": 0.5333333333333333, + "effort": 53.333333333333336, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::configure" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::execute": { + "line": 119, + "lineCount": 43, + "argCount": 2, + "returnCount": 5, + "variableCount": 9, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 4, + "halstead": { + "n1": 7, + "n2": 14, + "N1": 31, + "N2": 45, + "programLength": 76, + "programVocabulary": 21, + "volume": 333.8161241311858, + "difficulty": 11.25, + "effort": 3755.4313964758403, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::execute" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::loadCoverageReader": { + "line": 171, + "lineCount": 32, + "argCount": 3, + "returnCount": 4, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 2, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 4, + "n2": 9, + "N1": 9, + "N2": 21, + "programLength": 30, + "programVocabulary": 13, + "volume": 111.01319154423277, + "difficulty": 4.666666666666667, + "effort": 518.0615605397529, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::loadCoverageReader" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::detectCoverageFormat": { + "line": 207, + "lineCount": 19, + "argCount": 1, + "returnCount": 4, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 9, + "volume": 47.548875021634686, + "difficulty": 2.5, + "effort": 118.87218755408671, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::detectCoverageFormat" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::coverageFileExists": { + "line": 227, + "lineCount": 20, + "argCount": 2, + "returnCount": 3, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 4, + "N2": 7, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 3.5, + "effort": 99.52105627776452, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::coverageFileExists" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::__construct": { + "line": 49, + "lineCount": 10, + "argCount": 6, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 6, + "N1": 0, + "N2": 6, + "programLength": 6, + "programVocabulary": 6, + "volume": 15.509775004326936, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::configure": { + "line": 63, + "lineCount": 76, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 20, + "N1": 13, + "N2": 20, + "programLength": 33, + "programVocabulary": 21, + "volume": 144.94647495169912, + "difficulty": 0.5, + "effort": 72.47323747584956, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::configure" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::execute": { + "line": 150, + "lineCount": 52, + "argCount": 2, + "returnCount": 5, + "variableCount": 11, + "propertyCallCount": 6, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 7, + "halstead": { + "n1": 6, + "n2": 15, + "N1": 43, + "N2": 61, + "programLength": 104, + "programVocabulary": 21, + "volume": 456.80101196899113, + "difficulty": 12.2, + "effort": 5572.972346021692, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::execute" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::parsePaths": { + "line": 209, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 4, + "N2": 8, + "programLength": 12, + "programVocabulary": 7, + "volume": 33.68825906469125, + "difficulty": 1.6, + "effort": 53.901214503506004, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::parsePaths" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleBaseLine": { + "line": 224, + "lineCount": 8, + "argCount": 2, + "returnCount": 0, + "variableCount": 3, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 5, + "N2": 11, + "programLength": 16, + "programVocabulary": 7, + "volume": 44.91767875292167, + "difficulty": 2.2, + "effort": 98.81889325642767, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleBaseLine" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleCoverageOptions": { + "line": 238, + "lineCount": 20, + "argCount": 2, + "returnCount": 3, + "variableCount": 5, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 5, + "n2": 10, + "N1": 15, + "N2": 25, + "programLength": 40, + "programVocabulary": 15, + "volume": 156.27562382434076, + "difficulty": 6.25, + "effort": 976.7226489021298, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleCoverageOptions" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::applySorting": { + "line": 264, + "lineCount": 21, + "argCount": 3, + "returnCount": 3, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 15, + "N1": 16, + "N2": 32, + "programLength": 48, + "programVocabulary": 20, + "volume": 207.45254855459342, + "difficulty": 5.333333333333333, + "effort": 1106.4135922911648, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::applySorting" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadConfiguration": { + "line": 293, + "lineCount": 10, + "argCount": 2, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 6, + "N1": 5, + "N2": 9, + "programLength": 14, + "programVocabulary": 8, + "volume": 42, + "difficulty": 1.5, + "effort": 63, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadConfiguration" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadCoverageReader": { + "line": 313, + "lineCount": 28, + "argCount": 3, + "returnCount": 4, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 2, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 10, + "N2": 18, + "programLength": 28, + "programVocabulary": 11, + "volume": 96.86408532184433, + "difficulty": 5.142857142857143, + "effort": 498.15815308377086, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadCoverageReader" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::detectCoverageFormat": { + "line": 345, + "lineCount": 19, + "argCount": 1, + "returnCount": 4, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 9, + "volume": 47.548875021634686, + "difficulty": 2.5, + "effort": 118.87218755408671, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::detectCoverageFormat" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::coverageFileExists": { + "line": 365, + "lineCount": 20, + "argCount": 2, + "returnCount": 3, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 4, + "N2": 7, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 3.5, + "effort": 99.52105627776452, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::coverageFileExists" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__construct": { + "line": 12, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__invoke": { + "line": 17, + "lineCount": 22, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 3, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 10, + "N2": 11, + "programLength": 21, + "programVocabulary": 7, + "volume": 58.95445336320969, + "difficulty": 2.2, + "effort": 129.6997973990613, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__invoke" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__construct": { + "line": 21, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__invoke": { + "line": 26, + "lineCount": 11, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 4, + "N2": 9, + "programLength": 13, + "programVocabulary": 4, + "volume": 26, + "difficulty": 4.5, + "effort": 117, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__invoke" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleSourceFilesFound": { + "line": 38, + "lineCount": 6, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 4, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 6, + "N2": 10, + "programLength": 16, + "programVocabulary": 8, + "volume": 48, + "difficulty": 5, + "effort": 240, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleSourceFilesFound" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleFileProcessed": { + "line": 45, + "lineCount": 5, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleFileProcessed" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleAllFilesProcessed": { + "line": 51, + "lineCount": 6, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 3, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 3, + "N2": 5, + "programLength": 8, + "programVocabulary": 5, + "volume": 18.575424759098897, + "difficulty": 1.6666666666666667, + "effort": 30.95904126516483, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleAllFilesProcessed" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__construct": { + "line": 20, + "lineCount": 5, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__invoke": { + "line": 26, + "lineCount": 17, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 5, + "n2": 8, + "N1": 17, + "N2": 17, + "programLength": 34, + "programVocabulary": 13, + "volume": 125.81495041679713, + "difficulty": 5.3125, + "effort": 668.3919240892347, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__invoke" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::formatBytes": { + "line": 50, + "lineCount": 12, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 7, + "n2": 13, + "N1": 10, + "N2": 22, + "programLength": 32, + "programVocabulary": 20, + "volume": 138.3016990363956, + "difficulty": 5.923076923076923, + "effort": 819.1716019848047, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::formatBytes" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::isDebugEnabled": { + "line": 66, + "lineCount": 5, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 1, + "N1": 4, + "N2": 2, + "programLength": 6, + "programVocabulary": 4, + "volume": 12, + "difficulty": 3, + "effort": 36, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::isDebugEnabled" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::__construct": { + "line": 20, + "lineCount": 6, + "argCount": 2, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 4, + "volume": 8, + "difficulty": 0.5, + "effort": 4, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::exportToFile": { + "line": 32, + "lineCount": 27, + "argCount": 3, + "returnCount": 4, + "variableCount": 2, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 1, + "n2": 6, + "N1": 6, + "N2": 19, + "programLength": 25, + "programVocabulary": 7, + "volume": 70.1838730514401, + "difficulty": 1.5833333333333333, + "effort": 111.12446566478016, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::exportToFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::hasIncompleteReportOptions": { + "line": 60, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 2, + "N1": 7, + "N2": 6, + "programLength": 13, + "programVocabulary": 6, + "volume": 33.60451250937503, + "difficulty": 6, + "effort": 201.62707505625016, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::hasIncompleteReportOptions" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::isValidReportType": { + "line": 65, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 2, + "N2": 4, + "programLength": 6, + "programVocabulary": 4, + "volume": 12, + "difficulty": 2, + "effort": 24, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::isValidReportType" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleExceptions": { + "line": 77, + "lineCount": 9, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 3, + "N2": 4, + "programLength": 7, + "programVocabulary": 5, + "volume": 16.253496664211536, + "difficulty": 1.3333333333333333, + "effort": 21.67132888561538, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleExceptions" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleInvalidReportType": { + "line": 91, + "lineCount": 11, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 5, + "N2": 8, + "programLength": 13, + "programVocabulary": 8, + "volume": 39, + "difficulty": 2.4000000000000004, + "effort": 93.60000000000001, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleInvalidReportType" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::__construct": { + "line": 15, + "lineCount": 5, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handle": { + "line": 24, + "lineCount": 27, + "argCount": 3, + "returnCount": 4, + "variableCount": 2, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 1, + "n2": 6, + "N1": 6, + "N2": 19, + "programLength": 25, + "programVocabulary": 7, + "volume": 70.1838730514401, + "difficulty": 1.5833333333333333, + "effort": 111.12446566478016, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handle" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::hasIncompleteReportOptions": { + "line": 52, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 2, + "N1": 7, + "N2": 6, + "programLength": 13, + "programVocabulary": 6, + "volume": 33.60451250937503, + "difficulty": 6, + "effort": 201.62707505625016, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::hasIncompleteReportOptions" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::isValidReportType": { + "line": 57, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 5, + "N1": 1, + "N2": 6, + "programLength": 7, + "programVocabulary": 6, + "volume": 18.094737505048094, + "difficulty": 0.6, + "effort": 10.856842503028856, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::isValidReportType" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handleExceptions": { + "line": 66, + "lineCount": 9, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 3, + "N2": 4, + "programLength": 7, + "programVocabulary": 5, + "volume": 16.253496664211536, + "difficulty": 1.3333333333333333, + "effort": 21.67132888561538, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handleExceptions" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handleInvalidReporType": { + "line": 80, + "lineCount": 9, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 4, + "programLength": 6, + "programVocabulary": 5, + "volume": 13.931568569324174, + "difficulty": 1.3333333333333333, + "effort": 18.575424759098897, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handleInvalidReporType" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::__construct": { + "line": 42, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::reportWritten": { + "line": 47, + "lineCount": 7, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 4, + "programLength": 6, + "programVocabulary": 5, + "volume": 13.931568569324174, + "difficulty": 1.3333333333333333, + "effort": 18.575424759098897, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::reportWritten" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::renderChurnTable": { + "line": 59, + "lineCount": 35, + "argCount": 1, + "returnCount": 0, + "variableCount": 6, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 8, + "n2": 18, + "N1": 21, + "N2": 53, + "programLength": 74, + "programVocabulary": 26, + "volume": 347.8325391424408, + "difficulty": 11.777777777777779, + "effort": 4096.694349899859, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::renderChurnTable" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricSummaryTextRenderer::__construct": { + "line": 18, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricSummaryTextRenderer::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricSummaryTextRenderer::render": { + "line": 23, + "lineCount": 32, + "argCount": 2, + "returnCount": 0, + "variableCount": 6, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "cyclomatic_complexity": { + "complexity": 5, + "risk_level": "low" + }, + "halstead": { + "n1": 6, + "n2": 16, + "N1": 27, + "N2": 38, + "programLength": 65, + "programVocabulary": 22, + "volume": 289.86305521142435, + "difficulty": 7.125, + "effort": 2065.2742683813985, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricSummaryTextRenderer::render" + } + } + }, + "ignored_items": [], + "cached_at": 1759967602 +} \ No newline at end of file diff --git a/.phpcca.cache/be/be27960f2a5e3e43ad5515c673773827.cache b/.phpcca.cache/be/be27960f2a5e3e43ad5515c673773827.cache new file mode 100644 index 0000000..a0a4424 --- /dev/null +++ b/.phpcca.cache/be/be27960f2a5e3e43ad5515c673773827.cache @@ -0,0 +1,2579 @@ +{ + "version": "1.0", + "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/Config\/ConfigService.php", + "file_mtime": 1759791861, + "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", + "analysis_result": { + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::__construct": { + "line": 26, + "lineCount": 5, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 4, + "N1": 3, + "N2": 6, + "programLength": 9, + "programVocabulary": 7, + "volume": 25.26619429851844, + "difficulty": 2.25, + "effort": 56.848937171666485, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItem": { + "line": 35, + "lineCount": 15, + "argCount": 1, + "returnCount": 3, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 6, + "N2": 13, + "programLength": 19, + "programVocabulary": 8, + "volume": 57, + "difficulty": 6.5, + "effort": 370.5, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItem" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItems": { + "line": 55, + "lineCount": 9, + "argCount": 1, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 3, + "N2": 9, + "programLength": 12, + "programVocabulary": 6, + "volume": 31.019550008653873, + "difficulty": 2.25, + "effort": 69.79398751947122, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItems" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::hasItem": { + "line": 68, + "lineCount": 6, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 5, + "n2": 3, + "N1": 6, + "N2": 7, + "programLength": 13, + "programVocabulary": 8, + "volume": 39, + "difficulty": 5.833333333333334, + "effort": 227.50000000000003, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::hasItem" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::clear": { + "line": 75, + "lineCount": 10, + "argCount": 0, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 2, + "N2": 4, + "programLength": 6, + "programVocabulary": 3, + "volume": 9.509775004326936, + "difficulty": 1, + "effort": 9.509775004326936, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::clear" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItem": { + "line": 89, + "lineCount": 10, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 4, + "N2": 6, + "programLength": 10, + "programVocabulary": 6, + "volume": 25.84962500721156, + "difficulty": 3, + "effort": 77.54887502163469, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItem" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItems": { + "line": 103, + "lineCount": 10, + "argCount": 1, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 3, + "N2": 8, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 2, + "effort": 56.86917501586544, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItems" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::save": { + "line": 117, + "lineCount": 11, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 4, + "N1": 9, + "N2": 12, + "programLength": 21, + "programVocabulary": 7, + "volume": 58.95445336320969, + "difficulty": 4.5, + "effort": 265.2950401344436, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::save" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveDeferred": { + "line": 129, + "lineCount": 6, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveDeferred" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::commit": { + "line": 136, + "lineCount": 11, + "argCount": 0, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 4, + "N2": 8, + "programLength": 12, + "programVocabulary": 5, + "volume": 27.863137138648348, + "difficulty": 2.6666666666666665, + "effort": 74.30169903639559, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::commit" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::ensureCacheDirectory": { + "line": 152, + "lineCount": 9, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 3, + "N2": 4, + "programLength": 7, + "programVocabulary": 4, + "volume": 14, + "difficulty": 2, + "effort": 28, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::ensureCacheDirectory" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getCacheFilePath": { + "line": 168, + "lineCount": 15, + "argCount": 1, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 10, + "N1": 13, + "N2": 19, + "programLength": 32, + "programVocabulary": 14, + "volume": 121.83535750584333, + "difficulty": 3.8, + "effort": 462.9743585222046, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getCacheFilePath" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::loadCacheData": { + "line": 187, + "lineCount": 14, + "argCount": 1, + "returnCount": 3, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 6, + "N2": 8, + "programLength": 14, + "programVocabulary": 6, + "volume": 36.18947501009619, + "difficulty": 4, + "effort": 144.75790004038475, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::loadCacheData" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveCacheData": { + "line": 209, + "lineCount": 21, + "argCount": 2, + "returnCount": 3, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 6, + "n2": 7, + "N1": 13, + "N2": 17, + "programLength": 30, + "programVocabulary": 13, + "volume": 111.01319154423277, + "difficulty": 7.285714285714285, + "effort": 808.810395536553, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveCacheData" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::sanitizeUtf8": { + "line": 234, + "lineCount": 25, + "argCount": 1, + "returnCount": 4, + "variableCount": 6, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 8, + "N1": 13, + "N2": 29, + "programLength": 42, + "programVocabulary": 11, + "volume": 145.29612798276648, + "difficulty": 5.4375, + "effort": 790.0476959062927, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::sanitizeUtf8" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::removeDirectory": { + "line": 260, + "lineCount": 23, + "argCount": 1, + "returnCount": 2, + "variableCount": 5, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 5, + "n2": 9, + "N1": 13, + "N2": 20, + "programLength": 33, + "programVocabulary": 14, + "volume": 125.64271242790093, + "difficulty": 5.555555555555555, + "effort": 698.0150690438941, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::removeDirectory" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::__construct": { + "line": 42, + "lineCount": 7, + "argCount": 3, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 3, + "N1": 0, + "N2": 3, + "programLength": 3, + "programVocabulary": 3, + "volume": 4.754887502163468, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::configure": { + "line": 53, + "lineCount": 57, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 15, + "N1": 9, + "N2": 16, + "programLength": 25, + "programVocabulary": 16, + "volume": 100, + "difficulty": 0.5333333333333333, + "effort": 53.333333333333336, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::configure" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::execute": { + "line": 119, + "lineCount": 43, + "argCount": 2, + "returnCount": 5, + "variableCount": 9, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 4, + "halstead": { + "n1": 7, + "n2": 14, + "N1": 31, + "N2": 45, + "programLength": 76, + "programVocabulary": 21, + "volume": 333.8161241311858, + "difficulty": 11.25, + "effort": 3755.4313964758403, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::execute" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::loadCoverageReader": { + "line": 171, + "lineCount": 32, + "argCount": 3, + "returnCount": 4, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 2, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 4, + "n2": 9, + "N1": 9, + "N2": 21, + "programLength": 30, + "programVocabulary": 13, + "volume": 111.01319154423277, + "difficulty": 4.666666666666667, + "effort": 518.0615605397529, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::loadCoverageReader" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::detectCoverageFormat": { + "line": 207, + "lineCount": 19, + "argCount": 1, + "returnCount": 4, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 9, + "volume": 47.548875021634686, + "difficulty": 2.5, + "effort": 118.87218755408671, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::detectCoverageFormat" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::coverageFileExists": { + "line": 227, + "lineCount": 20, + "argCount": 2, + "returnCount": 3, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 4, + "N2": 7, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 3.5, + "effort": 99.52105627776452, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::coverageFileExists" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::__construct": { + "line": 49, + "lineCount": 10, + "argCount": 6, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 6, + "N1": 0, + "N2": 6, + "programLength": 6, + "programVocabulary": 6, + "volume": 15.509775004326936, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::configure": { + "line": 63, + "lineCount": 76, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 20, + "N1": 13, + "N2": 20, + "programLength": 33, + "programVocabulary": 21, + "volume": 144.94647495169912, + "difficulty": 0.5, + "effort": 72.47323747584956, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::configure" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::execute": { + "line": 150, + "lineCount": 52, + "argCount": 2, + "returnCount": 5, + "variableCount": 11, + "propertyCallCount": 6, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 7, + "halstead": { + "n1": 6, + "n2": 15, + "N1": 43, + "N2": 61, + "programLength": 104, + "programVocabulary": 21, + "volume": 456.80101196899113, + "difficulty": 12.2, + "effort": 5572.972346021692, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::execute" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::parsePaths": { + "line": 209, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 4, + "N2": 8, + "programLength": 12, + "programVocabulary": 7, + "volume": 33.68825906469125, + "difficulty": 1.6, + "effort": 53.901214503506004, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::parsePaths" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleBaseLine": { + "line": 224, + "lineCount": 8, + "argCount": 2, + "returnCount": 0, + "variableCount": 3, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 5, + "N2": 11, + "programLength": 16, + "programVocabulary": 7, + "volume": 44.91767875292167, + "difficulty": 2.2, + "effort": 98.81889325642767, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleBaseLine" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleCoverageOptions": { + "line": 238, + "lineCount": 20, + "argCount": 2, + "returnCount": 3, + "variableCount": 5, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 5, + "n2": 10, + "N1": 15, + "N2": 25, + "programLength": 40, + "programVocabulary": 15, + "volume": 156.27562382434076, + "difficulty": 6.25, + "effort": 976.7226489021298, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleCoverageOptions" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::applySorting": { + "line": 264, + "lineCount": 21, + "argCount": 3, + "returnCount": 3, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 15, + "N1": 16, + "N2": 32, + "programLength": 48, + "programVocabulary": 20, + "volume": 207.45254855459342, + "difficulty": 5.333333333333333, + "effort": 1106.4135922911648, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::applySorting" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadConfiguration": { + "line": 293, + "lineCount": 10, + "argCount": 2, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 6, + "N1": 5, + "N2": 9, + "programLength": 14, + "programVocabulary": 8, + "volume": 42, + "difficulty": 1.5, + "effort": 63, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadConfiguration" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadCoverageReader": { + "line": 313, + "lineCount": 28, + "argCount": 3, + "returnCount": 4, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 2, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 10, + "N2": 18, + "programLength": 28, + "programVocabulary": 11, + "volume": 96.86408532184433, + "difficulty": 5.142857142857143, + "effort": 498.15815308377086, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadCoverageReader" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::detectCoverageFormat": { + "line": 345, + "lineCount": 19, + "argCount": 1, + "returnCount": 4, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 9, + "volume": 47.548875021634686, + "difficulty": 2.5, + "effort": 118.87218755408671, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::detectCoverageFormat" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::coverageFileExists": { + "line": 365, + "lineCount": 20, + "argCount": 2, + "returnCount": 3, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 4, + "N2": 7, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 3.5, + "effort": 99.52105627776452, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::coverageFileExists" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__construct": { + "line": 12, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__invoke": { + "line": 17, + "lineCount": 22, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 3, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 10, + "N2": 11, + "programLength": 21, + "programVocabulary": 7, + "volume": 58.95445336320969, + "difficulty": 2.2, + "effort": 129.6997973990613, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__invoke" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__construct": { + "line": 21, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__invoke": { + "line": 26, + "lineCount": 11, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 4, + "N2": 9, + "programLength": 13, + "programVocabulary": 4, + "volume": 26, + "difficulty": 4.5, + "effort": 117, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__invoke" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleSourceFilesFound": { + "line": 38, + "lineCount": 6, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 4, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 6, + "N2": 10, + "programLength": 16, + "programVocabulary": 8, + "volume": 48, + "difficulty": 5, + "effort": 240, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleSourceFilesFound" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleFileProcessed": { + "line": 45, + "lineCount": 5, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleFileProcessed" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleAllFilesProcessed": { + "line": 51, + "lineCount": 6, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 3, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 3, + "N2": 5, + "programLength": 8, + "programVocabulary": 5, + "volume": 18.575424759098897, + "difficulty": 1.6666666666666667, + "effort": 30.95904126516483, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleAllFilesProcessed" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__construct": { + "line": 20, + "lineCount": 5, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__invoke": { + "line": 26, + "lineCount": 17, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 5, + "n2": 8, + "N1": 17, + "N2": 17, + "programLength": 34, + "programVocabulary": 13, + "volume": 125.81495041679713, + "difficulty": 5.3125, + "effort": 668.3919240892347, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__invoke" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::formatBytes": { + "line": 50, + "lineCount": 12, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 7, + "n2": 13, + "N1": 10, + "N2": 22, + "programLength": 32, + "programVocabulary": 20, + "volume": 138.3016990363956, + "difficulty": 5.923076923076923, + "effort": 819.1716019848047, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::formatBytes" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::isDebugEnabled": { + "line": 66, + "lineCount": 5, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 1, + "N1": 4, + "N2": 2, + "programLength": 6, + "programVocabulary": 4, + "volume": 12, + "difficulty": 3, + "effort": 36, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::isDebugEnabled" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::__construct": { + "line": 20, + "lineCount": 6, + "argCount": 2, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 4, + "volume": 8, + "difficulty": 0.5, + "effort": 4, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::exportToFile": { + "line": 32, + "lineCount": 27, + "argCount": 3, + "returnCount": 4, + "variableCount": 2, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 1, + "n2": 6, + "N1": 6, + "N2": 19, + "programLength": 25, + "programVocabulary": 7, + "volume": 70.1838730514401, + "difficulty": 1.5833333333333333, + "effort": 111.12446566478016, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::exportToFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::hasIncompleteReportOptions": { + "line": 60, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 2, + "N1": 7, + "N2": 6, + "programLength": 13, + "programVocabulary": 6, + "volume": 33.60451250937503, + "difficulty": 6, + "effort": 201.62707505625016, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::hasIncompleteReportOptions" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::isValidReportType": { + "line": 65, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 2, + "N2": 4, + "programLength": 6, + "programVocabulary": 4, + "volume": 12, + "difficulty": 2, + "effort": 24, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::isValidReportType" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleExceptions": { + "line": 77, + "lineCount": 9, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 3, + "N2": 4, + "programLength": 7, + "programVocabulary": 5, + "volume": 16.253496664211536, + "difficulty": 1.3333333333333333, + "effort": 21.67132888561538, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleExceptions" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleInvalidReportType": { + "line": 91, + "lineCount": 11, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 5, + "N2": 8, + "programLength": 13, + "programVocabulary": 8, + "volume": 39, + "difficulty": 2.4000000000000004, + "effort": 93.60000000000001, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleInvalidReportType" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::__construct": { + "line": 15, + "lineCount": 5, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handle": { + "line": 24, + "lineCount": 27, + "argCount": 3, + "returnCount": 4, + "variableCount": 2, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 1, + "n2": 6, + "N1": 6, + "N2": 19, + "programLength": 25, + "programVocabulary": 7, + "volume": 70.1838730514401, + "difficulty": 1.5833333333333333, + "effort": 111.12446566478016, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handle" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::hasIncompleteReportOptions": { + "line": 52, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 2, + "N1": 7, + "N2": 6, + "programLength": 13, + "programVocabulary": 6, + "volume": 33.60451250937503, + "difficulty": 6, + "effort": 201.62707505625016, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::hasIncompleteReportOptions" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::isValidReportType": { + "line": 57, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 5, + "N1": 1, + "N2": 6, + "programLength": 7, + "programVocabulary": 6, + "volume": 18.094737505048094, + "difficulty": 0.6, + "effort": 10.856842503028856, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::isValidReportType" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handleExceptions": { + "line": 66, + "lineCount": 9, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 3, + "N2": 4, + "programLength": 7, + "programVocabulary": 5, + "volume": 16.253496664211536, + "difficulty": 1.3333333333333333, + "effort": 21.67132888561538, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handleExceptions" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handleInvalidReporType": { + "line": 80, + "lineCount": 9, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 4, + "programLength": 6, + "programVocabulary": 5, + "volume": 13.931568569324174, + "difficulty": 1.3333333333333333, + "effort": 18.575424759098897, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handleInvalidReporType" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::__construct": { + "line": 42, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::reportWritten": { + "line": 47, + "lineCount": 7, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 4, + "programLength": 6, + "programVocabulary": 5, + "volume": 13.931568569324174, + "difficulty": 1.3333333333333333, + "effort": 18.575424759098897, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::reportWritten" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::renderChurnTable": { + "line": 59, + "lineCount": 35, + "argCount": 1, + "returnCount": 0, + "variableCount": 6, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 8, + "n2": 18, + "N1": 21, + "N2": 53, + "programLength": 74, + "programVocabulary": 26, + "volume": 347.8325391424408, + "difficulty": 11.777777777777779, + "effort": 4096.694349899859, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::renderChurnTable" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricSummaryTextRenderer::__construct": { + "line": 18, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricSummaryTextRenderer::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricSummaryTextRenderer::render": { + "line": 23, + "lineCount": 32, + "argCount": 2, + "returnCount": 0, + "variableCount": 6, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 6, + "n2": 16, + "N1": 27, + "N2": 38, + "programLength": 65, + "programVocabulary": 22, + "volume": 289.86305521142435, + "difficulty": 7.125, + "effort": 2065.2742683813985, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricSummaryTextRenderer::render" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::__construct": { + "line": 27, + "lineCount": 5, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::metricExceedsThreshold": { + "line": 33, + "lineCount": 6, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 2, + "N1": 3, + "N2": 5, + "programLength": 8, + "programVocabulary": 5, + "volume": 18.575424759098897, + "difficulty": 3.75, + "effort": 69.65784284662087, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::metricExceedsThreshold" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::hasCoverageInCollection": { + "line": 43, + "lineCount": 10, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 2, + "N2": 4, + "programLength": 6, + "programVocabulary": 4, + "volume": 12, + "difficulty": 2, + "effort": 24, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::hasCoverageInCollection" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::render": { + "line": 58, + "lineCount": 17, + "argCount": 2, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 6, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 9, + "N2": 25, + "programLength": 34, + "programVocabulary": 6, + "volume": 87.8887250245193, + "difficulty": 6.25, + "effort": 549.3045314032456, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::render" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderGroupedByClass": { + "line": 81, + "lineCount": 19, + "argCount": 3, + "returnCount": 0, + "variableCount": 6, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 5, + "n2": 11, + "N1": 11, + "N2": 25, + "programLength": 36, + "programVocabulary": 16, + "volume": 144, + "difficulty": 5.6818181818181825, + "effort": 818.1818181818182, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderGroupedByClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::buildRowsForClass": { + "line": 106, + "lineCount": 13, + "argCount": 2, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 4, + "N2": 12, + "programLength": 16, + "programVocabulary": 7, + "volume": 44.91767875292167, + "difficulty": 2.4, + "effort": 107.802429007012, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::buildRowsForClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::getFilenameFromMetrics": { + "line": 123, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 5, + "programLength": 6, + "programVocabulary": 4, + "volume": 12, + "difficulty": 0.8333333333333334, + "effort": 10, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::getFilenameFromMetrics" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderAllMethodsInSingleTable": { + "line": 136, + "lineCount": 12, + "argCount": 3, + "returnCount": 0, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 6, + "N2": 15, + "programLength": 21, + "programVocabulary": 11, + "volume": 72.64806399138324, + "difficulty": 4.285714285714286, + "effort": 311.34884567735673, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderAllMethodsInSingleTable" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::buildRowsForSingleTable": { + "line": 154, + "lineCount": 13, + "argCount": 2, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 4, + "N2": 12, + "programLength": 16, + "programVocabulary": 7, + "volume": 44.91767875292167, + "difficulty": 2.4, + "effort": 107.802429007012, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::buildRowsForSingleTable" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderTableCommon": { + "line": 173, + "lineCount": 19, + "argCount": 4, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 8, + "N1": 7, + "N2": 19, + "programLength": 26, + "programVocabulary": 10, + "volume": 86.37013046707142, + "difficulty": 2.375, + "effort": 205.1290598592946, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderTableCommon" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderTable": { + "line": 196, + "lineCount": 13, + "argCount": 4, + "returnCount": 0, + "variableCount": 3, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 7, + "N1": 4, + "N2": 14, + "programLength": 18, + "programVocabulary": 9, + "volume": 57.05865002596162, + "difficulty": 2, + "effort": 114.11730005192324, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderTable" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderSingleTable": { + "line": 213, + "lineCount": 11, + "argCount": 3, + "returnCount": 0, + "variableCount": 3, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 6, + "N1": 4, + "N2": 12, + "programLength": 16, + "programVocabulary": 8, + "volume": 48, + "difficulty": 2, + "effort": 96, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderSingleTable" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::__construct": { + "line": 16, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatScore": { + "line": 21, + "lineCount": 6, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 6, + "N1": 5, + "N2": 9, + "programLength": 14, + "programVocabulary": 8, + "volume": 42, + "difficulty": 1.5, + "effort": 63, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatScore" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadVolume": { + "line": 28, + "lineCount": 14, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 10, + "N1": 9, + "N2": 17, + "programLength": 26, + "programVocabulary": 15, + "volume": 101.57915548582149, + "difficulty": 4.25, + "effort": 431.7114108147413, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadVolume" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadDifficulty": { + "line": 43, + "lineCount": 13, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 10, + "N1": 8, + "N2": 17, + "programLength": 25, + "programVocabulary": 14, + "volume": 95.1838730514401, + "difficulty": 3.4, + "effort": 323.62516837489636, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadDifficulty" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadEffort": { + "line": 57, + "lineCount": 13, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 10, + "N1": 8, + "N2": 17, + "programLength": 25, + "programVocabulary": 14, + "volume": 95.1838730514401, + "difficulty": 3.4, + "effort": 323.62516837489636, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadEffort" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatCyclomaticComplexity": { + "line": 71, + "lineCount": 13, + "argCount": 1, + "returnCount": 3, + "variableCount": 4, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 5, + "n2": 9, + "N1": 9, + "N2": 18, + "programLength": 27, + "programVocabulary": 14, + "volume": 102.79858289555531, + "difficulty": 5, + "effort": 513.9929144777766, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatCyclomaticComplexity" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::colorCyclomaticRisk": { + "line": 85, + "lineCount": 8, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 7, + "N1": 5, + "N2": 11, + "programLength": 16, + "programVocabulary": 9, + "volume": 50.718800023076994, + "difficulty": 1.5714285714285714, + "effort": 79.70097146483528, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::colorCyclomaticRisk" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::__construct": { + "line": 17, + "lineCount": 5, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::getGroupedTableHeaders": { + "line": 28, + "lineCount": 16, + "argCount": 0, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 10, + "N2": 17, + "programLength": 27, + "programVocabulary": 6, + "volume": 69.79398751947122, + "difficulty": 4.25, + "effort": 296.62444695775264, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::getGroupedTableHeaders" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCoverageHeader": { + "line": 49, + "lineCount": 10, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 6, + "programLength": 7, + "programVocabulary": 4, + "volume": 14, + "difficulty": 1, + "effort": 14, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCoverageHeader" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::getSingleTableHeaders": { + "line": 65, + "lineCount": 20, + "argCount": 0, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 6, + "N1": 9, + "N2": 18, + "programLength": 27, + "programVocabulary": 8, + "volume": 81, + "difficulty": 3, + "effort": 243, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::getSingleTableHeaders" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addHalsteadHeaders": { + "line": 92, + "lineCount": 10, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 1, + "n2": 5, + "N1": 3, + "N2": 9, + "programLength": 12, + "programVocabulary": 6, + "volume": 31.019550008653873, + "difficulty": 0.9, + "effort": 27.917595007788485, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addHalsteadHeaders" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCyclomaticHeaders": { + "line": 109, + "lineCount": 8, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 5, + "programLength": 6, + "programVocabulary": 4, + "volume": 12, + "difficulty": 0.8333333333333334, + "effort": 10, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCyclomaticHeaders" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCognitiveMetricDetails": { + "line": 122, + "lineCount": 16, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 10, + "N1": 2, + "N2": 13, + "programLength": 15, + "programVocabulary": 12, + "volume": 53.77443751081734, + "difficulty": 1.3, + "effort": 69.90676876406255, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCognitiveMetricDetails" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::__construct": { + "line": 21, + "lineCount": 6, + "argCount": 3, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 3, + "N1": 0, + "N2": 3, + "programLength": 3, + "programVocabulary": 3, + "volume": 4.754887502163468, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::buildRow": { + "line": 34, + "lineCount": 16, + "argCount": 1, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 10, + "N2": 24, + "programLength": 34, + "programVocabulary": 7, + "volume": 95.45006734995854, + "difficulty": 4.8, + "effort": 458.160323279801, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::buildRow" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::buildRowWithClassInfo": { + "line": 57, + "lineCount": 16, + "argCount": 1, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 10, + "N2": 24, + "programLength": 34, + "programVocabulary": 7, + "volume": 95.45006734995854, + "difficulty": 4.8, + "effort": 458.160323279801, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::buildRowWithClassInfo" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::metricsToArray": { + "line": 79, + "lineCount": 8, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 3, + "N2": 7, + "programLength": 10, + "programVocabulary": 6, + "volume": 25.84962500721156, + "difficulty": 1.75, + "effort": 45.23684376262023, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::metricsToArray" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::metricsToArrayWithClassInfo": { + "line": 93, + "lineCount": 9, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 4, + "N2": 9, + "programLength": 13, + "programVocabulary": 7, + "volume": 36.49561398674886, + "difficulty": 1.8, + "effort": 65.69210517614795, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::metricsToArrayWithClassInfo" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addHalsteadFields": { + "line": 109, + "lineCount": 10, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 6, + "N1": 6, + "N2": 16, + "programLength": 22, + "programVocabulary": 8, + "volume": 66, + "difficulty": 2.6666666666666665, + "effort": 176, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addHalsteadFields" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addCyclomaticFields": { + "line": 126, + "lineCount": 8, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 2, + "N2": 8, + "programLength": 10, + "programVocabulary": 6, + "volume": 25.84962500721156, + "difficulty": 2, + "effort": 51.69925001442312, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addCyclomaticFields" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addWeightedValue": { + "line": 141, + "lineCount": 10, + "argCount": 3, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 11, + "N1": 13, + "N2": 22, + "programLength": 35, + "programVocabulary": 15, + "volume": 136.74117084629816, + "difficulty": 4, + "effort": 546.9646833851926, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addWeightedValue" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addDelta": { + "line": 158, + "lineCount": 20, + "argCount": 3, + "returnCount": 3, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 6, + "n2": 13, + "N1": 19, + "N2": 30, + "programLength": 49, + "programVocabulary": 19, + "volume": 208.14844815873568, + "difficulty": 6.9230769230769225, + "effort": 1441.0277180220162, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::getKeys": { + "line": 184, + "lineCount": 17, + "argCount": 0, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 0, + "n2": 9, + "N1": 0, + "N2": 9, + "programLength": 9, + "programVocabulary": 9, + "volume": 28.52932501298081, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::getKeys" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::assertDeltaMethodExists": { + "line": 205, + "lineCount": 6, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 6, + "programLength": 8, + "programVocabulary": 5, + "volume": 18.575424759098897, + "difficulty": 2, + "effort": 37.150849518197795, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::assertDeltaMethodExists" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addCoverageValue": { + "line": 216, + "lineCount": 11, + "argCount": 2, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 7, + "N1": 7, + "N2": 15, + "programLength": 22, + "programVocabulary": 12, + "volume": 78.86917501586544, + "difficulty": 5.357142857142857, + "effort": 422.51343758499337, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addCoverageValue" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::extracted": { + "line": 233, + "lineCount": 22, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 12, + "N1": 19, + "N2": 34, + "programLength": 53, + "programVocabulary": 15, + "volume": 207.06520156725148, + "difficulty": 4.25, + "effort": 880.0271066608187, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::extracted" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CacheConfig::__construct": { + "line": 12, + "lineCount": 5, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CacheConfig::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CacheConfig::toArray": { + "line": 23, + "lineCount": 7, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 3, + "N1": 0, + "N2": 4, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CacheConfig::toArray" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CognitiveConfig::__construct": { + "line": 20, + "lineCount": 13, + "argCount": 10, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 10, + "N1": 0, + "N2": 10, + "programLength": 10, + "programVocabulary": 10, + "volume": 33.219280948873624, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CognitiveConfig::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CognitiveConfig::toArray": { + "line": 39, + "lineCount": 20, + "argCount": 0, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 10, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 14, + "N1": 3, + "N2": 27, + "programLength": 30, + "programVocabulary": 16, + "volume": 120, + "difficulty": 1.9285714285714286, + "effort": 231.42857142857144, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CognitiveConfig::toArray" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigFactory::fromArray": { + "line": 16, + "lineCount": 31, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 20, + "N1": 10, + "N2": 52, + "programLength": 62, + "programVocabulary": 23, + "volume": 280.4608412755348, + "difficulty": 3.9000000000000004, + "effort": 1093.7972809745859, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigFactory::fromArray" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigLoader::getCognitiveMetricDefaults": { + "line": 27, + "lineCount": 45, + "argCount": 0, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 8, + "N1": 0, + "N2": 16, + "programLength": 16, + "programVocabulary": 8, + "volume": 48, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigLoader::getCognitiveMetricDefaults" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigLoader::getConfigTreeBuilder": { + "line": 73, + "lineCount": 75, + "argCount": 0, + "returnCount": 2, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 24, + "N1": 68, + "N2": 29, + "programLength": 97, + "programVocabulary": 27, + "volume": 461.2240877098564, + "difficulty": 1.8125, + "effort": 835.9686589741148, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigLoader::getConfigTreeBuilder" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigService::__construct": { + "line": 20, + "lineCount": 6, + "argCount": 2, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 4, + "volume": 8, + "difficulty": 0.5, + "effort": 4, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigService::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigService::loadDefaultConfig": { + "line": 30, + "lineCount": 8, + "argCount": 0, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 3, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 5, + "N2": 6, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 3, + "effort": 85.30376252379816, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigService::loadDefaultConfig" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigService::loadConfig": { + "line": 42, + "lineCount": 9, + "argCount": 1, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 3, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 3, + "n2": 4, + "N1": 5, + "N2": 8, + "programLength": 13, + "programVocabulary": 7, + "volume": 36.49561398674886, + "difficulty": 3, + "effort": 109.48684196024658, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigService::loadConfig" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigService::getConfig": { + "line": 52, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigService::getConfig" + } + } + }, + "ignored_items": [], + "cached_at": 1759967602 +} \ No newline at end of file diff --git a/.phpcca.cache/c2/c2a184731f57bc4927d20d964e649c25.cache b/.phpcca.cache/c2/c2a184731f57bc4927d20d964e649c25.cache new file mode 100644 index 0000000..8f725da --- /dev/null +++ b/.phpcca.cache/c2/c2a184731f57bc4927d20d964e649c25.cache @@ -0,0 +1,336 @@ +{ + "version": "1.0", + "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/Business\/Churn\/ChangeCounter\/ChangeCounterFactory.php", + "file_mtime": 1752612112, + "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", + "analysis_result": { + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct": { + "line": 60, + "lineCount": 5, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 1, + "N1": 2, + "N2": 2, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 2, + "effort": 12.679700005769249, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices": { + "line": 66, + "lineCount": 95, + "argCount": 0, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 5, + "N1": 58, + "N2": 32, + "programLength": 90, + "programVocabulary": 9, + "volume": 285.2932501298081, + "difficulty": 12.8, + "effort": 3651.7536016615436, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap": { + "line": 162, + "lineCount": 10, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 7, + "N2": 7, + "programLength": 14, + "programVocabulary": 2, + "volume": 14, + "difficulty": 3.5, + "effort": 49, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors": { + "line": 173, + "lineCount": 12, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 3, + "N2": 1, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0.5, + "effort": 2, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus": { + "line": 186, + "lineCount": 19, + "argCount": 0, + "returnCount": 0, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 9, + "N2": 13, + "programLength": 22, + "programVocabulary": 7, + "volume": 61.76180828526729, + "difficulty": 2.6, + "effort": 160.58070154169496, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService": { + "line": 206, + "lineCount": 9, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 3, + "N2": 1, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0.5, + "effort": 2, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade": { + "line": 216, + "lineCount": 13, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 3, + "N2": 1, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0.5, + "effort": 2, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands": { + "line": 230, + "lineCount": 21, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 6, + "N2": 2, + "programLength": 8, + "programVocabulary": 2, + "volume": 8, + "difficulty": 1, + "effort": 8, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication": { + "line": 252, + "lineCount": 11, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 5, + "N2": 4, + "programLength": 9, + "programVocabulary": 4, + "volume": 18, + "difficulty": 0.6666666666666666, + "effort": 12, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run": { + "line": 264, + "lineCount": 9, + "argCount": 0, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 5, + "N2": 5, + "programLength": 10, + "programVocabulary": 4, + "volume": 20, + "difficulty": 2.5, + "effort": 50, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get": { + "line": 274, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer": { + "line": 279, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator": { + "line": 289, + "lineCount": 16, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 7, + "programLength": 8, + "programVocabulary": 4, + "volume": 16, + "difficulty": 1.1666666666666667, + "effort": 18.666666666666668, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create": { + "line": 18, + "lineCount": 7, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 4, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create" + } + } + }, + "ignored_items": [], + "cached_at": 1759967600 +} \ No newline at end of file diff --git a/.phpcca.cache/c5/c51c33d880cf34e4ef2c6f15d11a5550.cache b/.phpcca.cache/c5/c51c33d880cf34e4ef2c6f15d11a5550.cache new file mode 100644 index 0000000..c760cdb --- /dev/null +++ b/.phpcca.cache/c5/c51c33d880cf34e4ef2c6f15d11a5550.cache @@ -0,0 +1,1603 @@ +{ + "version": "1.0", + "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/Business\/CodeCoverage\/CloverReader.php", + "file_mtime": 1759784766, + "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", + "analysis_result": { + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct": { + "line": 60, + "lineCount": 5, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 1, + "N1": 2, + "N2": 2, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 2, + "effort": 12.679700005769249, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices": { + "line": 66, + "lineCount": 95, + "argCount": 0, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 5, + "N1": 58, + "N2": 32, + "programLength": 90, + "programVocabulary": 9, + "volume": 285.2932501298081, + "difficulty": 12.8, + "effort": 3651.7536016615436, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap": { + "line": 162, + "lineCount": 10, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 7, + "N2": 7, + "programLength": 14, + "programVocabulary": 2, + "volume": 14, + "difficulty": 3.5, + "effort": 49, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors": { + "line": 173, + "lineCount": 12, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 3, + "N2": 1, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0.5, + "effort": 2, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus": { + "line": 186, + "lineCount": 19, + "argCount": 0, + "returnCount": 0, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 9, + "N2": 13, + "programLength": 22, + "programVocabulary": 7, + "volume": 61.76180828526729, + "difficulty": 2.6, + "effort": 160.58070154169496, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService": { + "line": 206, + "lineCount": 9, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 3, + "N2": 1, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0.5, + "effort": 2, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade": { + "line": 216, + "lineCount": 13, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 3, + "N2": 1, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0.5, + "effort": 2, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands": { + "line": 230, + "lineCount": 21, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 6, + "N2": 2, + "programLength": 8, + "programVocabulary": 2, + "volume": 8, + "difficulty": 1, + "effort": 8, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication": { + "line": 252, + "lineCount": 11, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 5, + "N2": 4, + "programLength": 9, + "programVocabulary": 4, + "volume": 18, + "difficulty": 0.6666666666666666, + "effort": 12, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run": { + "line": 264, + "lineCount": 9, + "argCount": 0, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 5, + "N2": 5, + "programLength": 10, + "programVocabulary": 4, + "volume": 20, + "difficulty": 2.5, + "effort": 50, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get": { + "line": 274, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer": { + "line": 279, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator": { + "line": 289, + "lineCount": 16, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 7, + "programLength": 8, + "programVocabulary": 4, + "volume": 16, + "difficulty": 1.1666666666666667, + "effort": 18.666666666666668, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create": { + "line": 18, + "lineCount": 7, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 4, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile": { + "line": 17, + "lineCount": 17, + "argCount": 2, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 8, + "N1": 11, + "N2": 19, + "programLength": 30, + "programVocabulary": 11, + "volume": 103.78294855911892, + "difficulty": 3.5625, + "effort": 369.72675424186116, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode": { + "line": 42, + "lineCount": 8, + "argCount": 3, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 3, + "N2": 8, + "programLength": 11, + "programVocabulary": 8, + "volume": 33, + "difficulty": 2.4000000000000004, + "effort": 79.20000000000002, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate": { + "line": 22, + "lineCount": 10, + "argCount": 2, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 6, + "N2": 13, + "programLength": 19, + "programVocabulary": 6, + "volume": 49.11428751370197, + "difficulty": 3.25, + "effort": 159.6214344195314, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending": { + "line": 37, + "lineCount": 8, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 2, + "N2": 9, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 2.25, + "effort": 63.97782189284862, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn": { + "line": 51, + "lineCount": 24, + "argCount": 2, + "returnCount": 1, + "variableCount": 6, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 15, + "N1": 17, + "N2": 46, + "programLength": 63, + "programVocabulary": 20, + "volume": 272.28146997790384, + "difficulty": 7.666666666666667, + "effort": 2087.491269830596, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses": { + "line": 81, + "lineCount": 20, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 2, + "n2": 7, + "N1": 10, + "N2": 24, + "programLength": 34, + "programVocabulary": 9, + "volume": 107.7774500490386, + "difficulty": 3.4285714285714284, + "effort": 369.52268588241805, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass": { + "line": 109, + "lineCount": 9, + "argCount": 2, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 6, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 10, + "volume": 49.82892142331043, + "difficulty": 3.3333333333333335, + "effort": 166.09640474436813, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel": { + "line": 126, + "lineCount": 16, + "argCount": 2, + "returnCount": 4, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 12, + "N1": 9, + "N2": 18, + "programLength": 27, + "programVocabulary": 15, + "volume": 105.48604608143, + "difficulty": 2.25, + "effort": 237.3436036832175, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile": { + "line": 14, + "lineCount": 6, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 2, + "N2": 5, + "programLength": 7, + "programVocabulary": 4, + "volume": 14, + "difficulty": 2.5, + "effort": 35, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable": { + "line": 24, + "lineCount": 11, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 10, + "N2": 12, + "programLength": 22, + "programVocabulary": 8, + "volume": 66, + "difficulty": 6, + "effort": 396, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create": { + "line": 21, + "lineCount": 11, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 7, + "N1": 0, + "N2": 9, + "programLength": 9, + "programVocabulary": 7, + "volume": 25.26619429851844, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes": { + "line": 38, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 6, + "N1": 0, + "N2": 6, + "programLength": 6, + "programVocabulary": 6, + "volume": 15.509775004326936, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported": { + "line": 49, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 2, + "N2": 3, + "programLength": 5, + "programVocabulary": 4, + "volume": 10, + "difficulty": 1.5, + "effort": 15, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export": { + "line": 30, + "lineCount": 23, + "argCount": 2, + "returnCount": 0, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 16, + "N1": 10, + "N2": 33, + "programLength": 43, + "programVocabulary": 20, + "volume": 185.8429080801566, + "difficulty": 4.125, + "effort": 766.601995830646, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export": { + "line": 28, + "lineCount": 8, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 6, + "volume": 36.18947501009619, + "difficulty": 2.5, + "effort": 90.47368752524048, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape": { + "line": 37, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber": { + "line": 42, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml": { + "line": 52, + "lineCount": 50, + "argCount": 1, + "returnCount": 1, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 12, + "N1": 11, + "N2": 25, + "programLength": 36, + "programVocabulary": 17, + "volume": 147.14866228501222, + "difficulty": 5.208333333333334, + "effort": 766.3992827344388, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export": { + "line": 17, + "lineCount": 13, + "argCount": 2, + "returnCount": 0, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 8, + "N1": 7, + "N2": 14, + "programLength": 21, + "programVocabulary": 12, + "volume": 75.28421251514428, + "difficulty": 3.5, + "effort": 263.49474380300495, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export": { + "line": 48, + "lineCount": 8, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 6, + "volume": 36.18947501009619, + "difficulty": 2.5, + "effort": 90.47368752524048, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown": { + "line": 61, + "lineCount": 24, + "argCount": 1, + "returnCount": 1, + "variableCount": 6, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 6, + "n2": 16, + "N1": 19, + "N2": 41, + "programLength": 60, + "programVocabulary": 22, + "volume": 267.56589711823784, + "difficulty": 7.6875, + "effort": 2056.9128340964535, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow": { + "line": 94, + "lineCount": 21, + "argCount": 3, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 7, + "n2": 18, + "N1": 16, + "N2": 39, + "programLength": 55, + "programVocabulary": 25, + "volume": 255.41209043760983, + "difficulty": 7.583333333333333, + "effort": 1936.8750191518745, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::__construct": { + "line": 26, + "lineCount": 4, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::export": { + "line": 36, + "lineCount": 10, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 8, + "volume": 45, + "difficulty": 5, + "effort": 225, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::generateSvgTreemap": { + "line": 53, + "lineCount": 20, + "argCount": 1, + "returnCount": 1, + "variableCount": 6, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 8, + "N1": 9, + "N2": 20, + "programLength": 29, + "programVocabulary": 10, + "volume": 96.3359147517335, + "difficulty": 2.5, + "effort": 240.83978687933376, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::generateSvgTreemap" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRects": { + "line": 82, + "lineCount": 10, + "argCount": 3, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 9, + "N1": 6, + "N2": 18, + "programLength": 24, + "programVocabulary": 12, + "volume": 86.03910001730775, + "difficulty": 3, + "effort": 258.1173000519232, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRects" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRect": { + "line": 100, + "lineCount": 29, + "argCount": 2, + "returnCount": 1, + "variableCount": 12, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 6, + "n2": 28, + "N1": 26, + "N2": 54, + "programLength": 80, + "programVocabulary": 34, + "volume": 406.9970273000271, + "difficulty": 5.785714285714286, + "effort": 2354.7685150930142, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRect" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::wrapSvg": { + "line": 136, + "lineCount": 21, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 2, + "N2": 8, + "programLength": 10, + "programVocabulary": 4, + "volume": 20, + "difficulty": 1.3333333333333333, + "effort": 26.666666666666664, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::wrapSvg" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::prepareItems": { + "line": 28, + "lineCount": 18, + "argCount": 1, + "returnCount": 1, + "variableCount": 7, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 12, + "N1": 9, + "N2": 30, + "programLength": 39, + "programVocabulary": 17, + "volume": 159.41105080876324, + "difficulty": 6.25, + "effort": 996.3190675547702, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::prepareItems" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findScoreRange": { + "line": 53, + "lineCount": 16, + "argCount": 1, + "returnCount": 3, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 7, + "N2": 13, + "programLength": 20, + "programVocabulary": 8, + "volume": 60, + "difficulty": 3.9000000000000004, + "effort": 234.00000000000003, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findScoreRange" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::normalizeScore": { + "line": 78, + "lineCount": 8, + "argCount": 3, + "returnCount": 2, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 8, + "volume": 45, + "difficulty": 5, + "effort": 225, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::normalizeScore" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::scoreToColor": { + "line": 93, + "lineCount": 9, + "argCount": 1, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 5, + "n2": 9, + "N1": 12, + "N2": 16, + "programLength": 28, + "programVocabulary": 14, + "volume": 106.60593781761291, + "difficulty": 4.444444444444445, + "effort": 473.80416807827964, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::scoreToColor" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::calculateTreemapLayout": { + "line": 115, + "lineCount": 23, + "argCount": 7, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 9, + "N1": 2, + "N2": 18, + "programLength": 20, + "programVocabulary": 11, + "volume": 69.18863237274594, + "difficulty": 2, + "effort": 138.37726474549189, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::calculateTreemapLayout" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::layoutTreemap": { + "line": 152, + "lineCount": 89, + "argCount": 8, + "returnCount": 3, + "variableCount": 11, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 8, + "n2": 28, + "N1": 32, + "N2": 98, + "programLength": 130, + "programVocabulary": 36, + "volume": 672.0902501875006, + "difficulty": 14, + "effort": 9409.263502625008, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::layoutTreemap" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findSplitIndex": { + "line": 249, + "lineCount": 13, + "argCount": 2, + "returnCount": 2, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 7, + "n2": 10, + "N1": 9, + "N2": 23, + "programLength": 32, + "programVocabulary": 17, + "volume": 130.79881092001085, + "difficulty": 8.049999999999999, + "effort": 1052.9304279060873, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findSplitIndex" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::__construct": { + "line": 23, + "lineCount": 18, + "argCount": 1, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 7, + "N2": 11, + "programLength": 18, + "programVocabulary": 6, + "volume": 46.529325012980806, + "difficulty": 5.5, + "effort": 255.91128757139444, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::getAllClasses": { + "line": 47, + "lineCount": 17, + "argCount": 0, + "returnCount": 2, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 6, + "N2": 12, + "programLength": 18, + "programVocabulary": 9, + "volume": 57.05865002596162, + "difficulty": 3, + "effort": 171.17595007788486, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::getAllClasses" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::withClassNode": { + "line": 73, + "lineCount": 8, + "argCount": 2, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 4, + "N2": 8, + "programLength": 12, + "programVocabulary": 8, + "volume": 36, + "difficulty": 4, + "effort": 144, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::withClassNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::findClassNode": { + "line": 85, + "lineCount": 25, + "argCount": 1, + "returnCount": 4, + "variableCount": 5, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 13, + "N2": 29, + "programLength": 42, + "programVocabulary": 11, + "volume": 145.29612798276648, + "difficulty": 8.285714285714286, + "effort": 1203.8822032857795, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::findClassNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::escapeXPathValue": { + "line": 114, + "lineCount": 16, + "argCount": 1, + "returnCount": 3, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 9, + "N1": 11, + "N2": 18, + "programLength": 29, + "programVocabulary": 13, + "volume": 107.31275182609167, + "difficulty": 4, + "effort": 429.2510073043667, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::escapeXPathValue" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getLineCoverage": { + "line": 22, + "lineCount": 18, + "argCount": 1, + "returnCount": 4, + "variableCount": 5, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "cyclomatic_complexity": { + "complexity": 3, + "risk_level": "low" + }, + "halstead": { + "n1": 4, + "n2": 9, + "N1": 10, + "N2": 19, + "programLength": 29, + "programVocabulary": 13, + "volume": 107.31275182609167, + "difficulty": 4.222222222222222, + "effort": 453.09828548794263, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getLineCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getBranchCoverage": { + "line": 48, + "lineCount": 18, + "argCount": 1, + "returnCount": 4, + "variableCount": 5, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "cyclomatic_complexity": { + "complexity": 3, + "risk_level": "low" + }, + "halstead": { + "n1": 4, + "n2": 9, + "N1": 10, + "N2": 19, + "programLength": 29, + "programVocabulary": 13, + "volume": 107.31275182609167, + "difficulty": 4.222222222222222, + "effort": 453.09828548794263, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getBranchCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getComplexity": { + "line": 73, + "lineCount": 13, + "argCount": 1, + "returnCount": 3, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "cyclomatic_complexity": { + "complexity": 3, + "risk_level": "low" + }, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 7, + "N2": 14, + "programLength": 21, + "programVocabulary": 11, + "volume": 72.64806399138324, + "difficulty": 4, + "effort": 290.59225596553296, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getComplexity" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getCoverageDetails": { + "line": 93, + "lineCount": 26, + "argCount": 1, + "returnCount": 3, + "variableCount": 9, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "cyclomatic_complexity": { + "complexity": 4, + "risk_level": "low" + }, + "halstead": { + "n1": 5, + "n2": 17, + "N1": 22, + "N2": 42, + "programLength": 64, + "programVocabulary": 22, + "volume": 285.403623592787, + "difficulty": 6.176470588235294, + "effort": 1762.7870868966259, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getCoverageDetails" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getMetricsNode": { + "line": 123, + "lineCount": 12, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "cyclomatic_complexity": { + "complexity": 3, + "risk_level": "low" + }, + "halstead": { + "n1": 4, + "n2": 6, + "N1": 7, + "N2": 13, + "programLength": 20, + "programVocabulary": 10, + "volume": 66.43856189774725, + "difficulty": 4.333333333333333, + "effort": 287.90043489023805, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getMetricsNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getFilenameForClass": { + "line": 139, + "lineCount": 9, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "cyclomatic_complexity": { + "complexity": 2, + "risk_level": "low" + }, + "halstead": { + "n1": 4, + "n2": 5, + "N1": 4, + "N2": 9, + "programLength": 13, + "programVocabulary": 9, + "volume": 41.209025018750054, + "difficulty": 3.6, + "effort": 148.3524900675002, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getFilenameForClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodsCoverage": { + "line": 154, + "lineCount": 36, + "argCount": 1, + "returnCount": 3, + "variableCount": 8, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "cyclomatic_complexity": { + "complexity": 5, + "risk_level": "low" + }, + "halstead": { + "n1": 3, + "n2": 13, + "N1": 12, + "N2": 30, + "programLength": 42, + "programVocabulary": 16, + "volume": 168, + "difficulty": 3.4615384615384612, + "effort": 581.5384615384614, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodsCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::calculateMethodCoverage": { + "line": 194, + "lineCount": 15, + "argCount": 2, + "returnCount": 2, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "cyclomatic_complexity": { + "complexity": 3, + "risk_level": "low" + }, + "halstead": { + "n1": 5, + "n2": 11, + "N1": 9, + "N2": 23, + "programLength": 32, + "programVocabulary": 16, + "volume": 128, + "difficulty": 5.227272727272727, + "effort": 669.090909090909, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::calculateMethodCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodCoverageFromLines": { + "line": 215, + "lineCount": 36, + "argCount": 2, + "returnCount": 1, + "variableCount": 7, + "propertyCallCount": 0, + "ifNestingLevel": 2, + "elseCount": 0, + "ifCount": 5, + "cyclomatic_complexity": { + "complexity": 7, + "risk_level": "medium" + }, + "halstead": { + "n1": 2, + "n2": 14, + "N1": 12, + "N2": 35, + "programLength": 47, + "programVocabulary": 16, + "volume": 188, + "difficulty": 2.5, + "effort": 470, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodCoverageFromLines" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStart": { + "line": 252, + "lineCount": 4, + "argCount": 3, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 3, + "N2": 7, + "programLength": 10, + "programVocabulary": 6, + "volume": 25.84962500721156, + "difficulty": 1.75, + "effort": 45.23684376262023, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStart" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodEnd": { + "line": 257, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 5, + "programLength": 7, + "programVocabulary": 5, + "volume": 16.253496664211536, + "difficulty": 1.6666666666666667, + "effort": 27.089161107019226, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodEnd" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStatement": { + "line": 262, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 5, + "programLength": 7, + "programVocabulary": 5, + "volume": 16.253496664211536, + "difficulty": 1.6666666666666667, + "effort": 27.089161107019226, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStatement" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isStatementCovered": { + "line": 267, + "lineCount": 5, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 3, + "n2": 4, + "N1": 3, + "N2": 6, + "programLength": 9, + "programVocabulary": 7, + "volume": 25.26619429851844, + "difficulty": 2.25, + "effort": 56.848937171666485, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isStatementCovered" + } + } + }, + "ignored_items": [], + "cached_at": 1759967600 +} \ No newline at end of file diff --git a/.phpcca.cache/c6/c698a0faf909cb3d5de18dc9a34d5886.cache b/.phpcca.cache/c6/c698a0faf909cb3d5de18dc9a34d5886.cache new file mode 100644 index 0000000..739b64f --- /dev/null +++ b/.phpcca.cache/c6/c698a0faf909cb3d5de18dc9a34d5886.cache @@ -0,0 +1,2410 @@ +{ + "version": "1.0", + "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/Config\/CognitiveConfig.php", + "file_mtime": 1759964701, + "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", + "analysis_result": { + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::__construct": { + "line": 26, + "lineCount": 5, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 4, + "N1": 3, + "N2": 6, + "programLength": 9, + "programVocabulary": 7, + "volume": 25.26619429851844, + "difficulty": 2.25, + "effort": 56.848937171666485, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItem": { + "line": 35, + "lineCount": 15, + "argCount": 1, + "returnCount": 3, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 6, + "N2": 13, + "programLength": 19, + "programVocabulary": 8, + "volume": 57, + "difficulty": 6.5, + "effort": 370.5, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItem" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItems": { + "line": 55, + "lineCount": 9, + "argCount": 1, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 3, + "N2": 9, + "programLength": 12, + "programVocabulary": 6, + "volume": 31.019550008653873, + "difficulty": 2.25, + "effort": 69.79398751947122, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItems" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::hasItem": { + "line": 68, + "lineCount": 6, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 5, + "n2": 3, + "N1": 6, + "N2": 7, + "programLength": 13, + "programVocabulary": 8, + "volume": 39, + "difficulty": 5.833333333333334, + "effort": 227.50000000000003, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::hasItem" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::clear": { + "line": 75, + "lineCount": 10, + "argCount": 0, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 2, + "N2": 4, + "programLength": 6, + "programVocabulary": 3, + "volume": 9.509775004326936, + "difficulty": 1, + "effort": 9.509775004326936, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::clear" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItem": { + "line": 89, + "lineCount": 10, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 4, + "N2": 6, + "programLength": 10, + "programVocabulary": 6, + "volume": 25.84962500721156, + "difficulty": 3, + "effort": 77.54887502163469, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItem" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItems": { + "line": 103, + "lineCount": 10, + "argCount": 1, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 3, + "N2": 8, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 2, + "effort": 56.86917501586544, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItems" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::save": { + "line": 117, + "lineCount": 11, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 4, + "N1": 9, + "N2": 12, + "programLength": 21, + "programVocabulary": 7, + "volume": 58.95445336320969, + "difficulty": 4.5, + "effort": 265.2950401344436, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::save" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveDeferred": { + "line": 129, + "lineCount": 6, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveDeferred" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::commit": { + "line": 136, + "lineCount": 11, + "argCount": 0, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 4, + "N2": 8, + "programLength": 12, + "programVocabulary": 5, + "volume": 27.863137138648348, + "difficulty": 2.6666666666666665, + "effort": 74.30169903639559, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::commit" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::ensureCacheDirectory": { + "line": 152, + "lineCount": 9, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 3, + "N2": 4, + "programLength": 7, + "programVocabulary": 4, + "volume": 14, + "difficulty": 2, + "effort": 28, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::ensureCacheDirectory" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getCacheFilePath": { + "line": 168, + "lineCount": 15, + "argCount": 1, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 10, + "N1": 13, + "N2": 19, + "programLength": 32, + "programVocabulary": 14, + "volume": 121.83535750584333, + "difficulty": 3.8, + "effort": 462.9743585222046, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getCacheFilePath" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::loadCacheData": { + "line": 187, + "lineCount": 14, + "argCount": 1, + "returnCount": 3, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 6, + "N2": 8, + "programLength": 14, + "programVocabulary": 6, + "volume": 36.18947501009619, + "difficulty": 4, + "effort": 144.75790004038475, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::loadCacheData" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveCacheData": { + "line": 209, + "lineCount": 21, + "argCount": 2, + "returnCount": 3, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 6, + "n2": 7, + "N1": 13, + "N2": 17, + "programLength": 30, + "programVocabulary": 13, + "volume": 111.01319154423277, + "difficulty": 7.285714285714285, + "effort": 808.810395536553, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveCacheData" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::sanitizeUtf8": { + "line": 234, + "lineCount": 25, + "argCount": 1, + "returnCount": 4, + "variableCount": 6, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 8, + "N1": 13, + "N2": 29, + "programLength": 42, + "programVocabulary": 11, + "volume": 145.29612798276648, + "difficulty": 5.4375, + "effort": 790.0476959062927, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::sanitizeUtf8" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::removeDirectory": { + "line": 260, + "lineCount": 23, + "argCount": 1, + "returnCount": 2, + "variableCount": 5, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 5, + "n2": 9, + "N1": 13, + "N2": 20, + "programLength": 33, + "programVocabulary": 14, + "volume": 125.64271242790093, + "difficulty": 5.555555555555555, + "effort": 698.0150690438941, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::removeDirectory" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::__construct": { + "line": 42, + "lineCount": 7, + "argCount": 3, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 3, + "N1": 0, + "N2": 3, + "programLength": 3, + "programVocabulary": 3, + "volume": 4.754887502163468, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::configure": { + "line": 53, + "lineCount": 57, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 15, + "N1": 9, + "N2": 16, + "programLength": 25, + "programVocabulary": 16, + "volume": 100, + "difficulty": 0.5333333333333333, + "effort": 53.333333333333336, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::configure" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::execute": { + "line": 119, + "lineCount": 43, + "argCount": 2, + "returnCount": 5, + "variableCount": 9, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 4, + "halstead": { + "n1": 7, + "n2": 14, + "N1": 31, + "N2": 45, + "programLength": 76, + "programVocabulary": 21, + "volume": 333.8161241311858, + "difficulty": 11.25, + "effort": 3755.4313964758403, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::execute" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::loadCoverageReader": { + "line": 171, + "lineCount": 32, + "argCount": 3, + "returnCount": 4, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 2, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 4, + "n2": 9, + "N1": 9, + "N2": 21, + "programLength": 30, + "programVocabulary": 13, + "volume": 111.01319154423277, + "difficulty": 4.666666666666667, + "effort": 518.0615605397529, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::loadCoverageReader" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::detectCoverageFormat": { + "line": 207, + "lineCount": 19, + "argCount": 1, + "returnCount": 4, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 9, + "volume": 47.548875021634686, + "difficulty": 2.5, + "effort": 118.87218755408671, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::detectCoverageFormat" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::coverageFileExists": { + "line": 227, + "lineCount": 20, + "argCount": 2, + "returnCount": 3, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 4, + "N2": 7, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 3.5, + "effort": 99.52105627776452, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::coverageFileExists" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::__construct": { + "line": 49, + "lineCount": 10, + "argCount": 6, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 6, + "N1": 0, + "N2": 6, + "programLength": 6, + "programVocabulary": 6, + "volume": 15.509775004326936, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::configure": { + "line": 63, + "lineCount": 76, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 20, + "N1": 13, + "N2": 20, + "programLength": 33, + "programVocabulary": 21, + "volume": 144.94647495169912, + "difficulty": 0.5, + "effort": 72.47323747584956, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::configure" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::execute": { + "line": 150, + "lineCount": 52, + "argCount": 2, + "returnCount": 5, + "variableCount": 11, + "propertyCallCount": 6, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 7, + "halstead": { + "n1": 6, + "n2": 15, + "N1": 43, + "N2": 61, + "programLength": 104, + "programVocabulary": 21, + "volume": 456.80101196899113, + "difficulty": 12.2, + "effort": 5572.972346021692, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::execute" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::parsePaths": { + "line": 209, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 4, + "N2": 8, + "programLength": 12, + "programVocabulary": 7, + "volume": 33.68825906469125, + "difficulty": 1.6, + "effort": 53.901214503506004, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::parsePaths" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleBaseLine": { + "line": 224, + "lineCount": 8, + "argCount": 2, + "returnCount": 0, + "variableCount": 3, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 5, + "N2": 11, + "programLength": 16, + "programVocabulary": 7, + "volume": 44.91767875292167, + "difficulty": 2.2, + "effort": 98.81889325642767, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleBaseLine" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleCoverageOptions": { + "line": 238, + "lineCount": 20, + "argCount": 2, + "returnCount": 3, + "variableCount": 5, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 5, + "n2": 10, + "N1": 15, + "N2": 25, + "programLength": 40, + "programVocabulary": 15, + "volume": 156.27562382434076, + "difficulty": 6.25, + "effort": 976.7226489021298, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleCoverageOptions" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::applySorting": { + "line": 264, + "lineCount": 21, + "argCount": 3, + "returnCount": 3, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 15, + "N1": 16, + "N2": 32, + "programLength": 48, + "programVocabulary": 20, + "volume": 207.45254855459342, + "difficulty": 5.333333333333333, + "effort": 1106.4135922911648, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::applySorting" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadConfiguration": { + "line": 293, + "lineCount": 10, + "argCount": 2, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 6, + "N1": 5, + "N2": 9, + "programLength": 14, + "programVocabulary": 8, + "volume": 42, + "difficulty": 1.5, + "effort": 63, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadConfiguration" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadCoverageReader": { + "line": 313, + "lineCount": 28, + "argCount": 3, + "returnCount": 4, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 2, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 10, + "N2": 18, + "programLength": 28, + "programVocabulary": 11, + "volume": 96.86408532184433, + "difficulty": 5.142857142857143, + "effort": 498.15815308377086, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadCoverageReader" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::detectCoverageFormat": { + "line": 345, + "lineCount": 19, + "argCount": 1, + "returnCount": 4, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 9, + "volume": 47.548875021634686, + "difficulty": 2.5, + "effort": 118.87218755408671, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::detectCoverageFormat" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::coverageFileExists": { + "line": 365, + "lineCount": 20, + "argCount": 2, + "returnCount": 3, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 4, + "N2": 7, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 3.5, + "effort": 99.52105627776452, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::coverageFileExists" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__construct": { + "line": 12, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__invoke": { + "line": 17, + "lineCount": 22, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 3, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 10, + "N2": 11, + "programLength": 21, + "programVocabulary": 7, + "volume": 58.95445336320969, + "difficulty": 2.2, + "effort": 129.6997973990613, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__invoke" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__construct": { + "line": 21, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__invoke": { + "line": 26, + "lineCount": 11, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 4, + "N2": 9, + "programLength": 13, + "programVocabulary": 4, + "volume": 26, + "difficulty": 4.5, + "effort": 117, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__invoke" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleSourceFilesFound": { + "line": 38, + "lineCount": 6, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 4, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 6, + "N2": 10, + "programLength": 16, + "programVocabulary": 8, + "volume": 48, + "difficulty": 5, + "effort": 240, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleSourceFilesFound" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleFileProcessed": { + "line": 45, + "lineCount": 5, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleFileProcessed" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleAllFilesProcessed": { + "line": 51, + "lineCount": 6, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 3, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 3, + "N2": 5, + "programLength": 8, + "programVocabulary": 5, + "volume": 18.575424759098897, + "difficulty": 1.6666666666666667, + "effort": 30.95904126516483, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleAllFilesProcessed" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__construct": { + "line": 20, + "lineCount": 5, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__invoke": { + "line": 26, + "lineCount": 17, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 5, + "n2": 8, + "N1": 17, + "N2": 17, + "programLength": 34, + "programVocabulary": 13, + "volume": 125.81495041679713, + "difficulty": 5.3125, + "effort": 668.3919240892347, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__invoke" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::formatBytes": { + "line": 50, + "lineCount": 12, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 7, + "n2": 13, + "N1": 10, + "N2": 22, + "programLength": 32, + "programVocabulary": 20, + "volume": 138.3016990363956, + "difficulty": 5.923076923076923, + "effort": 819.1716019848047, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::formatBytes" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::isDebugEnabled": { + "line": 66, + "lineCount": 5, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 1, + "N1": 4, + "N2": 2, + "programLength": 6, + "programVocabulary": 4, + "volume": 12, + "difficulty": 3, + "effort": 36, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::isDebugEnabled" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::__construct": { + "line": 20, + "lineCount": 6, + "argCount": 2, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 4, + "volume": 8, + "difficulty": 0.5, + "effort": 4, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::exportToFile": { + "line": 32, + "lineCount": 27, + "argCount": 3, + "returnCount": 4, + "variableCount": 2, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 1, + "n2": 6, + "N1": 6, + "N2": 19, + "programLength": 25, + "programVocabulary": 7, + "volume": 70.1838730514401, + "difficulty": 1.5833333333333333, + "effort": 111.12446566478016, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::exportToFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::hasIncompleteReportOptions": { + "line": 60, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 2, + "N1": 7, + "N2": 6, + "programLength": 13, + "programVocabulary": 6, + "volume": 33.60451250937503, + "difficulty": 6, + "effort": 201.62707505625016, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::hasIncompleteReportOptions" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::isValidReportType": { + "line": 65, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 2, + "N2": 4, + "programLength": 6, + "programVocabulary": 4, + "volume": 12, + "difficulty": 2, + "effort": 24, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::isValidReportType" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleExceptions": { + "line": 77, + "lineCount": 9, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 3, + "N2": 4, + "programLength": 7, + "programVocabulary": 5, + "volume": 16.253496664211536, + "difficulty": 1.3333333333333333, + "effort": 21.67132888561538, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleExceptions" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleInvalidReportType": { + "line": 91, + "lineCount": 11, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 5, + "N2": 8, + "programLength": 13, + "programVocabulary": 8, + "volume": 39, + "difficulty": 2.4000000000000004, + "effort": 93.60000000000001, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleInvalidReportType" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::__construct": { + "line": 15, + "lineCount": 5, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handle": { + "line": 24, + "lineCount": 27, + "argCount": 3, + "returnCount": 4, + "variableCount": 2, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 1, + "n2": 6, + "N1": 6, + "N2": 19, + "programLength": 25, + "programVocabulary": 7, + "volume": 70.1838730514401, + "difficulty": 1.5833333333333333, + "effort": 111.12446566478016, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handle" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::hasIncompleteReportOptions": { + "line": 52, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 2, + "N1": 7, + "N2": 6, + "programLength": 13, + "programVocabulary": 6, + "volume": 33.60451250937503, + "difficulty": 6, + "effort": 201.62707505625016, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::hasIncompleteReportOptions" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::isValidReportType": { + "line": 57, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 5, + "N1": 1, + "N2": 6, + "programLength": 7, + "programVocabulary": 6, + "volume": 18.094737505048094, + "difficulty": 0.6, + "effort": 10.856842503028856, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::isValidReportType" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handleExceptions": { + "line": 66, + "lineCount": 9, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 3, + "N2": 4, + "programLength": 7, + "programVocabulary": 5, + "volume": 16.253496664211536, + "difficulty": 1.3333333333333333, + "effort": 21.67132888561538, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handleExceptions" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handleInvalidReporType": { + "line": 80, + "lineCount": 9, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 4, + "programLength": 6, + "programVocabulary": 5, + "volume": 13.931568569324174, + "difficulty": 1.3333333333333333, + "effort": 18.575424759098897, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handleInvalidReporType" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::__construct": { + "line": 42, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::reportWritten": { + "line": 47, + "lineCount": 7, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 4, + "programLength": 6, + "programVocabulary": 5, + "volume": 13.931568569324174, + "difficulty": 1.3333333333333333, + "effort": 18.575424759098897, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::reportWritten" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::renderChurnTable": { + "line": 59, + "lineCount": 35, + "argCount": 1, + "returnCount": 0, + "variableCount": 6, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 8, + "n2": 18, + "N1": 21, + "N2": 53, + "programLength": 74, + "programVocabulary": 26, + "volume": 347.8325391424408, + "difficulty": 11.777777777777779, + "effort": 4096.694349899859, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::renderChurnTable" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricSummaryTextRenderer::__construct": { + "line": 18, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricSummaryTextRenderer::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricSummaryTextRenderer::render": { + "line": 23, + "lineCount": 32, + "argCount": 2, + "returnCount": 0, + "variableCount": 6, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 6, + "n2": 16, + "N1": 27, + "N2": 38, + "programLength": 65, + "programVocabulary": 22, + "volume": 289.86305521142435, + "difficulty": 7.125, + "effort": 2065.2742683813985, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricSummaryTextRenderer::render" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::__construct": { + "line": 27, + "lineCount": 5, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::metricExceedsThreshold": { + "line": 33, + "lineCount": 6, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 2, + "N1": 3, + "N2": 5, + "programLength": 8, + "programVocabulary": 5, + "volume": 18.575424759098897, + "difficulty": 3.75, + "effort": 69.65784284662087, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::metricExceedsThreshold" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::hasCoverageInCollection": { + "line": 43, + "lineCount": 10, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 2, + "N2": 4, + "programLength": 6, + "programVocabulary": 4, + "volume": 12, + "difficulty": 2, + "effort": 24, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::hasCoverageInCollection" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::render": { + "line": 58, + "lineCount": 17, + "argCount": 2, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 6, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 9, + "N2": 25, + "programLength": 34, + "programVocabulary": 6, + "volume": 87.8887250245193, + "difficulty": 6.25, + "effort": 549.3045314032456, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::render" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderGroupedByClass": { + "line": 81, + "lineCount": 19, + "argCount": 3, + "returnCount": 0, + "variableCount": 6, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 5, + "n2": 11, + "N1": 11, + "N2": 25, + "programLength": 36, + "programVocabulary": 16, + "volume": 144, + "difficulty": 5.6818181818181825, + "effort": 818.1818181818182, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderGroupedByClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::buildRowsForClass": { + "line": 106, + "lineCount": 13, + "argCount": 2, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 4, + "N2": 12, + "programLength": 16, + "programVocabulary": 7, + "volume": 44.91767875292167, + "difficulty": 2.4, + "effort": 107.802429007012, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::buildRowsForClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::getFilenameFromMetrics": { + "line": 123, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 5, + "programLength": 6, + "programVocabulary": 4, + "volume": 12, + "difficulty": 0.8333333333333334, + "effort": 10, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::getFilenameFromMetrics" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderAllMethodsInSingleTable": { + "line": 136, + "lineCount": 12, + "argCount": 3, + "returnCount": 0, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 6, + "N2": 15, + "programLength": 21, + "programVocabulary": 11, + "volume": 72.64806399138324, + "difficulty": 4.285714285714286, + "effort": 311.34884567735673, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderAllMethodsInSingleTable" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::buildRowsForSingleTable": { + "line": 154, + "lineCount": 13, + "argCount": 2, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 4, + "N2": 12, + "programLength": 16, + "programVocabulary": 7, + "volume": 44.91767875292167, + "difficulty": 2.4, + "effort": 107.802429007012, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::buildRowsForSingleTable" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderTableCommon": { + "line": 173, + "lineCount": 19, + "argCount": 4, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 8, + "N1": 7, + "N2": 19, + "programLength": 26, + "programVocabulary": 10, + "volume": 86.37013046707142, + "difficulty": 2.375, + "effort": 205.1290598592946, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderTableCommon" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderTable": { + "line": 196, + "lineCount": 13, + "argCount": 4, + "returnCount": 0, + "variableCount": 3, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 7, + "N1": 4, + "N2": 14, + "programLength": 18, + "programVocabulary": 9, + "volume": 57.05865002596162, + "difficulty": 2, + "effort": 114.11730005192324, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderTable" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderSingleTable": { + "line": 213, + "lineCount": 11, + "argCount": 3, + "returnCount": 0, + "variableCount": 3, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 6, + "N1": 4, + "N2": 12, + "programLength": 16, + "programVocabulary": 8, + "volume": 48, + "difficulty": 2, + "effort": 96, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderSingleTable" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::__construct": { + "line": 16, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatScore": { + "line": 21, + "lineCount": 6, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 6, + "N1": 5, + "N2": 9, + "programLength": 14, + "programVocabulary": 8, + "volume": 42, + "difficulty": 1.5, + "effort": 63, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatScore" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadVolume": { + "line": 28, + "lineCount": 14, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 10, + "N1": 9, + "N2": 17, + "programLength": 26, + "programVocabulary": 15, + "volume": 101.57915548582149, + "difficulty": 4.25, + "effort": 431.7114108147413, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadVolume" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadDifficulty": { + "line": 43, + "lineCount": 13, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 10, + "N1": 8, + "N2": 17, + "programLength": 25, + "programVocabulary": 14, + "volume": 95.1838730514401, + "difficulty": 3.4, + "effort": 323.62516837489636, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadDifficulty" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadEffort": { + "line": 57, + "lineCount": 13, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 10, + "N1": 8, + "N2": 17, + "programLength": 25, + "programVocabulary": 14, + "volume": 95.1838730514401, + "difficulty": 3.4, + "effort": 323.62516837489636, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadEffort" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatCyclomaticComplexity": { + "line": 71, + "lineCount": 13, + "argCount": 1, + "returnCount": 3, + "variableCount": 4, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 5, + "n2": 9, + "N1": 9, + "N2": 18, + "programLength": 27, + "programVocabulary": 14, + "volume": 102.79858289555531, + "difficulty": 5, + "effort": 513.9929144777766, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatCyclomaticComplexity" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::colorCyclomaticRisk": { + "line": 85, + "lineCount": 8, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 7, + "N1": 5, + "N2": 11, + "programLength": 16, + "programVocabulary": 9, + "volume": 50.718800023076994, + "difficulty": 1.5714285714285714, + "effort": 79.70097146483528, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::colorCyclomaticRisk" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::__construct": { + "line": 17, + "lineCount": 5, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::getGroupedTableHeaders": { + "line": 28, + "lineCount": 16, + "argCount": 0, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 10, + "N2": 17, + "programLength": 27, + "programVocabulary": 6, + "volume": 69.79398751947122, + "difficulty": 4.25, + "effort": 296.62444695775264, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::getGroupedTableHeaders" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCoverageHeader": { + "line": 49, + "lineCount": 10, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 6, + "programLength": 7, + "programVocabulary": 4, + "volume": 14, + "difficulty": 1, + "effort": 14, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCoverageHeader" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::getSingleTableHeaders": { + "line": 65, + "lineCount": 20, + "argCount": 0, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 6, + "N1": 9, + "N2": 18, + "programLength": 27, + "programVocabulary": 8, + "volume": 81, + "difficulty": 3, + "effort": 243, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::getSingleTableHeaders" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addHalsteadHeaders": { + "line": 92, + "lineCount": 10, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 1, + "n2": 5, + "N1": 3, + "N2": 9, + "programLength": 12, + "programVocabulary": 6, + "volume": 31.019550008653873, + "difficulty": 0.9, + "effort": 27.917595007788485, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addHalsteadHeaders" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCyclomaticHeaders": { + "line": 109, + "lineCount": 8, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 5, + "programLength": 6, + "programVocabulary": 4, + "volume": 12, + "difficulty": 0.8333333333333334, + "effort": 10, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCyclomaticHeaders" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCognitiveMetricDetails": { + "line": 122, + "lineCount": 16, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 10, + "N1": 2, + "N2": 13, + "programLength": 15, + "programVocabulary": 12, + "volume": 53.77443751081734, + "difficulty": 1.3, + "effort": 69.90676876406255, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCognitiveMetricDetails" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::__construct": { + "line": 21, + "lineCount": 6, + "argCount": 3, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 3, + "N1": 0, + "N2": 3, + "programLength": 3, + "programVocabulary": 3, + "volume": 4.754887502163468, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::buildRow": { + "line": 34, + "lineCount": 16, + "argCount": 1, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 10, + "N2": 24, + "programLength": 34, + "programVocabulary": 7, + "volume": 95.45006734995854, + "difficulty": 4.8, + "effort": 458.160323279801, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::buildRow" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::buildRowWithClassInfo": { + "line": 57, + "lineCount": 16, + "argCount": 1, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 10, + "N2": 24, + "programLength": 34, + "programVocabulary": 7, + "volume": 95.45006734995854, + "difficulty": 4.8, + "effort": 458.160323279801, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::buildRowWithClassInfo" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::metricsToArray": { + "line": 79, + "lineCount": 8, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 3, + "N2": 7, + "programLength": 10, + "programVocabulary": 6, + "volume": 25.84962500721156, + "difficulty": 1.75, + "effort": 45.23684376262023, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::metricsToArray" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::metricsToArrayWithClassInfo": { + "line": 93, + "lineCount": 9, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 4, + "N2": 9, + "programLength": 13, + "programVocabulary": 7, + "volume": 36.49561398674886, + "difficulty": 1.8, + "effort": 65.69210517614795, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::metricsToArrayWithClassInfo" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addHalsteadFields": { + "line": 109, + "lineCount": 10, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 6, + "N1": 6, + "N2": 16, + "programLength": 22, + "programVocabulary": 8, + "volume": 66, + "difficulty": 2.6666666666666665, + "effort": 176, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addHalsteadFields" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addCyclomaticFields": { + "line": 126, + "lineCount": 8, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 2, + "N2": 8, + "programLength": 10, + "programVocabulary": 6, + "volume": 25.84962500721156, + "difficulty": 2, + "effort": 51.69925001442312, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addCyclomaticFields" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addWeightedValue": { + "line": 141, + "lineCount": 10, + "argCount": 3, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 11, + "N1": 13, + "N2": 22, + "programLength": 35, + "programVocabulary": 15, + "volume": 136.74117084629816, + "difficulty": 4, + "effort": 546.9646833851926, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addWeightedValue" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addDelta": { + "line": 158, + "lineCount": 20, + "argCount": 3, + "returnCount": 3, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 6, + "n2": 13, + "N1": 19, + "N2": 30, + "programLength": 49, + "programVocabulary": 19, + "volume": 208.14844815873568, + "difficulty": 6.9230769230769225, + "effort": 1441.0277180220162, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::getKeys": { + "line": 184, + "lineCount": 17, + "argCount": 0, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 0, + "n2": 9, + "N1": 0, + "N2": 9, + "programLength": 9, + "programVocabulary": 9, + "volume": 28.52932501298081, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::getKeys" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::assertDeltaMethodExists": { + "line": 205, + "lineCount": 6, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 6, + "programLength": 8, + "programVocabulary": 5, + "volume": 18.575424759098897, + "difficulty": 2, + "effort": 37.150849518197795, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::assertDeltaMethodExists" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addCoverageValue": { + "line": 216, + "lineCount": 11, + "argCount": 2, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 7, + "N1": 7, + "N2": 15, + "programLength": 22, + "programVocabulary": 12, + "volume": 78.86917501586544, + "difficulty": 5.357142857142857, + "effort": 422.51343758499337, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addCoverageValue" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::extracted": { + "line": 233, + "lineCount": 22, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 12, + "N1": 19, + "N2": 34, + "programLength": 53, + "programVocabulary": 15, + "volume": 207.06520156725148, + "difficulty": 4.25, + "effort": 880.0271066608187, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::extracted" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CacheConfig::__construct": { + "line": 12, + "lineCount": 5, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CacheConfig::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CacheConfig::toArray": { + "line": 23, + "lineCount": 7, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 3, + "N1": 0, + "N2": 4, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CacheConfig::toArray" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CognitiveConfig::__construct": { + "line": 20, + "lineCount": 13, + "argCount": 10, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 0, + "n2": 10, + "N1": 0, + "N2": 10, + "programLength": 10, + "programVocabulary": 10, + "volume": 33.219280948873624, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CognitiveConfig::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CognitiveConfig::toArray": { + "line": 39, + "lineCount": 20, + "argCount": 0, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 10, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 2, + "risk_level": "low" + }, + "halstead": { + "n1": 2, + "n2": 14, + "N1": 3, + "N2": 27, + "programLength": 30, + "programVocabulary": 16, + "volume": 120, + "difficulty": 1.9285714285714286, + "effort": 231.42857142857144, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CognitiveConfig::toArray" + } + } + }, + "ignored_items": [], + "cached_at": 1759967602 +} \ No newline at end of file diff --git a/.phpcca.cache/c7/c7550b967df78bdea6d3f1b8f836c7c9.cache b/.phpcca.cache/c7/c7550b967df78bdea6d3f1b8f836c7c9.cache new file mode 100644 index 0000000..2dcc5ec --- /dev/null +++ b/.phpcca.cache/c7/c7550b967df78bdea6d3f1b8f836c7c9.cache @@ -0,0 +1,1379 @@ +{ + "version": "1.0", + "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/Command\/Presentation\/ChurnTextRenderer.php", + "file_mtime": 1759791861, + "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", + "analysis_result": { + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::__construct": { + "line": 26, + "lineCount": 5, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 4, + "N1": 3, + "N2": 6, + "programLength": 9, + "programVocabulary": 7, + "volume": 25.26619429851844, + "difficulty": 2.25, + "effort": 56.848937171666485, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItem": { + "line": 35, + "lineCount": 15, + "argCount": 1, + "returnCount": 3, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 6, + "N2": 13, + "programLength": 19, + "programVocabulary": 8, + "volume": 57, + "difficulty": 6.5, + "effort": 370.5, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItem" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItems": { + "line": 55, + "lineCount": 9, + "argCount": 1, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 3, + "N2": 9, + "programLength": 12, + "programVocabulary": 6, + "volume": 31.019550008653873, + "difficulty": 2.25, + "effort": 69.79398751947122, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItems" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::hasItem": { + "line": 68, + "lineCount": 6, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 5, + "n2": 3, + "N1": 6, + "N2": 7, + "programLength": 13, + "programVocabulary": 8, + "volume": 39, + "difficulty": 5.833333333333334, + "effort": 227.50000000000003, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::hasItem" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::clear": { + "line": 75, + "lineCount": 10, + "argCount": 0, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 2, + "N2": 4, + "programLength": 6, + "programVocabulary": 3, + "volume": 9.509775004326936, + "difficulty": 1, + "effort": 9.509775004326936, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::clear" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItem": { + "line": 89, + "lineCount": 10, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 4, + "N2": 6, + "programLength": 10, + "programVocabulary": 6, + "volume": 25.84962500721156, + "difficulty": 3, + "effort": 77.54887502163469, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItem" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItems": { + "line": 103, + "lineCount": 10, + "argCount": 1, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 3, + "N2": 8, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 2, + "effort": 56.86917501586544, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItems" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::save": { + "line": 117, + "lineCount": 11, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 4, + "N1": 9, + "N2": 12, + "programLength": 21, + "programVocabulary": 7, + "volume": 58.95445336320969, + "difficulty": 4.5, + "effort": 265.2950401344436, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::save" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveDeferred": { + "line": 129, + "lineCount": 6, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveDeferred" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::commit": { + "line": 136, + "lineCount": 11, + "argCount": 0, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 4, + "N2": 8, + "programLength": 12, + "programVocabulary": 5, + "volume": 27.863137138648348, + "difficulty": 2.6666666666666665, + "effort": 74.30169903639559, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::commit" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::ensureCacheDirectory": { + "line": 152, + "lineCount": 9, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 3, + "N2": 4, + "programLength": 7, + "programVocabulary": 4, + "volume": 14, + "difficulty": 2, + "effort": 28, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::ensureCacheDirectory" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getCacheFilePath": { + "line": 168, + "lineCount": 15, + "argCount": 1, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 10, + "N1": 13, + "N2": 19, + "programLength": 32, + "programVocabulary": 14, + "volume": 121.83535750584333, + "difficulty": 3.8, + "effort": 462.9743585222046, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getCacheFilePath" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::loadCacheData": { + "line": 187, + "lineCount": 14, + "argCount": 1, + "returnCount": 3, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 6, + "N2": 8, + "programLength": 14, + "programVocabulary": 6, + "volume": 36.18947501009619, + "difficulty": 4, + "effort": 144.75790004038475, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::loadCacheData" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveCacheData": { + "line": 209, + "lineCount": 21, + "argCount": 2, + "returnCount": 3, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 6, + "n2": 7, + "N1": 13, + "N2": 17, + "programLength": 30, + "programVocabulary": 13, + "volume": 111.01319154423277, + "difficulty": 7.285714285714285, + "effort": 808.810395536553, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveCacheData" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::sanitizeUtf8": { + "line": 234, + "lineCount": 25, + "argCount": 1, + "returnCount": 4, + "variableCount": 6, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 8, + "N1": 13, + "N2": 29, + "programLength": 42, + "programVocabulary": 11, + "volume": 145.29612798276648, + "difficulty": 5.4375, + "effort": 790.0476959062927, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::sanitizeUtf8" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::removeDirectory": { + "line": 260, + "lineCount": 23, + "argCount": 1, + "returnCount": 2, + "variableCount": 5, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 5, + "n2": 9, + "N1": 13, + "N2": 20, + "programLength": 33, + "programVocabulary": 14, + "volume": 125.64271242790093, + "difficulty": 5.555555555555555, + "effort": 698.0150690438941, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::removeDirectory" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::__construct": { + "line": 42, + "lineCount": 7, + "argCount": 3, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 3, + "N1": 0, + "N2": 3, + "programLength": 3, + "programVocabulary": 3, + "volume": 4.754887502163468, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::configure": { + "line": 53, + "lineCount": 57, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 15, + "N1": 9, + "N2": 16, + "programLength": 25, + "programVocabulary": 16, + "volume": 100, + "difficulty": 0.5333333333333333, + "effort": 53.333333333333336, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::configure" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::execute": { + "line": 119, + "lineCount": 43, + "argCount": 2, + "returnCount": 5, + "variableCount": 9, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 4, + "halstead": { + "n1": 7, + "n2": 14, + "N1": 31, + "N2": 45, + "programLength": 76, + "programVocabulary": 21, + "volume": 333.8161241311858, + "difficulty": 11.25, + "effort": 3755.4313964758403, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::execute" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::loadCoverageReader": { + "line": 171, + "lineCount": 32, + "argCount": 3, + "returnCount": 4, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 2, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 4, + "n2": 9, + "N1": 9, + "N2": 21, + "programLength": 30, + "programVocabulary": 13, + "volume": 111.01319154423277, + "difficulty": 4.666666666666667, + "effort": 518.0615605397529, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::loadCoverageReader" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::detectCoverageFormat": { + "line": 207, + "lineCount": 19, + "argCount": 1, + "returnCount": 4, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 9, + "volume": 47.548875021634686, + "difficulty": 2.5, + "effort": 118.87218755408671, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::detectCoverageFormat" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::coverageFileExists": { + "line": 227, + "lineCount": 20, + "argCount": 2, + "returnCount": 3, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 4, + "N2": 7, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 3.5, + "effort": 99.52105627776452, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::coverageFileExists" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::__construct": { + "line": 49, + "lineCount": 10, + "argCount": 6, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 6, + "N1": 0, + "N2": 6, + "programLength": 6, + "programVocabulary": 6, + "volume": 15.509775004326936, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::configure": { + "line": 63, + "lineCount": 76, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 20, + "N1": 13, + "N2": 20, + "programLength": 33, + "programVocabulary": 21, + "volume": 144.94647495169912, + "difficulty": 0.5, + "effort": 72.47323747584956, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::configure" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::execute": { + "line": 150, + "lineCount": 52, + "argCount": 2, + "returnCount": 5, + "variableCount": 11, + "propertyCallCount": 6, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 7, + "halstead": { + "n1": 6, + "n2": 15, + "N1": 43, + "N2": 61, + "programLength": 104, + "programVocabulary": 21, + "volume": 456.80101196899113, + "difficulty": 12.2, + "effort": 5572.972346021692, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::execute" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::parsePaths": { + "line": 209, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 4, + "N2": 8, + "programLength": 12, + "programVocabulary": 7, + "volume": 33.68825906469125, + "difficulty": 1.6, + "effort": 53.901214503506004, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::parsePaths" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleBaseLine": { + "line": 224, + "lineCount": 8, + "argCount": 2, + "returnCount": 0, + "variableCount": 3, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 5, + "N2": 11, + "programLength": 16, + "programVocabulary": 7, + "volume": 44.91767875292167, + "difficulty": 2.2, + "effort": 98.81889325642767, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleBaseLine" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleCoverageOptions": { + "line": 238, + "lineCount": 20, + "argCount": 2, + "returnCount": 3, + "variableCount": 5, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 5, + "n2": 10, + "N1": 15, + "N2": 25, + "programLength": 40, + "programVocabulary": 15, + "volume": 156.27562382434076, + "difficulty": 6.25, + "effort": 976.7226489021298, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleCoverageOptions" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::applySorting": { + "line": 264, + "lineCount": 21, + "argCount": 3, + "returnCount": 3, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 15, + "N1": 16, + "N2": 32, + "programLength": 48, + "programVocabulary": 20, + "volume": 207.45254855459342, + "difficulty": 5.333333333333333, + "effort": 1106.4135922911648, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::applySorting" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadConfiguration": { + "line": 293, + "lineCount": 10, + "argCount": 2, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 6, + "N1": 5, + "N2": 9, + "programLength": 14, + "programVocabulary": 8, + "volume": 42, + "difficulty": 1.5, + "effort": 63, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadConfiguration" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadCoverageReader": { + "line": 313, + "lineCount": 28, + "argCount": 3, + "returnCount": 4, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 2, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 10, + "N2": 18, + "programLength": 28, + "programVocabulary": 11, + "volume": 96.86408532184433, + "difficulty": 5.142857142857143, + "effort": 498.15815308377086, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadCoverageReader" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::detectCoverageFormat": { + "line": 345, + "lineCount": 19, + "argCount": 1, + "returnCount": 4, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 9, + "volume": 47.548875021634686, + "difficulty": 2.5, + "effort": 118.87218755408671, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::detectCoverageFormat" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::coverageFileExists": { + "line": 365, + "lineCount": 20, + "argCount": 2, + "returnCount": 3, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 4, + "N2": 7, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 3.5, + "effort": 99.52105627776452, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::coverageFileExists" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__construct": { + "line": 12, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__invoke": { + "line": 17, + "lineCount": 22, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 3, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 10, + "N2": 11, + "programLength": 21, + "programVocabulary": 7, + "volume": 58.95445336320969, + "difficulty": 2.2, + "effort": 129.6997973990613, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__invoke" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__construct": { + "line": 21, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__invoke": { + "line": 26, + "lineCount": 11, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 4, + "N2": 9, + "programLength": 13, + "programVocabulary": 4, + "volume": 26, + "difficulty": 4.5, + "effort": 117, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__invoke" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleSourceFilesFound": { + "line": 38, + "lineCount": 6, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 4, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 6, + "N2": 10, + "programLength": 16, + "programVocabulary": 8, + "volume": 48, + "difficulty": 5, + "effort": 240, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleSourceFilesFound" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleFileProcessed": { + "line": 45, + "lineCount": 5, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleFileProcessed" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleAllFilesProcessed": { + "line": 51, + "lineCount": 6, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 3, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 3, + "N2": 5, + "programLength": 8, + "programVocabulary": 5, + "volume": 18.575424759098897, + "difficulty": 1.6666666666666667, + "effort": 30.95904126516483, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleAllFilesProcessed" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__construct": { + "line": 20, + "lineCount": 5, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__invoke": { + "line": 26, + "lineCount": 17, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 5, + "n2": 8, + "N1": 17, + "N2": 17, + "programLength": 34, + "programVocabulary": 13, + "volume": 125.81495041679713, + "difficulty": 5.3125, + "effort": 668.3919240892347, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__invoke" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::formatBytes": { + "line": 50, + "lineCount": 12, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 7, + "n2": 13, + "N1": 10, + "N2": 22, + "programLength": 32, + "programVocabulary": 20, + "volume": 138.3016990363956, + "difficulty": 5.923076923076923, + "effort": 819.1716019848047, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::formatBytes" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::isDebugEnabled": { + "line": 66, + "lineCount": 5, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 1, + "N1": 4, + "N2": 2, + "programLength": 6, + "programVocabulary": 4, + "volume": 12, + "difficulty": 3, + "effort": 36, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::isDebugEnabled" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::__construct": { + "line": 20, + "lineCount": 6, + "argCount": 2, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 4, + "volume": 8, + "difficulty": 0.5, + "effort": 4, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::exportToFile": { + "line": 32, + "lineCount": 27, + "argCount": 3, + "returnCount": 4, + "variableCount": 2, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 1, + "n2": 6, + "N1": 6, + "N2": 19, + "programLength": 25, + "programVocabulary": 7, + "volume": 70.1838730514401, + "difficulty": 1.5833333333333333, + "effort": 111.12446566478016, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::exportToFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::hasIncompleteReportOptions": { + "line": 60, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 2, + "N1": 7, + "N2": 6, + "programLength": 13, + "programVocabulary": 6, + "volume": 33.60451250937503, + "difficulty": 6, + "effort": 201.62707505625016, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::hasIncompleteReportOptions" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::isValidReportType": { + "line": 65, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 2, + "N2": 4, + "programLength": 6, + "programVocabulary": 4, + "volume": 12, + "difficulty": 2, + "effort": 24, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::isValidReportType" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleExceptions": { + "line": 77, + "lineCount": 9, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 3, + "N2": 4, + "programLength": 7, + "programVocabulary": 5, + "volume": 16.253496664211536, + "difficulty": 1.3333333333333333, + "effort": 21.67132888561538, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleExceptions" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleInvalidReportType": { + "line": 91, + "lineCount": 11, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 5, + "N2": 8, + "programLength": 13, + "programVocabulary": 8, + "volume": 39, + "difficulty": 2.4000000000000004, + "effort": 93.60000000000001, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleInvalidReportType" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::__construct": { + "line": 15, + "lineCount": 5, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handle": { + "line": 24, + "lineCount": 27, + "argCount": 3, + "returnCount": 4, + "variableCount": 2, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 1, + "n2": 6, + "N1": 6, + "N2": 19, + "programLength": 25, + "programVocabulary": 7, + "volume": 70.1838730514401, + "difficulty": 1.5833333333333333, + "effort": 111.12446566478016, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handle" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::hasIncompleteReportOptions": { + "line": 52, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 2, + "N1": 7, + "N2": 6, + "programLength": 13, + "programVocabulary": 6, + "volume": 33.60451250937503, + "difficulty": 6, + "effort": 201.62707505625016, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::hasIncompleteReportOptions" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::isValidReportType": { + "line": 57, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 5, + "N1": 1, + "N2": 6, + "programLength": 7, + "programVocabulary": 6, + "volume": 18.094737505048094, + "difficulty": 0.6, + "effort": 10.856842503028856, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::isValidReportType" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handleExceptions": { + "line": 66, + "lineCount": 9, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 3, + "N2": 4, + "programLength": 7, + "programVocabulary": 5, + "volume": 16.253496664211536, + "difficulty": 1.3333333333333333, + "effort": 21.67132888561538, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handleExceptions" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handleInvalidReporType": { + "line": 80, + "lineCount": 9, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 4, + "programLength": 6, + "programVocabulary": 5, + "volume": 13.931568569324174, + "difficulty": 1.3333333333333333, + "effort": 18.575424759098897, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handleInvalidReporType" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::__construct": { + "line": 42, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::reportWritten": { + "line": 47, + "lineCount": 7, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 4, + "programLength": 6, + "programVocabulary": 5, + "volume": 13.931568569324174, + "difficulty": 1.3333333333333333, + "effort": 18.575424759098897, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::reportWritten" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::renderChurnTable": { + "line": 59, + "lineCount": 35, + "argCount": 1, + "returnCount": 0, + "variableCount": 6, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "cyclomatic_complexity": { + "complexity": 8, + "risk_level": "medium" + }, + "halstead": { + "n1": 8, + "n2": 18, + "N1": 21, + "N2": 53, + "programLength": 74, + "programVocabulary": 26, + "volume": 347.8325391424408, + "difficulty": 11.777777777777779, + "effort": 4096.694349899859, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::renderChurnTable" + } + } + }, + "ignored_items": [], + "cached_at": 1759967602 +} \ No newline at end of file diff --git a/.phpcca.cache/c7/c7e7f6ca95bbd4b1618c2ff23df95c72.cache b/.phpcca.cache/c7/c7e7f6ca95bbd4b1618c2ff23df95c72.cache new file mode 100644 index 0000000..15f9034 --- /dev/null +++ b/.phpcca.cache/c7/c7e7f6ca95bbd4b1618c2ff23df95c72.cache @@ -0,0 +1,1689 @@ +{ + "version": "1.0", + "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/Command\/Presentation\/CognitiveMetricTextRendererInterface.php", + "file_mtime": 1759791861, + "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", + "analysis_result": { + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::__construct": { + "line": 26, + "lineCount": 5, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 4, + "N1": 3, + "N2": 6, + "programLength": 9, + "programVocabulary": 7, + "volume": 25.26619429851844, + "difficulty": 2.25, + "effort": 56.848937171666485, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItem": { + "line": 35, + "lineCount": 15, + "argCount": 1, + "returnCount": 3, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 6, + "N2": 13, + "programLength": 19, + "programVocabulary": 8, + "volume": 57, + "difficulty": 6.5, + "effort": 370.5, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItem" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItems": { + "line": 55, + "lineCount": 9, + "argCount": 1, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 3, + "N2": 9, + "programLength": 12, + "programVocabulary": 6, + "volume": 31.019550008653873, + "difficulty": 2.25, + "effort": 69.79398751947122, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItems" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::hasItem": { + "line": 68, + "lineCount": 6, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 5, + "n2": 3, + "N1": 6, + "N2": 7, + "programLength": 13, + "programVocabulary": 8, + "volume": 39, + "difficulty": 5.833333333333334, + "effort": 227.50000000000003, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::hasItem" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::clear": { + "line": 75, + "lineCount": 10, + "argCount": 0, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 2, + "N2": 4, + "programLength": 6, + "programVocabulary": 3, + "volume": 9.509775004326936, + "difficulty": 1, + "effort": 9.509775004326936, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::clear" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItem": { + "line": 89, + "lineCount": 10, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 4, + "N2": 6, + "programLength": 10, + "programVocabulary": 6, + "volume": 25.84962500721156, + "difficulty": 3, + "effort": 77.54887502163469, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItem" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItems": { + "line": 103, + "lineCount": 10, + "argCount": 1, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 3, + "N2": 8, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 2, + "effort": 56.86917501586544, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItems" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::save": { + "line": 117, + "lineCount": 11, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 4, + "N1": 9, + "N2": 12, + "programLength": 21, + "programVocabulary": 7, + "volume": 58.95445336320969, + "difficulty": 4.5, + "effort": 265.2950401344436, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::save" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveDeferred": { + "line": 129, + "lineCount": 6, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveDeferred" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::commit": { + "line": 136, + "lineCount": 11, + "argCount": 0, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 4, + "N2": 8, + "programLength": 12, + "programVocabulary": 5, + "volume": 27.863137138648348, + "difficulty": 2.6666666666666665, + "effort": 74.30169903639559, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::commit" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::ensureCacheDirectory": { + "line": 152, + "lineCount": 9, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 3, + "N2": 4, + "programLength": 7, + "programVocabulary": 4, + "volume": 14, + "difficulty": 2, + "effort": 28, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::ensureCacheDirectory" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getCacheFilePath": { + "line": 168, + "lineCount": 15, + "argCount": 1, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 10, + "N1": 13, + "N2": 19, + "programLength": 32, + "programVocabulary": 14, + "volume": 121.83535750584333, + "difficulty": 3.8, + "effort": 462.9743585222046, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getCacheFilePath" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::loadCacheData": { + "line": 187, + "lineCount": 14, + "argCount": 1, + "returnCount": 3, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 6, + "N2": 8, + "programLength": 14, + "programVocabulary": 6, + "volume": 36.18947501009619, + "difficulty": 4, + "effort": 144.75790004038475, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::loadCacheData" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveCacheData": { + "line": 209, + "lineCount": 21, + "argCount": 2, + "returnCount": 3, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 6, + "n2": 7, + "N1": 13, + "N2": 17, + "programLength": 30, + "programVocabulary": 13, + "volume": 111.01319154423277, + "difficulty": 7.285714285714285, + "effort": 808.810395536553, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveCacheData" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::sanitizeUtf8": { + "line": 234, + "lineCount": 25, + "argCount": 1, + "returnCount": 4, + "variableCount": 6, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 8, + "N1": 13, + "N2": 29, + "programLength": 42, + "programVocabulary": 11, + "volume": 145.29612798276648, + "difficulty": 5.4375, + "effort": 790.0476959062927, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::sanitizeUtf8" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::removeDirectory": { + "line": 260, + "lineCount": 23, + "argCount": 1, + "returnCount": 2, + "variableCount": 5, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 5, + "n2": 9, + "N1": 13, + "N2": 20, + "programLength": 33, + "programVocabulary": 14, + "volume": 125.64271242790093, + "difficulty": 5.555555555555555, + "effort": 698.0150690438941, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::removeDirectory" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::__construct": { + "line": 42, + "lineCount": 7, + "argCount": 3, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 3, + "N1": 0, + "N2": 3, + "programLength": 3, + "programVocabulary": 3, + "volume": 4.754887502163468, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::configure": { + "line": 53, + "lineCount": 57, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 15, + "N1": 9, + "N2": 16, + "programLength": 25, + "programVocabulary": 16, + "volume": 100, + "difficulty": 0.5333333333333333, + "effort": 53.333333333333336, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::configure" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::execute": { + "line": 119, + "lineCount": 43, + "argCount": 2, + "returnCount": 5, + "variableCount": 9, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 4, + "halstead": { + "n1": 7, + "n2": 14, + "N1": 31, + "N2": 45, + "programLength": 76, + "programVocabulary": 21, + "volume": 333.8161241311858, + "difficulty": 11.25, + "effort": 3755.4313964758403, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::execute" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::loadCoverageReader": { + "line": 171, + "lineCount": 32, + "argCount": 3, + "returnCount": 4, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 2, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 4, + "n2": 9, + "N1": 9, + "N2": 21, + "programLength": 30, + "programVocabulary": 13, + "volume": 111.01319154423277, + "difficulty": 4.666666666666667, + "effort": 518.0615605397529, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::loadCoverageReader" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::detectCoverageFormat": { + "line": 207, + "lineCount": 19, + "argCount": 1, + "returnCount": 4, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 9, + "volume": 47.548875021634686, + "difficulty": 2.5, + "effort": 118.87218755408671, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::detectCoverageFormat" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::coverageFileExists": { + "line": 227, + "lineCount": 20, + "argCount": 2, + "returnCount": 3, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 4, + "N2": 7, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 3.5, + "effort": 99.52105627776452, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::coverageFileExists" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::__construct": { + "line": 49, + "lineCount": 10, + "argCount": 6, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 6, + "N1": 0, + "N2": 6, + "programLength": 6, + "programVocabulary": 6, + "volume": 15.509775004326936, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::configure": { + "line": 63, + "lineCount": 76, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 20, + "N1": 13, + "N2": 20, + "programLength": 33, + "programVocabulary": 21, + "volume": 144.94647495169912, + "difficulty": 0.5, + "effort": 72.47323747584956, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::configure" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::execute": { + "line": 150, + "lineCount": 52, + "argCount": 2, + "returnCount": 5, + "variableCount": 11, + "propertyCallCount": 6, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 7, + "halstead": { + "n1": 6, + "n2": 15, + "N1": 43, + "N2": 61, + "programLength": 104, + "programVocabulary": 21, + "volume": 456.80101196899113, + "difficulty": 12.2, + "effort": 5572.972346021692, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::execute" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::parsePaths": { + "line": 209, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 4, + "N2": 8, + "programLength": 12, + "programVocabulary": 7, + "volume": 33.68825906469125, + "difficulty": 1.6, + "effort": 53.901214503506004, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::parsePaths" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleBaseLine": { + "line": 224, + "lineCount": 8, + "argCount": 2, + "returnCount": 0, + "variableCount": 3, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 5, + "N2": 11, + "programLength": 16, + "programVocabulary": 7, + "volume": 44.91767875292167, + "difficulty": 2.2, + "effort": 98.81889325642767, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleBaseLine" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleCoverageOptions": { + "line": 238, + "lineCount": 20, + "argCount": 2, + "returnCount": 3, + "variableCount": 5, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 5, + "n2": 10, + "N1": 15, + "N2": 25, + "programLength": 40, + "programVocabulary": 15, + "volume": 156.27562382434076, + "difficulty": 6.25, + "effort": 976.7226489021298, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleCoverageOptions" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::applySorting": { + "line": 264, + "lineCount": 21, + "argCount": 3, + "returnCount": 3, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 15, + "N1": 16, + "N2": 32, + "programLength": 48, + "programVocabulary": 20, + "volume": 207.45254855459342, + "difficulty": 5.333333333333333, + "effort": 1106.4135922911648, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::applySorting" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadConfiguration": { + "line": 293, + "lineCount": 10, + "argCount": 2, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 6, + "N1": 5, + "N2": 9, + "programLength": 14, + "programVocabulary": 8, + "volume": 42, + "difficulty": 1.5, + "effort": 63, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadConfiguration" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadCoverageReader": { + "line": 313, + "lineCount": 28, + "argCount": 3, + "returnCount": 4, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 2, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 10, + "N2": 18, + "programLength": 28, + "programVocabulary": 11, + "volume": 96.86408532184433, + "difficulty": 5.142857142857143, + "effort": 498.15815308377086, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadCoverageReader" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::detectCoverageFormat": { + "line": 345, + "lineCount": 19, + "argCount": 1, + "returnCount": 4, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 9, + "volume": 47.548875021634686, + "difficulty": 2.5, + "effort": 118.87218755408671, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::detectCoverageFormat" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::coverageFileExists": { + "line": 365, + "lineCount": 20, + "argCount": 2, + "returnCount": 3, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 4, + "N2": 7, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 3.5, + "effort": 99.52105627776452, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::coverageFileExists" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__construct": { + "line": 12, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__invoke": { + "line": 17, + "lineCount": 22, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 3, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 10, + "N2": 11, + "programLength": 21, + "programVocabulary": 7, + "volume": 58.95445336320969, + "difficulty": 2.2, + "effort": 129.6997973990613, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__invoke" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__construct": { + "line": 21, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__invoke": { + "line": 26, + "lineCount": 11, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 4, + "N2": 9, + "programLength": 13, + "programVocabulary": 4, + "volume": 26, + "difficulty": 4.5, + "effort": 117, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__invoke" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleSourceFilesFound": { + "line": 38, + "lineCount": 6, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 4, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 6, + "N2": 10, + "programLength": 16, + "programVocabulary": 8, + "volume": 48, + "difficulty": 5, + "effort": 240, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleSourceFilesFound" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleFileProcessed": { + "line": 45, + "lineCount": 5, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleFileProcessed" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleAllFilesProcessed": { + "line": 51, + "lineCount": 6, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 3, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 3, + "N2": 5, + "programLength": 8, + "programVocabulary": 5, + "volume": 18.575424759098897, + "difficulty": 1.6666666666666667, + "effort": 30.95904126516483, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleAllFilesProcessed" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__construct": { + "line": 20, + "lineCount": 5, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__invoke": { + "line": 26, + "lineCount": 17, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 5, + "n2": 8, + "N1": 17, + "N2": 17, + "programLength": 34, + "programVocabulary": 13, + "volume": 125.81495041679713, + "difficulty": 5.3125, + "effort": 668.3919240892347, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__invoke" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::formatBytes": { + "line": 50, + "lineCount": 12, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 7, + "n2": 13, + "N1": 10, + "N2": 22, + "programLength": 32, + "programVocabulary": 20, + "volume": 138.3016990363956, + "difficulty": 5.923076923076923, + "effort": 819.1716019848047, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::formatBytes" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::isDebugEnabled": { + "line": 66, + "lineCount": 5, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 1, + "N1": 4, + "N2": 2, + "programLength": 6, + "programVocabulary": 4, + "volume": 12, + "difficulty": 3, + "effort": 36, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::isDebugEnabled" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::__construct": { + "line": 20, + "lineCount": 6, + "argCount": 2, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 4, + "volume": 8, + "difficulty": 0.5, + "effort": 4, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::exportToFile": { + "line": 32, + "lineCount": 27, + "argCount": 3, + "returnCount": 4, + "variableCount": 2, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 1, + "n2": 6, + "N1": 6, + "N2": 19, + "programLength": 25, + "programVocabulary": 7, + "volume": 70.1838730514401, + "difficulty": 1.5833333333333333, + "effort": 111.12446566478016, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::exportToFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::hasIncompleteReportOptions": { + "line": 60, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 2, + "N1": 7, + "N2": 6, + "programLength": 13, + "programVocabulary": 6, + "volume": 33.60451250937503, + "difficulty": 6, + "effort": 201.62707505625016, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::hasIncompleteReportOptions" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::isValidReportType": { + "line": 65, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 2, + "N2": 4, + "programLength": 6, + "programVocabulary": 4, + "volume": 12, + "difficulty": 2, + "effort": 24, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::isValidReportType" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleExceptions": { + "line": 77, + "lineCount": 9, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 3, + "N2": 4, + "programLength": 7, + "programVocabulary": 5, + "volume": 16.253496664211536, + "difficulty": 1.3333333333333333, + "effort": 21.67132888561538, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleExceptions" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleInvalidReportType": { + "line": 91, + "lineCount": 11, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 5, + "N2": 8, + "programLength": 13, + "programVocabulary": 8, + "volume": 39, + "difficulty": 2.4000000000000004, + "effort": 93.60000000000001, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleInvalidReportType" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::__construct": { + "line": 15, + "lineCount": 5, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handle": { + "line": 24, + "lineCount": 27, + "argCount": 3, + "returnCount": 4, + "variableCount": 2, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 1, + "n2": 6, + "N1": 6, + "N2": 19, + "programLength": 25, + "programVocabulary": 7, + "volume": 70.1838730514401, + "difficulty": 1.5833333333333333, + "effort": 111.12446566478016, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handle" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::hasIncompleteReportOptions": { + "line": 52, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 2, + "N1": 7, + "N2": 6, + "programLength": 13, + "programVocabulary": 6, + "volume": 33.60451250937503, + "difficulty": 6, + "effort": 201.62707505625016, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::hasIncompleteReportOptions" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::isValidReportType": { + "line": 57, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 5, + "N1": 1, + "N2": 6, + "programLength": 7, + "programVocabulary": 6, + "volume": 18.094737505048094, + "difficulty": 0.6, + "effort": 10.856842503028856, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::isValidReportType" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handleExceptions": { + "line": 66, + "lineCount": 9, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 3, + "N2": 4, + "programLength": 7, + "programVocabulary": 5, + "volume": 16.253496664211536, + "difficulty": 1.3333333333333333, + "effort": 21.67132888561538, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handleExceptions" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handleInvalidReporType": { + "line": 80, + "lineCount": 9, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 4, + "programLength": 6, + "programVocabulary": 5, + "volume": 13.931568569324174, + "difficulty": 1.3333333333333333, + "effort": 18.575424759098897, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handleInvalidReporType" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::__construct": { + "line": 42, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::reportWritten": { + "line": 47, + "lineCount": 7, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 4, + "programLength": 6, + "programVocabulary": 5, + "volume": 13.931568569324174, + "difficulty": 1.3333333333333333, + "effort": 18.575424759098897, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::reportWritten" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::renderChurnTable": { + "line": 59, + "lineCount": 35, + "argCount": 1, + "returnCount": 0, + "variableCount": 6, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 8, + "n2": 18, + "N1": 21, + "N2": 53, + "programLength": 74, + "programVocabulary": 26, + "volume": 347.8325391424408, + "difficulty": 11.777777777777779, + "effort": 4096.694349899859, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::renderChurnTable" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricSummaryTextRenderer::__construct": { + "line": 18, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricSummaryTextRenderer::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricSummaryTextRenderer::render": { + "line": 23, + "lineCount": 32, + "argCount": 2, + "returnCount": 0, + "variableCount": 6, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 6, + "n2": 16, + "N1": 27, + "N2": 38, + "programLength": 65, + "programVocabulary": 22, + "volume": 289.86305521142435, + "difficulty": 7.125, + "effort": 2065.2742683813985, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricSummaryTextRenderer::render" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::__construct": { + "line": 27, + "lineCount": 5, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::metricExceedsThreshold": { + "line": 33, + "lineCount": 6, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 2, + "N1": 3, + "N2": 5, + "programLength": 8, + "programVocabulary": 5, + "volume": 18.575424759098897, + "difficulty": 3.75, + "effort": 69.65784284662087, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::metricExceedsThreshold" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::hasCoverageInCollection": { + "line": 43, + "lineCount": 10, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 2, + "N2": 4, + "programLength": 6, + "programVocabulary": 4, + "volume": 12, + "difficulty": 2, + "effort": 24, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::hasCoverageInCollection" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::render": { + "line": 58, + "lineCount": 17, + "argCount": 2, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 6, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 9, + "N2": 25, + "programLength": 34, + "programVocabulary": 6, + "volume": 87.8887250245193, + "difficulty": 6.25, + "effort": 549.3045314032456, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::render" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderGroupedByClass": { + "line": 81, + "lineCount": 19, + "argCount": 3, + "returnCount": 0, + "variableCount": 6, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 5, + "n2": 11, + "N1": 11, + "N2": 25, + "programLength": 36, + "programVocabulary": 16, + "volume": 144, + "difficulty": 5.6818181818181825, + "effort": 818.1818181818182, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderGroupedByClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::buildRowsForClass": { + "line": 106, + "lineCount": 13, + "argCount": 2, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 4, + "N2": 12, + "programLength": 16, + "programVocabulary": 7, + "volume": 44.91767875292167, + "difficulty": 2.4, + "effort": 107.802429007012, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::buildRowsForClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::getFilenameFromMetrics": { + "line": 123, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 5, + "programLength": 6, + "programVocabulary": 4, + "volume": 12, + "difficulty": 0.8333333333333334, + "effort": 10, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::getFilenameFromMetrics" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderAllMethodsInSingleTable": { + "line": 136, + "lineCount": 12, + "argCount": 3, + "returnCount": 0, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 6, + "N2": 15, + "programLength": 21, + "programVocabulary": 11, + "volume": 72.64806399138324, + "difficulty": 4.285714285714286, + "effort": 311.34884567735673, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderAllMethodsInSingleTable" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::buildRowsForSingleTable": { + "line": 154, + "lineCount": 13, + "argCount": 2, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 4, + "N2": 12, + "programLength": 16, + "programVocabulary": 7, + "volume": 44.91767875292167, + "difficulty": 2.4, + "effort": 107.802429007012, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::buildRowsForSingleTable" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderTableCommon": { + "line": 173, + "lineCount": 19, + "argCount": 4, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 8, + "N1": 7, + "N2": 19, + "programLength": 26, + "programVocabulary": 10, + "volume": 86.37013046707142, + "difficulty": 2.375, + "effort": 205.1290598592946, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderTableCommon" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderTable": { + "line": 196, + "lineCount": 13, + "argCount": 4, + "returnCount": 0, + "variableCount": 3, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 7, + "N1": 4, + "N2": 14, + "programLength": 18, + "programVocabulary": 9, + "volume": 57.05865002596162, + "difficulty": 2, + "effort": 114.11730005192324, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderTable" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderSingleTable": { + "line": 213, + "lineCount": 11, + "argCount": 3, + "returnCount": 0, + "variableCount": 3, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 6, + "N1": 4, + "N2": 12, + "programLength": 16, + "programVocabulary": 8, + "volume": 48, + "difficulty": 2, + "effort": 96, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderSingleTable" + } + } + }, + "ignored_items": [], + "cached_at": 1759967602 +} \ No newline at end of file diff --git a/.phpcca.cache/cb/cb3b44df4ae490f35e8727bc6b05c092.cache b/.phpcca.cache/cb/cb3b44df4ae490f35e8727bc6b05c092.cache new file mode 100644 index 0000000..40989ba --- /dev/null +++ b/.phpcca.cache/cb/cb3b44df4ae490f35e8727bc6b05c092.cache @@ -0,0 +1,658 @@ +{ + "version": "1.0", + "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/Business\/Churn\/Exporter\/CsvExporter.php", + "file_mtime": 1759784766, + "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", + "analysis_result": { + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct": { + "line": 60, + "lineCount": 5, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 1, + "N1": 2, + "N2": 2, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 2, + "effort": 12.679700005769249, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices": { + "line": 66, + "lineCount": 95, + "argCount": 0, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 5, + "N1": 58, + "N2": 32, + "programLength": 90, + "programVocabulary": 9, + "volume": 285.2932501298081, + "difficulty": 12.8, + "effort": 3651.7536016615436, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap": { + "line": 162, + "lineCount": 10, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 7, + "N2": 7, + "programLength": 14, + "programVocabulary": 2, + "volume": 14, + "difficulty": 3.5, + "effort": 49, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors": { + "line": 173, + "lineCount": 12, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 3, + "N2": 1, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0.5, + "effort": 2, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus": { + "line": 186, + "lineCount": 19, + "argCount": 0, + "returnCount": 0, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 9, + "N2": 13, + "programLength": 22, + "programVocabulary": 7, + "volume": 61.76180828526729, + "difficulty": 2.6, + "effort": 160.58070154169496, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService": { + "line": 206, + "lineCount": 9, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 3, + "N2": 1, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0.5, + "effort": 2, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade": { + "line": 216, + "lineCount": 13, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 3, + "N2": 1, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0.5, + "effort": 2, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands": { + "line": 230, + "lineCount": 21, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 6, + "N2": 2, + "programLength": 8, + "programVocabulary": 2, + "volume": 8, + "difficulty": 1, + "effort": 8, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication": { + "line": 252, + "lineCount": 11, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 5, + "N2": 4, + "programLength": 9, + "programVocabulary": 4, + "volume": 18, + "difficulty": 0.6666666666666666, + "effort": 12, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run": { + "line": 264, + "lineCount": 9, + "argCount": 0, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 5, + "N2": 5, + "programLength": 10, + "programVocabulary": 4, + "volume": 20, + "difficulty": 2.5, + "effort": 50, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get": { + "line": 274, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer": { + "line": 279, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator": { + "line": 289, + "lineCount": 16, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 7, + "programLength": 8, + "programVocabulary": 4, + "volume": 16, + "difficulty": 1.1666666666666667, + "effort": 18.666666666666668, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create": { + "line": 18, + "lineCount": 7, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 4, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile": { + "line": 17, + "lineCount": 17, + "argCount": 2, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 8, + "N1": 11, + "N2": 19, + "programLength": 30, + "programVocabulary": 11, + "volume": 103.78294855911892, + "difficulty": 3.5625, + "effort": 369.72675424186116, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode": { + "line": 42, + "lineCount": 8, + "argCount": 3, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 3, + "N2": 8, + "programLength": 11, + "programVocabulary": 8, + "volume": 33, + "difficulty": 2.4000000000000004, + "effort": 79.20000000000002, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate": { + "line": 22, + "lineCount": 10, + "argCount": 2, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 6, + "N2": 13, + "programLength": 19, + "programVocabulary": 6, + "volume": 49.11428751370197, + "difficulty": 3.25, + "effort": 159.6214344195314, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending": { + "line": 37, + "lineCount": 8, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 2, + "N2": 9, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 2.25, + "effort": 63.97782189284862, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn": { + "line": 51, + "lineCount": 24, + "argCount": 2, + "returnCount": 1, + "variableCount": 6, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 15, + "N1": 17, + "N2": 46, + "programLength": 63, + "programVocabulary": 20, + "volume": 272.28146997790384, + "difficulty": 7.666666666666667, + "effort": 2087.491269830596, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses": { + "line": 81, + "lineCount": 20, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 2, + "n2": 7, + "N1": 10, + "N2": 24, + "programLength": 34, + "programVocabulary": 9, + "volume": 107.7774500490386, + "difficulty": 3.4285714285714284, + "effort": 369.52268588241805, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass": { + "line": 109, + "lineCount": 9, + "argCount": 2, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 6, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 10, + "volume": 49.82892142331043, + "difficulty": 3.3333333333333335, + "effort": 166.09640474436813, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel": { + "line": 126, + "lineCount": 16, + "argCount": 2, + "returnCount": 4, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 12, + "N1": 9, + "N2": 18, + "programLength": 27, + "programVocabulary": 15, + "volume": 105.48604608143, + "difficulty": 2.25, + "effort": 237.3436036832175, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile": { + "line": 14, + "lineCount": 6, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 2, + "N2": 5, + "programLength": 7, + "programVocabulary": 4, + "volume": 14, + "difficulty": 2.5, + "effort": 35, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable": { + "line": 24, + "lineCount": 11, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 10, + "N2": 12, + "programLength": 22, + "programVocabulary": 8, + "volume": 66, + "difficulty": 6, + "effort": 396, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create": { + "line": 21, + "lineCount": 11, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 7, + "N1": 0, + "N2": 9, + "programLength": 9, + "programVocabulary": 7, + "volume": 25.26619429851844, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes": { + "line": 38, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 6, + "N1": 0, + "N2": 6, + "programLength": 6, + "programVocabulary": 6, + "volume": 15.509775004326936, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported": { + "line": 49, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 2, + "N2": 3, + "programLength": 5, + "programVocabulary": 4, + "volume": 10, + "difficulty": 1.5, + "effort": 15, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export": { + "line": 30, + "lineCount": 23, + "argCount": 2, + "returnCount": 0, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 2, + "risk_level": "low" + }, + "halstead": { + "n1": 4, + "n2": 16, + "N1": 10, + "N2": 33, + "programLength": 43, + "programVocabulary": 20, + "volume": 185.8429080801566, + "difficulty": 4.125, + "effort": 766.601995830646, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export" + } + } + }, + "ignored_items": [], + "cached_at": 1759967600 +} \ No newline at end of file diff --git a/.phpcca.cache/cd/cdf68c5a56114e41271670e6c89ecff2.cache b/.phpcca.cache/cd/cdf68c5a56114e41271670e6c89ecff2.cache new file mode 100644 index 0000000..b722810 --- /dev/null +++ b/.phpcca.cache/cd/cdf68c5a56114e41271670e6c89ecff2.cache @@ -0,0 +1,4771 @@ +{ + "version": "1.0", + "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/Business\/Cognitive\/FindMetricsPluginInterface.php", + "file_mtime": 1752612112, + "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", + "analysis_result": { + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct": { + "line": 60, + "lineCount": 5, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 1, + "N1": 2, + "N2": 2, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 2, + "effort": 12.679700005769249, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices": { + "line": 66, + "lineCount": 95, + "argCount": 0, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 5, + "N1": 58, + "N2": 32, + "programLength": 90, + "programVocabulary": 9, + "volume": 285.2932501298081, + "difficulty": 12.8, + "effort": 3651.7536016615436, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap": { + "line": 162, + "lineCount": 10, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 7, + "N2": 7, + "programLength": 14, + "programVocabulary": 2, + "volume": 14, + "difficulty": 3.5, + "effort": 49, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors": { + "line": 173, + "lineCount": 12, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 3, + "N2": 1, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0.5, + "effort": 2, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus": { + "line": 186, + "lineCount": 19, + "argCount": 0, + "returnCount": 0, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 9, + "N2": 13, + "programLength": 22, + "programVocabulary": 7, + "volume": 61.76180828526729, + "difficulty": 2.6, + "effort": 160.58070154169496, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService": { + "line": 206, + "lineCount": 9, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 3, + "N2": 1, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0.5, + "effort": 2, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade": { + "line": 216, + "lineCount": 13, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 3, + "N2": 1, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0.5, + "effort": 2, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands": { + "line": 230, + "lineCount": 21, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 6, + "N2": 2, + "programLength": 8, + "programVocabulary": 2, + "volume": 8, + "difficulty": 1, + "effort": 8, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication": { + "line": 252, + "lineCount": 11, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 5, + "N2": 4, + "programLength": 9, + "programVocabulary": 4, + "volume": 18, + "difficulty": 0.6666666666666666, + "effort": 12, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run": { + "line": 264, + "lineCount": 9, + "argCount": 0, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 5, + "N2": 5, + "programLength": 10, + "programVocabulary": 4, + "volume": 20, + "difficulty": 2.5, + "effort": 50, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get": { + "line": 274, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer": { + "line": 279, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator": { + "line": 289, + "lineCount": 16, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 7, + "programLength": 8, + "programVocabulary": 4, + "volume": 16, + "difficulty": 1.1666666666666667, + "effort": 18.666666666666668, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create": { + "line": 18, + "lineCount": 7, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 4, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile": { + "line": 17, + "lineCount": 17, + "argCount": 2, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 8, + "N1": 11, + "N2": 19, + "programLength": 30, + "programVocabulary": 11, + "volume": 103.78294855911892, + "difficulty": 3.5625, + "effort": 369.72675424186116, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode": { + "line": 42, + "lineCount": 8, + "argCount": 3, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 3, + "N2": 8, + "programLength": 11, + "programVocabulary": 8, + "volume": 33, + "difficulty": 2.4000000000000004, + "effort": 79.20000000000002, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate": { + "line": 22, + "lineCount": 10, + "argCount": 2, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 6, + "N2": 13, + "programLength": 19, + "programVocabulary": 6, + "volume": 49.11428751370197, + "difficulty": 3.25, + "effort": 159.6214344195314, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending": { + "line": 37, + "lineCount": 8, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 2, + "N2": 9, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 2.25, + "effort": 63.97782189284862, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn": { + "line": 51, + "lineCount": 24, + "argCount": 2, + "returnCount": 1, + "variableCount": 6, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 15, + "N1": 17, + "N2": 46, + "programLength": 63, + "programVocabulary": 20, + "volume": 272.28146997790384, + "difficulty": 7.666666666666667, + "effort": 2087.491269830596, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses": { + "line": 81, + "lineCount": 20, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 2, + "n2": 7, + "N1": 10, + "N2": 24, + "programLength": 34, + "programVocabulary": 9, + "volume": 107.7774500490386, + "difficulty": 3.4285714285714284, + "effort": 369.52268588241805, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass": { + "line": 109, + "lineCount": 9, + "argCount": 2, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 6, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 10, + "volume": 49.82892142331043, + "difficulty": 3.3333333333333335, + "effort": 166.09640474436813, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel": { + "line": 126, + "lineCount": 16, + "argCount": 2, + "returnCount": 4, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 12, + "N1": 9, + "N2": 18, + "programLength": 27, + "programVocabulary": 15, + "volume": 105.48604608143, + "difficulty": 2.25, + "effort": 237.3436036832175, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile": { + "line": 14, + "lineCount": 6, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 2, + "N2": 5, + "programLength": 7, + "programVocabulary": 4, + "volume": 14, + "difficulty": 2.5, + "effort": 35, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable": { + "line": 24, + "lineCount": 11, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 10, + "N2": 12, + "programLength": 22, + "programVocabulary": 8, + "volume": 66, + "difficulty": 6, + "effort": 396, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create": { + "line": 21, + "lineCount": 11, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 7, + "N1": 0, + "N2": 9, + "programLength": 9, + "programVocabulary": 7, + "volume": 25.26619429851844, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes": { + "line": 38, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 6, + "N1": 0, + "N2": 6, + "programLength": 6, + "programVocabulary": 6, + "volume": 15.509775004326936, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported": { + "line": 49, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 2, + "N2": 3, + "programLength": 5, + "programVocabulary": 4, + "volume": 10, + "difficulty": 1.5, + "effort": 15, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export": { + "line": 30, + "lineCount": 23, + "argCount": 2, + "returnCount": 0, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 16, + "N1": 10, + "N2": 33, + "programLength": 43, + "programVocabulary": 20, + "volume": 185.8429080801566, + "difficulty": 4.125, + "effort": 766.601995830646, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export": { + "line": 28, + "lineCount": 8, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 6, + "volume": 36.18947501009619, + "difficulty": 2.5, + "effort": 90.47368752524048, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape": { + "line": 37, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber": { + "line": 42, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml": { + "line": 52, + "lineCount": 50, + "argCount": 1, + "returnCount": 1, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 12, + "N1": 11, + "N2": 25, + "programLength": 36, + "programVocabulary": 17, + "volume": 147.14866228501222, + "difficulty": 5.208333333333334, + "effort": 766.3992827344388, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export": { + "line": 17, + "lineCount": 13, + "argCount": 2, + "returnCount": 0, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 8, + "N1": 7, + "N2": 14, + "programLength": 21, + "programVocabulary": 12, + "volume": 75.28421251514428, + "difficulty": 3.5, + "effort": 263.49474380300495, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export": { + "line": 48, + "lineCount": 8, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 6, + "volume": 36.18947501009619, + "difficulty": 2.5, + "effort": 90.47368752524048, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown": { + "line": 61, + "lineCount": 24, + "argCount": 1, + "returnCount": 1, + "variableCount": 6, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 6, + "n2": 16, + "N1": 19, + "N2": 41, + "programLength": 60, + "programVocabulary": 22, + "volume": 267.56589711823784, + "difficulty": 7.6875, + "effort": 2056.9128340964535, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow": { + "line": 94, + "lineCount": 21, + "argCount": 3, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 7, + "n2": 18, + "N1": 16, + "N2": 39, + "programLength": 55, + "programVocabulary": 25, + "volume": 255.41209043760983, + "difficulty": 7.583333333333333, + "effort": 1936.8750191518745, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::__construct": { + "line": 26, + "lineCount": 4, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::export": { + "line": 36, + "lineCount": 10, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 8, + "volume": 45, + "difficulty": 5, + "effort": 225, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::generateSvgTreemap": { + "line": 53, + "lineCount": 20, + "argCount": 1, + "returnCount": 1, + "variableCount": 6, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 8, + "N1": 9, + "N2": 20, + "programLength": 29, + "programVocabulary": 10, + "volume": 96.3359147517335, + "difficulty": 2.5, + "effort": 240.83978687933376, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::generateSvgTreemap" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRects": { + "line": 82, + "lineCount": 10, + "argCount": 3, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 9, + "N1": 6, + "N2": 18, + "programLength": 24, + "programVocabulary": 12, + "volume": 86.03910001730775, + "difficulty": 3, + "effort": 258.1173000519232, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRects" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRect": { + "line": 100, + "lineCount": 29, + "argCount": 2, + "returnCount": 1, + "variableCount": 12, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 6, + "n2": 28, + "N1": 26, + "N2": 54, + "programLength": 80, + "programVocabulary": 34, + "volume": 406.9970273000271, + "difficulty": 5.785714285714286, + "effort": 2354.7685150930142, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRect" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::wrapSvg": { + "line": 136, + "lineCount": 21, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 2, + "N2": 8, + "programLength": 10, + "programVocabulary": 4, + "volume": 20, + "difficulty": 1.3333333333333333, + "effort": 26.666666666666664, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::wrapSvg" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::prepareItems": { + "line": 28, + "lineCount": 18, + "argCount": 1, + "returnCount": 1, + "variableCount": 7, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 12, + "N1": 9, + "N2": 30, + "programLength": 39, + "programVocabulary": 17, + "volume": 159.41105080876324, + "difficulty": 6.25, + "effort": 996.3190675547702, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::prepareItems" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findScoreRange": { + "line": 53, + "lineCount": 16, + "argCount": 1, + "returnCount": 3, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 7, + "N2": 13, + "programLength": 20, + "programVocabulary": 8, + "volume": 60, + "difficulty": 3.9000000000000004, + "effort": 234.00000000000003, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findScoreRange" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::normalizeScore": { + "line": 78, + "lineCount": 8, + "argCount": 3, + "returnCount": 2, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 8, + "volume": 45, + "difficulty": 5, + "effort": 225, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::normalizeScore" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::scoreToColor": { + "line": 93, + "lineCount": 9, + "argCount": 1, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 5, + "n2": 9, + "N1": 12, + "N2": 16, + "programLength": 28, + "programVocabulary": 14, + "volume": 106.60593781761291, + "difficulty": 4.444444444444445, + "effort": 473.80416807827964, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::scoreToColor" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::calculateTreemapLayout": { + "line": 115, + "lineCount": 23, + "argCount": 7, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 9, + "N1": 2, + "N2": 18, + "programLength": 20, + "programVocabulary": 11, + "volume": 69.18863237274594, + "difficulty": 2, + "effort": 138.37726474549189, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::calculateTreemapLayout" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::layoutTreemap": { + "line": 152, + "lineCount": 89, + "argCount": 8, + "returnCount": 3, + "variableCount": 11, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 8, + "n2": 28, + "N1": 32, + "N2": 98, + "programLength": 130, + "programVocabulary": 36, + "volume": 672.0902501875006, + "difficulty": 14, + "effort": 9409.263502625008, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::layoutTreemap" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findSplitIndex": { + "line": 249, + "lineCount": 13, + "argCount": 2, + "returnCount": 2, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 7, + "n2": 10, + "N1": 9, + "N2": 23, + "programLength": 32, + "programVocabulary": 17, + "volume": 130.79881092001085, + "difficulty": 8.049999999999999, + "effort": 1052.9304279060873, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findSplitIndex" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::__construct": { + "line": 23, + "lineCount": 18, + "argCount": 1, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 7, + "N2": 11, + "programLength": 18, + "programVocabulary": 6, + "volume": 46.529325012980806, + "difficulty": 5.5, + "effort": 255.91128757139444, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::getAllClasses": { + "line": 47, + "lineCount": 17, + "argCount": 0, + "returnCount": 2, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 6, + "N2": 12, + "programLength": 18, + "programVocabulary": 9, + "volume": 57.05865002596162, + "difficulty": 3, + "effort": 171.17595007788486, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::getAllClasses" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::withClassNode": { + "line": 73, + "lineCount": 8, + "argCount": 2, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 4, + "N2": 8, + "programLength": 12, + "programVocabulary": 8, + "volume": 36, + "difficulty": 4, + "effort": 144, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::withClassNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::findClassNode": { + "line": 85, + "lineCount": 25, + "argCount": 1, + "returnCount": 4, + "variableCount": 5, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 13, + "N2": 29, + "programLength": 42, + "programVocabulary": 11, + "volume": 145.29612798276648, + "difficulty": 8.285714285714286, + "effort": 1203.8822032857795, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::findClassNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::escapeXPathValue": { + "line": 114, + "lineCount": 16, + "argCount": 1, + "returnCount": 3, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 9, + "N1": 11, + "N2": 18, + "programLength": 29, + "programVocabulary": 13, + "volume": 107.31275182609167, + "difficulty": 4, + "effort": 429.2510073043667, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::escapeXPathValue" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getLineCoverage": { + "line": 22, + "lineCount": 18, + "argCount": 1, + "returnCount": 4, + "variableCount": 5, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 9, + "N1": 10, + "N2": 19, + "programLength": 29, + "programVocabulary": 13, + "volume": 107.31275182609167, + "difficulty": 4.222222222222222, + "effort": 453.09828548794263, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getLineCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getBranchCoverage": { + "line": 48, + "lineCount": 18, + "argCount": 1, + "returnCount": 4, + "variableCount": 5, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 9, + "N1": 10, + "N2": 19, + "programLength": 29, + "programVocabulary": 13, + "volume": 107.31275182609167, + "difficulty": 4.222222222222222, + "effort": 453.09828548794263, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getBranchCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getComplexity": { + "line": 73, + "lineCount": 13, + "argCount": 1, + "returnCount": 3, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 7, + "N2": 14, + "programLength": 21, + "programVocabulary": 11, + "volume": 72.64806399138324, + "difficulty": 4, + "effort": 290.59225596553296, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getComplexity" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getCoverageDetails": { + "line": 93, + "lineCount": 26, + "argCount": 1, + "returnCount": 3, + "variableCount": 9, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 17, + "N1": 22, + "N2": 42, + "programLength": 64, + "programVocabulary": 22, + "volume": 285.403623592787, + "difficulty": 6.176470588235294, + "effort": 1762.7870868966259, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getCoverageDetails" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getMetricsNode": { + "line": 123, + "lineCount": 12, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 6, + "N1": 7, + "N2": 13, + "programLength": 20, + "programVocabulary": 10, + "volume": 66.43856189774725, + "difficulty": 4.333333333333333, + "effort": 287.90043489023805, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getMetricsNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getFilenameForClass": { + "line": 139, + "lineCount": 9, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 5, + "N1": 4, + "N2": 9, + "programLength": 13, + "programVocabulary": 9, + "volume": 41.209025018750054, + "difficulty": 3.6, + "effort": 148.3524900675002, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getFilenameForClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodsCoverage": { + "line": 154, + "lineCount": 36, + "argCount": 1, + "returnCount": 3, + "variableCount": 8, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 13, + "N1": 12, + "N2": 30, + "programLength": 42, + "programVocabulary": 16, + "volume": 168, + "difficulty": 3.4615384615384612, + "effort": 581.5384615384614, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodsCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::calculateMethodCoverage": { + "line": 194, + "lineCount": 15, + "argCount": 2, + "returnCount": 2, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 11, + "N1": 9, + "N2": 23, + "programLength": 32, + "programVocabulary": 16, + "volume": 128, + "difficulty": 5.227272727272727, + "effort": 669.090909090909, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::calculateMethodCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodCoverageFromLines": { + "line": 215, + "lineCount": 36, + "argCount": 2, + "returnCount": 1, + "variableCount": 7, + "propertyCallCount": 0, + "ifNestingLevel": 2, + "elseCount": 0, + "ifCount": 5, + "halstead": { + "n1": 2, + "n2": 14, + "N1": 12, + "N2": 35, + "programLength": 47, + "programVocabulary": 16, + "volume": 188, + "difficulty": 2.5, + "effort": 470, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodCoverageFromLines" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStart": { + "line": 252, + "lineCount": 4, + "argCount": 3, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 3, + "N2": 7, + "programLength": 10, + "programVocabulary": 6, + "volume": 25.84962500721156, + "difficulty": 1.75, + "effort": 45.23684376262023, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStart" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodEnd": { + "line": 257, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 5, + "programLength": 7, + "programVocabulary": 5, + "volume": 16.253496664211536, + "difficulty": 1.6666666666666667, + "effort": 27.089161107019226, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodEnd" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStatement": { + "line": 262, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 5, + "programLength": 7, + "programVocabulary": 5, + "volume": 16.253496664211536, + "difficulty": 1.6666666666666667, + "effort": 27.089161107019226, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStatement" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isStatementCovered": { + "line": 267, + "lineCount": 5, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 4, + "N1": 3, + "N2": 6, + "programLength": 9, + "programVocabulary": 7, + "volume": 25.26619429851844, + "difficulty": 2.25, + "effort": 56.848937171666485, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isStatementCovered" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getLineCoverage": { + "line": 20, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 9, + "volume": 44.37895002019237, + "difficulty": 2.5, + "effort": 110.94737505048093, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getLineCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getBranchCoverage": { + "line": 34, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 9, + "volume": 44.37895002019237, + "difficulty": 2.5, + "effort": 110.94737505048093, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getBranchCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getComplexity": { + "line": 48, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 9, + "volume": 44.37895002019237, + "difficulty": 2.5, + "effort": 110.94737505048093, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getComplexity" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getCoverageDetails": { + "line": 62, + "lineCount": 13, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 8, + "N1": 7, + "N2": 16, + "programLength": 23, + "programVocabulary": 9, + "volume": 72.90827503317318, + "difficulty": 1, + "effort": 72.90827503317318, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getCoverageDetails" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::extractMethodsCoverage": { + "line": 81, + "lineCount": 23, + "argCount": 1, + "returnCount": 2, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 11, + "N1": 10, + "N2": 23, + "programLength": 33, + "programVocabulary": 14, + "volume": 125.64271242790093, + "difficulty": 3.1363636363636362, + "effort": 394.061234432962, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::extractMethodsCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CodeCoverageFactory::createFromName": { + "line": 14, + "lineCount": 8, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 4, + "N1": 1, + "N2": 8, + "programLength": 9, + "programVocabulary": 5, + "volume": 20.89735285398626, + "difficulty": 1, + "effort": 20.89735285398626, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CodeCoverageFactory::createFromName" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::__construct": { + "line": 28, + "lineCount": 15, + "argCount": 6, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 6, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 7, + "N1": 6, + "N2": 18, + "programLength": 24, + "programVocabulary": 8, + "volume": 72, + "difficulty": 1.2857142857142858, + "effort": 92.57142857142858, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getName": { + "line": 44, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getName" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getFilename": { + "line": 49, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getFilename" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getLineRate": { + "line": 54, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getLineRate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getBranchRate": { + "line": 59, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getBranchRate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getComplexity": { + "line": 64, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getComplexity" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getMethods": { + "line": 72, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getMethods" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::__construct": { + "line": 17, + "lineCount": 11, + "argCount": 4, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 4, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 5, + "N1": 4, + "N2": 12, + "programLength": 16, + "programVocabulary": 6, + "volume": 41.3594000115385, + "difficulty": 1.2, + "effort": 49.631280013846194, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getName": { + "line": 29, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getName" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getLineRate": { + "line": 34, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getLineRate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getBranchRate": { + "line": 39, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getBranchRate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getComplexity": { + "line": 44, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getComplexity" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::calculateDeltas": { + "line": 19, + "lineCount": 14, + "argCount": 2, + "returnCount": 0, + "variableCount": 6, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 9, + "N1": 4, + "N2": 18, + "programLength": 22, + "programVocabulary": 11, + "volume": 76.10749561002054, + "difficulty": 2, + "effort": 152.21499122004107, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::calculateDeltas" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::loadBaseline": { + "line": 41, + "lineCount": 13, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 5, + "N2": 9, + "programLength": 14, + "programVocabulary": 8, + "volume": 42, + "difficulty": 2.7, + "effort": 113.4, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::loadBaseline" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::__construct": { + "line": 72, + "lineCount": 21, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 6, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 9, + "N1": 12, + "N2": 34, + "programLength": 46, + "programVocabulary": 12, + "volume": 164.90827503317317, + "difficulty": 5.666666666666666, + "effort": 934.4802251879812, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setRequiredMetricProperties": { + "line": 98, + "lineCount": 30, + "argCount": 1, + "returnCount": 0, + "variableCount": 6, + "propertyCallCount": 9, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 21, + "N1": 21, + "N2": 51, + "programLength": 72, + "programVocabulary": 24, + "volume": 330.1173000519232, + "difficulty": 3.6428571428571423, + "effort": 1202.570164474863, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setRequiredMetricProperties" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setOptionalMetricProperties": { + "line": 133, + "lineCount": 12, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 8, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 11, + "N1": 16, + "N2": 33, + "programLength": 49, + "programVocabulary": 13, + "volume": 181.32154618891352, + "difficulty": 3, + "effort": 543.9646385667405, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setOptionalMetricProperties" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setTimesChanged": { + "line": 146, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setTimesChanged" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertSame": { + "line": 151, + "lineCount": 14, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 6, + "N2": 8, + "programLength": 14, + "programVocabulary": 5, + "volume": 32.50699332842307, + "difficulty": 2.6666666666666665, + "effort": 86.68531554246152, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertSame" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::calculateDeltas": { + "line": 169, + "lineCount": 13, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 16, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 17, + "N2": 27, + "programLength": 44, + "programVocabulary": 4, + "volume": 88, + "difficulty": 13.5, + "effort": 1188, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::calculateDeltas" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::fromArray": { + "line": 187, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::fromArray" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertArrayKeyIsPresent": { + "line": 197, + "lineCount": 6, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 5, + "programLength": 5, + "programVocabulary": 2, + "volume": 5, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertArrayKeyIsPresent" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getClass": { + "line": 204, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getMethod": { + "line": 209, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getMethod" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCount": { + "line": 214, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCount": { + "line": 219, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCount": { + "line": 224, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCount": { + "line": 229, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCount": { + "line": 234, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCount": { + "line": 239, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevel": { + "line": 244, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevel" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCount": { + "line": 249, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeight": { + "line": 254, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setLineCountWeight": { + "line": 259, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setLineCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeight": { + "line": 264, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setArgCountWeight": { + "line": 269, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setArgCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeight": { + "line": 274, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setReturnCountWeight": { + "line": 279, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setReturnCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeight": { + "line": 284, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setVariableCountWeight": { + "line": 289, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setVariableCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeight": { + "line": 294, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setPropertyCallCountWeight": { + "line": 299, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setPropertyCallCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeight": { + "line": 304, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfCountWeight": { + "line": 309, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeight": { + "line": 314, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfNestingLevelWeight": { + "line": 319, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfNestingLevelWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeight": { + "line": 324, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setElseCountWeight": { + "line": 329, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setElseCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setScore": { + "line": 334, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setScore" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getScore": { + "line": 339, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getScore" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setCoverage": { + "line": 344, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCoverage": { + "line": 349, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeightDelta": { + "line": 354, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeightDelta": { + "line": 359, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeightDelta": { + "line": 364, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeightDelta": { + "line": 369, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeightDelta": { + "line": 374, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeightDelta": { + "line": 379, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeightDelta": { + "line": 384, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeightDelta": { + "line": 389, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getTimesChanged": { + "line": 394, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 2, + "programLength": 3, + "programVocabulary": 3, + "volume": 4.754887502163468, + "difficulty": 0.5, + "effort": 2.377443751081734, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getTimesChanged" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getFileName": { + "line": 399, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getFileName" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLine": { + "line": 404, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLine" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::equals": { + "line": 409, + "lineCount": 5, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 2, + "N1": 5, + "N2": 5, + "programLength": 10, + "programVocabulary": 5, + "volume": 23.21928094887362, + "difficulty": 3.75, + "effort": 87.07230355827608, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::equals" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::toArray": { + "line": 418, + "lineCount": 34, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 29, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 30, + "N1": 0, + "N2": 58, + "programLength": 58, + "programVocabulary": 30, + "volume": 284.5996545452941, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::toArray" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::jsonSerialize": { + "line": 456, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::jsonSerialize" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getHalstead": { + "line": 464, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getHalstead" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCyclomatic": { + "line": 472, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCyclomatic" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::add": { + "line": 30, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 5, + "N2": 6, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 3, + "effort": 85.30376252379816, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::add" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filter": { + "line": 40, + "lineCount": 11, + "argCount": 1, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 8, + "volume": 42, + "difficulty": 3, + "effort": 126, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filter" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getIterator": { + "line": 57, + "lineCount": 5, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getIterator" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::count": { + "line": 66, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::count" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterWithScoreGreaterThan": { + "line": 71, + "lineCount": 6, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 3, + "N2": 6, + "programLength": 9, + "programVocabulary": 5, + "volume": 20.89735285398626, + "difficulty": 2, + "effort": 41.79470570797252, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterWithScoreGreaterThan" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::contains": { + "line": 78, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 4, + "N2": 5, + "programLength": 9, + "programVocabulary": 5, + "volume": 20.89735285398626, + "difficulty": 1.6666666666666667, + "effort": 34.82892142331043, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::contains" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getClassWithMethod": { + "line": 83, + "lineCount": 9, + "argCount": 2, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 3, + "N2": 10, + "programLength": 13, + "programVocabulary": 7, + "volume": 36.49561398674886, + "difficulty": 2, + "effort": 72.99122797349771, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getClassWithMethod" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterByClassName": { + "line": 93, + "lineCount": 6, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 3, + "N2": 6, + "programLength": 9, + "programVocabulary": 5, + "volume": 20.89735285398626, + "difficulty": 2, + "effort": 41.79470570797252, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterByClassName" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::assertMetricHasGetter": { + "line": 100, + "lineCount": 9, + "argCount": 3, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 6, + "programLength": 7, + "programVocabulary": 4, + "volume": 14, + "difficulty": 1, + "effort": 14, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::assertMetricHasGetter" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::groupBy": { + "line": 117, + "lineCount": 20, + "argCount": 1, + "returnCount": 1, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 10, + "N2": 23, + "programLength": 33, + "programVocabulary": 11, + "volume": 114.16124341503081, + "difficulty": 6.571428571428571, + "effort": 750.2024567273453, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::groupBy" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::jsonSerialize": { + "line": 141, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::jsonSerialize" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::__construct": { + "line": 32, + "lineCount": 8, + "argCount": 5, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 5, + "N1": 0, + "N2": 5, + "programLength": 5, + "programVocabulary": 5, + "volume": 11.60964047443681, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collect": { + "line": 49, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 5, + "programLength": 6, + "programVocabulary": 4, + "volume": 12, + "difficulty": 0.8333333333333334, + "effort": 10, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collect" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collectFromPaths": { + "line": 62, + "lineCount": 13, + "argCount": 2, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 8, + "N2": 16, + "programLength": 24, + "programVocabulary": 9, + "volume": 76.07820003461549, + "difficulty": 4, + "effort": 304.31280013846197, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collectFromPaths" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCodeFromFile": { + "line": 79, + "lineCount": 10, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 2, + "N1": 5, + "N2": 6, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 6, + "effort": 170.6075250475963, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCodeFromFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findMetrics": { + "line": 98, + "lineCount": 31, + "argCount": 1, + "returnCount": 1, + "variableCount": 9, + "propertyCallCount": 2, + "ifNestingLevel": 2, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 13, + "N1": 18, + "N2": 38, + "programLength": 56, + "programVocabulary": 16, + "volume": 224, + "difficulty": 4.384615384615384, + "effort": 982.1538461538461, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findMetrics" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processMethodMetrics": { + "line": 136, + "lineCount": 29, + "argCount": 3, + "returnCount": 1, + "variableCount": 7, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 14, + "N1": 8, + "N2": 27, + "programLength": 35, + "programVocabulary": 17, + "volume": 143.06119944376186, + "difficulty": 2.892857142857143, + "effort": 413.8556126765968, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processMethodMetrics" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::isExcluded": { + "line": 166, + "lineCount": 12, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 5, + "N1": 5, + "N2": 9, + "programLength": 14, + "programVocabulary": 9, + "volume": 44.37895002019237, + "difficulty": 3.6, + "effort": 159.76422007269252, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::isExcluded" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findSourceFiles": { + "line": 187, + "lineCount": 7, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 2, + "N2": 6, + "programLength": 8, + "programVocabulary": 6, + "volume": 20.67970000576925, + "difficulty": 1.5, + "effort": 31.019550008653873, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findSourceFiles" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getProjectRoot": { + "line": 202, + "lineCount": 13, + "argCount": 0, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 2, + "N1": 8, + "N2": 8, + "programLength": 16, + "programVocabulary": 6, + "volume": 41.3594000115385, + "difficulty": 8, + "effort": 330.875200092308, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getProjectRoot" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateCacheKey": { + "line": 219, + "lineCount": 7, + "argCount": 2, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 6, + "N1": 10, + "N2": 12, + "programLength": 22, + "programVocabulary": 10, + "volume": 73.08241808752197, + "difficulty": 4, + "effort": 292.3296723500879, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateCacheKey" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateConfigHash": { + "line": 230, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 1, + "N1": 3, + "N2": 2, + "programLength": 5, + "programVocabulary": 3, + "volume": 7.92481250360578, + "difficulty": 2, + "effort": 15.84962500721156, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateConfigHash" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::cacheResult": { + "line": 239, + "lineCount": 14, + "argCount": 4, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 13, + "N1": 5, + "N2": 20, + "programLength": 25, + "programVocabulary": 15, + "volume": 97.67226489021297, + "difficulty": 1.5384615384615385, + "effort": 150.26502290801997, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::cacheResult" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::clearCache": { + "line": 254, + "lineCount": 4, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::clearCache" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::normalizeFilename": { + "line": 264, + "lineCount": 15, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 6, + "n2": 7, + "N1": 12, + "N2": 16, + "programLength": 28, + "programVocabulary": 13, + "volume": 103.61231210795059, + "difficulty": 6.857142857142857, + "effort": 710.4844258830897, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::normalizeFilename" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCachedMetrics": { + "line": 286, + "lineCount": 19, + "argCount": 3, + "returnCount": 3, + "variableCount": 4, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 11, + "N1": 10, + "N2": 29, + "programLength": 39, + "programVocabulary": 14, + "volume": 148.48684196024655, + "difficulty": 3.954545454545454, + "effort": 587.1979659337022, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCachedMetrics" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processFile": { + "line": 312, + "lineCount": 37, + "argCount": 5, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 7, + "n2": 10, + "N1": 12, + "N2": 28, + "programLength": 40, + "programVocabulary": 17, + "volume": 163.49851365001356, + "difficulty": 9.799999999999999, + "effort": 1602.2854337701328, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::sort": { + "line": 51, + "lineCount": 41, + "argCount": 3, + "returnCount": 2, + "variableCount": 10, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 18, + "N1": 20, + "N2": 43, + "programLength": 63, + "programVocabulary": 22, + "volume": 280.9441919741497, + "difficulty": 4.777777777777778, + "effort": 1342.2889172098264, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::sort" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getFieldValue": { + "line": 100, + "lineCount": 28, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 25, + "N1": 24, + "N2": 50, + "programLength": 74, + "programVocabulary": 27, + "volume": 351.86167516009664, + "difficulty": 2, + "effort": 703.7233503201933, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getFieldValue" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::compareValues": { + "line": 136, + "lineCount": 13, + "argCount": 2, + "returnCount": 3, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 2, + "N1": 9, + "N2": 12, + "programLength": 21, + "programVocabulary": 5, + "volume": 48.760489992634604, + "difficulty": 9, + "effort": 438.8444099337114, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::compareValues" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getSortableFields": { + "line": 155, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 0, + "N1": 0, + "N2": 0, + "programLength": 0, + "programVocabulary": 0, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getSortableFields" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__construct": { + "line": 15, + "lineCount": 11, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 7, + "N2": 12, + "programLength": 19, + "programVocabulary": 6, + "volume": 49.11428751370197, + "difficulty": 6, + "effort": 294.6857250822118, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::getValue": { + "line": 27, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::getValue" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasIncreased": { + "line": 32, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasIncreased" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__toString": { + "line": 37, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__toString" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasNotChanged": { + "line": 42, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 2, + "programLength": 3, + "programVocabulary": 3, + "volume": 4.754887502163468, + "difficulty": 0.5, + "effort": 2.377443751081734, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasNotChanged" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\FileProcessed::__construct": { + "line": 14, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\FileProcessed::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\ParserFailed::__construct": { + "line": 15, + "lineCount": 5, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\ParserFailed::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\SourceFilesFound::__construct": { + "line": 17, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\SourceFilesFound::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::__construct": { + "line": 15, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::create": { + "line": 27, + "lineCount": 10, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 6, + "N1": 0, + "N2": 8, + "programLength": 8, + "programVocabulary": 6, + "volume": 20.67970000576925, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::create" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::getSupportedTypes": { + "line": 43, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 4, + "N1": 0, + "N2": 4, + "programLength": 4, + "programVocabulary": 4, + "volume": 8, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::getSupportedTypes" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::isSupported": { + "line": 54, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 2, + "N2": 3, + "programLength": 5, + "programVocabulary": 4, + "volume": 10, + "difficulty": 1.5, + "effort": 15, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::isSupported" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CsvExporter::export": { + "line": 46, + "lineCount": 57, + "argCount": 2, + "returnCount": 0, + "variableCount": 6, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 15, + "N1": 37, + "N2": 54, + "programLength": 91, + "programVocabulary": 19, + "volume": 386.56140372336625, + "difficulty": 7.2, + "effort": 2783.242106808237, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CsvExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::export": { + "line": 40, + "lineCount": 8, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 5, + "N1": 4, + "N2": 8, + "programLength": 12, + "programVocabulary": 9, + "volume": 38.039100017307746, + "difficulty": 3.2, + "effort": 121.72512005538479, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::escape": { + "line": 49, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::escape" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::formatNumber": { + "line": 54, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::formatNumber" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::generateMetricRow": { + "line": 59, + "lineCount": 12, + "argCount": 3, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 16, + "N1": 19, + "N2": 27, + "programLength": 46, + "programVocabulary": 21, + "volume": 202.04660144782298, + "difficulty": 4.21875, + "effort": 852.3840998580032, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::generateMetricRow" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::generateHtml": { + "line": 78, + "lineCount": 64, + "argCount": 1, + "returnCount": 1, + "variableCount": 7, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 11, + "N1": 46, + "N2": 57, + "programLength": 103, + "programVocabulary": 15, + "volume": 402.40973134767745, + "difficulty": 10.363636363636363, + "effort": 4170.42812487593, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::generateHtml" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\JsonExporter::export": { + "line": 19, + "lineCount": 38, + "argCount": 2, + "returnCount": 0, + "variableCount": 5, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 27, + "N1": 29, + "N2": 58, + "programLength": 87, + "programVocabulary": 32, + "volume": 435, + "difficulty": 5.370370370370371, + "effort": 2336.1111111111113, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\JsonExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::__construct": { + "line": 24, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::export": { + "line": 36, + "lineCount": 8, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 5, + "N1": 4, + "N2": 8, + "programLength": 12, + "programVocabulary": 9, + "volume": 38.039100017307746, + "difficulty": 3.2, + "effort": 121.72512005538479, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::escape": { + "line": 48, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::escape" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateMetricCell": { + "line": 56, + "lineCount": 12, + "argCount": 3, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 12, + "N1": 16, + "N2": 24, + "programLength": 40, + "programVocabulary": 17, + "volume": 163.49851365001356, + "difficulty": 5, + "effort": 817.4925682500678, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateMetricCell" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::filterMetrics": { + "line": 75, + "lineCount": 15, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 4, + "N1": 4, + "N2": 11, + "programLength": 15, + "programVocabulary": 7, + "volume": 42.11032383086406, + "difficulty": 4.125, + "effort": 173.70508580231424, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::filterMetrics" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableHeader": { + "line": 94, + "lineCount": 33, + "argCount": 0, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 4, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 19, + "N1": 10, + "N2": 28, + "programLength": 38, + "programVocabulary": 22, + "volume": 169.4584015082173, + "difficulty": 2.2105263157894735, + "effort": 374.5922559655329, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableHeader" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableHeaderWithClass": { + "line": 131, + "lineCount": 33, + "argCount": 0, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 4, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 20, + "N1": 10, + "N2": 29, + "programLength": 39, + "programVocabulary": 23, + "volume": 176.41891628622352, + "difficulty": 2.175, + "effort": 383.7111429225361, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableHeaderWithClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableSeparator": { + "line": 168, + "lineCount": 20, + "argCount": 0, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 4, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 7, + "N1": 3, + "N2": 16, + "programLength": 19, + "programVocabulary": 10, + "volume": 63.11663380285988, + "difficulty": 3.4285714285714284, + "effort": 216.399887324091, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableSeparator" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableSeparatorWithClass": { + "line": 192, + "lineCount": 20, + "argCount": 0, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 4, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 8, + "N1": 3, + "N2": 16, + "programLength": 19, + "programVocabulary": 11, + "volume": 65.72920075410865, + "difficulty": 3, + "effort": 197.18760226232592, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableSeparatorWithClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableRow": { + "line": 216, + "lineCount": 22, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 6, + "N1": 53, + "N2": 60, + "programLength": 113, + "programVocabulary": 10, + "volume": 375.37787472227194, + "difficulty": 20, + "effort": 7507.557494445438, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableRow" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableRowWithClass": { + "line": 242, + "lineCount": 25, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 6, + "N1": 55, + "N2": 62, + "programLength": 117, + "programVocabulary": 10, + "volume": 388.66558710182136, + "difficulty": 20.666666666666668, + "effort": 8032.422133437642, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableRowWithClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::addHalsteadCells": { + "line": 274, + "lineCount": 20, + "argCount": 2, + "returnCount": 3, + "variableCount": 2, + "propertyCallCount": 5, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 12, + "N2": 24, + "programLength": 36, + "programVocabulary": 8, + "volume": 108, + "difficulty": 7.199999999999999, + "effort": 777.5999999999999, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::addHalsteadCells" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::addCyclomaticCell": { + "line": 301, + "lineCount": 16, + "argCount": 2, + "returnCount": 3, + "variableCount": 2, + "propertyCallCount": 4, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 8, + "N2": 16, + "programLength": 24, + "programVocabulary": 11, + "volume": 83.02635884729514, + "difficulty": 4.571428571428571, + "effort": 379.5490690162063, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::addCyclomaticCell" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateMarkdown": { + "line": 325, + "lineCount": 8, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 2, + "N2": 6, + "programLength": 8, + "programVocabulary": 3, + "volume": 12.679700005769249, + "difficulty": 1.5, + "effort": 19.019550008653873, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateMarkdown" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateGroupedMarkdown": { + "line": 337, + "lineCount": 49, + "argCount": 1, + "returnCount": 1, + "variableCount": 10, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 8, + "n2": 23, + "N1": 33, + "N2": 65, + "programLength": 98, + "programVocabulary": 31, + "volume": 485.5112384179137, + "difficulty": 11.304347826086957, + "effort": 5488.387912550329, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateGroupedMarkdown" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateSingleTableMarkdown": { + "line": 390, + "lineCount": 28, + "argCount": 1, + "returnCount": 1, + "variableCount": 6, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 6, + "n2": 13, + "N1": 19, + "N2": 37, + "programLength": 56, + "programVocabulary": 19, + "volume": 237.88394075284077, + "difficulty": 8.538461538461538, + "effort": 2031.1628787357943, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateSingleTableMarkdown" + } + } + }, + "ignored_items": [], + "cached_at": 1759967601 +} \ No newline at end of file diff --git a/.phpcca.cache/d2/d28d3a271a64ece0b8412a1d7f153085.cache b/.phpcca.cache/d2/d28d3a271a64ece0b8412a1d7f153085.cache new file mode 100644 index 0000000..df5ab06 --- /dev/null +++ b/.phpcca.cache/d2/d28d3a271a64ece0b8412a1d7f153085.cache @@ -0,0 +1,3982 @@ +{ + "version": "1.0", + "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/Business\/Cognitive\/CognitiveMetricsSorter.php", + "file_mtime": 1757360311, + "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", + "analysis_result": { + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct": { + "line": 60, + "lineCount": 5, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 1, + "N1": 2, + "N2": 2, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 2, + "effort": 12.679700005769249, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices": { + "line": 66, + "lineCount": 95, + "argCount": 0, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 5, + "N1": 58, + "N2": 32, + "programLength": 90, + "programVocabulary": 9, + "volume": 285.2932501298081, + "difficulty": 12.8, + "effort": 3651.7536016615436, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap": { + "line": 162, + "lineCount": 10, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 7, + "N2": 7, + "programLength": 14, + "programVocabulary": 2, + "volume": 14, + "difficulty": 3.5, + "effort": 49, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors": { + "line": 173, + "lineCount": 12, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 3, + "N2": 1, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0.5, + "effort": 2, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus": { + "line": 186, + "lineCount": 19, + "argCount": 0, + "returnCount": 0, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 9, + "N2": 13, + "programLength": 22, + "programVocabulary": 7, + "volume": 61.76180828526729, + "difficulty": 2.6, + "effort": 160.58070154169496, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService": { + "line": 206, + "lineCount": 9, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 3, + "N2": 1, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0.5, + "effort": 2, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade": { + "line": 216, + "lineCount": 13, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 3, + "N2": 1, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0.5, + "effort": 2, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands": { + "line": 230, + "lineCount": 21, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 6, + "N2": 2, + "programLength": 8, + "programVocabulary": 2, + "volume": 8, + "difficulty": 1, + "effort": 8, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication": { + "line": 252, + "lineCount": 11, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 5, + "N2": 4, + "programLength": 9, + "programVocabulary": 4, + "volume": 18, + "difficulty": 0.6666666666666666, + "effort": 12, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run": { + "line": 264, + "lineCount": 9, + "argCount": 0, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 5, + "N2": 5, + "programLength": 10, + "programVocabulary": 4, + "volume": 20, + "difficulty": 2.5, + "effort": 50, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get": { + "line": 274, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer": { + "line": 279, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator": { + "line": 289, + "lineCount": 16, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 7, + "programLength": 8, + "programVocabulary": 4, + "volume": 16, + "difficulty": 1.1666666666666667, + "effort": 18.666666666666668, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create": { + "line": 18, + "lineCount": 7, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 4, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile": { + "line": 17, + "lineCount": 17, + "argCount": 2, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 8, + "N1": 11, + "N2": 19, + "programLength": 30, + "programVocabulary": 11, + "volume": 103.78294855911892, + "difficulty": 3.5625, + "effort": 369.72675424186116, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode": { + "line": 42, + "lineCount": 8, + "argCount": 3, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 3, + "N2": 8, + "programLength": 11, + "programVocabulary": 8, + "volume": 33, + "difficulty": 2.4000000000000004, + "effort": 79.20000000000002, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate": { + "line": 22, + "lineCount": 10, + "argCount": 2, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 6, + "N2": 13, + "programLength": 19, + "programVocabulary": 6, + "volume": 49.11428751370197, + "difficulty": 3.25, + "effort": 159.6214344195314, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending": { + "line": 37, + "lineCount": 8, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 2, + "N2": 9, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 2.25, + "effort": 63.97782189284862, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn": { + "line": 51, + "lineCount": 24, + "argCount": 2, + "returnCount": 1, + "variableCount": 6, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 15, + "N1": 17, + "N2": 46, + "programLength": 63, + "programVocabulary": 20, + "volume": 272.28146997790384, + "difficulty": 7.666666666666667, + "effort": 2087.491269830596, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses": { + "line": 81, + "lineCount": 20, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 2, + "n2": 7, + "N1": 10, + "N2": 24, + "programLength": 34, + "programVocabulary": 9, + "volume": 107.7774500490386, + "difficulty": 3.4285714285714284, + "effort": 369.52268588241805, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass": { + "line": 109, + "lineCount": 9, + "argCount": 2, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 6, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 10, + "volume": 49.82892142331043, + "difficulty": 3.3333333333333335, + "effort": 166.09640474436813, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel": { + "line": 126, + "lineCount": 16, + "argCount": 2, + "returnCount": 4, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 12, + "N1": 9, + "N2": 18, + "programLength": 27, + "programVocabulary": 15, + "volume": 105.48604608143, + "difficulty": 2.25, + "effort": 237.3436036832175, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile": { + "line": 14, + "lineCount": 6, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 2, + "N2": 5, + "programLength": 7, + "programVocabulary": 4, + "volume": 14, + "difficulty": 2.5, + "effort": 35, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable": { + "line": 24, + "lineCount": 11, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 10, + "N2": 12, + "programLength": 22, + "programVocabulary": 8, + "volume": 66, + "difficulty": 6, + "effort": 396, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create": { + "line": 21, + "lineCount": 11, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 7, + "N1": 0, + "N2": 9, + "programLength": 9, + "programVocabulary": 7, + "volume": 25.26619429851844, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes": { + "line": 38, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 6, + "N1": 0, + "N2": 6, + "programLength": 6, + "programVocabulary": 6, + "volume": 15.509775004326936, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported": { + "line": 49, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 2, + "N2": 3, + "programLength": 5, + "programVocabulary": 4, + "volume": 10, + "difficulty": 1.5, + "effort": 15, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export": { + "line": 30, + "lineCount": 23, + "argCount": 2, + "returnCount": 0, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 16, + "N1": 10, + "N2": 33, + "programLength": 43, + "programVocabulary": 20, + "volume": 185.8429080801566, + "difficulty": 4.125, + "effort": 766.601995830646, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export": { + "line": 28, + "lineCount": 8, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 6, + "volume": 36.18947501009619, + "difficulty": 2.5, + "effort": 90.47368752524048, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape": { + "line": 37, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber": { + "line": 42, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml": { + "line": 52, + "lineCount": 50, + "argCount": 1, + "returnCount": 1, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 12, + "N1": 11, + "N2": 25, + "programLength": 36, + "programVocabulary": 17, + "volume": 147.14866228501222, + "difficulty": 5.208333333333334, + "effort": 766.3992827344388, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export": { + "line": 17, + "lineCount": 13, + "argCount": 2, + "returnCount": 0, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 8, + "N1": 7, + "N2": 14, + "programLength": 21, + "programVocabulary": 12, + "volume": 75.28421251514428, + "difficulty": 3.5, + "effort": 263.49474380300495, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export": { + "line": 48, + "lineCount": 8, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 6, + "volume": 36.18947501009619, + "difficulty": 2.5, + "effort": 90.47368752524048, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown": { + "line": 61, + "lineCount": 24, + "argCount": 1, + "returnCount": 1, + "variableCount": 6, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 6, + "n2": 16, + "N1": 19, + "N2": 41, + "programLength": 60, + "programVocabulary": 22, + "volume": 267.56589711823784, + "difficulty": 7.6875, + "effort": 2056.9128340964535, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow": { + "line": 94, + "lineCount": 21, + "argCount": 3, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 7, + "n2": 18, + "N1": 16, + "N2": 39, + "programLength": 55, + "programVocabulary": 25, + "volume": 255.41209043760983, + "difficulty": 7.583333333333333, + "effort": 1936.8750191518745, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::__construct": { + "line": 26, + "lineCount": 4, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::export": { + "line": 36, + "lineCount": 10, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 8, + "volume": 45, + "difficulty": 5, + "effort": 225, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::generateSvgTreemap": { + "line": 53, + "lineCount": 20, + "argCount": 1, + "returnCount": 1, + "variableCount": 6, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 8, + "N1": 9, + "N2": 20, + "programLength": 29, + "programVocabulary": 10, + "volume": 96.3359147517335, + "difficulty": 2.5, + "effort": 240.83978687933376, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::generateSvgTreemap" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRects": { + "line": 82, + "lineCount": 10, + "argCount": 3, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 9, + "N1": 6, + "N2": 18, + "programLength": 24, + "programVocabulary": 12, + "volume": 86.03910001730775, + "difficulty": 3, + "effort": 258.1173000519232, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRects" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRect": { + "line": 100, + "lineCount": 29, + "argCount": 2, + "returnCount": 1, + "variableCount": 12, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 6, + "n2": 28, + "N1": 26, + "N2": 54, + "programLength": 80, + "programVocabulary": 34, + "volume": 406.9970273000271, + "difficulty": 5.785714285714286, + "effort": 2354.7685150930142, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRect" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::wrapSvg": { + "line": 136, + "lineCount": 21, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 2, + "N2": 8, + "programLength": 10, + "programVocabulary": 4, + "volume": 20, + "difficulty": 1.3333333333333333, + "effort": 26.666666666666664, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::wrapSvg" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::prepareItems": { + "line": 28, + "lineCount": 18, + "argCount": 1, + "returnCount": 1, + "variableCount": 7, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 12, + "N1": 9, + "N2": 30, + "programLength": 39, + "programVocabulary": 17, + "volume": 159.41105080876324, + "difficulty": 6.25, + "effort": 996.3190675547702, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::prepareItems" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findScoreRange": { + "line": 53, + "lineCount": 16, + "argCount": 1, + "returnCount": 3, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 7, + "N2": 13, + "programLength": 20, + "programVocabulary": 8, + "volume": 60, + "difficulty": 3.9000000000000004, + "effort": 234.00000000000003, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findScoreRange" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::normalizeScore": { + "line": 78, + "lineCount": 8, + "argCount": 3, + "returnCount": 2, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 8, + "volume": 45, + "difficulty": 5, + "effort": 225, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::normalizeScore" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::scoreToColor": { + "line": 93, + "lineCount": 9, + "argCount": 1, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 5, + "n2": 9, + "N1": 12, + "N2": 16, + "programLength": 28, + "programVocabulary": 14, + "volume": 106.60593781761291, + "difficulty": 4.444444444444445, + "effort": 473.80416807827964, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::scoreToColor" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::calculateTreemapLayout": { + "line": 115, + "lineCount": 23, + "argCount": 7, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 9, + "N1": 2, + "N2": 18, + "programLength": 20, + "programVocabulary": 11, + "volume": 69.18863237274594, + "difficulty": 2, + "effort": 138.37726474549189, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::calculateTreemapLayout" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::layoutTreemap": { + "line": 152, + "lineCount": 89, + "argCount": 8, + "returnCount": 3, + "variableCount": 11, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 8, + "n2": 28, + "N1": 32, + "N2": 98, + "programLength": 130, + "programVocabulary": 36, + "volume": 672.0902501875006, + "difficulty": 14, + "effort": 9409.263502625008, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::layoutTreemap" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findSplitIndex": { + "line": 249, + "lineCount": 13, + "argCount": 2, + "returnCount": 2, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 7, + "n2": 10, + "N1": 9, + "N2": 23, + "programLength": 32, + "programVocabulary": 17, + "volume": 130.79881092001085, + "difficulty": 8.049999999999999, + "effort": 1052.9304279060873, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findSplitIndex" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::__construct": { + "line": 23, + "lineCount": 18, + "argCount": 1, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 7, + "N2": 11, + "programLength": 18, + "programVocabulary": 6, + "volume": 46.529325012980806, + "difficulty": 5.5, + "effort": 255.91128757139444, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::getAllClasses": { + "line": 47, + "lineCount": 17, + "argCount": 0, + "returnCount": 2, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 6, + "N2": 12, + "programLength": 18, + "programVocabulary": 9, + "volume": 57.05865002596162, + "difficulty": 3, + "effort": 171.17595007788486, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::getAllClasses" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::withClassNode": { + "line": 73, + "lineCount": 8, + "argCount": 2, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 4, + "N2": 8, + "programLength": 12, + "programVocabulary": 8, + "volume": 36, + "difficulty": 4, + "effort": 144, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::withClassNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::findClassNode": { + "line": 85, + "lineCount": 25, + "argCount": 1, + "returnCount": 4, + "variableCount": 5, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 13, + "N2": 29, + "programLength": 42, + "programVocabulary": 11, + "volume": 145.29612798276648, + "difficulty": 8.285714285714286, + "effort": 1203.8822032857795, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::findClassNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::escapeXPathValue": { + "line": 114, + "lineCount": 16, + "argCount": 1, + "returnCount": 3, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 9, + "N1": 11, + "N2": 18, + "programLength": 29, + "programVocabulary": 13, + "volume": 107.31275182609167, + "difficulty": 4, + "effort": 429.2510073043667, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::escapeXPathValue" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getLineCoverage": { + "line": 22, + "lineCount": 18, + "argCount": 1, + "returnCount": 4, + "variableCount": 5, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 9, + "N1": 10, + "N2": 19, + "programLength": 29, + "programVocabulary": 13, + "volume": 107.31275182609167, + "difficulty": 4.222222222222222, + "effort": 453.09828548794263, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getLineCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getBranchCoverage": { + "line": 48, + "lineCount": 18, + "argCount": 1, + "returnCount": 4, + "variableCount": 5, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 9, + "N1": 10, + "N2": 19, + "programLength": 29, + "programVocabulary": 13, + "volume": 107.31275182609167, + "difficulty": 4.222222222222222, + "effort": 453.09828548794263, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getBranchCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getComplexity": { + "line": 73, + "lineCount": 13, + "argCount": 1, + "returnCount": 3, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 7, + "N2": 14, + "programLength": 21, + "programVocabulary": 11, + "volume": 72.64806399138324, + "difficulty": 4, + "effort": 290.59225596553296, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getComplexity" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getCoverageDetails": { + "line": 93, + "lineCount": 26, + "argCount": 1, + "returnCount": 3, + "variableCount": 9, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 17, + "N1": 22, + "N2": 42, + "programLength": 64, + "programVocabulary": 22, + "volume": 285.403623592787, + "difficulty": 6.176470588235294, + "effort": 1762.7870868966259, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getCoverageDetails" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getMetricsNode": { + "line": 123, + "lineCount": 12, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 6, + "N1": 7, + "N2": 13, + "programLength": 20, + "programVocabulary": 10, + "volume": 66.43856189774725, + "difficulty": 4.333333333333333, + "effort": 287.90043489023805, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getMetricsNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getFilenameForClass": { + "line": 139, + "lineCount": 9, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 5, + "N1": 4, + "N2": 9, + "programLength": 13, + "programVocabulary": 9, + "volume": 41.209025018750054, + "difficulty": 3.6, + "effort": 148.3524900675002, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getFilenameForClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodsCoverage": { + "line": 154, + "lineCount": 36, + "argCount": 1, + "returnCount": 3, + "variableCount": 8, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 13, + "N1": 12, + "N2": 30, + "programLength": 42, + "programVocabulary": 16, + "volume": 168, + "difficulty": 3.4615384615384612, + "effort": 581.5384615384614, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodsCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::calculateMethodCoverage": { + "line": 194, + "lineCount": 15, + "argCount": 2, + "returnCount": 2, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 11, + "N1": 9, + "N2": 23, + "programLength": 32, + "programVocabulary": 16, + "volume": 128, + "difficulty": 5.227272727272727, + "effort": 669.090909090909, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::calculateMethodCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodCoverageFromLines": { + "line": 215, + "lineCount": 36, + "argCount": 2, + "returnCount": 1, + "variableCount": 7, + "propertyCallCount": 0, + "ifNestingLevel": 2, + "elseCount": 0, + "ifCount": 5, + "halstead": { + "n1": 2, + "n2": 14, + "N1": 12, + "N2": 35, + "programLength": 47, + "programVocabulary": 16, + "volume": 188, + "difficulty": 2.5, + "effort": 470, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodCoverageFromLines" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStart": { + "line": 252, + "lineCount": 4, + "argCount": 3, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 3, + "N2": 7, + "programLength": 10, + "programVocabulary": 6, + "volume": 25.84962500721156, + "difficulty": 1.75, + "effort": 45.23684376262023, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStart" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodEnd": { + "line": 257, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 5, + "programLength": 7, + "programVocabulary": 5, + "volume": 16.253496664211536, + "difficulty": 1.6666666666666667, + "effort": 27.089161107019226, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodEnd" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStatement": { + "line": 262, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 5, + "programLength": 7, + "programVocabulary": 5, + "volume": 16.253496664211536, + "difficulty": 1.6666666666666667, + "effort": 27.089161107019226, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStatement" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isStatementCovered": { + "line": 267, + "lineCount": 5, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 4, + "N1": 3, + "N2": 6, + "programLength": 9, + "programVocabulary": 7, + "volume": 25.26619429851844, + "difficulty": 2.25, + "effort": 56.848937171666485, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isStatementCovered" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getLineCoverage": { + "line": 20, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 9, + "volume": 44.37895002019237, + "difficulty": 2.5, + "effort": 110.94737505048093, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getLineCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getBranchCoverage": { + "line": 34, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 9, + "volume": 44.37895002019237, + "difficulty": 2.5, + "effort": 110.94737505048093, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getBranchCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getComplexity": { + "line": 48, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 9, + "volume": 44.37895002019237, + "difficulty": 2.5, + "effort": 110.94737505048093, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getComplexity" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getCoverageDetails": { + "line": 62, + "lineCount": 13, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 8, + "N1": 7, + "N2": 16, + "programLength": 23, + "programVocabulary": 9, + "volume": 72.90827503317318, + "difficulty": 1, + "effort": 72.90827503317318, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getCoverageDetails" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::extractMethodsCoverage": { + "line": 81, + "lineCount": 23, + "argCount": 1, + "returnCount": 2, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 11, + "N1": 10, + "N2": 23, + "programLength": 33, + "programVocabulary": 14, + "volume": 125.64271242790093, + "difficulty": 3.1363636363636362, + "effort": 394.061234432962, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::extractMethodsCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CodeCoverageFactory::createFromName": { + "line": 14, + "lineCount": 8, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 4, + "N1": 1, + "N2": 8, + "programLength": 9, + "programVocabulary": 5, + "volume": 20.89735285398626, + "difficulty": 1, + "effort": 20.89735285398626, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CodeCoverageFactory::createFromName" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::__construct": { + "line": 28, + "lineCount": 15, + "argCount": 6, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 6, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 7, + "N1": 6, + "N2": 18, + "programLength": 24, + "programVocabulary": 8, + "volume": 72, + "difficulty": 1.2857142857142858, + "effort": 92.57142857142858, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getName": { + "line": 44, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getName" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getFilename": { + "line": 49, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getFilename" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getLineRate": { + "line": 54, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getLineRate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getBranchRate": { + "line": 59, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getBranchRate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getComplexity": { + "line": 64, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getComplexity" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getMethods": { + "line": 72, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getMethods" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::__construct": { + "line": 17, + "lineCount": 11, + "argCount": 4, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 4, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 5, + "N1": 4, + "N2": 12, + "programLength": 16, + "programVocabulary": 6, + "volume": 41.3594000115385, + "difficulty": 1.2, + "effort": 49.631280013846194, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getName": { + "line": 29, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getName" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getLineRate": { + "line": 34, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getLineRate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getBranchRate": { + "line": 39, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getBranchRate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getComplexity": { + "line": 44, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getComplexity" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::calculateDeltas": { + "line": 19, + "lineCount": 14, + "argCount": 2, + "returnCount": 0, + "variableCount": 6, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 9, + "N1": 4, + "N2": 18, + "programLength": 22, + "programVocabulary": 11, + "volume": 76.10749561002054, + "difficulty": 2, + "effort": 152.21499122004107, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::calculateDeltas" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::loadBaseline": { + "line": 41, + "lineCount": 13, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 5, + "N2": 9, + "programLength": 14, + "programVocabulary": 8, + "volume": 42, + "difficulty": 2.7, + "effort": 113.4, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::loadBaseline" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::__construct": { + "line": 72, + "lineCount": 21, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 6, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 9, + "N1": 12, + "N2": 34, + "programLength": 46, + "programVocabulary": 12, + "volume": 164.90827503317317, + "difficulty": 5.666666666666666, + "effort": 934.4802251879812, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setRequiredMetricProperties": { + "line": 98, + "lineCount": 30, + "argCount": 1, + "returnCount": 0, + "variableCount": 6, + "propertyCallCount": 9, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 21, + "N1": 21, + "N2": 51, + "programLength": 72, + "programVocabulary": 24, + "volume": 330.1173000519232, + "difficulty": 3.6428571428571423, + "effort": 1202.570164474863, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setRequiredMetricProperties" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setOptionalMetricProperties": { + "line": 133, + "lineCount": 12, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 8, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 11, + "N1": 16, + "N2": 33, + "programLength": 49, + "programVocabulary": 13, + "volume": 181.32154618891352, + "difficulty": 3, + "effort": 543.9646385667405, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setOptionalMetricProperties" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setTimesChanged": { + "line": 146, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setTimesChanged" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertSame": { + "line": 151, + "lineCount": 14, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 6, + "N2": 8, + "programLength": 14, + "programVocabulary": 5, + "volume": 32.50699332842307, + "difficulty": 2.6666666666666665, + "effort": 86.68531554246152, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertSame" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::calculateDeltas": { + "line": 169, + "lineCount": 13, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 16, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 17, + "N2": 27, + "programLength": 44, + "programVocabulary": 4, + "volume": 88, + "difficulty": 13.5, + "effort": 1188, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::calculateDeltas" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::fromArray": { + "line": 187, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::fromArray" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertArrayKeyIsPresent": { + "line": 197, + "lineCount": 6, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 5, + "programLength": 5, + "programVocabulary": 2, + "volume": 5, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertArrayKeyIsPresent" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getClass": { + "line": 204, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getMethod": { + "line": 209, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getMethod" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCount": { + "line": 214, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCount": { + "line": 219, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCount": { + "line": 224, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCount": { + "line": 229, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCount": { + "line": 234, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCount": { + "line": 239, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevel": { + "line": 244, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevel" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCount": { + "line": 249, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeight": { + "line": 254, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setLineCountWeight": { + "line": 259, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setLineCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeight": { + "line": 264, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setArgCountWeight": { + "line": 269, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setArgCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeight": { + "line": 274, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setReturnCountWeight": { + "line": 279, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setReturnCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeight": { + "line": 284, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setVariableCountWeight": { + "line": 289, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setVariableCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeight": { + "line": 294, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setPropertyCallCountWeight": { + "line": 299, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setPropertyCallCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeight": { + "line": 304, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfCountWeight": { + "line": 309, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeight": { + "line": 314, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfNestingLevelWeight": { + "line": 319, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfNestingLevelWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeight": { + "line": 324, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setElseCountWeight": { + "line": 329, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setElseCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setScore": { + "line": 334, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setScore" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getScore": { + "line": 339, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getScore" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setCoverage": { + "line": 344, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCoverage": { + "line": 349, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeightDelta": { + "line": 354, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeightDelta": { + "line": 359, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeightDelta": { + "line": 364, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeightDelta": { + "line": 369, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeightDelta": { + "line": 374, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeightDelta": { + "line": 379, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeightDelta": { + "line": 384, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeightDelta": { + "line": 389, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getTimesChanged": { + "line": 394, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 2, + "programLength": 3, + "programVocabulary": 3, + "volume": 4.754887502163468, + "difficulty": 0.5, + "effort": 2.377443751081734, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getTimesChanged" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getFileName": { + "line": 399, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getFileName" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLine": { + "line": 404, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLine" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::equals": { + "line": 409, + "lineCount": 5, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 2, + "N1": 5, + "N2": 5, + "programLength": 10, + "programVocabulary": 5, + "volume": 23.21928094887362, + "difficulty": 3.75, + "effort": 87.07230355827608, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::equals" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::toArray": { + "line": 418, + "lineCount": 34, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 29, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 30, + "N1": 0, + "N2": 58, + "programLength": 58, + "programVocabulary": 30, + "volume": 284.5996545452941, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::toArray" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::jsonSerialize": { + "line": 456, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::jsonSerialize" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getHalstead": { + "line": 464, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getHalstead" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCyclomatic": { + "line": 472, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCyclomatic" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::add": { + "line": 30, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 5, + "N2": 6, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 3, + "effort": 85.30376252379816, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::add" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filter": { + "line": 40, + "lineCount": 11, + "argCount": 1, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 8, + "volume": 42, + "difficulty": 3, + "effort": 126, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filter" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getIterator": { + "line": 57, + "lineCount": 5, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getIterator" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::count": { + "line": 66, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::count" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterWithScoreGreaterThan": { + "line": 71, + "lineCount": 6, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 3, + "N2": 6, + "programLength": 9, + "programVocabulary": 5, + "volume": 20.89735285398626, + "difficulty": 2, + "effort": 41.79470570797252, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterWithScoreGreaterThan" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::contains": { + "line": 78, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 4, + "N2": 5, + "programLength": 9, + "programVocabulary": 5, + "volume": 20.89735285398626, + "difficulty": 1.6666666666666667, + "effort": 34.82892142331043, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::contains" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getClassWithMethod": { + "line": 83, + "lineCount": 9, + "argCount": 2, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 3, + "N2": 10, + "programLength": 13, + "programVocabulary": 7, + "volume": 36.49561398674886, + "difficulty": 2, + "effort": 72.99122797349771, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getClassWithMethod" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterByClassName": { + "line": 93, + "lineCount": 6, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 3, + "N2": 6, + "programLength": 9, + "programVocabulary": 5, + "volume": 20.89735285398626, + "difficulty": 2, + "effort": 41.79470570797252, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterByClassName" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::assertMetricHasGetter": { + "line": 100, + "lineCount": 9, + "argCount": 3, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 6, + "programLength": 7, + "programVocabulary": 4, + "volume": 14, + "difficulty": 1, + "effort": 14, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::assertMetricHasGetter" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::groupBy": { + "line": 117, + "lineCount": 20, + "argCount": 1, + "returnCount": 1, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 10, + "N2": 23, + "programLength": 33, + "programVocabulary": 11, + "volume": 114.16124341503081, + "difficulty": 6.571428571428571, + "effort": 750.2024567273453, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::groupBy" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::jsonSerialize": { + "line": 141, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::jsonSerialize" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::__construct": { + "line": 32, + "lineCount": 8, + "argCount": 5, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 5, + "N1": 0, + "N2": 5, + "programLength": 5, + "programVocabulary": 5, + "volume": 11.60964047443681, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collect": { + "line": 49, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 5, + "programLength": 6, + "programVocabulary": 4, + "volume": 12, + "difficulty": 0.8333333333333334, + "effort": 10, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collect" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collectFromPaths": { + "line": 62, + "lineCount": 13, + "argCount": 2, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 8, + "N2": 16, + "programLength": 24, + "programVocabulary": 9, + "volume": 76.07820003461549, + "difficulty": 4, + "effort": 304.31280013846197, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collectFromPaths" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCodeFromFile": { + "line": 79, + "lineCount": 10, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 2, + "N1": 5, + "N2": 6, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 6, + "effort": 170.6075250475963, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCodeFromFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findMetrics": { + "line": 98, + "lineCount": 31, + "argCount": 1, + "returnCount": 1, + "variableCount": 9, + "propertyCallCount": 2, + "ifNestingLevel": 2, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 13, + "N1": 18, + "N2": 38, + "programLength": 56, + "programVocabulary": 16, + "volume": 224, + "difficulty": 4.384615384615384, + "effort": 982.1538461538461, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findMetrics" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processMethodMetrics": { + "line": 136, + "lineCount": 29, + "argCount": 3, + "returnCount": 1, + "variableCount": 7, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 14, + "N1": 8, + "N2": 27, + "programLength": 35, + "programVocabulary": 17, + "volume": 143.06119944376186, + "difficulty": 2.892857142857143, + "effort": 413.8556126765968, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processMethodMetrics" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::isExcluded": { + "line": 166, + "lineCount": 12, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 5, + "N1": 5, + "N2": 9, + "programLength": 14, + "programVocabulary": 9, + "volume": 44.37895002019237, + "difficulty": 3.6, + "effort": 159.76422007269252, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::isExcluded" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findSourceFiles": { + "line": 187, + "lineCount": 7, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 2, + "N2": 6, + "programLength": 8, + "programVocabulary": 6, + "volume": 20.67970000576925, + "difficulty": 1.5, + "effort": 31.019550008653873, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findSourceFiles" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getProjectRoot": { + "line": 202, + "lineCount": 13, + "argCount": 0, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 2, + "N1": 8, + "N2": 8, + "programLength": 16, + "programVocabulary": 6, + "volume": 41.3594000115385, + "difficulty": 8, + "effort": 330.875200092308, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getProjectRoot" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateCacheKey": { + "line": 219, + "lineCount": 7, + "argCount": 2, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 6, + "N1": 10, + "N2": 12, + "programLength": 22, + "programVocabulary": 10, + "volume": 73.08241808752197, + "difficulty": 4, + "effort": 292.3296723500879, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateCacheKey" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateConfigHash": { + "line": 230, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 1, + "N1": 3, + "N2": 2, + "programLength": 5, + "programVocabulary": 3, + "volume": 7.92481250360578, + "difficulty": 2, + "effort": 15.84962500721156, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateConfigHash" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::cacheResult": { + "line": 239, + "lineCount": 14, + "argCount": 4, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 13, + "N1": 5, + "N2": 20, + "programLength": 25, + "programVocabulary": 15, + "volume": 97.67226489021297, + "difficulty": 1.5384615384615385, + "effort": 150.26502290801997, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::cacheResult" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::clearCache": { + "line": 254, + "lineCount": 4, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::clearCache" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::normalizeFilename": { + "line": 264, + "lineCount": 15, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 6, + "n2": 7, + "N1": 12, + "N2": 16, + "programLength": 28, + "programVocabulary": 13, + "volume": 103.61231210795059, + "difficulty": 6.857142857142857, + "effort": 710.4844258830897, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::normalizeFilename" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCachedMetrics": { + "line": 286, + "lineCount": 19, + "argCount": 3, + "returnCount": 3, + "variableCount": 4, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 11, + "N1": 10, + "N2": 29, + "programLength": 39, + "programVocabulary": 14, + "volume": 148.48684196024655, + "difficulty": 3.954545454545454, + "effort": 587.1979659337022, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCachedMetrics" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processFile": { + "line": 312, + "lineCount": 37, + "argCount": 5, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 7, + "n2": 10, + "N1": 12, + "N2": 28, + "programLength": 40, + "programVocabulary": 17, + "volume": 163.49851365001356, + "difficulty": 9.799999999999999, + "effort": 1602.2854337701328, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::sort": { + "line": 51, + "lineCount": 41, + "argCount": 3, + "returnCount": 2, + "variableCount": 10, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "cyclomatic_complexity": { + "complexity": 5, + "risk_level": "low" + }, + "halstead": { + "n1": 4, + "n2": 18, + "N1": 20, + "N2": 43, + "programLength": 63, + "programVocabulary": 22, + "volume": 280.9441919741497, + "difficulty": 4.777777777777778, + "effort": 1342.2889172098264, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::sort" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getFieldValue": { + "line": 100, + "lineCount": 28, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 2, + "n2": 25, + "N1": 24, + "N2": 50, + "programLength": 74, + "programVocabulary": 27, + "volume": 351.86167516009664, + "difficulty": 2, + "effort": 703.7233503201933, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getFieldValue" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::compareValues": { + "line": 136, + "lineCount": 13, + "argCount": 2, + "returnCount": 3, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "cyclomatic_complexity": { + "complexity": 3, + "risk_level": "low" + }, + "halstead": { + "n1": 3, + "n2": 2, + "N1": 9, + "N2": 12, + "programLength": 21, + "programVocabulary": 5, + "volume": 48.760489992634604, + "difficulty": 9, + "effort": 438.8444099337114, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::compareValues" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getSortableFields": { + "line": 155, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 0, + "n2": 0, + "N1": 0, + "N2": 0, + "programLength": 0, + "programVocabulary": 0, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getSortableFields" + } + } + }, + "ignored_items": [], + "cached_at": 1759967601 +} \ No newline at end of file diff --git a/.phpcca.cache/d2/d2c539f9fdda4b190f3e90f8e31c3fa7.cache b/.phpcca.cache/d2/d2c539f9fdda4b190f3e90f8e31c3fa7.cache new file mode 100644 index 0000000..6b0c0c0 --- /dev/null +++ b/.phpcca.cache/d2/d2c539f9fdda4b190f3e90f8e31c3fa7.cache @@ -0,0 +1,4269 @@ +{ + "version": "1.0", + "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/Business\/Cognitive\/Exporter\/CsvExporter.php", + "file_mtime": 1759793046, + "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", + "analysis_result": { + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct": { + "line": 60, + "lineCount": 5, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 1, + "N1": 2, + "N2": 2, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 2, + "effort": 12.679700005769249, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices": { + "line": 66, + "lineCount": 95, + "argCount": 0, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 5, + "N1": 58, + "N2": 32, + "programLength": 90, + "programVocabulary": 9, + "volume": 285.2932501298081, + "difficulty": 12.8, + "effort": 3651.7536016615436, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap": { + "line": 162, + "lineCount": 10, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 7, + "N2": 7, + "programLength": 14, + "programVocabulary": 2, + "volume": 14, + "difficulty": 3.5, + "effort": 49, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors": { + "line": 173, + "lineCount": 12, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 3, + "N2": 1, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0.5, + "effort": 2, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus": { + "line": 186, + "lineCount": 19, + "argCount": 0, + "returnCount": 0, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 9, + "N2": 13, + "programLength": 22, + "programVocabulary": 7, + "volume": 61.76180828526729, + "difficulty": 2.6, + "effort": 160.58070154169496, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService": { + "line": 206, + "lineCount": 9, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 3, + "N2": 1, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0.5, + "effort": 2, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade": { + "line": 216, + "lineCount": 13, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 3, + "N2": 1, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0.5, + "effort": 2, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands": { + "line": 230, + "lineCount": 21, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 6, + "N2": 2, + "programLength": 8, + "programVocabulary": 2, + "volume": 8, + "difficulty": 1, + "effort": 8, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication": { + "line": 252, + "lineCount": 11, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 5, + "N2": 4, + "programLength": 9, + "programVocabulary": 4, + "volume": 18, + "difficulty": 0.6666666666666666, + "effort": 12, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run": { + "line": 264, + "lineCount": 9, + "argCount": 0, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 5, + "N2": 5, + "programLength": 10, + "programVocabulary": 4, + "volume": 20, + "difficulty": 2.5, + "effort": 50, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get": { + "line": 274, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer": { + "line": 279, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator": { + "line": 289, + "lineCount": 16, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 7, + "programLength": 8, + "programVocabulary": 4, + "volume": 16, + "difficulty": 1.1666666666666667, + "effort": 18.666666666666668, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create": { + "line": 18, + "lineCount": 7, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 4, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile": { + "line": 17, + "lineCount": 17, + "argCount": 2, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 8, + "N1": 11, + "N2": 19, + "programLength": 30, + "programVocabulary": 11, + "volume": 103.78294855911892, + "difficulty": 3.5625, + "effort": 369.72675424186116, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode": { + "line": 42, + "lineCount": 8, + "argCount": 3, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 3, + "N2": 8, + "programLength": 11, + "programVocabulary": 8, + "volume": 33, + "difficulty": 2.4000000000000004, + "effort": 79.20000000000002, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate": { + "line": 22, + "lineCount": 10, + "argCount": 2, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 6, + "N2": 13, + "programLength": 19, + "programVocabulary": 6, + "volume": 49.11428751370197, + "difficulty": 3.25, + "effort": 159.6214344195314, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending": { + "line": 37, + "lineCount": 8, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 2, + "N2": 9, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 2.25, + "effort": 63.97782189284862, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn": { + "line": 51, + "lineCount": 24, + "argCount": 2, + "returnCount": 1, + "variableCount": 6, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 15, + "N1": 17, + "N2": 46, + "programLength": 63, + "programVocabulary": 20, + "volume": 272.28146997790384, + "difficulty": 7.666666666666667, + "effort": 2087.491269830596, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses": { + "line": 81, + "lineCount": 20, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 2, + "n2": 7, + "N1": 10, + "N2": 24, + "programLength": 34, + "programVocabulary": 9, + "volume": 107.7774500490386, + "difficulty": 3.4285714285714284, + "effort": 369.52268588241805, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass": { + "line": 109, + "lineCount": 9, + "argCount": 2, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 6, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 10, + "volume": 49.82892142331043, + "difficulty": 3.3333333333333335, + "effort": 166.09640474436813, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel": { + "line": 126, + "lineCount": 16, + "argCount": 2, + "returnCount": 4, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 12, + "N1": 9, + "N2": 18, + "programLength": 27, + "programVocabulary": 15, + "volume": 105.48604608143, + "difficulty": 2.25, + "effort": 237.3436036832175, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile": { + "line": 14, + "lineCount": 6, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 2, + "N2": 5, + "programLength": 7, + "programVocabulary": 4, + "volume": 14, + "difficulty": 2.5, + "effort": 35, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable": { + "line": 24, + "lineCount": 11, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 10, + "N2": 12, + "programLength": 22, + "programVocabulary": 8, + "volume": 66, + "difficulty": 6, + "effort": 396, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create": { + "line": 21, + "lineCount": 11, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 7, + "N1": 0, + "N2": 9, + "programLength": 9, + "programVocabulary": 7, + "volume": 25.26619429851844, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes": { + "line": 38, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 6, + "N1": 0, + "N2": 6, + "programLength": 6, + "programVocabulary": 6, + "volume": 15.509775004326936, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported": { + "line": 49, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 2, + "N2": 3, + "programLength": 5, + "programVocabulary": 4, + "volume": 10, + "difficulty": 1.5, + "effort": 15, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export": { + "line": 30, + "lineCount": 23, + "argCount": 2, + "returnCount": 0, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 16, + "N1": 10, + "N2": 33, + "programLength": 43, + "programVocabulary": 20, + "volume": 185.8429080801566, + "difficulty": 4.125, + "effort": 766.601995830646, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export": { + "line": 28, + "lineCount": 8, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 6, + "volume": 36.18947501009619, + "difficulty": 2.5, + "effort": 90.47368752524048, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape": { + "line": 37, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber": { + "line": 42, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml": { + "line": 52, + "lineCount": 50, + "argCount": 1, + "returnCount": 1, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 12, + "N1": 11, + "N2": 25, + "programLength": 36, + "programVocabulary": 17, + "volume": 147.14866228501222, + "difficulty": 5.208333333333334, + "effort": 766.3992827344388, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export": { + "line": 17, + "lineCount": 13, + "argCount": 2, + "returnCount": 0, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 8, + "N1": 7, + "N2": 14, + "programLength": 21, + "programVocabulary": 12, + "volume": 75.28421251514428, + "difficulty": 3.5, + "effort": 263.49474380300495, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export": { + "line": 48, + "lineCount": 8, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 6, + "volume": 36.18947501009619, + "difficulty": 2.5, + "effort": 90.47368752524048, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown": { + "line": 61, + "lineCount": 24, + "argCount": 1, + "returnCount": 1, + "variableCount": 6, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 6, + "n2": 16, + "N1": 19, + "N2": 41, + "programLength": 60, + "programVocabulary": 22, + "volume": 267.56589711823784, + "difficulty": 7.6875, + "effort": 2056.9128340964535, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow": { + "line": 94, + "lineCount": 21, + "argCount": 3, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 7, + "n2": 18, + "N1": 16, + "N2": 39, + "programLength": 55, + "programVocabulary": 25, + "volume": 255.41209043760983, + "difficulty": 7.583333333333333, + "effort": 1936.8750191518745, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::__construct": { + "line": 26, + "lineCount": 4, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::export": { + "line": 36, + "lineCount": 10, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 8, + "volume": 45, + "difficulty": 5, + "effort": 225, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::generateSvgTreemap": { + "line": 53, + "lineCount": 20, + "argCount": 1, + "returnCount": 1, + "variableCount": 6, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 8, + "N1": 9, + "N2": 20, + "programLength": 29, + "programVocabulary": 10, + "volume": 96.3359147517335, + "difficulty": 2.5, + "effort": 240.83978687933376, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::generateSvgTreemap" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRects": { + "line": 82, + "lineCount": 10, + "argCount": 3, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 9, + "N1": 6, + "N2": 18, + "programLength": 24, + "programVocabulary": 12, + "volume": 86.03910001730775, + "difficulty": 3, + "effort": 258.1173000519232, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRects" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRect": { + "line": 100, + "lineCount": 29, + "argCount": 2, + "returnCount": 1, + "variableCount": 12, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 6, + "n2": 28, + "N1": 26, + "N2": 54, + "programLength": 80, + "programVocabulary": 34, + "volume": 406.9970273000271, + "difficulty": 5.785714285714286, + "effort": 2354.7685150930142, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRect" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::wrapSvg": { + "line": 136, + "lineCount": 21, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 2, + "N2": 8, + "programLength": 10, + "programVocabulary": 4, + "volume": 20, + "difficulty": 1.3333333333333333, + "effort": 26.666666666666664, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::wrapSvg" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::prepareItems": { + "line": 28, + "lineCount": 18, + "argCount": 1, + "returnCount": 1, + "variableCount": 7, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 12, + "N1": 9, + "N2": 30, + "programLength": 39, + "programVocabulary": 17, + "volume": 159.41105080876324, + "difficulty": 6.25, + "effort": 996.3190675547702, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::prepareItems" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findScoreRange": { + "line": 53, + "lineCount": 16, + "argCount": 1, + "returnCount": 3, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 7, + "N2": 13, + "programLength": 20, + "programVocabulary": 8, + "volume": 60, + "difficulty": 3.9000000000000004, + "effort": 234.00000000000003, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findScoreRange" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::normalizeScore": { + "line": 78, + "lineCount": 8, + "argCount": 3, + "returnCount": 2, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 8, + "volume": 45, + "difficulty": 5, + "effort": 225, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::normalizeScore" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::scoreToColor": { + "line": 93, + "lineCount": 9, + "argCount": 1, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 5, + "n2": 9, + "N1": 12, + "N2": 16, + "programLength": 28, + "programVocabulary": 14, + "volume": 106.60593781761291, + "difficulty": 4.444444444444445, + "effort": 473.80416807827964, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::scoreToColor" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::calculateTreemapLayout": { + "line": 115, + "lineCount": 23, + "argCount": 7, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 9, + "N1": 2, + "N2": 18, + "programLength": 20, + "programVocabulary": 11, + "volume": 69.18863237274594, + "difficulty": 2, + "effort": 138.37726474549189, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::calculateTreemapLayout" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::layoutTreemap": { + "line": 152, + "lineCount": 89, + "argCount": 8, + "returnCount": 3, + "variableCount": 11, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 8, + "n2": 28, + "N1": 32, + "N2": 98, + "programLength": 130, + "programVocabulary": 36, + "volume": 672.0902501875006, + "difficulty": 14, + "effort": 9409.263502625008, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::layoutTreemap" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findSplitIndex": { + "line": 249, + "lineCount": 13, + "argCount": 2, + "returnCount": 2, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 7, + "n2": 10, + "N1": 9, + "N2": 23, + "programLength": 32, + "programVocabulary": 17, + "volume": 130.79881092001085, + "difficulty": 8.049999999999999, + "effort": 1052.9304279060873, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findSplitIndex" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::__construct": { + "line": 23, + "lineCount": 18, + "argCount": 1, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 7, + "N2": 11, + "programLength": 18, + "programVocabulary": 6, + "volume": 46.529325012980806, + "difficulty": 5.5, + "effort": 255.91128757139444, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::getAllClasses": { + "line": 47, + "lineCount": 17, + "argCount": 0, + "returnCount": 2, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 6, + "N2": 12, + "programLength": 18, + "programVocabulary": 9, + "volume": 57.05865002596162, + "difficulty": 3, + "effort": 171.17595007788486, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::getAllClasses" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::withClassNode": { + "line": 73, + "lineCount": 8, + "argCount": 2, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 4, + "N2": 8, + "programLength": 12, + "programVocabulary": 8, + "volume": 36, + "difficulty": 4, + "effort": 144, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::withClassNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::findClassNode": { + "line": 85, + "lineCount": 25, + "argCount": 1, + "returnCount": 4, + "variableCount": 5, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 13, + "N2": 29, + "programLength": 42, + "programVocabulary": 11, + "volume": 145.29612798276648, + "difficulty": 8.285714285714286, + "effort": 1203.8822032857795, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::findClassNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::escapeXPathValue": { + "line": 114, + "lineCount": 16, + "argCount": 1, + "returnCount": 3, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 9, + "N1": 11, + "N2": 18, + "programLength": 29, + "programVocabulary": 13, + "volume": 107.31275182609167, + "difficulty": 4, + "effort": 429.2510073043667, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::escapeXPathValue" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getLineCoverage": { + "line": 22, + "lineCount": 18, + "argCount": 1, + "returnCount": 4, + "variableCount": 5, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 9, + "N1": 10, + "N2": 19, + "programLength": 29, + "programVocabulary": 13, + "volume": 107.31275182609167, + "difficulty": 4.222222222222222, + "effort": 453.09828548794263, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getLineCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getBranchCoverage": { + "line": 48, + "lineCount": 18, + "argCount": 1, + "returnCount": 4, + "variableCount": 5, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 9, + "N1": 10, + "N2": 19, + "programLength": 29, + "programVocabulary": 13, + "volume": 107.31275182609167, + "difficulty": 4.222222222222222, + "effort": 453.09828548794263, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getBranchCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getComplexity": { + "line": 73, + "lineCount": 13, + "argCount": 1, + "returnCount": 3, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 7, + "N2": 14, + "programLength": 21, + "programVocabulary": 11, + "volume": 72.64806399138324, + "difficulty": 4, + "effort": 290.59225596553296, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getComplexity" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getCoverageDetails": { + "line": 93, + "lineCount": 26, + "argCount": 1, + "returnCount": 3, + "variableCount": 9, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 17, + "N1": 22, + "N2": 42, + "programLength": 64, + "programVocabulary": 22, + "volume": 285.403623592787, + "difficulty": 6.176470588235294, + "effort": 1762.7870868966259, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getCoverageDetails" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getMetricsNode": { + "line": 123, + "lineCount": 12, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 6, + "N1": 7, + "N2": 13, + "programLength": 20, + "programVocabulary": 10, + "volume": 66.43856189774725, + "difficulty": 4.333333333333333, + "effort": 287.90043489023805, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getMetricsNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getFilenameForClass": { + "line": 139, + "lineCount": 9, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 5, + "N1": 4, + "N2": 9, + "programLength": 13, + "programVocabulary": 9, + "volume": 41.209025018750054, + "difficulty": 3.6, + "effort": 148.3524900675002, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getFilenameForClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodsCoverage": { + "line": 154, + "lineCount": 36, + "argCount": 1, + "returnCount": 3, + "variableCount": 8, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 13, + "N1": 12, + "N2": 30, + "programLength": 42, + "programVocabulary": 16, + "volume": 168, + "difficulty": 3.4615384615384612, + "effort": 581.5384615384614, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodsCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::calculateMethodCoverage": { + "line": 194, + "lineCount": 15, + "argCount": 2, + "returnCount": 2, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 11, + "N1": 9, + "N2": 23, + "programLength": 32, + "programVocabulary": 16, + "volume": 128, + "difficulty": 5.227272727272727, + "effort": 669.090909090909, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::calculateMethodCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodCoverageFromLines": { + "line": 215, + "lineCount": 36, + "argCount": 2, + "returnCount": 1, + "variableCount": 7, + "propertyCallCount": 0, + "ifNestingLevel": 2, + "elseCount": 0, + "ifCount": 5, + "halstead": { + "n1": 2, + "n2": 14, + "N1": 12, + "N2": 35, + "programLength": 47, + "programVocabulary": 16, + "volume": 188, + "difficulty": 2.5, + "effort": 470, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodCoverageFromLines" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStart": { + "line": 252, + "lineCount": 4, + "argCount": 3, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 3, + "N2": 7, + "programLength": 10, + "programVocabulary": 6, + "volume": 25.84962500721156, + "difficulty": 1.75, + "effort": 45.23684376262023, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStart" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodEnd": { + "line": 257, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 5, + "programLength": 7, + "programVocabulary": 5, + "volume": 16.253496664211536, + "difficulty": 1.6666666666666667, + "effort": 27.089161107019226, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodEnd" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStatement": { + "line": 262, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 5, + "programLength": 7, + "programVocabulary": 5, + "volume": 16.253496664211536, + "difficulty": 1.6666666666666667, + "effort": 27.089161107019226, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStatement" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isStatementCovered": { + "line": 267, + "lineCount": 5, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 4, + "N1": 3, + "N2": 6, + "programLength": 9, + "programVocabulary": 7, + "volume": 25.26619429851844, + "difficulty": 2.25, + "effort": 56.848937171666485, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isStatementCovered" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getLineCoverage": { + "line": 20, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 9, + "volume": 44.37895002019237, + "difficulty": 2.5, + "effort": 110.94737505048093, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getLineCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getBranchCoverage": { + "line": 34, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 9, + "volume": 44.37895002019237, + "difficulty": 2.5, + "effort": 110.94737505048093, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getBranchCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getComplexity": { + "line": 48, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 9, + "volume": 44.37895002019237, + "difficulty": 2.5, + "effort": 110.94737505048093, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getComplexity" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getCoverageDetails": { + "line": 62, + "lineCount": 13, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 8, + "N1": 7, + "N2": 16, + "programLength": 23, + "programVocabulary": 9, + "volume": 72.90827503317318, + "difficulty": 1, + "effort": 72.90827503317318, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getCoverageDetails" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::extractMethodsCoverage": { + "line": 81, + "lineCount": 23, + "argCount": 1, + "returnCount": 2, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 11, + "N1": 10, + "N2": 23, + "programLength": 33, + "programVocabulary": 14, + "volume": 125.64271242790093, + "difficulty": 3.1363636363636362, + "effort": 394.061234432962, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::extractMethodsCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CodeCoverageFactory::createFromName": { + "line": 14, + "lineCount": 8, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 4, + "N1": 1, + "N2": 8, + "programLength": 9, + "programVocabulary": 5, + "volume": 20.89735285398626, + "difficulty": 1, + "effort": 20.89735285398626, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CodeCoverageFactory::createFromName" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::__construct": { + "line": 28, + "lineCount": 15, + "argCount": 6, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 6, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 7, + "N1": 6, + "N2": 18, + "programLength": 24, + "programVocabulary": 8, + "volume": 72, + "difficulty": 1.2857142857142858, + "effort": 92.57142857142858, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getName": { + "line": 44, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getName" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getFilename": { + "line": 49, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getFilename" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getLineRate": { + "line": 54, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getLineRate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getBranchRate": { + "line": 59, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getBranchRate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getComplexity": { + "line": 64, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getComplexity" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getMethods": { + "line": 72, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getMethods" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::__construct": { + "line": 17, + "lineCount": 11, + "argCount": 4, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 4, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 5, + "N1": 4, + "N2": 12, + "programLength": 16, + "programVocabulary": 6, + "volume": 41.3594000115385, + "difficulty": 1.2, + "effort": 49.631280013846194, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getName": { + "line": 29, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getName" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getLineRate": { + "line": 34, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getLineRate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getBranchRate": { + "line": 39, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getBranchRate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getComplexity": { + "line": 44, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getComplexity" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::calculateDeltas": { + "line": 19, + "lineCount": 14, + "argCount": 2, + "returnCount": 0, + "variableCount": 6, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 9, + "N1": 4, + "N2": 18, + "programLength": 22, + "programVocabulary": 11, + "volume": 76.10749561002054, + "difficulty": 2, + "effort": 152.21499122004107, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::calculateDeltas" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::loadBaseline": { + "line": 41, + "lineCount": 13, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 5, + "N2": 9, + "programLength": 14, + "programVocabulary": 8, + "volume": 42, + "difficulty": 2.7, + "effort": 113.4, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::loadBaseline" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::__construct": { + "line": 72, + "lineCount": 21, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 6, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 9, + "N1": 12, + "N2": 34, + "programLength": 46, + "programVocabulary": 12, + "volume": 164.90827503317317, + "difficulty": 5.666666666666666, + "effort": 934.4802251879812, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setRequiredMetricProperties": { + "line": 98, + "lineCount": 30, + "argCount": 1, + "returnCount": 0, + "variableCount": 6, + "propertyCallCount": 9, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 21, + "N1": 21, + "N2": 51, + "programLength": 72, + "programVocabulary": 24, + "volume": 330.1173000519232, + "difficulty": 3.6428571428571423, + "effort": 1202.570164474863, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setRequiredMetricProperties" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setOptionalMetricProperties": { + "line": 133, + "lineCount": 12, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 8, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 11, + "N1": 16, + "N2": 33, + "programLength": 49, + "programVocabulary": 13, + "volume": 181.32154618891352, + "difficulty": 3, + "effort": 543.9646385667405, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setOptionalMetricProperties" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setTimesChanged": { + "line": 146, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setTimesChanged" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertSame": { + "line": 151, + "lineCount": 14, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 6, + "N2": 8, + "programLength": 14, + "programVocabulary": 5, + "volume": 32.50699332842307, + "difficulty": 2.6666666666666665, + "effort": 86.68531554246152, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertSame" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::calculateDeltas": { + "line": 169, + "lineCount": 13, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 16, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 17, + "N2": 27, + "programLength": 44, + "programVocabulary": 4, + "volume": 88, + "difficulty": 13.5, + "effort": 1188, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::calculateDeltas" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::fromArray": { + "line": 187, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::fromArray" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertArrayKeyIsPresent": { + "line": 197, + "lineCount": 6, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 5, + "programLength": 5, + "programVocabulary": 2, + "volume": 5, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertArrayKeyIsPresent" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getClass": { + "line": 204, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getMethod": { + "line": 209, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getMethod" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCount": { + "line": 214, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCount": { + "line": 219, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCount": { + "line": 224, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCount": { + "line": 229, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCount": { + "line": 234, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCount": { + "line": 239, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevel": { + "line": 244, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevel" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCount": { + "line": 249, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeight": { + "line": 254, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setLineCountWeight": { + "line": 259, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setLineCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeight": { + "line": 264, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setArgCountWeight": { + "line": 269, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setArgCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeight": { + "line": 274, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setReturnCountWeight": { + "line": 279, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setReturnCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeight": { + "line": 284, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setVariableCountWeight": { + "line": 289, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setVariableCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeight": { + "line": 294, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setPropertyCallCountWeight": { + "line": 299, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setPropertyCallCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeight": { + "line": 304, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfCountWeight": { + "line": 309, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeight": { + "line": 314, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfNestingLevelWeight": { + "line": 319, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfNestingLevelWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeight": { + "line": 324, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setElseCountWeight": { + "line": 329, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setElseCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setScore": { + "line": 334, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setScore" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getScore": { + "line": 339, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getScore" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setCoverage": { + "line": 344, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCoverage": { + "line": 349, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeightDelta": { + "line": 354, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeightDelta": { + "line": 359, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeightDelta": { + "line": 364, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeightDelta": { + "line": 369, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeightDelta": { + "line": 374, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeightDelta": { + "line": 379, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeightDelta": { + "line": 384, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeightDelta": { + "line": 389, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getTimesChanged": { + "line": 394, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 2, + "programLength": 3, + "programVocabulary": 3, + "volume": 4.754887502163468, + "difficulty": 0.5, + "effort": 2.377443751081734, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getTimesChanged" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getFileName": { + "line": 399, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getFileName" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLine": { + "line": 404, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLine" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::equals": { + "line": 409, + "lineCount": 5, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 2, + "N1": 5, + "N2": 5, + "programLength": 10, + "programVocabulary": 5, + "volume": 23.21928094887362, + "difficulty": 3.75, + "effort": 87.07230355827608, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::equals" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::toArray": { + "line": 418, + "lineCount": 34, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 29, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 30, + "N1": 0, + "N2": 58, + "programLength": 58, + "programVocabulary": 30, + "volume": 284.5996545452941, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::toArray" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::jsonSerialize": { + "line": 456, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::jsonSerialize" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getHalstead": { + "line": 464, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getHalstead" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCyclomatic": { + "line": 472, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCyclomatic" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::add": { + "line": 30, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 5, + "N2": 6, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 3, + "effort": 85.30376252379816, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::add" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filter": { + "line": 40, + "lineCount": 11, + "argCount": 1, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 8, + "volume": 42, + "difficulty": 3, + "effort": 126, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filter" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getIterator": { + "line": 57, + "lineCount": 5, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getIterator" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::count": { + "line": 66, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::count" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterWithScoreGreaterThan": { + "line": 71, + "lineCount": 6, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 3, + "N2": 6, + "programLength": 9, + "programVocabulary": 5, + "volume": 20.89735285398626, + "difficulty": 2, + "effort": 41.79470570797252, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterWithScoreGreaterThan" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::contains": { + "line": 78, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 4, + "N2": 5, + "programLength": 9, + "programVocabulary": 5, + "volume": 20.89735285398626, + "difficulty": 1.6666666666666667, + "effort": 34.82892142331043, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::contains" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getClassWithMethod": { + "line": 83, + "lineCount": 9, + "argCount": 2, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 3, + "N2": 10, + "programLength": 13, + "programVocabulary": 7, + "volume": 36.49561398674886, + "difficulty": 2, + "effort": 72.99122797349771, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getClassWithMethod" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterByClassName": { + "line": 93, + "lineCount": 6, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 3, + "N2": 6, + "programLength": 9, + "programVocabulary": 5, + "volume": 20.89735285398626, + "difficulty": 2, + "effort": 41.79470570797252, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterByClassName" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::assertMetricHasGetter": { + "line": 100, + "lineCount": 9, + "argCount": 3, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 6, + "programLength": 7, + "programVocabulary": 4, + "volume": 14, + "difficulty": 1, + "effort": 14, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::assertMetricHasGetter" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::groupBy": { + "line": 117, + "lineCount": 20, + "argCount": 1, + "returnCount": 1, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 10, + "N2": 23, + "programLength": 33, + "programVocabulary": 11, + "volume": 114.16124341503081, + "difficulty": 6.571428571428571, + "effort": 750.2024567273453, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::groupBy" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::jsonSerialize": { + "line": 141, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::jsonSerialize" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::__construct": { + "line": 32, + "lineCount": 8, + "argCount": 5, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 5, + "N1": 0, + "N2": 5, + "programLength": 5, + "programVocabulary": 5, + "volume": 11.60964047443681, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collect": { + "line": 49, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 5, + "programLength": 6, + "programVocabulary": 4, + "volume": 12, + "difficulty": 0.8333333333333334, + "effort": 10, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collect" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collectFromPaths": { + "line": 62, + "lineCount": 13, + "argCount": 2, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 8, + "N2": 16, + "programLength": 24, + "programVocabulary": 9, + "volume": 76.07820003461549, + "difficulty": 4, + "effort": 304.31280013846197, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collectFromPaths" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCodeFromFile": { + "line": 79, + "lineCount": 10, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 2, + "N1": 5, + "N2": 6, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 6, + "effort": 170.6075250475963, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCodeFromFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findMetrics": { + "line": 98, + "lineCount": 31, + "argCount": 1, + "returnCount": 1, + "variableCount": 9, + "propertyCallCount": 2, + "ifNestingLevel": 2, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 13, + "N1": 18, + "N2": 38, + "programLength": 56, + "programVocabulary": 16, + "volume": 224, + "difficulty": 4.384615384615384, + "effort": 982.1538461538461, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findMetrics" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processMethodMetrics": { + "line": 136, + "lineCount": 29, + "argCount": 3, + "returnCount": 1, + "variableCount": 7, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 14, + "N1": 8, + "N2": 27, + "programLength": 35, + "programVocabulary": 17, + "volume": 143.06119944376186, + "difficulty": 2.892857142857143, + "effort": 413.8556126765968, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processMethodMetrics" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::isExcluded": { + "line": 166, + "lineCount": 12, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 5, + "N1": 5, + "N2": 9, + "programLength": 14, + "programVocabulary": 9, + "volume": 44.37895002019237, + "difficulty": 3.6, + "effort": 159.76422007269252, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::isExcluded" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findSourceFiles": { + "line": 187, + "lineCount": 7, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 2, + "N2": 6, + "programLength": 8, + "programVocabulary": 6, + "volume": 20.67970000576925, + "difficulty": 1.5, + "effort": 31.019550008653873, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findSourceFiles" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getProjectRoot": { + "line": 202, + "lineCount": 13, + "argCount": 0, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 2, + "N1": 8, + "N2": 8, + "programLength": 16, + "programVocabulary": 6, + "volume": 41.3594000115385, + "difficulty": 8, + "effort": 330.875200092308, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getProjectRoot" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateCacheKey": { + "line": 219, + "lineCount": 7, + "argCount": 2, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 6, + "N1": 10, + "N2": 12, + "programLength": 22, + "programVocabulary": 10, + "volume": 73.08241808752197, + "difficulty": 4, + "effort": 292.3296723500879, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateCacheKey" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateConfigHash": { + "line": 230, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 1, + "N1": 3, + "N2": 2, + "programLength": 5, + "programVocabulary": 3, + "volume": 7.92481250360578, + "difficulty": 2, + "effort": 15.84962500721156, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateConfigHash" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::cacheResult": { + "line": 239, + "lineCount": 14, + "argCount": 4, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 13, + "N1": 5, + "N2": 20, + "programLength": 25, + "programVocabulary": 15, + "volume": 97.67226489021297, + "difficulty": 1.5384615384615385, + "effort": 150.26502290801997, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::cacheResult" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::clearCache": { + "line": 254, + "lineCount": 4, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::clearCache" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::normalizeFilename": { + "line": 264, + "lineCount": 15, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 6, + "n2": 7, + "N1": 12, + "N2": 16, + "programLength": 28, + "programVocabulary": 13, + "volume": 103.61231210795059, + "difficulty": 6.857142857142857, + "effort": 710.4844258830897, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::normalizeFilename" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCachedMetrics": { + "line": 286, + "lineCount": 19, + "argCount": 3, + "returnCount": 3, + "variableCount": 4, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 11, + "N1": 10, + "N2": 29, + "programLength": 39, + "programVocabulary": 14, + "volume": 148.48684196024655, + "difficulty": 3.954545454545454, + "effort": 587.1979659337022, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCachedMetrics" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processFile": { + "line": 312, + "lineCount": 37, + "argCount": 5, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 7, + "n2": 10, + "N1": 12, + "N2": 28, + "programLength": 40, + "programVocabulary": 17, + "volume": 163.49851365001356, + "difficulty": 9.799999999999999, + "effort": 1602.2854337701328, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::sort": { + "line": 51, + "lineCount": 41, + "argCount": 3, + "returnCount": 2, + "variableCount": 10, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 18, + "N1": 20, + "N2": 43, + "programLength": 63, + "programVocabulary": 22, + "volume": 280.9441919741497, + "difficulty": 4.777777777777778, + "effort": 1342.2889172098264, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::sort" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getFieldValue": { + "line": 100, + "lineCount": 28, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 25, + "N1": 24, + "N2": 50, + "programLength": 74, + "programVocabulary": 27, + "volume": 351.86167516009664, + "difficulty": 2, + "effort": 703.7233503201933, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getFieldValue" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::compareValues": { + "line": 136, + "lineCount": 13, + "argCount": 2, + "returnCount": 3, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 2, + "N1": 9, + "N2": 12, + "programLength": 21, + "programVocabulary": 5, + "volume": 48.760489992634604, + "difficulty": 9, + "effort": 438.8444099337114, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::compareValues" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getSortableFields": { + "line": 155, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 0, + "N1": 0, + "N2": 0, + "programLength": 0, + "programVocabulary": 0, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getSortableFields" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__construct": { + "line": 15, + "lineCount": 11, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 7, + "N2": 12, + "programLength": 19, + "programVocabulary": 6, + "volume": 49.11428751370197, + "difficulty": 6, + "effort": 294.6857250822118, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::getValue": { + "line": 27, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::getValue" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasIncreased": { + "line": 32, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasIncreased" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__toString": { + "line": 37, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__toString" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasNotChanged": { + "line": 42, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 2, + "programLength": 3, + "programVocabulary": 3, + "volume": 4.754887502163468, + "difficulty": 0.5, + "effort": 2.377443751081734, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasNotChanged" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\FileProcessed::__construct": { + "line": 14, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\FileProcessed::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\ParserFailed::__construct": { + "line": 15, + "lineCount": 5, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\ParserFailed::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\SourceFilesFound::__construct": { + "line": 17, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\SourceFilesFound::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::__construct": { + "line": 15, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::create": { + "line": 27, + "lineCount": 10, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 6, + "N1": 0, + "N2": 8, + "programLength": 8, + "programVocabulary": 6, + "volume": 20.67970000576925, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::create" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::getSupportedTypes": { + "line": 43, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 4, + "N1": 0, + "N2": 4, + "programLength": 4, + "programVocabulary": 4, + "volume": 8, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::getSupportedTypes" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::isSupported": { + "line": 54, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 2, + "N2": 3, + "programLength": 5, + "programVocabulary": 4, + "volume": 10, + "difficulty": 1.5, + "effort": 15, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::isSupported" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CsvExporter::export": { + "line": 46, + "lineCount": 57, + "argCount": 2, + "returnCount": 0, + "variableCount": 6, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "cyclomatic_complexity": { + "complexity": 5, + "risk_level": "low" + }, + "halstead": { + "n1": 4, + "n2": 15, + "N1": 37, + "N2": 54, + "programLength": 91, + "programVocabulary": 19, + "volume": 386.56140372336625, + "difficulty": 7.2, + "effort": 2783.242106808237, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CsvExporter::export" + } + } + }, + "ignored_items": [], + "cached_at": 1759967601 +} \ No newline at end of file diff --git a/.phpcca.cache/d4/d4727a6d32efa0399b8fd3f536904e6e.cache b/.phpcca.cache/d4/d4727a6d32efa0399b8fd3f536904e6e.cache new file mode 100644 index 0000000..be1b6a3 --- /dev/null +++ b/.phpcca.cache/d4/d4727a6d32efa0399b8fd3f536904e6e.cache @@ -0,0 +1,3623 @@ +{ + "version": "1.0", + "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/PhpParser\/CombinedMetricsVisitor.php", + "file_mtime": 1759791861, + "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", + "analysis_result": { + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::__construct": { + "line": 26, + "lineCount": 5, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 4, + "N1": 3, + "N2": 6, + "programLength": 9, + "programVocabulary": 7, + "volume": 25.26619429851844, + "difficulty": 2.25, + "effort": 56.848937171666485, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItem": { + "line": 35, + "lineCount": 15, + "argCount": 1, + "returnCount": 3, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 6, + "N2": 13, + "programLength": 19, + "programVocabulary": 8, + "volume": 57, + "difficulty": 6.5, + "effort": 370.5, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItem" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItems": { + "line": 55, + "lineCount": 9, + "argCount": 1, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 3, + "N2": 9, + "programLength": 12, + "programVocabulary": 6, + "volume": 31.019550008653873, + "difficulty": 2.25, + "effort": 69.79398751947122, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItems" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::hasItem": { + "line": 68, + "lineCount": 6, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 5, + "n2": 3, + "N1": 6, + "N2": 7, + "programLength": 13, + "programVocabulary": 8, + "volume": 39, + "difficulty": 5.833333333333334, + "effort": 227.50000000000003, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::hasItem" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::clear": { + "line": 75, + "lineCount": 10, + "argCount": 0, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 2, + "N2": 4, + "programLength": 6, + "programVocabulary": 3, + "volume": 9.509775004326936, + "difficulty": 1, + "effort": 9.509775004326936, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::clear" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItem": { + "line": 89, + "lineCount": 10, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 4, + "N2": 6, + "programLength": 10, + "programVocabulary": 6, + "volume": 25.84962500721156, + "difficulty": 3, + "effort": 77.54887502163469, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItem" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItems": { + "line": 103, + "lineCount": 10, + "argCount": 1, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 3, + "N2": 8, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 2, + "effort": 56.86917501586544, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItems" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::save": { + "line": 117, + "lineCount": 11, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 4, + "N1": 9, + "N2": 12, + "programLength": 21, + "programVocabulary": 7, + "volume": 58.95445336320969, + "difficulty": 4.5, + "effort": 265.2950401344436, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::save" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveDeferred": { + "line": 129, + "lineCount": 6, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveDeferred" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::commit": { + "line": 136, + "lineCount": 11, + "argCount": 0, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 4, + "N2": 8, + "programLength": 12, + "programVocabulary": 5, + "volume": 27.863137138648348, + "difficulty": 2.6666666666666665, + "effort": 74.30169903639559, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::commit" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::ensureCacheDirectory": { + "line": 152, + "lineCount": 9, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 3, + "N2": 4, + "programLength": 7, + "programVocabulary": 4, + "volume": 14, + "difficulty": 2, + "effort": 28, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::ensureCacheDirectory" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getCacheFilePath": { + "line": 168, + "lineCount": 15, + "argCount": 1, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 10, + "N1": 13, + "N2": 19, + "programLength": 32, + "programVocabulary": 14, + "volume": 121.83535750584333, + "difficulty": 3.8, + "effort": 462.9743585222046, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getCacheFilePath" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::loadCacheData": { + "line": 187, + "lineCount": 14, + "argCount": 1, + "returnCount": 3, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 6, + "N2": 8, + "programLength": 14, + "programVocabulary": 6, + "volume": 36.18947501009619, + "difficulty": 4, + "effort": 144.75790004038475, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::loadCacheData" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveCacheData": { + "line": 209, + "lineCount": 21, + "argCount": 2, + "returnCount": 3, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 6, + "n2": 7, + "N1": 13, + "N2": 17, + "programLength": 30, + "programVocabulary": 13, + "volume": 111.01319154423277, + "difficulty": 7.285714285714285, + "effort": 808.810395536553, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveCacheData" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::sanitizeUtf8": { + "line": 234, + "lineCount": 25, + "argCount": 1, + "returnCount": 4, + "variableCount": 6, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 8, + "N1": 13, + "N2": 29, + "programLength": 42, + "programVocabulary": 11, + "volume": 145.29612798276648, + "difficulty": 5.4375, + "effort": 790.0476959062927, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::sanitizeUtf8" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::removeDirectory": { + "line": 260, + "lineCount": 23, + "argCount": 1, + "returnCount": 2, + "variableCount": 5, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 5, + "n2": 9, + "N1": 13, + "N2": 20, + "programLength": 33, + "programVocabulary": 14, + "volume": 125.64271242790093, + "difficulty": 5.555555555555555, + "effort": 698.0150690438941, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::removeDirectory" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::__construct": { + "line": 42, + "lineCount": 7, + "argCount": 3, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 3, + "N1": 0, + "N2": 3, + "programLength": 3, + "programVocabulary": 3, + "volume": 4.754887502163468, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::configure": { + "line": 53, + "lineCount": 57, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 15, + "N1": 9, + "N2": 16, + "programLength": 25, + "programVocabulary": 16, + "volume": 100, + "difficulty": 0.5333333333333333, + "effort": 53.333333333333336, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::configure" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::execute": { + "line": 119, + "lineCount": 43, + "argCount": 2, + "returnCount": 5, + "variableCount": 9, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 4, + "halstead": { + "n1": 7, + "n2": 14, + "N1": 31, + "N2": 45, + "programLength": 76, + "programVocabulary": 21, + "volume": 333.8161241311858, + "difficulty": 11.25, + "effort": 3755.4313964758403, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::execute" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::loadCoverageReader": { + "line": 171, + "lineCount": 32, + "argCount": 3, + "returnCount": 4, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 2, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 4, + "n2": 9, + "N1": 9, + "N2": 21, + "programLength": 30, + "programVocabulary": 13, + "volume": 111.01319154423277, + "difficulty": 4.666666666666667, + "effort": 518.0615605397529, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::loadCoverageReader" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::detectCoverageFormat": { + "line": 207, + "lineCount": 19, + "argCount": 1, + "returnCount": 4, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 9, + "volume": 47.548875021634686, + "difficulty": 2.5, + "effort": 118.87218755408671, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::detectCoverageFormat" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::coverageFileExists": { + "line": 227, + "lineCount": 20, + "argCount": 2, + "returnCount": 3, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 4, + "N2": 7, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 3.5, + "effort": 99.52105627776452, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::coverageFileExists" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::__construct": { + "line": 49, + "lineCount": 10, + "argCount": 6, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 6, + "N1": 0, + "N2": 6, + "programLength": 6, + "programVocabulary": 6, + "volume": 15.509775004326936, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::configure": { + "line": 63, + "lineCount": 76, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 20, + "N1": 13, + "N2": 20, + "programLength": 33, + "programVocabulary": 21, + "volume": 144.94647495169912, + "difficulty": 0.5, + "effort": 72.47323747584956, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::configure" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::execute": { + "line": 150, + "lineCount": 52, + "argCount": 2, + "returnCount": 5, + "variableCount": 11, + "propertyCallCount": 6, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 7, + "halstead": { + "n1": 6, + "n2": 15, + "N1": 43, + "N2": 61, + "programLength": 104, + "programVocabulary": 21, + "volume": 456.80101196899113, + "difficulty": 12.2, + "effort": 5572.972346021692, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::execute" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::parsePaths": { + "line": 209, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 4, + "N2": 8, + "programLength": 12, + "programVocabulary": 7, + "volume": 33.68825906469125, + "difficulty": 1.6, + "effort": 53.901214503506004, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::parsePaths" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleBaseLine": { + "line": 224, + "lineCount": 8, + "argCount": 2, + "returnCount": 0, + "variableCount": 3, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 5, + "N2": 11, + "programLength": 16, + "programVocabulary": 7, + "volume": 44.91767875292167, + "difficulty": 2.2, + "effort": 98.81889325642767, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleBaseLine" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleCoverageOptions": { + "line": 238, + "lineCount": 20, + "argCount": 2, + "returnCount": 3, + "variableCount": 5, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 5, + "n2": 10, + "N1": 15, + "N2": 25, + "programLength": 40, + "programVocabulary": 15, + "volume": 156.27562382434076, + "difficulty": 6.25, + "effort": 976.7226489021298, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleCoverageOptions" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::applySorting": { + "line": 264, + "lineCount": 21, + "argCount": 3, + "returnCount": 3, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 15, + "N1": 16, + "N2": 32, + "programLength": 48, + "programVocabulary": 20, + "volume": 207.45254855459342, + "difficulty": 5.333333333333333, + "effort": 1106.4135922911648, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::applySorting" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadConfiguration": { + "line": 293, + "lineCount": 10, + "argCount": 2, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 6, + "N1": 5, + "N2": 9, + "programLength": 14, + "programVocabulary": 8, + "volume": 42, + "difficulty": 1.5, + "effort": 63, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadConfiguration" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadCoverageReader": { + "line": 313, + "lineCount": 28, + "argCount": 3, + "returnCount": 4, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 2, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 10, + "N2": 18, + "programLength": 28, + "programVocabulary": 11, + "volume": 96.86408532184433, + "difficulty": 5.142857142857143, + "effort": 498.15815308377086, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadCoverageReader" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::detectCoverageFormat": { + "line": 345, + "lineCount": 19, + "argCount": 1, + "returnCount": 4, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 9, + "volume": 47.548875021634686, + "difficulty": 2.5, + "effort": 118.87218755408671, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::detectCoverageFormat" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::coverageFileExists": { + "line": 365, + "lineCount": 20, + "argCount": 2, + "returnCount": 3, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 4, + "N2": 7, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 3.5, + "effort": 99.52105627776452, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::coverageFileExists" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__construct": { + "line": 12, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__invoke": { + "line": 17, + "lineCount": 22, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 3, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 10, + "N2": 11, + "programLength": 21, + "programVocabulary": 7, + "volume": 58.95445336320969, + "difficulty": 2.2, + "effort": 129.6997973990613, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__invoke" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__construct": { + "line": 21, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__invoke": { + "line": 26, + "lineCount": 11, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 4, + "N2": 9, + "programLength": 13, + "programVocabulary": 4, + "volume": 26, + "difficulty": 4.5, + "effort": 117, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__invoke" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleSourceFilesFound": { + "line": 38, + "lineCount": 6, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 4, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 6, + "N2": 10, + "programLength": 16, + "programVocabulary": 8, + "volume": 48, + "difficulty": 5, + "effort": 240, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleSourceFilesFound" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleFileProcessed": { + "line": 45, + "lineCount": 5, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleFileProcessed" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleAllFilesProcessed": { + "line": 51, + "lineCount": 6, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 3, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 3, + "N2": 5, + "programLength": 8, + "programVocabulary": 5, + "volume": 18.575424759098897, + "difficulty": 1.6666666666666667, + "effort": 30.95904126516483, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleAllFilesProcessed" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__construct": { + "line": 20, + "lineCount": 5, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__invoke": { + "line": 26, + "lineCount": 17, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 5, + "n2": 8, + "N1": 17, + "N2": 17, + "programLength": 34, + "programVocabulary": 13, + "volume": 125.81495041679713, + "difficulty": 5.3125, + "effort": 668.3919240892347, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__invoke" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::formatBytes": { + "line": 50, + "lineCount": 12, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 7, + "n2": 13, + "N1": 10, + "N2": 22, + "programLength": 32, + "programVocabulary": 20, + "volume": 138.3016990363956, + "difficulty": 5.923076923076923, + "effort": 819.1716019848047, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::formatBytes" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::isDebugEnabled": { + "line": 66, + "lineCount": 5, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 1, + "N1": 4, + "N2": 2, + "programLength": 6, + "programVocabulary": 4, + "volume": 12, + "difficulty": 3, + "effort": 36, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::isDebugEnabled" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::__construct": { + "line": 20, + "lineCount": 6, + "argCount": 2, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 4, + "volume": 8, + "difficulty": 0.5, + "effort": 4, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::exportToFile": { + "line": 32, + "lineCount": 27, + "argCount": 3, + "returnCount": 4, + "variableCount": 2, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 1, + "n2": 6, + "N1": 6, + "N2": 19, + "programLength": 25, + "programVocabulary": 7, + "volume": 70.1838730514401, + "difficulty": 1.5833333333333333, + "effort": 111.12446566478016, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::exportToFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::hasIncompleteReportOptions": { + "line": 60, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 2, + "N1": 7, + "N2": 6, + "programLength": 13, + "programVocabulary": 6, + "volume": 33.60451250937503, + "difficulty": 6, + "effort": 201.62707505625016, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::hasIncompleteReportOptions" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::isValidReportType": { + "line": 65, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 2, + "N2": 4, + "programLength": 6, + "programVocabulary": 4, + "volume": 12, + "difficulty": 2, + "effort": 24, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::isValidReportType" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleExceptions": { + "line": 77, + "lineCount": 9, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 3, + "N2": 4, + "programLength": 7, + "programVocabulary": 5, + "volume": 16.253496664211536, + "difficulty": 1.3333333333333333, + "effort": 21.67132888561538, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleExceptions" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleInvalidReportType": { + "line": 91, + "lineCount": 11, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 5, + "N2": 8, + "programLength": 13, + "programVocabulary": 8, + "volume": 39, + "difficulty": 2.4000000000000004, + "effort": 93.60000000000001, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleInvalidReportType" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::__construct": { + "line": 15, + "lineCount": 5, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handle": { + "line": 24, + "lineCount": 27, + "argCount": 3, + "returnCount": 4, + "variableCount": 2, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 1, + "n2": 6, + "N1": 6, + "N2": 19, + "programLength": 25, + "programVocabulary": 7, + "volume": 70.1838730514401, + "difficulty": 1.5833333333333333, + "effort": 111.12446566478016, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handle" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::hasIncompleteReportOptions": { + "line": 52, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 2, + "N1": 7, + "N2": 6, + "programLength": 13, + "programVocabulary": 6, + "volume": 33.60451250937503, + "difficulty": 6, + "effort": 201.62707505625016, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::hasIncompleteReportOptions" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::isValidReportType": { + "line": 57, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 5, + "N1": 1, + "N2": 6, + "programLength": 7, + "programVocabulary": 6, + "volume": 18.094737505048094, + "difficulty": 0.6, + "effort": 10.856842503028856, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::isValidReportType" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handleExceptions": { + "line": 66, + "lineCount": 9, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 3, + "N2": 4, + "programLength": 7, + "programVocabulary": 5, + "volume": 16.253496664211536, + "difficulty": 1.3333333333333333, + "effort": 21.67132888561538, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handleExceptions" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handleInvalidReporType": { + "line": 80, + "lineCount": 9, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 4, + "programLength": 6, + "programVocabulary": 5, + "volume": 13.931568569324174, + "difficulty": 1.3333333333333333, + "effort": 18.575424759098897, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handleInvalidReporType" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::__construct": { + "line": 42, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::reportWritten": { + "line": 47, + "lineCount": 7, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 4, + "programLength": 6, + "programVocabulary": 5, + "volume": 13.931568569324174, + "difficulty": 1.3333333333333333, + "effort": 18.575424759098897, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::reportWritten" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::renderChurnTable": { + "line": 59, + "lineCount": 35, + "argCount": 1, + "returnCount": 0, + "variableCount": 6, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 8, + "n2": 18, + "N1": 21, + "N2": 53, + "programLength": 74, + "programVocabulary": 26, + "volume": 347.8325391424408, + "difficulty": 11.777777777777779, + "effort": 4096.694349899859, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::renderChurnTable" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricSummaryTextRenderer::__construct": { + "line": 18, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricSummaryTextRenderer::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricSummaryTextRenderer::render": { + "line": 23, + "lineCount": 32, + "argCount": 2, + "returnCount": 0, + "variableCount": 6, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 6, + "n2": 16, + "N1": 27, + "N2": 38, + "programLength": 65, + "programVocabulary": 22, + "volume": 289.86305521142435, + "difficulty": 7.125, + "effort": 2065.2742683813985, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricSummaryTextRenderer::render" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::__construct": { + "line": 27, + "lineCount": 5, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::metricExceedsThreshold": { + "line": 33, + "lineCount": 6, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 2, + "N1": 3, + "N2": 5, + "programLength": 8, + "programVocabulary": 5, + "volume": 18.575424759098897, + "difficulty": 3.75, + "effort": 69.65784284662087, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::metricExceedsThreshold" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::hasCoverageInCollection": { + "line": 43, + "lineCount": 10, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 2, + "N2": 4, + "programLength": 6, + "programVocabulary": 4, + "volume": 12, + "difficulty": 2, + "effort": 24, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::hasCoverageInCollection" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::render": { + "line": 58, + "lineCount": 17, + "argCount": 2, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 6, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 9, + "N2": 25, + "programLength": 34, + "programVocabulary": 6, + "volume": 87.8887250245193, + "difficulty": 6.25, + "effort": 549.3045314032456, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::render" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderGroupedByClass": { + "line": 81, + "lineCount": 19, + "argCount": 3, + "returnCount": 0, + "variableCount": 6, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 5, + "n2": 11, + "N1": 11, + "N2": 25, + "programLength": 36, + "programVocabulary": 16, + "volume": 144, + "difficulty": 5.6818181818181825, + "effort": 818.1818181818182, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderGroupedByClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::buildRowsForClass": { + "line": 106, + "lineCount": 13, + "argCount": 2, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 4, + "N2": 12, + "programLength": 16, + "programVocabulary": 7, + "volume": 44.91767875292167, + "difficulty": 2.4, + "effort": 107.802429007012, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::buildRowsForClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::getFilenameFromMetrics": { + "line": 123, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 5, + "programLength": 6, + "programVocabulary": 4, + "volume": 12, + "difficulty": 0.8333333333333334, + "effort": 10, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::getFilenameFromMetrics" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderAllMethodsInSingleTable": { + "line": 136, + "lineCount": 12, + "argCount": 3, + "returnCount": 0, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 6, + "N2": 15, + "programLength": 21, + "programVocabulary": 11, + "volume": 72.64806399138324, + "difficulty": 4.285714285714286, + "effort": 311.34884567735673, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderAllMethodsInSingleTable" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::buildRowsForSingleTable": { + "line": 154, + "lineCount": 13, + "argCount": 2, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 4, + "N2": 12, + "programLength": 16, + "programVocabulary": 7, + "volume": 44.91767875292167, + "difficulty": 2.4, + "effort": 107.802429007012, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::buildRowsForSingleTable" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderTableCommon": { + "line": 173, + "lineCount": 19, + "argCount": 4, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 8, + "N1": 7, + "N2": 19, + "programLength": 26, + "programVocabulary": 10, + "volume": 86.37013046707142, + "difficulty": 2.375, + "effort": 205.1290598592946, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderTableCommon" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderTable": { + "line": 196, + "lineCount": 13, + "argCount": 4, + "returnCount": 0, + "variableCount": 3, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 7, + "N1": 4, + "N2": 14, + "programLength": 18, + "programVocabulary": 9, + "volume": 57.05865002596162, + "difficulty": 2, + "effort": 114.11730005192324, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderTable" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderSingleTable": { + "line": 213, + "lineCount": 11, + "argCount": 3, + "returnCount": 0, + "variableCount": 3, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 6, + "N1": 4, + "N2": 12, + "programLength": 16, + "programVocabulary": 8, + "volume": 48, + "difficulty": 2, + "effort": 96, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderSingleTable" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::__construct": { + "line": 16, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatScore": { + "line": 21, + "lineCount": 6, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 6, + "N1": 5, + "N2": 9, + "programLength": 14, + "programVocabulary": 8, + "volume": 42, + "difficulty": 1.5, + "effort": 63, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatScore" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadVolume": { + "line": 28, + "lineCount": 14, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 10, + "N1": 9, + "N2": 17, + "programLength": 26, + "programVocabulary": 15, + "volume": 101.57915548582149, + "difficulty": 4.25, + "effort": 431.7114108147413, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadVolume" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadDifficulty": { + "line": 43, + "lineCount": 13, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 10, + "N1": 8, + "N2": 17, + "programLength": 25, + "programVocabulary": 14, + "volume": 95.1838730514401, + "difficulty": 3.4, + "effort": 323.62516837489636, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadDifficulty" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadEffort": { + "line": 57, + "lineCount": 13, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 10, + "N1": 8, + "N2": 17, + "programLength": 25, + "programVocabulary": 14, + "volume": 95.1838730514401, + "difficulty": 3.4, + "effort": 323.62516837489636, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadEffort" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatCyclomaticComplexity": { + "line": 71, + "lineCount": 13, + "argCount": 1, + "returnCount": 3, + "variableCount": 4, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 5, + "n2": 9, + "N1": 9, + "N2": 18, + "programLength": 27, + "programVocabulary": 14, + "volume": 102.79858289555531, + "difficulty": 5, + "effort": 513.9929144777766, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatCyclomaticComplexity" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::colorCyclomaticRisk": { + "line": 85, + "lineCount": 8, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 7, + "N1": 5, + "N2": 11, + "programLength": 16, + "programVocabulary": 9, + "volume": 50.718800023076994, + "difficulty": 1.5714285714285714, + "effort": 79.70097146483528, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::colorCyclomaticRisk" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::__construct": { + "line": 17, + "lineCount": 5, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::getGroupedTableHeaders": { + "line": 28, + "lineCount": 16, + "argCount": 0, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 10, + "N2": 17, + "programLength": 27, + "programVocabulary": 6, + "volume": 69.79398751947122, + "difficulty": 4.25, + "effort": 296.62444695775264, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::getGroupedTableHeaders" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCoverageHeader": { + "line": 49, + "lineCount": 10, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 6, + "programLength": 7, + "programVocabulary": 4, + "volume": 14, + "difficulty": 1, + "effort": 14, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCoverageHeader" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::getSingleTableHeaders": { + "line": 65, + "lineCount": 20, + "argCount": 0, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 6, + "N1": 9, + "N2": 18, + "programLength": 27, + "programVocabulary": 8, + "volume": 81, + "difficulty": 3, + "effort": 243, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::getSingleTableHeaders" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addHalsteadHeaders": { + "line": 92, + "lineCount": 10, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 1, + "n2": 5, + "N1": 3, + "N2": 9, + "programLength": 12, + "programVocabulary": 6, + "volume": 31.019550008653873, + "difficulty": 0.9, + "effort": 27.917595007788485, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addHalsteadHeaders" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCyclomaticHeaders": { + "line": 109, + "lineCount": 8, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 5, + "programLength": 6, + "programVocabulary": 4, + "volume": 12, + "difficulty": 0.8333333333333334, + "effort": 10, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCyclomaticHeaders" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCognitiveMetricDetails": { + "line": 122, + "lineCount": 16, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 10, + "N1": 2, + "N2": 13, + "programLength": 15, + "programVocabulary": 12, + "volume": 53.77443751081734, + "difficulty": 1.3, + "effort": 69.90676876406255, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCognitiveMetricDetails" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::__construct": { + "line": 21, + "lineCount": 6, + "argCount": 3, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 3, + "N1": 0, + "N2": 3, + "programLength": 3, + "programVocabulary": 3, + "volume": 4.754887502163468, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::buildRow": { + "line": 34, + "lineCount": 16, + "argCount": 1, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 10, + "N2": 24, + "programLength": 34, + "programVocabulary": 7, + "volume": 95.45006734995854, + "difficulty": 4.8, + "effort": 458.160323279801, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::buildRow" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::buildRowWithClassInfo": { + "line": 57, + "lineCount": 16, + "argCount": 1, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 10, + "N2": 24, + "programLength": 34, + "programVocabulary": 7, + "volume": 95.45006734995854, + "difficulty": 4.8, + "effort": 458.160323279801, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::buildRowWithClassInfo" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::metricsToArray": { + "line": 79, + "lineCount": 8, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 3, + "N2": 7, + "programLength": 10, + "programVocabulary": 6, + "volume": 25.84962500721156, + "difficulty": 1.75, + "effort": 45.23684376262023, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::metricsToArray" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::metricsToArrayWithClassInfo": { + "line": 93, + "lineCount": 9, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 4, + "N2": 9, + "programLength": 13, + "programVocabulary": 7, + "volume": 36.49561398674886, + "difficulty": 1.8, + "effort": 65.69210517614795, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::metricsToArrayWithClassInfo" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addHalsteadFields": { + "line": 109, + "lineCount": 10, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 6, + "N1": 6, + "N2": 16, + "programLength": 22, + "programVocabulary": 8, + "volume": 66, + "difficulty": 2.6666666666666665, + "effort": 176, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addHalsteadFields" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addCyclomaticFields": { + "line": 126, + "lineCount": 8, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 2, + "N2": 8, + "programLength": 10, + "programVocabulary": 6, + "volume": 25.84962500721156, + "difficulty": 2, + "effort": 51.69925001442312, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addCyclomaticFields" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addWeightedValue": { + "line": 141, + "lineCount": 10, + "argCount": 3, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 11, + "N1": 13, + "N2": 22, + "programLength": 35, + "programVocabulary": 15, + "volume": 136.74117084629816, + "difficulty": 4, + "effort": 546.9646833851926, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addWeightedValue" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addDelta": { + "line": 158, + "lineCount": 20, + "argCount": 3, + "returnCount": 3, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 6, + "n2": 13, + "N1": 19, + "N2": 30, + "programLength": 49, + "programVocabulary": 19, + "volume": 208.14844815873568, + "difficulty": 6.9230769230769225, + "effort": 1441.0277180220162, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::getKeys": { + "line": 184, + "lineCount": 17, + "argCount": 0, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 0, + "n2": 9, + "N1": 0, + "N2": 9, + "programLength": 9, + "programVocabulary": 9, + "volume": 28.52932501298081, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::getKeys" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::assertDeltaMethodExists": { + "line": 205, + "lineCount": 6, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 6, + "programLength": 8, + "programVocabulary": 5, + "volume": 18.575424759098897, + "difficulty": 2, + "effort": 37.150849518197795, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::assertDeltaMethodExists" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addCoverageValue": { + "line": 216, + "lineCount": 11, + "argCount": 2, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 7, + "N1": 7, + "N2": 15, + "programLength": 22, + "programVocabulary": 12, + "volume": 78.86917501586544, + "difficulty": 5.357142857142857, + "effort": 422.51343758499337, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addCoverageValue" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::extracted": { + "line": 233, + "lineCount": 22, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 12, + "N1": 19, + "N2": 34, + "programLength": 53, + "programVocabulary": 15, + "volume": 207.06520156725148, + "difficulty": 4.25, + "effort": 880.0271066608187, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::extracted" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CacheConfig::__construct": { + "line": 12, + "lineCount": 5, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CacheConfig::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CacheConfig::toArray": { + "line": 23, + "lineCount": 7, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 3, + "N1": 0, + "N2": 4, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CacheConfig::toArray" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CognitiveConfig::__construct": { + "line": 20, + "lineCount": 13, + "argCount": 10, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 10, + "N1": 0, + "N2": 10, + "programLength": 10, + "programVocabulary": 10, + "volume": 33.219280948873624, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CognitiveConfig::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CognitiveConfig::toArray": { + "line": 39, + "lineCount": 20, + "argCount": 0, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 10, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 14, + "N1": 3, + "N2": 27, + "programLength": 30, + "programVocabulary": 16, + "volume": 120, + "difficulty": 1.9285714285714286, + "effort": 231.42857142857144, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CognitiveConfig::toArray" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigFactory::fromArray": { + "line": 16, + "lineCount": 31, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 20, + "N1": 10, + "N2": 52, + "programLength": 62, + "programVocabulary": 23, + "volume": 280.4608412755348, + "difficulty": 3.9000000000000004, + "effort": 1093.7972809745859, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigFactory::fromArray" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigLoader::getCognitiveMetricDefaults": { + "line": 27, + "lineCount": 45, + "argCount": 0, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 8, + "N1": 0, + "N2": 16, + "programLength": 16, + "programVocabulary": 8, + "volume": 48, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigLoader::getCognitiveMetricDefaults" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigLoader::getConfigTreeBuilder": { + "line": 73, + "lineCount": 75, + "argCount": 0, + "returnCount": 2, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 24, + "N1": 68, + "N2": 29, + "programLength": 97, + "programVocabulary": 27, + "volume": 461.2240877098564, + "difficulty": 1.8125, + "effort": 835.9686589741148, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigLoader::getConfigTreeBuilder" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigService::__construct": { + "line": 20, + "lineCount": 6, + "argCount": 2, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 4, + "volume": 8, + "difficulty": 0.5, + "effort": 4, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigService::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigService::loadDefaultConfig": { + "line": 30, + "lineCount": 8, + "argCount": 0, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 3, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 5, + "N2": 6, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 3, + "effort": 85.30376252379816, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigService::loadDefaultConfig" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigService::loadConfig": { + "line": 42, + "lineCount": 9, + "argCount": 1, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 3, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 4, + "N1": 5, + "N2": 8, + "programLength": 13, + "programVocabulary": 7, + "volume": 36.49561398674886, + "difficulty": 3, + "effort": 109.48684196024658, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigService::loadConfig" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigService::getConfig": { + "line": 52, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigService::getConfig" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\MetricsConfig::__construct": { + "line": 12, + "lineCount": 6, + "argCount": 3, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 3, + "N1": 0, + "N2": 3, + "programLength": 3, + "programVocabulary": 3, + "volume": 4.754887502163468, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\MetricsConfig::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\MetricsConfig::toArray": { + "line": 24, + "lineCount": 8, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 3, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 4, + "N1": 0, + "N2": 6, + "programLength": 6, + "programVocabulary": 4, + "volume": 12, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\MetricsConfig::toArray" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::setAnnotationVisitor": { + "line": 63, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::setAnnotationVisitor" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::resetValues": { + "line": 68, + "lineCount": 12, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 9, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 9, + "N2": 15, + "programLength": 24, + "programVocabulary": 3, + "volume": 38.039100017307746, + "difficulty": 3.75, + "effort": 142.64662506490404, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::resetValues" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::resetAll": { + "line": 84, + "lineCount": 9, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 4, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 5, + "N2": 8, + "programLength": 13, + "programVocabulary": 4, + "volume": 26, + "difficulty": 4, + "effort": 104, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::resetAll" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::createMetricsArray": { + "line": 97, + "lineCount": 14, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 12, + "N1": 3, + "N2": 21, + "programLength": 24, + "programVocabulary": 13, + "volume": 88.81055323538621, + "difficulty": 0.875, + "effort": 77.70923408096293, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::createMetricsArray" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::isValidContext": { + "line": 115, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::isValidContext" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::buildMethodKey": { + "line": 123, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::buildMethodKey" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::classMethodOnEnterNode": { + "line": 128, + "lineCount": 20, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 3, + "ifNestingLevel": 2, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 5, + "n2": 4, + "N1": 12, + "N2": 16, + "programLength": 28, + "programVocabulary": 9, + "volume": 88.75790004038474, + "difficulty": 10, + "effort": 887.5790004038474, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::classMethodOnEnterNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::isClassMethodNode": { + "line": 155, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::isClassMethodNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::initializeMethodContext": { + "line": 166, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 2, + "N2": 3, + "programLength": 5, + "programVocabulary": 4, + "volume": 10, + "difficulty": 1.5, + "effort": 15, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::initializeMethodContext" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::trackMethodArguments": { + "line": 177, + "lineCount": 8, + "argCount": 1, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 4, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 7, + "programLength": 9, + "programVocabulary": 5, + "volume": 20.89735285398626, + "difficulty": 2.3333333333333335, + "effort": 48.76048999263461, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::trackMethodArguments" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::isVariable": { + "line": 192, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::isVariable" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::calculateLineCount": { + "line": 203, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 2, + "N1": 4, + "N2": 4, + "programLength": 8, + "programVocabulary": 5, + "volume": 18.575424759098897, + "difficulty": 3, + "effort": 55.726274277296696, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::calculateLineCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::countMethodArguments": { + "line": 214, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 2, + "programLength": 3, + "programVocabulary": 2, + "volume": 3, + "difficulty": 1, + "effort": 3, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::countMethodArguments" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::setCurrentNamespaceOnEnterNode": { + "line": 219, + "lineCount": 6, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 6, + "programLength": 8, + "programVocabulary": 5, + "volume": 18.575424759098897, + "difficulty": 2, + "effort": 37.150849518197795, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::setCurrentNamespaceOnEnterNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::isClassOrTraitNode": { + "line": 229, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 1.5, + "effort": 6, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::isClassOrTraitNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::setCurrentClassOnEnterNode": { + "line": 234, + "lineCount": 22, + "argCount": 1, + "returnCount": 4, + "variableCount": 2, + "propertyCallCount": 4, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 6, + "n2": 5, + "N1": 12, + "N2": 16, + "programLength": 28, + "programVocabulary": 11, + "volume": 96.86408532184433, + "difficulty": 9.600000000000001, + "effort": 929.8952190897057, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::setCurrentClassOnEnterNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::normalizeFqcn": { + "line": 261, + "lineCount": 8, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 2, + "N1": 3, + "N2": 9, + "programLength": 12, + "programVocabulary": 5, + "volume": 27.863137138648348, + "difficulty": 6.75, + "effort": 188.07617568587634, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::normalizeFqcn" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::enterNode": { + "line": 270, + "lineCount": 16, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 3, + "volume": 22.189475010096185, + "difficulty": 2.5, + "effort": 55.473687525240464, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::enterNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::gatherMetrics": { + "line": 287, + "lineCount": 12, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 5, + "N2": 14, + "programLength": 19, + "programVocabulary": 3, + "volume": 30.114287513701967, + "difficulty": 3.5, + "effort": 105.40000629795688, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::gatherMetrics" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::incrementReturnCount": { + "line": 300, + "lineCount": 4, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::incrementReturnCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::countVariablesNotAlreadyTrackedAsArguments": { + "line": 326, + "lineCount": 6, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 2, + "N1": 3, + "N2": 6, + "programLength": 9, + "programVocabulary": 5, + "volume": 20.89735285398626, + "difficulty": 4.5, + "effort": 94.03808784293817, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::countVariablesNotAlreadyTrackedAsArguments" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::trackPropertyFetch": { + "line": 333, + "lineCount": 15, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 3, + "N2": 9, + "programLength": 12, + "programVocabulary": 5, + "volume": 27.863137138648348, + "difficulty": 3, + "effort": 83.58941141594505, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::trackPropertyFetch" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::trackIfStatement": { + "line": 349, + "lineCount": 9, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 1, + "N1": 2, + "N2": 6, + "programLength": 8, + "programVocabulary": 3, + "volume": 12.679700005769249, + "difficulty": 6, + "effort": 76.07820003461549, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::trackIfStatement" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::incrementElseCount": { + "line": 359, + "lineCount": 4, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::incrementElseCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::checkNestingLevelOnLeaveNode": { + "line": 364, + "lineCount": 6, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 3, + "programLength": 3, + "programVocabulary": 2, + "volume": 3, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::checkNestingLevelOnLeaveNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::writeMetricsOnLeaveNode": { + "line": 373, + "lineCount": 38, + "argCount": 1, + "returnCount": 3, + "variableCount": 2, + "propertyCallCount": 11, + "ifNestingLevel": 2, + "elseCount": 0, + "ifCount": 5, + "halstead": { + "n1": 7, + "n2": 14, + "N1": 29, + "N2": 58, + "programLength": 87, + "programVocabulary": 21, + "volume": 382.1316157817522, + "difficulty": 14.500000000000002, + "effort": 5540.908428835408, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::writeMetricsOnLeaveNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::checkNameSpaceOnLeaveNode": { + "line": 412, + "lineCount": 6, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 4, + "programLength": 5, + "programVocabulary": 4, + "volume": 10, + "difficulty": 0.6666666666666666, + "effort": 6.666666666666666, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::checkNameSpaceOnLeaveNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::checkClassOnLeaveNode": { + "line": 419, + "lineCount": 11, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 2, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 6, + "programLength": 8, + "programVocabulary": 5, + "volume": 18.575424759098897, + "difficulty": 2, + "effort": 37.150849518197795, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::checkClassOnLeaveNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::leaveNode": { + "line": 431, + "lineCount": 7, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 4, + "N2": 9, + "programLength": 13, + "programVocabulary": 3, + "volume": 20.604512509375027, + "difficulty": 2.25, + "effort": 46.36015314609381, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::leaveNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::getMethodMetrics": { + "line": 439, + "lineCount": 13, + "argCount": 0, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 6, + "N1": 8, + "N2": 15, + "programLength": 23, + "programVocabulary": 10, + "volume": 76.40434618240933, + "difficulty": 5, + "effort": 382.0217309120466, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::getMethodMetrics" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CombinedMetricsVisitor::__construct": { + "line": 22, + "lineCount": 7, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 4, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 4, + "N2": 4, + "programLength": 8, + "programVocabulary": 2, + "volume": 8, + "difficulty": 2, + "effort": 16, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CombinedMetricsVisitor::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CombinedMetricsVisitor::beforeTraverse": { + "line": 33, + "lineCount": 7, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 2, + "programLength": 3, + "programVocabulary": 3, + "volume": 4.754887502163468, + "difficulty": 0.5, + "effort": 2.377443751081734, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CombinedMetricsVisitor::beforeTraverse" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CombinedMetricsVisitor::enterNode": { + "line": 41, + "lineCount": 20, + "argCount": 1, + "returnCount": 2, + "variableCount": 5, + "propertyCallCount": 4, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "cyclomatic_complexity": { + "complexity": 2, + "risk_level": "low" + }, + "halstead": { + "n1": 4, + "n2": 6, + "N1": 15, + "N2": 17, + "programLength": 32, + "programVocabulary": 10, + "volume": 106.30169903639559, + "difficulty": 5.666666666666667, + "effort": 602.376294539575, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CombinedMetricsVisitor::enterNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CombinedMetricsVisitor::leaveNode": { + "line": 62, + "lineCount": 10, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 4, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 4, + "N2": 9, + "programLength": 13, + "programVocabulary": 3, + "volume": 20.604512509375027, + "difficulty": 2.25, + "effort": 46.36015314609381, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CombinedMetricsVisitor::leaveNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CombinedMetricsVisitor::afterTraverse": { + "line": 76, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CombinedMetricsVisitor::afterTraverse" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CombinedMetricsVisitor::resetAll": { + "line": 84, + "lineCount": 7, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 4, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 4, + "N2": 4, + "programLength": 8, + "programVocabulary": 2, + "volume": 8, + "difficulty": 2, + "effort": 16, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CombinedMetricsVisitor::resetAll" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CombinedMetricsVisitor::resetAllBetweenFiles": { + "line": 95, + "lineCount": 7, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 4, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 4, + "N2": 4, + "programLength": 8, + "programVocabulary": 2, + "volume": 8, + "difficulty": 2, + "effort": 16, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CombinedMetricsVisitor::resetAllBetweenFiles" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CombinedMetricsVisitor::getMethodMetrics": { + "line": 106, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CombinedMetricsVisitor::getMethodMetrics" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CombinedMetricsVisitor::getMethodComplexity": { + "line": 114, + "lineCount": 5, + "argCount": 0, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 3, + "N2": 4, + "programLength": 7, + "programVocabulary": 6, + "volume": 18.094737505048094, + "difficulty": 2, + "effort": 36.18947501009619, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CombinedMetricsVisitor::getMethodComplexity" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CombinedMetricsVisitor::getHalsteadMethodMetrics": { + "line": 123, + "lineCount": 5, + "argCount": 0, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 3, + "N2": 4, + "programLength": 7, + "programVocabulary": 6, + "volume": 18.094737505048094, + "difficulty": 2, + "effort": 36.18947501009619, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CombinedMetricsVisitor::getHalsteadMethodMetrics" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CombinedMetricsVisitor::getIgnored": { + "line": 132, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CombinedMetricsVisitor::getIgnored" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CombinedMetricsVisitor::setAnnotationVisitor": { + "line": 140, + "lineCount": 4, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 2, + "programLength": 3, + "programVocabulary": 2, + "volume": 3, + "difficulty": 1, + "effort": 3, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CombinedMetricsVisitor::setAnnotationVisitor" + } + } + }, + "ignored_items": [], + "cached_at": 1759967602 +} \ No newline at end of file diff --git a/.phpcca.cache/d4/d4da30247444888cb54a5b51b0494352.cache b/.phpcca.cache/d4/d4da30247444888cb54a5b51b0494352.cache new file mode 100644 index 0000000..c2662d4 --- /dev/null +++ b/.phpcca.cache/d4/d4da30247444888cb54a5b51b0494352.cache @@ -0,0 +1,2429 @@ +{ + "version": "1.0", + "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/Config\/ConfigFactory.php", + "file_mtime": 1759965497, + "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", + "analysis_result": { + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::__construct": { + "line": 26, + "lineCount": 5, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 4, + "N1": 3, + "N2": 6, + "programLength": 9, + "programVocabulary": 7, + "volume": 25.26619429851844, + "difficulty": 2.25, + "effort": 56.848937171666485, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItem": { + "line": 35, + "lineCount": 15, + "argCount": 1, + "returnCount": 3, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 6, + "N2": 13, + "programLength": 19, + "programVocabulary": 8, + "volume": 57, + "difficulty": 6.5, + "effort": 370.5, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItem" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItems": { + "line": 55, + "lineCount": 9, + "argCount": 1, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 3, + "N2": 9, + "programLength": 12, + "programVocabulary": 6, + "volume": 31.019550008653873, + "difficulty": 2.25, + "effort": 69.79398751947122, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItems" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::hasItem": { + "line": 68, + "lineCount": 6, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 5, + "n2": 3, + "N1": 6, + "N2": 7, + "programLength": 13, + "programVocabulary": 8, + "volume": 39, + "difficulty": 5.833333333333334, + "effort": 227.50000000000003, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::hasItem" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::clear": { + "line": 75, + "lineCount": 10, + "argCount": 0, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 2, + "N2": 4, + "programLength": 6, + "programVocabulary": 3, + "volume": 9.509775004326936, + "difficulty": 1, + "effort": 9.509775004326936, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::clear" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItem": { + "line": 89, + "lineCount": 10, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 4, + "N2": 6, + "programLength": 10, + "programVocabulary": 6, + "volume": 25.84962500721156, + "difficulty": 3, + "effort": 77.54887502163469, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItem" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItems": { + "line": 103, + "lineCount": 10, + "argCount": 1, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 3, + "N2": 8, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 2, + "effort": 56.86917501586544, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItems" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::save": { + "line": 117, + "lineCount": 11, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 4, + "N1": 9, + "N2": 12, + "programLength": 21, + "programVocabulary": 7, + "volume": 58.95445336320969, + "difficulty": 4.5, + "effort": 265.2950401344436, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::save" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveDeferred": { + "line": 129, + "lineCount": 6, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveDeferred" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::commit": { + "line": 136, + "lineCount": 11, + "argCount": 0, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 4, + "N2": 8, + "programLength": 12, + "programVocabulary": 5, + "volume": 27.863137138648348, + "difficulty": 2.6666666666666665, + "effort": 74.30169903639559, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::commit" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::ensureCacheDirectory": { + "line": 152, + "lineCount": 9, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 3, + "N2": 4, + "programLength": 7, + "programVocabulary": 4, + "volume": 14, + "difficulty": 2, + "effort": 28, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::ensureCacheDirectory" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getCacheFilePath": { + "line": 168, + "lineCount": 15, + "argCount": 1, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 10, + "N1": 13, + "N2": 19, + "programLength": 32, + "programVocabulary": 14, + "volume": 121.83535750584333, + "difficulty": 3.8, + "effort": 462.9743585222046, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getCacheFilePath" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::loadCacheData": { + "line": 187, + "lineCount": 14, + "argCount": 1, + "returnCount": 3, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 6, + "N2": 8, + "programLength": 14, + "programVocabulary": 6, + "volume": 36.18947501009619, + "difficulty": 4, + "effort": 144.75790004038475, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::loadCacheData" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveCacheData": { + "line": 209, + "lineCount": 21, + "argCount": 2, + "returnCount": 3, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 6, + "n2": 7, + "N1": 13, + "N2": 17, + "programLength": 30, + "programVocabulary": 13, + "volume": 111.01319154423277, + "difficulty": 7.285714285714285, + "effort": 808.810395536553, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveCacheData" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::sanitizeUtf8": { + "line": 234, + "lineCount": 25, + "argCount": 1, + "returnCount": 4, + "variableCount": 6, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 8, + "N1": 13, + "N2": 29, + "programLength": 42, + "programVocabulary": 11, + "volume": 145.29612798276648, + "difficulty": 5.4375, + "effort": 790.0476959062927, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::sanitizeUtf8" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::removeDirectory": { + "line": 260, + "lineCount": 23, + "argCount": 1, + "returnCount": 2, + "variableCount": 5, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 5, + "n2": 9, + "N1": 13, + "N2": 20, + "programLength": 33, + "programVocabulary": 14, + "volume": 125.64271242790093, + "difficulty": 5.555555555555555, + "effort": 698.0150690438941, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::removeDirectory" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::__construct": { + "line": 42, + "lineCount": 7, + "argCount": 3, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 3, + "N1": 0, + "N2": 3, + "programLength": 3, + "programVocabulary": 3, + "volume": 4.754887502163468, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::configure": { + "line": 53, + "lineCount": 57, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 15, + "N1": 9, + "N2": 16, + "programLength": 25, + "programVocabulary": 16, + "volume": 100, + "difficulty": 0.5333333333333333, + "effort": 53.333333333333336, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::configure" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::execute": { + "line": 119, + "lineCount": 43, + "argCount": 2, + "returnCount": 5, + "variableCount": 9, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 4, + "halstead": { + "n1": 7, + "n2": 14, + "N1": 31, + "N2": 45, + "programLength": 76, + "programVocabulary": 21, + "volume": 333.8161241311858, + "difficulty": 11.25, + "effort": 3755.4313964758403, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::execute" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::loadCoverageReader": { + "line": 171, + "lineCount": 32, + "argCount": 3, + "returnCount": 4, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 2, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 4, + "n2": 9, + "N1": 9, + "N2": 21, + "programLength": 30, + "programVocabulary": 13, + "volume": 111.01319154423277, + "difficulty": 4.666666666666667, + "effort": 518.0615605397529, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::loadCoverageReader" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::detectCoverageFormat": { + "line": 207, + "lineCount": 19, + "argCount": 1, + "returnCount": 4, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 9, + "volume": 47.548875021634686, + "difficulty": 2.5, + "effort": 118.87218755408671, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::detectCoverageFormat" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::coverageFileExists": { + "line": 227, + "lineCount": 20, + "argCount": 2, + "returnCount": 3, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 4, + "N2": 7, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 3.5, + "effort": 99.52105627776452, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::coverageFileExists" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::__construct": { + "line": 49, + "lineCount": 10, + "argCount": 6, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 6, + "N1": 0, + "N2": 6, + "programLength": 6, + "programVocabulary": 6, + "volume": 15.509775004326936, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::configure": { + "line": 63, + "lineCount": 76, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 20, + "N1": 13, + "N2": 20, + "programLength": 33, + "programVocabulary": 21, + "volume": 144.94647495169912, + "difficulty": 0.5, + "effort": 72.47323747584956, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::configure" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::execute": { + "line": 150, + "lineCount": 52, + "argCount": 2, + "returnCount": 5, + "variableCount": 11, + "propertyCallCount": 6, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 7, + "halstead": { + "n1": 6, + "n2": 15, + "N1": 43, + "N2": 61, + "programLength": 104, + "programVocabulary": 21, + "volume": 456.80101196899113, + "difficulty": 12.2, + "effort": 5572.972346021692, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::execute" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::parsePaths": { + "line": 209, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 4, + "N2": 8, + "programLength": 12, + "programVocabulary": 7, + "volume": 33.68825906469125, + "difficulty": 1.6, + "effort": 53.901214503506004, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::parsePaths" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleBaseLine": { + "line": 224, + "lineCount": 8, + "argCount": 2, + "returnCount": 0, + "variableCount": 3, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 5, + "N2": 11, + "programLength": 16, + "programVocabulary": 7, + "volume": 44.91767875292167, + "difficulty": 2.2, + "effort": 98.81889325642767, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleBaseLine" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleCoverageOptions": { + "line": 238, + "lineCount": 20, + "argCount": 2, + "returnCount": 3, + "variableCount": 5, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 5, + "n2": 10, + "N1": 15, + "N2": 25, + "programLength": 40, + "programVocabulary": 15, + "volume": 156.27562382434076, + "difficulty": 6.25, + "effort": 976.7226489021298, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleCoverageOptions" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::applySorting": { + "line": 264, + "lineCount": 21, + "argCount": 3, + "returnCount": 3, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 15, + "N1": 16, + "N2": 32, + "programLength": 48, + "programVocabulary": 20, + "volume": 207.45254855459342, + "difficulty": 5.333333333333333, + "effort": 1106.4135922911648, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::applySorting" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadConfiguration": { + "line": 293, + "lineCount": 10, + "argCount": 2, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 6, + "N1": 5, + "N2": 9, + "programLength": 14, + "programVocabulary": 8, + "volume": 42, + "difficulty": 1.5, + "effort": 63, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadConfiguration" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadCoverageReader": { + "line": 313, + "lineCount": 28, + "argCount": 3, + "returnCount": 4, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 2, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 10, + "N2": 18, + "programLength": 28, + "programVocabulary": 11, + "volume": 96.86408532184433, + "difficulty": 5.142857142857143, + "effort": 498.15815308377086, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadCoverageReader" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::detectCoverageFormat": { + "line": 345, + "lineCount": 19, + "argCount": 1, + "returnCount": 4, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 9, + "volume": 47.548875021634686, + "difficulty": 2.5, + "effort": 118.87218755408671, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::detectCoverageFormat" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::coverageFileExists": { + "line": 365, + "lineCount": 20, + "argCount": 2, + "returnCount": 3, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 4, + "N2": 7, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 3.5, + "effort": 99.52105627776452, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::coverageFileExists" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__construct": { + "line": 12, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__invoke": { + "line": 17, + "lineCount": 22, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 3, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 10, + "N2": 11, + "programLength": 21, + "programVocabulary": 7, + "volume": 58.95445336320969, + "difficulty": 2.2, + "effort": 129.6997973990613, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__invoke" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__construct": { + "line": 21, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__invoke": { + "line": 26, + "lineCount": 11, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 4, + "N2": 9, + "programLength": 13, + "programVocabulary": 4, + "volume": 26, + "difficulty": 4.5, + "effort": 117, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__invoke" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleSourceFilesFound": { + "line": 38, + "lineCount": 6, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 4, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 6, + "N2": 10, + "programLength": 16, + "programVocabulary": 8, + "volume": 48, + "difficulty": 5, + "effort": 240, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleSourceFilesFound" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleFileProcessed": { + "line": 45, + "lineCount": 5, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleFileProcessed" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleAllFilesProcessed": { + "line": 51, + "lineCount": 6, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 3, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 3, + "N2": 5, + "programLength": 8, + "programVocabulary": 5, + "volume": 18.575424759098897, + "difficulty": 1.6666666666666667, + "effort": 30.95904126516483, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleAllFilesProcessed" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__construct": { + "line": 20, + "lineCount": 5, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__invoke": { + "line": 26, + "lineCount": 17, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 5, + "n2": 8, + "N1": 17, + "N2": 17, + "programLength": 34, + "programVocabulary": 13, + "volume": 125.81495041679713, + "difficulty": 5.3125, + "effort": 668.3919240892347, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__invoke" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::formatBytes": { + "line": 50, + "lineCount": 12, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 7, + "n2": 13, + "N1": 10, + "N2": 22, + "programLength": 32, + "programVocabulary": 20, + "volume": 138.3016990363956, + "difficulty": 5.923076923076923, + "effort": 819.1716019848047, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::formatBytes" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::isDebugEnabled": { + "line": 66, + "lineCount": 5, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 1, + "N1": 4, + "N2": 2, + "programLength": 6, + "programVocabulary": 4, + "volume": 12, + "difficulty": 3, + "effort": 36, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::isDebugEnabled" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::__construct": { + "line": 20, + "lineCount": 6, + "argCount": 2, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 4, + "volume": 8, + "difficulty": 0.5, + "effort": 4, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::exportToFile": { + "line": 32, + "lineCount": 27, + "argCount": 3, + "returnCount": 4, + "variableCount": 2, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 1, + "n2": 6, + "N1": 6, + "N2": 19, + "programLength": 25, + "programVocabulary": 7, + "volume": 70.1838730514401, + "difficulty": 1.5833333333333333, + "effort": 111.12446566478016, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::exportToFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::hasIncompleteReportOptions": { + "line": 60, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 2, + "N1": 7, + "N2": 6, + "programLength": 13, + "programVocabulary": 6, + "volume": 33.60451250937503, + "difficulty": 6, + "effort": 201.62707505625016, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::hasIncompleteReportOptions" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::isValidReportType": { + "line": 65, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 2, + "N2": 4, + "programLength": 6, + "programVocabulary": 4, + "volume": 12, + "difficulty": 2, + "effort": 24, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::isValidReportType" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleExceptions": { + "line": 77, + "lineCount": 9, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 3, + "N2": 4, + "programLength": 7, + "programVocabulary": 5, + "volume": 16.253496664211536, + "difficulty": 1.3333333333333333, + "effort": 21.67132888561538, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleExceptions" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleInvalidReportType": { + "line": 91, + "lineCount": 11, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 5, + "N2": 8, + "programLength": 13, + "programVocabulary": 8, + "volume": 39, + "difficulty": 2.4000000000000004, + "effort": 93.60000000000001, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleInvalidReportType" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::__construct": { + "line": 15, + "lineCount": 5, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handle": { + "line": 24, + "lineCount": 27, + "argCount": 3, + "returnCount": 4, + "variableCount": 2, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 1, + "n2": 6, + "N1": 6, + "N2": 19, + "programLength": 25, + "programVocabulary": 7, + "volume": 70.1838730514401, + "difficulty": 1.5833333333333333, + "effort": 111.12446566478016, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handle" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::hasIncompleteReportOptions": { + "line": 52, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 2, + "N1": 7, + "N2": 6, + "programLength": 13, + "programVocabulary": 6, + "volume": 33.60451250937503, + "difficulty": 6, + "effort": 201.62707505625016, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::hasIncompleteReportOptions" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::isValidReportType": { + "line": 57, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 5, + "N1": 1, + "N2": 6, + "programLength": 7, + "programVocabulary": 6, + "volume": 18.094737505048094, + "difficulty": 0.6, + "effort": 10.856842503028856, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::isValidReportType" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handleExceptions": { + "line": 66, + "lineCount": 9, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 3, + "N2": 4, + "programLength": 7, + "programVocabulary": 5, + "volume": 16.253496664211536, + "difficulty": 1.3333333333333333, + "effort": 21.67132888561538, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handleExceptions" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handleInvalidReporType": { + "line": 80, + "lineCount": 9, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 4, + "programLength": 6, + "programVocabulary": 5, + "volume": 13.931568569324174, + "difficulty": 1.3333333333333333, + "effort": 18.575424759098897, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handleInvalidReporType" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::__construct": { + "line": 42, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::reportWritten": { + "line": 47, + "lineCount": 7, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 4, + "programLength": 6, + "programVocabulary": 5, + "volume": 13.931568569324174, + "difficulty": 1.3333333333333333, + "effort": 18.575424759098897, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::reportWritten" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::renderChurnTable": { + "line": 59, + "lineCount": 35, + "argCount": 1, + "returnCount": 0, + "variableCount": 6, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 8, + "n2": 18, + "N1": 21, + "N2": 53, + "programLength": 74, + "programVocabulary": 26, + "volume": 347.8325391424408, + "difficulty": 11.777777777777779, + "effort": 4096.694349899859, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::renderChurnTable" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricSummaryTextRenderer::__construct": { + "line": 18, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricSummaryTextRenderer::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricSummaryTextRenderer::render": { + "line": 23, + "lineCount": 32, + "argCount": 2, + "returnCount": 0, + "variableCount": 6, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 6, + "n2": 16, + "N1": 27, + "N2": 38, + "programLength": 65, + "programVocabulary": 22, + "volume": 289.86305521142435, + "difficulty": 7.125, + "effort": 2065.2742683813985, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricSummaryTextRenderer::render" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::__construct": { + "line": 27, + "lineCount": 5, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::metricExceedsThreshold": { + "line": 33, + "lineCount": 6, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 2, + "N1": 3, + "N2": 5, + "programLength": 8, + "programVocabulary": 5, + "volume": 18.575424759098897, + "difficulty": 3.75, + "effort": 69.65784284662087, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::metricExceedsThreshold" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::hasCoverageInCollection": { + "line": 43, + "lineCount": 10, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 2, + "N2": 4, + "programLength": 6, + "programVocabulary": 4, + "volume": 12, + "difficulty": 2, + "effort": 24, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::hasCoverageInCollection" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::render": { + "line": 58, + "lineCount": 17, + "argCount": 2, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 6, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 9, + "N2": 25, + "programLength": 34, + "programVocabulary": 6, + "volume": 87.8887250245193, + "difficulty": 6.25, + "effort": 549.3045314032456, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::render" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderGroupedByClass": { + "line": 81, + "lineCount": 19, + "argCount": 3, + "returnCount": 0, + "variableCount": 6, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 5, + "n2": 11, + "N1": 11, + "N2": 25, + "programLength": 36, + "programVocabulary": 16, + "volume": 144, + "difficulty": 5.6818181818181825, + "effort": 818.1818181818182, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderGroupedByClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::buildRowsForClass": { + "line": 106, + "lineCount": 13, + "argCount": 2, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 4, + "N2": 12, + "programLength": 16, + "programVocabulary": 7, + "volume": 44.91767875292167, + "difficulty": 2.4, + "effort": 107.802429007012, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::buildRowsForClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::getFilenameFromMetrics": { + "line": 123, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 5, + "programLength": 6, + "programVocabulary": 4, + "volume": 12, + "difficulty": 0.8333333333333334, + "effort": 10, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::getFilenameFromMetrics" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderAllMethodsInSingleTable": { + "line": 136, + "lineCount": 12, + "argCount": 3, + "returnCount": 0, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 6, + "N2": 15, + "programLength": 21, + "programVocabulary": 11, + "volume": 72.64806399138324, + "difficulty": 4.285714285714286, + "effort": 311.34884567735673, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderAllMethodsInSingleTable" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::buildRowsForSingleTable": { + "line": 154, + "lineCount": 13, + "argCount": 2, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 4, + "N2": 12, + "programLength": 16, + "programVocabulary": 7, + "volume": 44.91767875292167, + "difficulty": 2.4, + "effort": 107.802429007012, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::buildRowsForSingleTable" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderTableCommon": { + "line": 173, + "lineCount": 19, + "argCount": 4, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 8, + "N1": 7, + "N2": 19, + "programLength": 26, + "programVocabulary": 10, + "volume": 86.37013046707142, + "difficulty": 2.375, + "effort": 205.1290598592946, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderTableCommon" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderTable": { + "line": 196, + "lineCount": 13, + "argCount": 4, + "returnCount": 0, + "variableCount": 3, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 7, + "N1": 4, + "N2": 14, + "programLength": 18, + "programVocabulary": 9, + "volume": 57.05865002596162, + "difficulty": 2, + "effort": 114.11730005192324, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderTable" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderSingleTable": { + "line": 213, + "lineCount": 11, + "argCount": 3, + "returnCount": 0, + "variableCount": 3, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 6, + "N1": 4, + "N2": 12, + "programLength": 16, + "programVocabulary": 8, + "volume": 48, + "difficulty": 2, + "effort": 96, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderSingleTable" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::__construct": { + "line": 16, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatScore": { + "line": 21, + "lineCount": 6, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 6, + "N1": 5, + "N2": 9, + "programLength": 14, + "programVocabulary": 8, + "volume": 42, + "difficulty": 1.5, + "effort": 63, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatScore" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadVolume": { + "line": 28, + "lineCount": 14, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 10, + "N1": 9, + "N2": 17, + "programLength": 26, + "programVocabulary": 15, + "volume": 101.57915548582149, + "difficulty": 4.25, + "effort": 431.7114108147413, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadVolume" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadDifficulty": { + "line": 43, + "lineCount": 13, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 10, + "N1": 8, + "N2": 17, + "programLength": 25, + "programVocabulary": 14, + "volume": 95.1838730514401, + "difficulty": 3.4, + "effort": 323.62516837489636, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadDifficulty" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadEffort": { + "line": 57, + "lineCount": 13, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 10, + "N1": 8, + "N2": 17, + "programLength": 25, + "programVocabulary": 14, + "volume": 95.1838730514401, + "difficulty": 3.4, + "effort": 323.62516837489636, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadEffort" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatCyclomaticComplexity": { + "line": 71, + "lineCount": 13, + "argCount": 1, + "returnCount": 3, + "variableCount": 4, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 5, + "n2": 9, + "N1": 9, + "N2": 18, + "programLength": 27, + "programVocabulary": 14, + "volume": 102.79858289555531, + "difficulty": 5, + "effort": 513.9929144777766, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatCyclomaticComplexity" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::colorCyclomaticRisk": { + "line": 85, + "lineCount": 8, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 7, + "N1": 5, + "N2": 11, + "programLength": 16, + "programVocabulary": 9, + "volume": 50.718800023076994, + "difficulty": 1.5714285714285714, + "effort": 79.70097146483528, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::colorCyclomaticRisk" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::__construct": { + "line": 17, + "lineCount": 5, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::getGroupedTableHeaders": { + "line": 28, + "lineCount": 16, + "argCount": 0, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 10, + "N2": 17, + "programLength": 27, + "programVocabulary": 6, + "volume": 69.79398751947122, + "difficulty": 4.25, + "effort": 296.62444695775264, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::getGroupedTableHeaders" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCoverageHeader": { + "line": 49, + "lineCount": 10, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 6, + "programLength": 7, + "programVocabulary": 4, + "volume": 14, + "difficulty": 1, + "effort": 14, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCoverageHeader" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::getSingleTableHeaders": { + "line": 65, + "lineCount": 20, + "argCount": 0, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 6, + "N1": 9, + "N2": 18, + "programLength": 27, + "programVocabulary": 8, + "volume": 81, + "difficulty": 3, + "effort": 243, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::getSingleTableHeaders" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addHalsteadHeaders": { + "line": 92, + "lineCount": 10, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 1, + "n2": 5, + "N1": 3, + "N2": 9, + "programLength": 12, + "programVocabulary": 6, + "volume": 31.019550008653873, + "difficulty": 0.9, + "effort": 27.917595007788485, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addHalsteadHeaders" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCyclomaticHeaders": { + "line": 109, + "lineCount": 8, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 5, + "programLength": 6, + "programVocabulary": 4, + "volume": 12, + "difficulty": 0.8333333333333334, + "effort": 10, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCyclomaticHeaders" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCognitiveMetricDetails": { + "line": 122, + "lineCount": 16, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 10, + "N1": 2, + "N2": 13, + "programLength": 15, + "programVocabulary": 12, + "volume": 53.77443751081734, + "difficulty": 1.3, + "effort": 69.90676876406255, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCognitiveMetricDetails" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::__construct": { + "line": 21, + "lineCount": 6, + "argCount": 3, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 3, + "N1": 0, + "N2": 3, + "programLength": 3, + "programVocabulary": 3, + "volume": 4.754887502163468, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::buildRow": { + "line": 34, + "lineCount": 16, + "argCount": 1, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 10, + "N2": 24, + "programLength": 34, + "programVocabulary": 7, + "volume": 95.45006734995854, + "difficulty": 4.8, + "effort": 458.160323279801, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::buildRow" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::buildRowWithClassInfo": { + "line": 57, + "lineCount": 16, + "argCount": 1, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 10, + "N2": 24, + "programLength": 34, + "programVocabulary": 7, + "volume": 95.45006734995854, + "difficulty": 4.8, + "effort": 458.160323279801, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::buildRowWithClassInfo" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::metricsToArray": { + "line": 79, + "lineCount": 8, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 3, + "N2": 7, + "programLength": 10, + "programVocabulary": 6, + "volume": 25.84962500721156, + "difficulty": 1.75, + "effort": 45.23684376262023, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::metricsToArray" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::metricsToArrayWithClassInfo": { + "line": 93, + "lineCount": 9, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 4, + "N2": 9, + "programLength": 13, + "programVocabulary": 7, + "volume": 36.49561398674886, + "difficulty": 1.8, + "effort": 65.69210517614795, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::metricsToArrayWithClassInfo" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addHalsteadFields": { + "line": 109, + "lineCount": 10, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 6, + "N1": 6, + "N2": 16, + "programLength": 22, + "programVocabulary": 8, + "volume": 66, + "difficulty": 2.6666666666666665, + "effort": 176, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addHalsteadFields" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addCyclomaticFields": { + "line": 126, + "lineCount": 8, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 2, + "N2": 8, + "programLength": 10, + "programVocabulary": 6, + "volume": 25.84962500721156, + "difficulty": 2, + "effort": 51.69925001442312, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addCyclomaticFields" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addWeightedValue": { + "line": 141, + "lineCount": 10, + "argCount": 3, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 11, + "N1": 13, + "N2": 22, + "programLength": 35, + "programVocabulary": 15, + "volume": 136.74117084629816, + "difficulty": 4, + "effort": 546.9646833851926, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addWeightedValue" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addDelta": { + "line": 158, + "lineCount": 20, + "argCount": 3, + "returnCount": 3, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 6, + "n2": 13, + "N1": 19, + "N2": 30, + "programLength": 49, + "programVocabulary": 19, + "volume": 208.14844815873568, + "difficulty": 6.9230769230769225, + "effort": 1441.0277180220162, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::getKeys": { + "line": 184, + "lineCount": 17, + "argCount": 0, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 0, + "n2": 9, + "N1": 0, + "N2": 9, + "programLength": 9, + "programVocabulary": 9, + "volume": 28.52932501298081, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::getKeys" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::assertDeltaMethodExists": { + "line": 205, + "lineCount": 6, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 6, + "programLength": 8, + "programVocabulary": 5, + "volume": 18.575424759098897, + "difficulty": 2, + "effort": 37.150849518197795, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::assertDeltaMethodExists" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addCoverageValue": { + "line": 216, + "lineCount": 11, + "argCount": 2, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 7, + "N1": 7, + "N2": 15, + "programLength": 22, + "programVocabulary": 12, + "volume": 78.86917501586544, + "difficulty": 5.357142857142857, + "effort": 422.51343758499337, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addCoverageValue" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::extracted": { + "line": 233, + "lineCount": 22, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 12, + "N1": 19, + "N2": 34, + "programLength": 53, + "programVocabulary": 15, + "volume": 207.06520156725148, + "difficulty": 4.25, + "effort": 880.0271066608187, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::extracted" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CacheConfig::__construct": { + "line": 12, + "lineCount": 5, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CacheConfig::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CacheConfig::toArray": { + "line": 23, + "lineCount": 7, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 3, + "N1": 0, + "N2": 4, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CacheConfig::toArray" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CognitiveConfig::__construct": { + "line": 20, + "lineCount": 13, + "argCount": 10, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 10, + "N1": 0, + "N2": 10, + "programLength": 10, + "programVocabulary": 10, + "volume": 33.219280948873624, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CognitiveConfig::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CognitiveConfig::toArray": { + "line": 39, + "lineCount": 20, + "argCount": 0, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 10, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 14, + "N1": 3, + "N2": 27, + "programLength": 30, + "programVocabulary": 16, + "volume": 120, + "difficulty": 1.9285714285714286, + "effort": 231.42857142857144, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CognitiveConfig::toArray" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigFactory::fromArray": { + "line": 16, + "lineCount": 31, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "cyclomatic_complexity": { + "complexity": 2, + "risk_level": "low" + }, + "halstead": { + "n1": 3, + "n2": 20, + "N1": 10, + "N2": 52, + "programLength": 62, + "programVocabulary": 23, + "volume": 280.4608412755348, + "difficulty": 3.9000000000000004, + "effort": 1093.7972809745859, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigFactory::fromArray" + } + } + }, + "ignored_items": [], + "cached_at": 1759967602 +} \ No newline at end of file diff --git a/.phpcca.cache/db/dbad0c83acfa294de54e0bc687d08ec2.cache b/.phpcca.cache/db/dbad0c83acfa294de54e0bc687d08ec2.cache new file mode 100644 index 0000000..4f4a52b --- /dev/null +++ b/.phpcca.cache/db/dbad0c83acfa294de54e0bc687d08ec2.cache @@ -0,0 +1,643 @@ +{ + "version": "1.0", + "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/Business\/Churn\/Exporter\/ChurnExporterFactory.php", + "file_mtime": 1759784766, + "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", + "analysis_result": { + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct": { + "line": 60, + "lineCount": 5, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 1, + "N1": 2, + "N2": 2, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 2, + "effort": 12.679700005769249, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices": { + "line": 66, + "lineCount": 95, + "argCount": 0, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 5, + "N1": 58, + "N2": 32, + "programLength": 90, + "programVocabulary": 9, + "volume": 285.2932501298081, + "difficulty": 12.8, + "effort": 3651.7536016615436, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap": { + "line": 162, + "lineCount": 10, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 7, + "N2": 7, + "programLength": 14, + "programVocabulary": 2, + "volume": 14, + "difficulty": 3.5, + "effort": 49, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors": { + "line": 173, + "lineCount": 12, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 3, + "N2": 1, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0.5, + "effort": 2, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus": { + "line": 186, + "lineCount": 19, + "argCount": 0, + "returnCount": 0, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 9, + "N2": 13, + "programLength": 22, + "programVocabulary": 7, + "volume": 61.76180828526729, + "difficulty": 2.6, + "effort": 160.58070154169496, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService": { + "line": 206, + "lineCount": 9, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 3, + "N2": 1, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0.5, + "effort": 2, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade": { + "line": 216, + "lineCount": 13, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 3, + "N2": 1, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0.5, + "effort": 2, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands": { + "line": 230, + "lineCount": 21, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 6, + "N2": 2, + "programLength": 8, + "programVocabulary": 2, + "volume": 8, + "difficulty": 1, + "effort": 8, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication": { + "line": 252, + "lineCount": 11, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 5, + "N2": 4, + "programLength": 9, + "programVocabulary": 4, + "volume": 18, + "difficulty": 0.6666666666666666, + "effort": 12, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run": { + "line": 264, + "lineCount": 9, + "argCount": 0, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 5, + "N2": 5, + "programLength": 10, + "programVocabulary": 4, + "volume": 20, + "difficulty": 2.5, + "effort": 50, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get": { + "line": 274, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer": { + "line": 279, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator": { + "line": 289, + "lineCount": 16, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 7, + "programLength": 8, + "programVocabulary": 4, + "volume": 16, + "difficulty": 1.1666666666666667, + "effort": 18.666666666666668, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create": { + "line": 18, + "lineCount": 7, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 4, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile": { + "line": 17, + "lineCount": 17, + "argCount": 2, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 8, + "N1": 11, + "N2": 19, + "programLength": 30, + "programVocabulary": 11, + "volume": 103.78294855911892, + "difficulty": 3.5625, + "effort": 369.72675424186116, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode": { + "line": 42, + "lineCount": 8, + "argCount": 3, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 3, + "N2": 8, + "programLength": 11, + "programVocabulary": 8, + "volume": 33, + "difficulty": 2.4000000000000004, + "effort": 79.20000000000002, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate": { + "line": 22, + "lineCount": 10, + "argCount": 2, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 6, + "N2": 13, + "programLength": 19, + "programVocabulary": 6, + "volume": 49.11428751370197, + "difficulty": 3.25, + "effort": 159.6214344195314, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending": { + "line": 37, + "lineCount": 8, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 2, + "N2": 9, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 2.25, + "effort": 63.97782189284862, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn": { + "line": 51, + "lineCount": 24, + "argCount": 2, + "returnCount": 1, + "variableCount": 6, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 15, + "N1": 17, + "N2": 46, + "programLength": 63, + "programVocabulary": 20, + "volume": 272.28146997790384, + "difficulty": 7.666666666666667, + "effort": 2087.491269830596, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses": { + "line": 81, + "lineCount": 20, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 2, + "n2": 7, + "N1": 10, + "N2": 24, + "programLength": 34, + "programVocabulary": 9, + "volume": 107.7774500490386, + "difficulty": 3.4285714285714284, + "effort": 369.52268588241805, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass": { + "line": 109, + "lineCount": 9, + "argCount": 2, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 6, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 10, + "volume": 49.82892142331043, + "difficulty": 3.3333333333333335, + "effort": 166.09640474436813, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel": { + "line": 126, + "lineCount": 16, + "argCount": 2, + "returnCount": 4, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 12, + "N1": 9, + "N2": 18, + "programLength": 27, + "programVocabulary": 15, + "volume": 105.48604608143, + "difficulty": 2.25, + "effort": 237.3436036832175, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile": { + "line": 14, + "lineCount": 6, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 2, + "N2": 5, + "programLength": 7, + "programVocabulary": 4, + "volume": 14, + "difficulty": 2.5, + "effort": 35, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable": { + "line": 24, + "lineCount": 11, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 10, + "N2": 12, + "programLength": 22, + "programVocabulary": 8, + "volume": 66, + "difficulty": 6, + "effort": 396, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create": { + "line": 21, + "lineCount": 11, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 0, + "n2": 7, + "N1": 0, + "N2": 9, + "programLength": 9, + "programVocabulary": 7, + "volume": 25.26619429851844, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes": { + "line": 38, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 0, + "n2": 6, + "N1": 0, + "N2": 6, + "programLength": 6, + "programVocabulary": 6, + "volume": 15.509775004326936, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported": { + "line": 49, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 2, + "N2": 3, + "programLength": 5, + "programVocabulary": 4, + "volume": 10, + "difficulty": 1.5, + "effort": 15, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported" + } + } + }, + "ignored_items": [], + "cached_at": 1759967600 +} \ No newline at end of file diff --git a/.phpcca.cache/e2/e2a49950dd07e0b975cbe0f75651167f.cache b/.phpcca.cache/e2/e2a49950dd07e0b975cbe0f75651167f.cache new file mode 100644 index 0000000..807c38e --- /dev/null +++ b/.phpcca.cache/e2/e2a49950dd07e0b975cbe0f75651167f.cache @@ -0,0 +1,6187 @@ +{ + "version": "1.0", + "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/Cache\/CacheItem.php", + "file_mtime": 1759964701, + "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", + "analysis_result": { + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct": { + "line": 60, + "lineCount": 5, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 1, + "N1": 2, + "N2": 2, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 2, + "effort": 12.679700005769249, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices": { + "line": 66, + "lineCount": 95, + "argCount": 0, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 5, + "N1": 58, + "N2": 32, + "programLength": 90, + "programVocabulary": 9, + "volume": 285.2932501298081, + "difficulty": 12.8, + "effort": 3651.7536016615436, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap": { + "line": 162, + "lineCount": 10, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 7, + "N2": 7, + "programLength": 14, + "programVocabulary": 2, + "volume": 14, + "difficulty": 3.5, + "effort": 49, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors": { + "line": 173, + "lineCount": 12, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 3, + "N2": 1, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0.5, + "effort": 2, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus": { + "line": 186, + "lineCount": 19, + "argCount": 0, + "returnCount": 0, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 9, + "N2": 13, + "programLength": 22, + "programVocabulary": 7, + "volume": 61.76180828526729, + "difficulty": 2.6, + "effort": 160.58070154169496, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService": { + "line": 206, + "lineCount": 9, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 3, + "N2": 1, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0.5, + "effort": 2, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade": { + "line": 216, + "lineCount": 13, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 3, + "N2": 1, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0.5, + "effort": 2, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands": { + "line": 230, + "lineCount": 21, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 6, + "N2": 2, + "programLength": 8, + "programVocabulary": 2, + "volume": 8, + "difficulty": 1, + "effort": 8, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication": { + "line": 252, + "lineCount": 11, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 5, + "N2": 4, + "programLength": 9, + "programVocabulary": 4, + "volume": 18, + "difficulty": 0.6666666666666666, + "effort": 12, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run": { + "line": 264, + "lineCount": 9, + "argCount": 0, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 5, + "N2": 5, + "programLength": 10, + "programVocabulary": 4, + "volume": 20, + "difficulty": 2.5, + "effort": 50, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get": { + "line": 274, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer": { + "line": 279, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator": { + "line": 289, + "lineCount": 16, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 7, + "programLength": 8, + "programVocabulary": 4, + "volume": 16, + "difficulty": 1.1666666666666667, + "effort": 18.666666666666668, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create": { + "line": 18, + "lineCount": 7, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 4, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile": { + "line": 17, + "lineCount": 17, + "argCount": 2, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 8, + "N1": 11, + "N2": 19, + "programLength": 30, + "programVocabulary": 11, + "volume": 103.78294855911892, + "difficulty": 3.5625, + "effort": 369.72675424186116, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode": { + "line": 42, + "lineCount": 8, + "argCount": 3, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 3, + "N2": 8, + "programLength": 11, + "programVocabulary": 8, + "volume": 33, + "difficulty": 2.4000000000000004, + "effort": 79.20000000000002, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate": { + "line": 22, + "lineCount": 10, + "argCount": 2, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 6, + "N2": 13, + "programLength": 19, + "programVocabulary": 6, + "volume": 49.11428751370197, + "difficulty": 3.25, + "effort": 159.6214344195314, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending": { + "line": 37, + "lineCount": 8, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 2, + "N2": 9, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 2.25, + "effort": 63.97782189284862, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn": { + "line": 51, + "lineCount": 24, + "argCount": 2, + "returnCount": 1, + "variableCount": 6, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 15, + "N1": 17, + "N2": 46, + "programLength": 63, + "programVocabulary": 20, + "volume": 272.28146997790384, + "difficulty": 7.666666666666667, + "effort": 2087.491269830596, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses": { + "line": 81, + "lineCount": 20, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 2, + "n2": 7, + "N1": 10, + "N2": 24, + "programLength": 34, + "programVocabulary": 9, + "volume": 107.7774500490386, + "difficulty": 3.4285714285714284, + "effort": 369.52268588241805, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass": { + "line": 109, + "lineCount": 9, + "argCount": 2, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 6, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 10, + "volume": 49.82892142331043, + "difficulty": 3.3333333333333335, + "effort": 166.09640474436813, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel": { + "line": 126, + "lineCount": 16, + "argCount": 2, + "returnCount": 4, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 12, + "N1": 9, + "N2": 18, + "programLength": 27, + "programVocabulary": 15, + "volume": 105.48604608143, + "difficulty": 2.25, + "effort": 237.3436036832175, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile": { + "line": 14, + "lineCount": 6, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 2, + "N2": 5, + "programLength": 7, + "programVocabulary": 4, + "volume": 14, + "difficulty": 2.5, + "effort": 35, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable": { + "line": 24, + "lineCount": 11, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 10, + "N2": 12, + "programLength": 22, + "programVocabulary": 8, + "volume": 66, + "difficulty": 6, + "effort": 396, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create": { + "line": 21, + "lineCount": 11, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 7, + "N1": 0, + "N2": 9, + "programLength": 9, + "programVocabulary": 7, + "volume": 25.26619429851844, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes": { + "line": 38, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 6, + "N1": 0, + "N2": 6, + "programLength": 6, + "programVocabulary": 6, + "volume": 15.509775004326936, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported": { + "line": 49, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 2, + "N2": 3, + "programLength": 5, + "programVocabulary": 4, + "volume": 10, + "difficulty": 1.5, + "effort": 15, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export": { + "line": 30, + "lineCount": 23, + "argCount": 2, + "returnCount": 0, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 16, + "N1": 10, + "N2": 33, + "programLength": 43, + "programVocabulary": 20, + "volume": 185.8429080801566, + "difficulty": 4.125, + "effort": 766.601995830646, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export": { + "line": 28, + "lineCount": 8, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 6, + "volume": 36.18947501009619, + "difficulty": 2.5, + "effort": 90.47368752524048, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape": { + "line": 37, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber": { + "line": 42, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml": { + "line": 52, + "lineCount": 50, + "argCount": 1, + "returnCount": 1, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 12, + "N1": 11, + "N2": 25, + "programLength": 36, + "programVocabulary": 17, + "volume": 147.14866228501222, + "difficulty": 5.208333333333334, + "effort": 766.3992827344388, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export": { + "line": 17, + "lineCount": 13, + "argCount": 2, + "returnCount": 0, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 8, + "N1": 7, + "N2": 14, + "programLength": 21, + "programVocabulary": 12, + "volume": 75.28421251514428, + "difficulty": 3.5, + "effort": 263.49474380300495, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export": { + "line": 48, + "lineCount": 8, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 6, + "volume": 36.18947501009619, + "difficulty": 2.5, + "effort": 90.47368752524048, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown": { + "line": 61, + "lineCount": 24, + "argCount": 1, + "returnCount": 1, + "variableCount": 6, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 6, + "n2": 16, + "N1": 19, + "N2": 41, + "programLength": 60, + "programVocabulary": 22, + "volume": 267.56589711823784, + "difficulty": 7.6875, + "effort": 2056.9128340964535, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow": { + "line": 94, + "lineCount": 21, + "argCount": 3, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 7, + "n2": 18, + "N1": 16, + "N2": 39, + "programLength": 55, + "programVocabulary": 25, + "volume": 255.41209043760983, + "difficulty": 7.583333333333333, + "effort": 1936.8750191518745, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::__construct": { + "line": 26, + "lineCount": 4, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::export": { + "line": 36, + "lineCount": 10, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 8, + "volume": 45, + "difficulty": 5, + "effort": 225, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::generateSvgTreemap": { + "line": 53, + "lineCount": 20, + "argCount": 1, + "returnCount": 1, + "variableCount": 6, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 8, + "N1": 9, + "N2": 20, + "programLength": 29, + "programVocabulary": 10, + "volume": 96.3359147517335, + "difficulty": 2.5, + "effort": 240.83978687933376, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::generateSvgTreemap" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRects": { + "line": 82, + "lineCount": 10, + "argCount": 3, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 9, + "N1": 6, + "N2": 18, + "programLength": 24, + "programVocabulary": 12, + "volume": 86.03910001730775, + "difficulty": 3, + "effort": 258.1173000519232, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRects" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRect": { + "line": 100, + "lineCount": 29, + "argCount": 2, + "returnCount": 1, + "variableCount": 12, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 6, + "n2": 28, + "N1": 26, + "N2": 54, + "programLength": 80, + "programVocabulary": 34, + "volume": 406.9970273000271, + "difficulty": 5.785714285714286, + "effort": 2354.7685150930142, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRect" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::wrapSvg": { + "line": 136, + "lineCount": 21, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 2, + "N2": 8, + "programLength": 10, + "programVocabulary": 4, + "volume": 20, + "difficulty": 1.3333333333333333, + "effort": 26.666666666666664, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::wrapSvg" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::prepareItems": { + "line": 28, + "lineCount": 18, + "argCount": 1, + "returnCount": 1, + "variableCount": 7, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 12, + "N1": 9, + "N2": 30, + "programLength": 39, + "programVocabulary": 17, + "volume": 159.41105080876324, + "difficulty": 6.25, + "effort": 996.3190675547702, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::prepareItems" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findScoreRange": { + "line": 53, + "lineCount": 16, + "argCount": 1, + "returnCount": 3, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 7, + "N2": 13, + "programLength": 20, + "programVocabulary": 8, + "volume": 60, + "difficulty": 3.9000000000000004, + "effort": 234.00000000000003, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findScoreRange" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::normalizeScore": { + "line": 78, + "lineCount": 8, + "argCount": 3, + "returnCount": 2, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 8, + "volume": 45, + "difficulty": 5, + "effort": 225, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::normalizeScore" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::scoreToColor": { + "line": 93, + "lineCount": 9, + "argCount": 1, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 5, + "n2": 9, + "N1": 12, + "N2": 16, + "programLength": 28, + "programVocabulary": 14, + "volume": 106.60593781761291, + "difficulty": 4.444444444444445, + "effort": 473.80416807827964, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::scoreToColor" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::calculateTreemapLayout": { + "line": 115, + "lineCount": 23, + "argCount": 7, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 9, + "N1": 2, + "N2": 18, + "programLength": 20, + "programVocabulary": 11, + "volume": 69.18863237274594, + "difficulty": 2, + "effort": 138.37726474549189, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::calculateTreemapLayout" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::layoutTreemap": { + "line": 152, + "lineCount": 89, + "argCount": 8, + "returnCount": 3, + "variableCount": 11, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 8, + "n2": 28, + "N1": 32, + "N2": 98, + "programLength": 130, + "programVocabulary": 36, + "volume": 672.0902501875006, + "difficulty": 14, + "effort": 9409.263502625008, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::layoutTreemap" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findSplitIndex": { + "line": 249, + "lineCount": 13, + "argCount": 2, + "returnCount": 2, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 7, + "n2": 10, + "N1": 9, + "N2": 23, + "programLength": 32, + "programVocabulary": 17, + "volume": 130.79881092001085, + "difficulty": 8.049999999999999, + "effort": 1052.9304279060873, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findSplitIndex" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::__construct": { + "line": 23, + "lineCount": 18, + "argCount": 1, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 7, + "N2": 11, + "programLength": 18, + "programVocabulary": 6, + "volume": 46.529325012980806, + "difficulty": 5.5, + "effort": 255.91128757139444, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::getAllClasses": { + "line": 47, + "lineCount": 17, + "argCount": 0, + "returnCount": 2, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 6, + "N2": 12, + "programLength": 18, + "programVocabulary": 9, + "volume": 57.05865002596162, + "difficulty": 3, + "effort": 171.17595007788486, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::getAllClasses" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::withClassNode": { + "line": 73, + "lineCount": 8, + "argCount": 2, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 4, + "N2": 8, + "programLength": 12, + "programVocabulary": 8, + "volume": 36, + "difficulty": 4, + "effort": 144, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::withClassNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::findClassNode": { + "line": 85, + "lineCount": 25, + "argCount": 1, + "returnCount": 4, + "variableCount": 5, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 13, + "N2": 29, + "programLength": 42, + "programVocabulary": 11, + "volume": 145.29612798276648, + "difficulty": 8.285714285714286, + "effort": 1203.8822032857795, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::findClassNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::escapeXPathValue": { + "line": 114, + "lineCount": 16, + "argCount": 1, + "returnCount": 3, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 9, + "N1": 11, + "N2": 18, + "programLength": 29, + "programVocabulary": 13, + "volume": 107.31275182609167, + "difficulty": 4, + "effort": 429.2510073043667, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::escapeXPathValue" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getLineCoverage": { + "line": 22, + "lineCount": 18, + "argCount": 1, + "returnCount": 4, + "variableCount": 5, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 9, + "N1": 10, + "N2": 19, + "programLength": 29, + "programVocabulary": 13, + "volume": 107.31275182609167, + "difficulty": 4.222222222222222, + "effort": 453.09828548794263, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getLineCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getBranchCoverage": { + "line": 48, + "lineCount": 18, + "argCount": 1, + "returnCount": 4, + "variableCount": 5, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 9, + "N1": 10, + "N2": 19, + "programLength": 29, + "programVocabulary": 13, + "volume": 107.31275182609167, + "difficulty": 4.222222222222222, + "effort": 453.09828548794263, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getBranchCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getComplexity": { + "line": 73, + "lineCount": 13, + "argCount": 1, + "returnCount": 3, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 7, + "N2": 14, + "programLength": 21, + "programVocabulary": 11, + "volume": 72.64806399138324, + "difficulty": 4, + "effort": 290.59225596553296, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getComplexity" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getCoverageDetails": { + "line": 93, + "lineCount": 26, + "argCount": 1, + "returnCount": 3, + "variableCount": 9, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 17, + "N1": 22, + "N2": 42, + "programLength": 64, + "programVocabulary": 22, + "volume": 285.403623592787, + "difficulty": 6.176470588235294, + "effort": 1762.7870868966259, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getCoverageDetails" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getMetricsNode": { + "line": 123, + "lineCount": 12, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 6, + "N1": 7, + "N2": 13, + "programLength": 20, + "programVocabulary": 10, + "volume": 66.43856189774725, + "difficulty": 4.333333333333333, + "effort": 287.90043489023805, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getMetricsNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getFilenameForClass": { + "line": 139, + "lineCount": 9, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 5, + "N1": 4, + "N2": 9, + "programLength": 13, + "programVocabulary": 9, + "volume": 41.209025018750054, + "difficulty": 3.6, + "effort": 148.3524900675002, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getFilenameForClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodsCoverage": { + "line": 154, + "lineCount": 36, + "argCount": 1, + "returnCount": 3, + "variableCount": 8, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 13, + "N1": 12, + "N2": 30, + "programLength": 42, + "programVocabulary": 16, + "volume": 168, + "difficulty": 3.4615384615384612, + "effort": 581.5384615384614, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodsCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::calculateMethodCoverage": { + "line": 194, + "lineCount": 15, + "argCount": 2, + "returnCount": 2, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 11, + "N1": 9, + "N2": 23, + "programLength": 32, + "programVocabulary": 16, + "volume": 128, + "difficulty": 5.227272727272727, + "effort": 669.090909090909, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::calculateMethodCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodCoverageFromLines": { + "line": 215, + "lineCount": 36, + "argCount": 2, + "returnCount": 1, + "variableCount": 7, + "propertyCallCount": 0, + "ifNestingLevel": 2, + "elseCount": 0, + "ifCount": 5, + "halstead": { + "n1": 2, + "n2": 14, + "N1": 12, + "N2": 35, + "programLength": 47, + "programVocabulary": 16, + "volume": 188, + "difficulty": 2.5, + "effort": 470, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodCoverageFromLines" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStart": { + "line": 252, + "lineCount": 4, + "argCount": 3, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 3, + "N2": 7, + "programLength": 10, + "programVocabulary": 6, + "volume": 25.84962500721156, + "difficulty": 1.75, + "effort": 45.23684376262023, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStart" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodEnd": { + "line": 257, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 5, + "programLength": 7, + "programVocabulary": 5, + "volume": 16.253496664211536, + "difficulty": 1.6666666666666667, + "effort": 27.089161107019226, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodEnd" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStatement": { + "line": 262, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 5, + "programLength": 7, + "programVocabulary": 5, + "volume": 16.253496664211536, + "difficulty": 1.6666666666666667, + "effort": 27.089161107019226, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStatement" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isStatementCovered": { + "line": 267, + "lineCount": 5, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 4, + "N1": 3, + "N2": 6, + "programLength": 9, + "programVocabulary": 7, + "volume": 25.26619429851844, + "difficulty": 2.25, + "effort": 56.848937171666485, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isStatementCovered" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getLineCoverage": { + "line": 20, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 9, + "volume": 44.37895002019237, + "difficulty": 2.5, + "effort": 110.94737505048093, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getLineCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getBranchCoverage": { + "line": 34, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 9, + "volume": 44.37895002019237, + "difficulty": 2.5, + "effort": 110.94737505048093, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getBranchCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getComplexity": { + "line": 48, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 9, + "volume": 44.37895002019237, + "difficulty": 2.5, + "effort": 110.94737505048093, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getComplexity" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getCoverageDetails": { + "line": 62, + "lineCount": 13, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 8, + "N1": 7, + "N2": 16, + "programLength": 23, + "programVocabulary": 9, + "volume": 72.90827503317318, + "difficulty": 1, + "effort": 72.90827503317318, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getCoverageDetails" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::extractMethodsCoverage": { + "line": 81, + "lineCount": 23, + "argCount": 1, + "returnCount": 2, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 11, + "N1": 10, + "N2": 23, + "programLength": 33, + "programVocabulary": 14, + "volume": 125.64271242790093, + "difficulty": 3.1363636363636362, + "effort": 394.061234432962, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::extractMethodsCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CodeCoverageFactory::createFromName": { + "line": 14, + "lineCount": 8, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 4, + "N1": 1, + "N2": 8, + "programLength": 9, + "programVocabulary": 5, + "volume": 20.89735285398626, + "difficulty": 1, + "effort": 20.89735285398626, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CodeCoverageFactory::createFromName" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::__construct": { + "line": 28, + "lineCount": 15, + "argCount": 6, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 6, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 7, + "N1": 6, + "N2": 18, + "programLength": 24, + "programVocabulary": 8, + "volume": 72, + "difficulty": 1.2857142857142858, + "effort": 92.57142857142858, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getName": { + "line": 44, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getName" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getFilename": { + "line": 49, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getFilename" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getLineRate": { + "line": 54, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getLineRate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getBranchRate": { + "line": 59, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getBranchRate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getComplexity": { + "line": 64, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getComplexity" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getMethods": { + "line": 72, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getMethods" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::__construct": { + "line": 17, + "lineCount": 11, + "argCount": 4, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 4, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 5, + "N1": 4, + "N2": 12, + "programLength": 16, + "programVocabulary": 6, + "volume": 41.3594000115385, + "difficulty": 1.2, + "effort": 49.631280013846194, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getName": { + "line": 29, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getName" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getLineRate": { + "line": 34, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getLineRate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getBranchRate": { + "line": 39, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getBranchRate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getComplexity": { + "line": 44, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getComplexity" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::calculateDeltas": { + "line": 19, + "lineCount": 14, + "argCount": 2, + "returnCount": 0, + "variableCount": 6, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 9, + "N1": 4, + "N2": 18, + "programLength": 22, + "programVocabulary": 11, + "volume": 76.10749561002054, + "difficulty": 2, + "effort": 152.21499122004107, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::calculateDeltas" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::loadBaseline": { + "line": 41, + "lineCount": 13, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 5, + "N2": 9, + "programLength": 14, + "programVocabulary": 8, + "volume": 42, + "difficulty": 2.7, + "effort": 113.4, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::loadBaseline" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::__construct": { + "line": 72, + "lineCount": 21, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 6, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 9, + "N1": 12, + "N2": 34, + "programLength": 46, + "programVocabulary": 12, + "volume": 164.90827503317317, + "difficulty": 5.666666666666666, + "effort": 934.4802251879812, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setRequiredMetricProperties": { + "line": 98, + "lineCount": 30, + "argCount": 1, + "returnCount": 0, + "variableCount": 6, + "propertyCallCount": 9, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 21, + "N1": 21, + "N2": 51, + "programLength": 72, + "programVocabulary": 24, + "volume": 330.1173000519232, + "difficulty": 3.6428571428571423, + "effort": 1202.570164474863, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setRequiredMetricProperties" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setOptionalMetricProperties": { + "line": 133, + "lineCount": 12, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 8, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 11, + "N1": 16, + "N2": 33, + "programLength": 49, + "programVocabulary": 13, + "volume": 181.32154618891352, + "difficulty": 3, + "effort": 543.9646385667405, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setOptionalMetricProperties" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setTimesChanged": { + "line": 146, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setTimesChanged" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertSame": { + "line": 151, + "lineCount": 14, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 6, + "N2": 8, + "programLength": 14, + "programVocabulary": 5, + "volume": 32.50699332842307, + "difficulty": 2.6666666666666665, + "effort": 86.68531554246152, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertSame" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::calculateDeltas": { + "line": 169, + "lineCount": 13, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 16, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 17, + "N2": 27, + "programLength": 44, + "programVocabulary": 4, + "volume": 88, + "difficulty": 13.5, + "effort": 1188, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::calculateDeltas" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::fromArray": { + "line": 187, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::fromArray" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertArrayKeyIsPresent": { + "line": 197, + "lineCount": 6, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 5, + "programLength": 5, + "programVocabulary": 2, + "volume": 5, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertArrayKeyIsPresent" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getClass": { + "line": 204, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getMethod": { + "line": 209, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getMethod" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCount": { + "line": 214, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCount": { + "line": 219, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCount": { + "line": 224, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCount": { + "line": 229, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCount": { + "line": 234, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCount": { + "line": 239, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevel": { + "line": 244, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevel" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCount": { + "line": 249, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeight": { + "line": 254, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setLineCountWeight": { + "line": 259, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setLineCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeight": { + "line": 264, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setArgCountWeight": { + "line": 269, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setArgCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeight": { + "line": 274, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setReturnCountWeight": { + "line": 279, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setReturnCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeight": { + "line": 284, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setVariableCountWeight": { + "line": 289, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setVariableCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeight": { + "line": 294, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setPropertyCallCountWeight": { + "line": 299, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setPropertyCallCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeight": { + "line": 304, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfCountWeight": { + "line": 309, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeight": { + "line": 314, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfNestingLevelWeight": { + "line": 319, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfNestingLevelWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeight": { + "line": 324, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setElseCountWeight": { + "line": 329, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setElseCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setScore": { + "line": 334, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setScore" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getScore": { + "line": 339, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getScore" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setCoverage": { + "line": 344, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCoverage": { + "line": 349, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeightDelta": { + "line": 354, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeightDelta": { + "line": 359, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeightDelta": { + "line": 364, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeightDelta": { + "line": 369, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeightDelta": { + "line": 374, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeightDelta": { + "line": 379, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeightDelta": { + "line": 384, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeightDelta": { + "line": 389, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getTimesChanged": { + "line": 394, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 2, + "programLength": 3, + "programVocabulary": 3, + "volume": 4.754887502163468, + "difficulty": 0.5, + "effort": 2.377443751081734, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getTimesChanged" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getFileName": { + "line": 399, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getFileName" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLine": { + "line": 404, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLine" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::equals": { + "line": 409, + "lineCount": 5, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 2, + "N1": 5, + "N2": 5, + "programLength": 10, + "programVocabulary": 5, + "volume": 23.21928094887362, + "difficulty": 3.75, + "effort": 87.07230355827608, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::equals" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::toArray": { + "line": 418, + "lineCount": 34, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 29, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 30, + "N1": 0, + "N2": 58, + "programLength": 58, + "programVocabulary": 30, + "volume": 284.5996545452941, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::toArray" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::jsonSerialize": { + "line": 456, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::jsonSerialize" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getHalstead": { + "line": 464, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getHalstead" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCyclomatic": { + "line": 472, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCyclomatic" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::add": { + "line": 30, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 5, + "N2": 6, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 3, + "effort": 85.30376252379816, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::add" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filter": { + "line": 40, + "lineCount": 11, + "argCount": 1, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 8, + "volume": 42, + "difficulty": 3, + "effort": 126, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filter" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getIterator": { + "line": 57, + "lineCount": 5, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getIterator" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::count": { + "line": 66, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::count" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterWithScoreGreaterThan": { + "line": 71, + "lineCount": 6, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 3, + "N2": 6, + "programLength": 9, + "programVocabulary": 5, + "volume": 20.89735285398626, + "difficulty": 2, + "effort": 41.79470570797252, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterWithScoreGreaterThan" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::contains": { + "line": 78, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 4, + "N2": 5, + "programLength": 9, + "programVocabulary": 5, + "volume": 20.89735285398626, + "difficulty": 1.6666666666666667, + "effort": 34.82892142331043, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::contains" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getClassWithMethod": { + "line": 83, + "lineCount": 9, + "argCount": 2, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 3, + "N2": 10, + "programLength": 13, + "programVocabulary": 7, + "volume": 36.49561398674886, + "difficulty": 2, + "effort": 72.99122797349771, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getClassWithMethod" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterByClassName": { + "line": 93, + "lineCount": 6, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 3, + "N2": 6, + "programLength": 9, + "programVocabulary": 5, + "volume": 20.89735285398626, + "difficulty": 2, + "effort": 41.79470570797252, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterByClassName" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::assertMetricHasGetter": { + "line": 100, + "lineCount": 9, + "argCount": 3, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 6, + "programLength": 7, + "programVocabulary": 4, + "volume": 14, + "difficulty": 1, + "effort": 14, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::assertMetricHasGetter" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::groupBy": { + "line": 117, + "lineCount": 20, + "argCount": 1, + "returnCount": 1, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 10, + "N2": 23, + "programLength": 33, + "programVocabulary": 11, + "volume": 114.16124341503081, + "difficulty": 6.571428571428571, + "effort": 750.2024567273453, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::groupBy" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::jsonSerialize": { + "line": 141, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::jsonSerialize" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::__construct": { + "line": 32, + "lineCount": 8, + "argCount": 5, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 5, + "N1": 0, + "N2": 5, + "programLength": 5, + "programVocabulary": 5, + "volume": 11.60964047443681, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collect": { + "line": 49, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 5, + "programLength": 6, + "programVocabulary": 4, + "volume": 12, + "difficulty": 0.8333333333333334, + "effort": 10, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collect" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collectFromPaths": { + "line": 62, + "lineCount": 13, + "argCount": 2, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 8, + "N2": 16, + "programLength": 24, + "programVocabulary": 9, + "volume": 76.07820003461549, + "difficulty": 4, + "effort": 304.31280013846197, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collectFromPaths" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCodeFromFile": { + "line": 79, + "lineCount": 10, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 2, + "N1": 5, + "N2": 6, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 6, + "effort": 170.6075250475963, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCodeFromFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findMetrics": { + "line": 98, + "lineCount": 31, + "argCount": 1, + "returnCount": 1, + "variableCount": 9, + "propertyCallCount": 2, + "ifNestingLevel": 2, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 13, + "N1": 18, + "N2": 38, + "programLength": 56, + "programVocabulary": 16, + "volume": 224, + "difficulty": 4.384615384615384, + "effort": 982.1538461538461, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findMetrics" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processMethodMetrics": { + "line": 136, + "lineCount": 29, + "argCount": 3, + "returnCount": 1, + "variableCount": 7, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 14, + "N1": 8, + "N2": 27, + "programLength": 35, + "programVocabulary": 17, + "volume": 143.06119944376186, + "difficulty": 2.892857142857143, + "effort": 413.8556126765968, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processMethodMetrics" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::isExcluded": { + "line": 166, + "lineCount": 12, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 5, + "N1": 5, + "N2": 9, + "programLength": 14, + "programVocabulary": 9, + "volume": 44.37895002019237, + "difficulty": 3.6, + "effort": 159.76422007269252, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::isExcluded" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findSourceFiles": { + "line": 187, + "lineCount": 7, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 2, + "N2": 6, + "programLength": 8, + "programVocabulary": 6, + "volume": 20.67970000576925, + "difficulty": 1.5, + "effort": 31.019550008653873, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findSourceFiles" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getProjectRoot": { + "line": 202, + "lineCount": 13, + "argCount": 0, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 2, + "N1": 8, + "N2": 8, + "programLength": 16, + "programVocabulary": 6, + "volume": 41.3594000115385, + "difficulty": 8, + "effort": 330.875200092308, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getProjectRoot" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateCacheKey": { + "line": 219, + "lineCount": 7, + "argCount": 2, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 6, + "N1": 10, + "N2": 12, + "programLength": 22, + "programVocabulary": 10, + "volume": 73.08241808752197, + "difficulty": 4, + "effort": 292.3296723500879, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateCacheKey" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateConfigHash": { + "line": 230, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 1, + "N1": 3, + "N2": 2, + "programLength": 5, + "programVocabulary": 3, + "volume": 7.92481250360578, + "difficulty": 2, + "effort": 15.84962500721156, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateConfigHash" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::cacheResult": { + "line": 239, + "lineCount": 14, + "argCount": 4, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 13, + "N1": 5, + "N2": 20, + "programLength": 25, + "programVocabulary": 15, + "volume": 97.67226489021297, + "difficulty": 1.5384615384615385, + "effort": 150.26502290801997, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::cacheResult" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::clearCache": { + "line": 254, + "lineCount": 4, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::clearCache" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::normalizeFilename": { + "line": 264, + "lineCount": 15, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 6, + "n2": 7, + "N1": 12, + "N2": 16, + "programLength": 28, + "programVocabulary": 13, + "volume": 103.61231210795059, + "difficulty": 6.857142857142857, + "effort": 710.4844258830897, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::normalizeFilename" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCachedMetrics": { + "line": 286, + "lineCount": 19, + "argCount": 3, + "returnCount": 3, + "variableCount": 4, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 11, + "N1": 10, + "N2": 29, + "programLength": 39, + "programVocabulary": 14, + "volume": 148.48684196024655, + "difficulty": 3.954545454545454, + "effort": 587.1979659337022, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCachedMetrics" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processFile": { + "line": 312, + "lineCount": 37, + "argCount": 5, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 7, + "n2": 10, + "N1": 12, + "N2": 28, + "programLength": 40, + "programVocabulary": 17, + "volume": 163.49851365001356, + "difficulty": 9.799999999999999, + "effort": 1602.2854337701328, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::sort": { + "line": 51, + "lineCount": 41, + "argCount": 3, + "returnCount": 2, + "variableCount": 10, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 18, + "N1": 20, + "N2": 43, + "programLength": 63, + "programVocabulary": 22, + "volume": 280.9441919741497, + "difficulty": 4.777777777777778, + "effort": 1342.2889172098264, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::sort" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getFieldValue": { + "line": 100, + "lineCount": 28, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 25, + "N1": 24, + "N2": 50, + "programLength": 74, + "programVocabulary": 27, + "volume": 351.86167516009664, + "difficulty": 2, + "effort": 703.7233503201933, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getFieldValue" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::compareValues": { + "line": 136, + "lineCount": 13, + "argCount": 2, + "returnCount": 3, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 2, + "N1": 9, + "N2": 12, + "programLength": 21, + "programVocabulary": 5, + "volume": 48.760489992634604, + "difficulty": 9, + "effort": 438.8444099337114, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::compareValues" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getSortableFields": { + "line": 155, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 0, + "N1": 0, + "N2": 0, + "programLength": 0, + "programVocabulary": 0, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getSortableFields" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__construct": { + "line": 15, + "lineCount": 11, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 7, + "N2": 12, + "programLength": 19, + "programVocabulary": 6, + "volume": 49.11428751370197, + "difficulty": 6, + "effort": 294.6857250822118, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::getValue": { + "line": 27, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::getValue" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasIncreased": { + "line": 32, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasIncreased" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__toString": { + "line": 37, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__toString" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasNotChanged": { + "line": 42, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 2, + "programLength": 3, + "programVocabulary": 3, + "volume": 4.754887502163468, + "difficulty": 0.5, + "effort": 2.377443751081734, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasNotChanged" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\FileProcessed::__construct": { + "line": 14, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\FileProcessed::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\ParserFailed::__construct": { + "line": 15, + "lineCount": 5, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\ParserFailed::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\SourceFilesFound::__construct": { + "line": 17, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\SourceFilesFound::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::__construct": { + "line": 15, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::create": { + "line": 27, + "lineCount": 10, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 6, + "N1": 0, + "N2": 8, + "programLength": 8, + "programVocabulary": 6, + "volume": 20.67970000576925, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::create" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::getSupportedTypes": { + "line": 43, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 4, + "N1": 0, + "N2": 4, + "programLength": 4, + "programVocabulary": 4, + "volume": 8, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::getSupportedTypes" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::isSupported": { + "line": 54, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 2, + "N2": 3, + "programLength": 5, + "programVocabulary": 4, + "volume": 10, + "difficulty": 1.5, + "effort": 15, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::isSupported" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CsvExporter::export": { + "line": 46, + "lineCount": 57, + "argCount": 2, + "returnCount": 0, + "variableCount": 6, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 15, + "N1": 37, + "N2": 54, + "programLength": 91, + "programVocabulary": 19, + "volume": 386.56140372336625, + "difficulty": 7.2, + "effort": 2783.242106808237, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CsvExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::export": { + "line": 40, + "lineCount": 8, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 5, + "N1": 4, + "N2": 8, + "programLength": 12, + "programVocabulary": 9, + "volume": 38.039100017307746, + "difficulty": 3.2, + "effort": 121.72512005538479, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::escape": { + "line": 49, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::escape" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::formatNumber": { + "line": 54, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::formatNumber" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::generateMetricRow": { + "line": 59, + "lineCount": 12, + "argCount": 3, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 16, + "N1": 19, + "N2": 27, + "programLength": 46, + "programVocabulary": 21, + "volume": 202.04660144782298, + "difficulty": 4.21875, + "effort": 852.3840998580032, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::generateMetricRow" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::generateHtml": { + "line": 78, + "lineCount": 64, + "argCount": 1, + "returnCount": 1, + "variableCount": 7, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 11, + "N1": 46, + "N2": 57, + "programLength": 103, + "programVocabulary": 15, + "volume": 402.40973134767745, + "difficulty": 10.363636363636363, + "effort": 4170.42812487593, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::generateHtml" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\JsonExporter::export": { + "line": 19, + "lineCount": 38, + "argCount": 2, + "returnCount": 0, + "variableCount": 5, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 27, + "N1": 29, + "N2": 58, + "programLength": 87, + "programVocabulary": 32, + "volume": 435, + "difficulty": 5.370370370370371, + "effort": 2336.1111111111113, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\JsonExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::__construct": { + "line": 24, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::export": { + "line": 36, + "lineCount": 8, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 5, + "N1": 4, + "N2": 8, + "programLength": 12, + "programVocabulary": 9, + "volume": 38.039100017307746, + "difficulty": 3.2, + "effort": 121.72512005538479, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::escape": { + "line": 48, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::escape" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateMetricCell": { + "line": 56, + "lineCount": 12, + "argCount": 3, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 12, + "N1": 16, + "N2": 24, + "programLength": 40, + "programVocabulary": 17, + "volume": 163.49851365001356, + "difficulty": 5, + "effort": 817.4925682500678, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateMetricCell" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::filterMetrics": { + "line": 75, + "lineCount": 15, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 4, + "N1": 4, + "N2": 11, + "programLength": 15, + "programVocabulary": 7, + "volume": 42.11032383086406, + "difficulty": 4.125, + "effort": 173.70508580231424, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::filterMetrics" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableHeader": { + "line": 94, + "lineCount": 33, + "argCount": 0, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 4, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 19, + "N1": 10, + "N2": 28, + "programLength": 38, + "programVocabulary": 22, + "volume": 169.4584015082173, + "difficulty": 2.2105263157894735, + "effort": 374.5922559655329, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableHeader" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableHeaderWithClass": { + "line": 131, + "lineCount": 33, + "argCount": 0, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 4, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 20, + "N1": 10, + "N2": 29, + "programLength": 39, + "programVocabulary": 23, + "volume": 176.41891628622352, + "difficulty": 2.175, + "effort": 383.7111429225361, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableHeaderWithClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableSeparator": { + "line": 168, + "lineCount": 20, + "argCount": 0, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 4, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 7, + "N1": 3, + "N2": 16, + "programLength": 19, + "programVocabulary": 10, + "volume": 63.11663380285988, + "difficulty": 3.4285714285714284, + "effort": 216.399887324091, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableSeparator" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableSeparatorWithClass": { + "line": 192, + "lineCount": 20, + "argCount": 0, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 4, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 8, + "N1": 3, + "N2": 16, + "programLength": 19, + "programVocabulary": 11, + "volume": 65.72920075410865, + "difficulty": 3, + "effort": 197.18760226232592, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableSeparatorWithClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableRow": { + "line": 216, + "lineCount": 22, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 6, + "N1": 53, + "N2": 60, + "programLength": 113, + "programVocabulary": 10, + "volume": 375.37787472227194, + "difficulty": 20, + "effort": 7507.557494445438, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableRow" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableRowWithClass": { + "line": 242, + "lineCount": 25, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 6, + "N1": 55, + "N2": 62, + "programLength": 117, + "programVocabulary": 10, + "volume": 388.66558710182136, + "difficulty": 20.666666666666668, + "effort": 8032.422133437642, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableRowWithClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::addHalsteadCells": { + "line": 274, + "lineCount": 20, + "argCount": 2, + "returnCount": 3, + "variableCount": 2, + "propertyCallCount": 5, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 12, + "N2": 24, + "programLength": 36, + "programVocabulary": 8, + "volume": 108, + "difficulty": 7.199999999999999, + "effort": 777.5999999999999, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::addHalsteadCells" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::addCyclomaticCell": { + "line": 301, + "lineCount": 16, + "argCount": 2, + "returnCount": 3, + "variableCount": 2, + "propertyCallCount": 4, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 8, + "N2": 16, + "programLength": 24, + "programVocabulary": 11, + "volume": 83.02635884729514, + "difficulty": 4.571428571428571, + "effort": 379.5490690162063, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::addCyclomaticCell" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateMarkdown": { + "line": 325, + "lineCount": 8, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 2, + "N2": 6, + "programLength": 8, + "programVocabulary": 3, + "volume": 12.679700005769249, + "difficulty": 1.5, + "effort": 19.019550008653873, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateMarkdown" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateGroupedMarkdown": { + "line": 337, + "lineCount": 49, + "argCount": 1, + "returnCount": 1, + "variableCount": 10, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 8, + "n2": 23, + "N1": 33, + "N2": 65, + "programLength": 98, + "programVocabulary": 31, + "volume": 485.5112384179137, + "difficulty": 11.304347826086957, + "effort": 5488.387912550329, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateGroupedMarkdown" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateSingleTableMarkdown": { + "line": 390, + "lineCount": 28, + "argCount": 1, + "returnCount": 1, + "variableCount": 6, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 6, + "n2": 13, + "N1": 19, + "N2": 37, + "programLength": 56, + "programVocabulary": 19, + "volume": 237.88394075284077, + "difficulty": 8.538461538461538, + "effort": 2031.1628787357943, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateSingleTableMarkdown" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::__construct": { + "line": 32, + "lineCount": 26, + "argCount": 2, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 7, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 14, + "N2": 22, + "programLength": 36, + "programVocabulary": 5, + "volume": 83.58941141594504, + "difficulty": 7.333333333333333, + "effort": 612.9890170502636, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::parse": { + "line": 63, + "lineCount": 37, + "argCount": 1, + "returnCount": 1, + "variableCount": 9, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 14, + "N1": 16, + "N2": 43, + "programLength": 59, + "programVocabulary": 17, + "volume": 241.16030763377, + "difficulty": 4.607142857142858, + "effort": 1111.0599887412977, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::parse" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::scanForAnnotations": { + "line": 104, + "lineCount": 20, + "argCount": 1, + "returnCount": 0, + "variableCount": 4, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 7, + "N1": 8, + "N2": 16, + "programLength": 24, + "programVocabulary": 10, + "volume": 79.7262742772967, + "difficulty": 3.4285714285714284, + "effort": 273.34722609358863, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::scanForAnnotations" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::traverseAbstractSyntaxTreeWithCombinedVisitor": { + "line": 129, + "lineCount": 17, + "argCount": 1, + "returnCount": 0, + "variableCount": 4, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 7, + "N1": 7, + "N2": 15, + "programLength": 22, + "programVocabulary": 10, + "volume": 73.08241808752197, + "difficulty": 3.2142857142857144, + "effort": 234.90777242417778, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::traverseAbstractSyntaxTreeWithCombinedVisitor" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getIgnored": { + "line": 153, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getIgnored" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getIgnoredClasses": { + "line": 163, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getIgnoredClasses" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getIgnoredMethods": { + "line": 173, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getIgnoredMethods" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::clearStaticCaches": { + "line": 181, + "lineCount": 15, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 9, + "N1": 7, + "N2": 19, + "programLength": 26, + "programVocabulary": 10, + "volume": 86.37013046707142, + "difficulty": 1.0555555555555556, + "effort": 91.16847104857538, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::clearStaticCaches" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::clearStaticProperty": { + "line": 200, + "lineCount": 14, + "argCount": 2, + "returnCount": 0, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 6, + "N2": 12, + "programLength": 18, + "programVocabulary": 7, + "volume": 50.53238859703688, + "difficulty": 2.4, + "effort": 121.2777326328885, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::clearStaticProperty" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getRiskLevel": { + "line": 218, + "lineCount": 9, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 8, + "N1": 3, + "N2": 11, + "programLength": 14, + "programVocabulary": 9, + "volume": 44.37895002019237, + "difficulty": 0.6875, + "effort": 30.510528138882254, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getRiskLevel" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculate": { + "line": 47, + "lineCount": 5, + "argCount": 2, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 2, + "N2": 8, + "programLength": 10, + "programVocabulary": 4, + "volume": 20, + "difficulty": 1.3333333333333333, + "effort": 26.666666666666664, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculateScore": { + "line": 53, + "lineCount": 10, + "argCount": 1, + "returnCount": 0, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 9, + "N1": 7, + "N2": 15, + "programLength": 22, + "programVocabulary": 13, + "volume": 81.40967379910403, + "difficulty": 3.3333333333333335, + "effort": 271.36557933034675, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculateScore" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculateMetricWeights": { + "line": 70, + "lineCount": 17, + "argCount": 3, + "returnCount": 0, + "variableCount": 6, + "propertyCallCount": 3, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 12, + "N1": 9, + "N2": 24, + "programLength": 33, + "programVocabulary": 15, + "volume": 128.92738965508113, + "difficulty": 3, + "effort": 386.7821689652434, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculateMetricWeights" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculateLogWeight": { + "line": 132, + "lineCount": 8, + "argCount": 3, + "returnCount": 2, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 5, + "N1": 5, + "N2": 11, + "programLength": 16, + "programVocabulary": 10, + "volume": 53.150849518197795, + "difficulty": 5.5, + "effort": 292.3296723500879, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculateLogWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cyclomatic\\CyclomaticMetrics::__construct": { + "line": 129, + "lineCount": 23, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 19, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 43, + "N1": 56, + "N2": 130, + "programLength": 186, + "programVocabulary": 45, + "volume": 1021.4846759173195, + "difficulty": 3.0232558139534884, + "effort": 3088.209485331431, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cyclomatic\\CyclomaticMetrics::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::escapeMarkdown": { + "line": 18, + "lineCount": 6, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 5, + "N1": 1, + "N2": 6, + "programLength": 7, + "programVocabulary": 6, + "volume": 18.094737505048094, + "difficulty": 0.6, + "effort": 10.856842503028856, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::escapeMarkdown" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::formatNumber": { + "line": 32, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 5, + "programLength": 6, + "programVocabulary": 4, + "volume": 12, + "difficulty": 0.8333333333333334, + "effort": 10, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::formatNumber" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::buildTableHeader": { + "line": 43, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 3, + "N2": 5, + "programLength": 8, + "programVocabulary": 6, + "volume": 20.67970000576925, + "difficulty": 1.25, + "effort": 25.84962500721156, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::buildTableHeader" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::buildTableSeparator": { + "line": 54, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 4, + "programLength": 6, + "programVocabulary": 5, + "volume": 13.931568569324174, + "difficulty": 1.3333333333333333, + "effort": 18.575424759098897, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::buildTableSeparator" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::buildTableRow": { + "line": 65, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 3, + "N2": 5, + "programLength": 8, + "programVocabulary": 6, + "volume": 20.67970000576925, + "difficulty": 1.25, + "effort": 25.84962500721156, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::buildTableRow" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::formatPercentage": { + "line": 77, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 2, + "N2": 6, + "programLength": 8, + "programVocabulary": 6, + "volume": 20.67970000576925, + "difficulty": 1.5, + "effort": 31.019550008653873, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::formatPercentage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::escapeMarkdown": { + "line": 18, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 5, + "N1": 1, + "N2": 6, + "programLength": 7, + "programVocabulary": 6, + "volume": 18.094737505048094, + "difficulty": 0.6, + "effort": 10.856842503028856, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::escapeMarkdown" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::formatNumber": { + "line": 30, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 5, + "programLength": 6, + "programVocabulary": 4, + "volume": 12, + "difficulty": 0.8333333333333334, + "effort": 10, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::formatNumber" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::buildMarkdownTableHeader": { + "line": 41, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 3, + "N2": 5, + "programLength": 8, + "programVocabulary": 6, + "volume": 20.67970000576925, + "difficulty": 1.25, + "effort": 25.84962500721156, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::buildMarkdownTableHeader" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::buildMarkdownTableSeparator": { + "line": 52, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 4, + "programLength": 6, + "programVocabulary": 5, + "volume": 13.931568569324174, + "difficulty": 1.3333333333333333, + "effort": 18.575424759098897, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::buildMarkdownTableSeparator" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::buildMarkdownTableRow": { + "line": 63, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 3, + "N2": 5, + "programLength": 8, + "programVocabulary": 6, + "volume": 20.67970000576925, + "difficulty": 1.25, + "effort": 25.84962500721156, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::buildMarkdownTableRow" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::formatMarkdownPercentage": { + "line": 75, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 2, + "N2": 6, + "programLength": 8, + "programVocabulary": 6, + "volume": 20.67970000576925, + "difficulty": 1.5, + "effort": 31.019550008653873, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::formatMarkdownPercentage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Halstead\\HalsteadMetrics::__construct": { + "line": 33, + "lineCount": 13, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 10, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 12, + "N1": 10, + "N2": 31, + "programLength": 41, + "programVocabulary": 13, + "volume": 151.7180284437848, + "difficulty": 1.2916666666666667, + "effort": 195.96912007322203, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Halstead\\HalsteadMetrics::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Halstead\\HalsteadMetrics::getVolume": { + "line": 47, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Halstead\\HalsteadMetrics::getVolume" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::__construct": { + "line": 32, + "lineCount": 9, + "argCount": 5, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 7, + "N1": 2, + "N2": 7, + "programLength": 9, + "programVocabulary": 9, + "volume": 28.52932501298081, + "difficulty": 1, + "effort": 28.52932501298081, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::getChurnExporterFactory": { + "line": 45, + "lineCount": 7, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 1, + "N1": 2, + "N2": 3, + "programLength": 5, + "programVocabulary": 3, + "volume": 7.92481250360578, + "difficulty": 3, + "effort": 23.774437510817343, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::getChurnExporterFactory" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::getCognitiveExporterFactory": { + "line": 56, + "lineCount": 7, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 1, + "N1": 3, + "N2": 4, + "programLength": 7, + "programVocabulary": 4, + "volume": 14, + "difficulty": 6, + "effort": 84, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::getCognitiveExporterFactory" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::getCognitiveMetrics": { + "line": 72, + "lineCount": 10, + "argCount": 1, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 3, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 5, + "N2": 11, + "programLength": 16, + "programVocabulary": 6, + "volume": 41.3594000115385, + "difficulty": 2.75, + "effort": 113.73835003173087, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::getCognitiveMetrics" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::getCognitiveMetricsFromPaths": { + "line": 92, + "lineCount": 16, + "argCount": 2, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 8, + "N2": 18, + "programLength": 26, + "programVocabulary": 9, + "volume": 82.41805003750011, + "difficulty": 4.5, + "effort": 370.88122516875046, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::getCognitiveMetricsFromPaths" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::calculateChurn": { + "line": 118, + "lineCount": 18, + "argCount": 4, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 10, + "N1": 8, + "N2": 21, + "programLength": 29, + "programVocabulary": 12, + "volume": 103.96391252091352, + "difficulty": 2.1, + "effort": 218.3242162939184, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::calculateChurn" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::loadConfig": { + "line": 143, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::loadConfig" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::getConfig": { + "line": 148, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::getConfig" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::exportChurnReport": { + "line": 156, + "lineCount": 9, + "argCount": 3, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 4, + "N1": 3, + "N2": 7, + "programLength": 10, + "programVocabulary": 5, + "volume": 23.21928094887362, + "difficulty": 0.875, + "effort": 20.316870830264417, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::exportChurnReport" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::exportMetricsReport": { + "line": 168, + "lineCount": 8, + "argCount": 3, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 4, + "N2": 9, + "programLength": 13, + "programVocabulary": 7, + "volume": 36.49561398674886, + "difficulty": 1.8, + "effort": 65.69210517614795, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::exportMetricsReport" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::clearCache": { + "line": 177, + "lineCount": 4, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::clearCache" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::addCoverageToMetric": { + "line": 185, + "lineCount": 20, + "argCount": 2, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 11, + "N2": 18, + "programLength": 29, + "programVocabulary": 11, + "volume": 100.32351694048162, + "difficulty": 5.142857142857143, + "effort": 515.9495156939055, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::addCoverageToMetric" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::addMethodLevelCoverage": { + "line": 209, + "lineCount": 16, + "argCount": 2, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 9, + "N2": 15, + "programLength": 24, + "programVocabulary": 7, + "volume": 67.3765181293825, + "difficulty": 3, + "effort": 202.1295543881475, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::addMethodLevelCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Traits\\CoverageDataDetector::hasCoverageData": { + "line": 18, + "lineCount": 10, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 3, + "N2": 7, + "programLength": 10, + "programVocabulary": 6, + "volume": 25.84962500721156, + "difficulty": 3.5, + "effort": 90.47368752524046, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Traits\\CoverageDataDetector::hasCoverageData" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Utility\\Datetime::__construct": { + "line": 19, + "lineCount": 9, + "argCount": 0, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 1, + "n2": 0, + "N1": 1, + "N2": 0, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Utility\\Datetime::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Utility\\DirectoryScanner::scan": { + "line": 29, + "lineCount": 14, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 5, + "N2": 14, + "programLength": 19, + "programVocabulary": 6, + "volume": 49.11428751370197, + "difficulty": 3.5, + "effort": 171.90000629795688, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Utility\\DirectoryScanner::scan" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Utility\\DirectoryScanner::assertValidPath": { + "line": 47, + "lineCount": 6, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 1.5, + "effort": 6, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Utility\\DirectoryScanner::assertValidPath" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Utility\\DirectoryScanner::yieldFileIfNotExcluded": { + "line": 59, + "lineCount": 8, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 2, + "N2": 8, + "programLength": 10, + "programVocabulary": 6, + "volume": 25.84962500721156, + "difficulty": 2, + "effort": 51.69925001442312, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Utility\\DirectoryScanner::yieldFileIfNotExcluded" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Utility\\DirectoryScanner::traverseDirectory": { + "line": 76, + "lineCount": 15, + "argCount": 2, + "returnCount": 0, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 6, + "N1": 4, + "N2": 13, + "programLength": 17, + "programVocabulary": 8, + "volume": 51, + "difficulty": 2.1666666666666665, + "effort": 110.49999999999999, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Utility\\DirectoryScanner::traverseDirectory" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Utility\\DirectoryScanner::sortFilesByPathname": { + "line": 97, + "lineCount": 6, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 4, + "N2": 6, + "programLength": 10, + "programVocabulary": 5, + "volume": 23.21928094887362, + "difficulty": 2, + "effort": 46.43856189774724, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Utility\\DirectoryScanner::sortFilesByPathname" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Utility\\DirectoryScanner::getFilesFromIterator": { + "line": 111, + "lineCount": 11, + "argCount": 2, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 5, + "N2": 12, + "programLength": 17, + "programVocabulary": 8, + "volume": 51, + "difficulty": 3.5999999999999996, + "effort": 183.6, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Utility\\DirectoryScanner::getFilesFromIterator" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Utility\\DirectoryScanner::isExcluded": { + "line": 130, + "lineCount": 12, + "argCount": 2, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 5, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 9, + "volume": 47.548875021634686, + "difficulty": 4, + "effort": 190.19550008653874, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Utility\\DirectoryScanner::isExcluded" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\CacheItem::__construct": { + "line": 20, + "lineCount": 6, + "argCount": 3, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 3, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 1, + "n2": 4, + "N1": 3, + "N2": 9, + "programLength": 12, + "programVocabulary": 5, + "volume": 27.863137138648348, + "difficulty": 1.125, + "effort": 31.34602928097939, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\CacheItem::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\CacheItem::getKey": { + "line": 27, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\CacheItem::getKey" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\CacheItem::get": { + "line": 32, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\CacheItem::get" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\CacheItem::set": { + "line": 37, + "lineCount": 5, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 4, + "programLength": 5, + "programVocabulary": 3, + "volume": 7.92481250360578, + "difficulty": 1, + "effort": 7.92481250360578, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\CacheItem::set" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\CacheItem::isHit": { + "line": 43, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\CacheItem::isHit" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\CacheItem::setExpiration": { + "line": 48, + "lineCount": 6, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\CacheItem::setExpiration" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\CacheItem::getExpiration": { + "line": 55, + "lineCount": 5, + "argCount": 0, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 0, + "n2": 0, + "N1": 0, + "N2": 0, + "programLength": 0, + "programVocabulary": 0, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\CacheItem::getExpiration" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\CacheItem::expiresAt": { + "line": 61, + "lineCount": 6, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\CacheItem::expiresAt" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\CacheItem::expiresAfter": { + "line": 68, + "lineCount": 6, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\CacheItem::expiresAfter" + } + } + }, + "ignored_items": [], + "cached_at": 1759967601 +} \ No newline at end of file diff --git a/.phpcca.cache/e4/e42dae32fc5c6a37ae8340e84d857f29.cache b/.phpcca.cache/e4/e42dae32fc5c6a37ae8340e84d857f29.cache new file mode 100644 index 0000000..7106dee --- /dev/null +++ b/.phpcca.cache/e4/e42dae32fc5c6a37ae8340e84d857f29.cache @@ -0,0 +1,4986 @@ +{ + "version": "1.0", + "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/PhpParser\/HalsteadMetricsVisitor.php", + "file_mtime": 1759791861, + "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", + "analysis_result": { + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::__construct": { + "line": 26, + "lineCount": 5, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 4, + "N1": 3, + "N2": 6, + "programLength": 9, + "programVocabulary": 7, + "volume": 25.26619429851844, + "difficulty": 2.25, + "effort": 56.848937171666485, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItem": { + "line": 35, + "lineCount": 15, + "argCount": 1, + "returnCount": 3, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 6, + "N2": 13, + "programLength": 19, + "programVocabulary": 8, + "volume": 57, + "difficulty": 6.5, + "effort": 370.5, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItem" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItems": { + "line": 55, + "lineCount": 9, + "argCount": 1, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 3, + "N2": 9, + "programLength": 12, + "programVocabulary": 6, + "volume": 31.019550008653873, + "difficulty": 2.25, + "effort": 69.79398751947122, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItems" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::hasItem": { + "line": 68, + "lineCount": 6, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 5, + "n2": 3, + "N1": 6, + "N2": 7, + "programLength": 13, + "programVocabulary": 8, + "volume": 39, + "difficulty": 5.833333333333334, + "effort": 227.50000000000003, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::hasItem" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::clear": { + "line": 75, + "lineCount": 10, + "argCount": 0, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 2, + "N2": 4, + "programLength": 6, + "programVocabulary": 3, + "volume": 9.509775004326936, + "difficulty": 1, + "effort": 9.509775004326936, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::clear" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItem": { + "line": 89, + "lineCount": 10, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 4, + "N2": 6, + "programLength": 10, + "programVocabulary": 6, + "volume": 25.84962500721156, + "difficulty": 3, + "effort": 77.54887502163469, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItem" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItems": { + "line": 103, + "lineCount": 10, + "argCount": 1, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 3, + "N2": 8, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 2, + "effort": 56.86917501586544, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItems" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::save": { + "line": 117, + "lineCount": 11, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 4, + "N1": 9, + "N2": 12, + "programLength": 21, + "programVocabulary": 7, + "volume": 58.95445336320969, + "difficulty": 4.5, + "effort": 265.2950401344436, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::save" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveDeferred": { + "line": 129, + "lineCount": 6, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveDeferred" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::commit": { + "line": 136, + "lineCount": 11, + "argCount": 0, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 4, + "N2": 8, + "programLength": 12, + "programVocabulary": 5, + "volume": 27.863137138648348, + "difficulty": 2.6666666666666665, + "effort": 74.30169903639559, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::commit" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::ensureCacheDirectory": { + "line": 152, + "lineCount": 9, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 3, + "N2": 4, + "programLength": 7, + "programVocabulary": 4, + "volume": 14, + "difficulty": 2, + "effort": 28, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::ensureCacheDirectory" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getCacheFilePath": { + "line": 168, + "lineCount": 15, + "argCount": 1, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 10, + "N1": 13, + "N2": 19, + "programLength": 32, + "programVocabulary": 14, + "volume": 121.83535750584333, + "difficulty": 3.8, + "effort": 462.9743585222046, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getCacheFilePath" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::loadCacheData": { + "line": 187, + "lineCount": 14, + "argCount": 1, + "returnCount": 3, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 6, + "N2": 8, + "programLength": 14, + "programVocabulary": 6, + "volume": 36.18947501009619, + "difficulty": 4, + "effort": 144.75790004038475, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::loadCacheData" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveCacheData": { + "line": 209, + "lineCount": 21, + "argCount": 2, + "returnCount": 3, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 6, + "n2": 7, + "N1": 13, + "N2": 17, + "programLength": 30, + "programVocabulary": 13, + "volume": 111.01319154423277, + "difficulty": 7.285714285714285, + "effort": 808.810395536553, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveCacheData" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::sanitizeUtf8": { + "line": 234, + "lineCount": 25, + "argCount": 1, + "returnCount": 4, + "variableCount": 6, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 8, + "N1": 13, + "N2": 29, + "programLength": 42, + "programVocabulary": 11, + "volume": 145.29612798276648, + "difficulty": 5.4375, + "effort": 790.0476959062927, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::sanitizeUtf8" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::removeDirectory": { + "line": 260, + "lineCount": 23, + "argCount": 1, + "returnCount": 2, + "variableCount": 5, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 5, + "n2": 9, + "N1": 13, + "N2": 20, + "programLength": 33, + "programVocabulary": 14, + "volume": 125.64271242790093, + "difficulty": 5.555555555555555, + "effort": 698.0150690438941, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::removeDirectory" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::__construct": { + "line": 42, + "lineCount": 7, + "argCount": 3, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 3, + "N1": 0, + "N2": 3, + "programLength": 3, + "programVocabulary": 3, + "volume": 4.754887502163468, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::configure": { + "line": 53, + "lineCount": 57, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 15, + "N1": 9, + "N2": 16, + "programLength": 25, + "programVocabulary": 16, + "volume": 100, + "difficulty": 0.5333333333333333, + "effort": 53.333333333333336, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::configure" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::execute": { + "line": 119, + "lineCount": 43, + "argCount": 2, + "returnCount": 5, + "variableCount": 9, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 4, + "halstead": { + "n1": 7, + "n2": 14, + "N1": 31, + "N2": 45, + "programLength": 76, + "programVocabulary": 21, + "volume": 333.8161241311858, + "difficulty": 11.25, + "effort": 3755.4313964758403, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::execute" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::loadCoverageReader": { + "line": 171, + "lineCount": 32, + "argCount": 3, + "returnCount": 4, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 2, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 4, + "n2": 9, + "N1": 9, + "N2": 21, + "programLength": 30, + "programVocabulary": 13, + "volume": 111.01319154423277, + "difficulty": 4.666666666666667, + "effort": 518.0615605397529, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::loadCoverageReader" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::detectCoverageFormat": { + "line": 207, + "lineCount": 19, + "argCount": 1, + "returnCount": 4, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 9, + "volume": 47.548875021634686, + "difficulty": 2.5, + "effort": 118.87218755408671, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::detectCoverageFormat" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::coverageFileExists": { + "line": 227, + "lineCount": 20, + "argCount": 2, + "returnCount": 3, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 4, + "N2": 7, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 3.5, + "effort": 99.52105627776452, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::coverageFileExists" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::__construct": { + "line": 49, + "lineCount": 10, + "argCount": 6, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 6, + "N1": 0, + "N2": 6, + "programLength": 6, + "programVocabulary": 6, + "volume": 15.509775004326936, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::configure": { + "line": 63, + "lineCount": 76, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 20, + "N1": 13, + "N2": 20, + "programLength": 33, + "programVocabulary": 21, + "volume": 144.94647495169912, + "difficulty": 0.5, + "effort": 72.47323747584956, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::configure" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::execute": { + "line": 150, + "lineCount": 52, + "argCount": 2, + "returnCount": 5, + "variableCount": 11, + "propertyCallCount": 6, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 7, + "halstead": { + "n1": 6, + "n2": 15, + "N1": 43, + "N2": 61, + "programLength": 104, + "programVocabulary": 21, + "volume": 456.80101196899113, + "difficulty": 12.2, + "effort": 5572.972346021692, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::execute" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::parsePaths": { + "line": 209, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 4, + "N2": 8, + "programLength": 12, + "programVocabulary": 7, + "volume": 33.68825906469125, + "difficulty": 1.6, + "effort": 53.901214503506004, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::parsePaths" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleBaseLine": { + "line": 224, + "lineCount": 8, + "argCount": 2, + "returnCount": 0, + "variableCount": 3, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 5, + "N2": 11, + "programLength": 16, + "programVocabulary": 7, + "volume": 44.91767875292167, + "difficulty": 2.2, + "effort": 98.81889325642767, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleBaseLine" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleCoverageOptions": { + "line": 238, + "lineCount": 20, + "argCount": 2, + "returnCount": 3, + "variableCount": 5, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 5, + "n2": 10, + "N1": 15, + "N2": 25, + "programLength": 40, + "programVocabulary": 15, + "volume": 156.27562382434076, + "difficulty": 6.25, + "effort": 976.7226489021298, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleCoverageOptions" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::applySorting": { + "line": 264, + "lineCount": 21, + "argCount": 3, + "returnCount": 3, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 15, + "N1": 16, + "N2": 32, + "programLength": 48, + "programVocabulary": 20, + "volume": 207.45254855459342, + "difficulty": 5.333333333333333, + "effort": 1106.4135922911648, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::applySorting" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadConfiguration": { + "line": 293, + "lineCount": 10, + "argCount": 2, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 6, + "N1": 5, + "N2": 9, + "programLength": 14, + "programVocabulary": 8, + "volume": 42, + "difficulty": 1.5, + "effort": 63, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadConfiguration" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadCoverageReader": { + "line": 313, + "lineCount": 28, + "argCount": 3, + "returnCount": 4, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 2, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 10, + "N2": 18, + "programLength": 28, + "programVocabulary": 11, + "volume": 96.86408532184433, + "difficulty": 5.142857142857143, + "effort": 498.15815308377086, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadCoverageReader" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::detectCoverageFormat": { + "line": 345, + "lineCount": 19, + "argCount": 1, + "returnCount": 4, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 9, + "volume": 47.548875021634686, + "difficulty": 2.5, + "effort": 118.87218755408671, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::detectCoverageFormat" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::coverageFileExists": { + "line": 365, + "lineCount": 20, + "argCount": 2, + "returnCount": 3, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 4, + "N2": 7, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 3.5, + "effort": 99.52105627776452, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::coverageFileExists" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__construct": { + "line": 12, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__invoke": { + "line": 17, + "lineCount": 22, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 3, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 10, + "N2": 11, + "programLength": 21, + "programVocabulary": 7, + "volume": 58.95445336320969, + "difficulty": 2.2, + "effort": 129.6997973990613, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__invoke" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__construct": { + "line": 21, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__invoke": { + "line": 26, + "lineCount": 11, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 4, + "N2": 9, + "programLength": 13, + "programVocabulary": 4, + "volume": 26, + "difficulty": 4.5, + "effort": 117, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__invoke" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleSourceFilesFound": { + "line": 38, + "lineCount": 6, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 4, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 6, + "N2": 10, + "programLength": 16, + "programVocabulary": 8, + "volume": 48, + "difficulty": 5, + "effort": 240, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleSourceFilesFound" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleFileProcessed": { + "line": 45, + "lineCount": 5, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleFileProcessed" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleAllFilesProcessed": { + "line": 51, + "lineCount": 6, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 3, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 3, + "N2": 5, + "programLength": 8, + "programVocabulary": 5, + "volume": 18.575424759098897, + "difficulty": 1.6666666666666667, + "effort": 30.95904126516483, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleAllFilesProcessed" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__construct": { + "line": 20, + "lineCount": 5, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__invoke": { + "line": 26, + "lineCount": 17, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 5, + "n2": 8, + "N1": 17, + "N2": 17, + "programLength": 34, + "programVocabulary": 13, + "volume": 125.81495041679713, + "difficulty": 5.3125, + "effort": 668.3919240892347, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__invoke" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::formatBytes": { + "line": 50, + "lineCount": 12, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 7, + "n2": 13, + "N1": 10, + "N2": 22, + "programLength": 32, + "programVocabulary": 20, + "volume": 138.3016990363956, + "difficulty": 5.923076923076923, + "effort": 819.1716019848047, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::formatBytes" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::isDebugEnabled": { + "line": 66, + "lineCount": 5, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 1, + "N1": 4, + "N2": 2, + "programLength": 6, + "programVocabulary": 4, + "volume": 12, + "difficulty": 3, + "effort": 36, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::isDebugEnabled" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::__construct": { + "line": 20, + "lineCount": 6, + "argCount": 2, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 4, + "volume": 8, + "difficulty": 0.5, + "effort": 4, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::exportToFile": { + "line": 32, + "lineCount": 27, + "argCount": 3, + "returnCount": 4, + "variableCount": 2, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 1, + "n2": 6, + "N1": 6, + "N2": 19, + "programLength": 25, + "programVocabulary": 7, + "volume": 70.1838730514401, + "difficulty": 1.5833333333333333, + "effort": 111.12446566478016, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::exportToFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::hasIncompleteReportOptions": { + "line": 60, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 2, + "N1": 7, + "N2": 6, + "programLength": 13, + "programVocabulary": 6, + "volume": 33.60451250937503, + "difficulty": 6, + "effort": 201.62707505625016, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::hasIncompleteReportOptions" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::isValidReportType": { + "line": 65, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 2, + "N2": 4, + "programLength": 6, + "programVocabulary": 4, + "volume": 12, + "difficulty": 2, + "effort": 24, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::isValidReportType" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleExceptions": { + "line": 77, + "lineCount": 9, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 3, + "N2": 4, + "programLength": 7, + "programVocabulary": 5, + "volume": 16.253496664211536, + "difficulty": 1.3333333333333333, + "effort": 21.67132888561538, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleExceptions" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleInvalidReportType": { + "line": 91, + "lineCount": 11, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 5, + "N2": 8, + "programLength": 13, + "programVocabulary": 8, + "volume": 39, + "difficulty": 2.4000000000000004, + "effort": 93.60000000000001, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleInvalidReportType" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::__construct": { + "line": 15, + "lineCount": 5, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handle": { + "line": 24, + "lineCount": 27, + "argCount": 3, + "returnCount": 4, + "variableCount": 2, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 1, + "n2": 6, + "N1": 6, + "N2": 19, + "programLength": 25, + "programVocabulary": 7, + "volume": 70.1838730514401, + "difficulty": 1.5833333333333333, + "effort": 111.12446566478016, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handle" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::hasIncompleteReportOptions": { + "line": 52, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 2, + "N1": 7, + "N2": 6, + "programLength": 13, + "programVocabulary": 6, + "volume": 33.60451250937503, + "difficulty": 6, + "effort": 201.62707505625016, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::hasIncompleteReportOptions" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::isValidReportType": { + "line": 57, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 5, + "N1": 1, + "N2": 6, + "programLength": 7, + "programVocabulary": 6, + "volume": 18.094737505048094, + "difficulty": 0.6, + "effort": 10.856842503028856, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::isValidReportType" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handleExceptions": { + "line": 66, + "lineCount": 9, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 3, + "N2": 4, + "programLength": 7, + "programVocabulary": 5, + "volume": 16.253496664211536, + "difficulty": 1.3333333333333333, + "effort": 21.67132888561538, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handleExceptions" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handleInvalidReporType": { + "line": 80, + "lineCount": 9, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 4, + "programLength": 6, + "programVocabulary": 5, + "volume": 13.931568569324174, + "difficulty": 1.3333333333333333, + "effort": 18.575424759098897, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handleInvalidReporType" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::__construct": { + "line": 42, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::reportWritten": { + "line": 47, + "lineCount": 7, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 4, + "programLength": 6, + "programVocabulary": 5, + "volume": 13.931568569324174, + "difficulty": 1.3333333333333333, + "effort": 18.575424759098897, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::reportWritten" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::renderChurnTable": { + "line": 59, + "lineCount": 35, + "argCount": 1, + "returnCount": 0, + "variableCount": 6, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 8, + "n2": 18, + "N1": 21, + "N2": 53, + "programLength": 74, + "programVocabulary": 26, + "volume": 347.8325391424408, + "difficulty": 11.777777777777779, + "effort": 4096.694349899859, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::renderChurnTable" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricSummaryTextRenderer::__construct": { + "line": 18, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricSummaryTextRenderer::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricSummaryTextRenderer::render": { + "line": 23, + "lineCount": 32, + "argCount": 2, + "returnCount": 0, + "variableCount": 6, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 6, + "n2": 16, + "N1": 27, + "N2": 38, + "programLength": 65, + "programVocabulary": 22, + "volume": 289.86305521142435, + "difficulty": 7.125, + "effort": 2065.2742683813985, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricSummaryTextRenderer::render" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::__construct": { + "line": 27, + "lineCount": 5, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::metricExceedsThreshold": { + "line": 33, + "lineCount": 6, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 2, + "N1": 3, + "N2": 5, + "programLength": 8, + "programVocabulary": 5, + "volume": 18.575424759098897, + "difficulty": 3.75, + "effort": 69.65784284662087, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::metricExceedsThreshold" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::hasCoverageInCollection": { + "line": 43, + "lineCount": 10, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 2, + "N2": 4, + "programLength": 6, + "programVocabulary": 4, + "volume": 12, + "difficulty": 2, + "effort": 24, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::hasCoverageInCollection" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::render": { + "line": 58, + "lineCount": 17, + "argCount": 2, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 6, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 9, + "N2": 25, + "programLength": 34, + "programVocabulary": 6, + "volume": 87.8887250245193, + "difficulty": 6.25, + "effort": 549.3045314032456, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::render" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderGroupedByClass": { + "line": 81, + "lineCount": 19, + "argCount": 3, + "returnCount": 0, + "variableCount": 6, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 5, + "n2": 11, + "N1": 11, + "N2": 25, + "programLength": 36, + "programVocabulary": 16, + "volume": 144, + "difficulty": 5.6818181818181825, + "effort": 818.1818181818182, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderGroupedByClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::buildRowsForClass": { + "line": 106, + "lineCount": 13, + "argCount": 2, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 4, + "N2": 12, + "programLength": 16, + "programVocabulary": 7, + "volume": 44.91767875292167, + "difficulty": 2.4, + "effort": 107.802429007012, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::buildRowsForClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::getFilenameFromMetrics": { + "line": 123, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 5, + "programLength": 6, + "programVocabulary": 4, + "volume": 12, + "difficulty": 0.8333333333333334, + "effort": 10, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::getFilenameFromMetrics" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderAllMethodsInSingleTable": { + "line": 136, + "lineCount": 12, + "argCount": 3, + "returnCount": 0, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 6, + "N2": 15, + "programLength": 21, + "programVocabulary": 11, + "volume": 72.64806399138324, + "difficulty": 4.285714285714286, + "effort": 311.34884567735673, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderAllMethodsInSingleTable" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::buildRowsForSingleTable": { + "line": 154, + "lineCount": 13, + "argCount": 2, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 4, + "N2": 12, + "programLength": 16, + "programVocabulary": 7, + "volume": 44.91767875292167, + "difficulty": 2.4, + "effort": 107.802429007012, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::buildRowsForSingleTable" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderTableCommon": { + "line": 173, + "lineCount": 19, + "argCount": 4, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 8, + "N1": 7, + "N2": 19, + "programLength": 26, + "programVocabulary": 10, + "volume": 86.37013046707142, + "difficulty": 2.375, + "effort": 205.1290598592946, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderTableCommon" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderTable": { + "line": 196, + "lineCount": 13, + "argCount": 4, + "returnCount": 0, + "variableCount": 3, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 7, + "N1": 4, + "N2": 14, + "programLength": 18, + "programVocabulary": 9, + "volume": 57.05865002596162, + "difficulty": 2, + "effort": 114.11730005192324, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderTable" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderSingleTable": { + "line": 213, + "lineCount": 11, + "argCount": 3, + "returnCount": 0, + "variableCount": 3, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 6, + "N1": 4, + "N2": 12, + "programLength": 16, + "programVocabulary": 8, + "volume": 48, + "difficulty": 2, + "effort": 96, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderSingleTable" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::__construct": { + "line": 16, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatScore": { + "line": 21, + "lineCount": 6, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 6, + "N1": 5, + "N2": 9, + "programLength": 14, + "programVocabulary": 8, + "volume": 42, + "difficulty": 1.5, + "effort": 63, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatScore" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadVolume": { + "line": 28, + "lineCount": 14, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 10, + "N1": 9, + "N2": 17, + "programLength": 26, + "programVocabulary": 15, + "volume": 101.57915548582149, + "difficulty": 4.25, + "effort": 431.7114108147413, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadVolume" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadDifficulty": { + "line": 43, + "lineCount": 13, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 10, + "N1": 8, + "N2": 17, + "programLength": 25, + "programVocabulary": 14, + "volume": 95.1838730514401, + "difficulty": 3.4, + "effort": 323.62516837489636, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadDifficulty" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadEffort": { + "line": 57, + "lineCount": 13, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 10, + "N1": 8, + "N2": 17, + "programLength": 25, + "programVocabulary": 14, + "volume": 95.1838730514401, + "difficulty": 3.4, + "effort": 323.62516837489636, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadEffort" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatCyclomaticComplexity": { + "line": 71, + "lineCount": 13, + "argCount": 1, + "returnCount": 3, + "variableCount": 4, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 5, + "n2": 9, + "N1": 9, + "N2": 18, + "programLength": 27, + "programVocabulary": 14, + "volume": 102.79858289555531, + "difficulty": 5, + "effort": 513.9929144777766, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatCyclomaticComplexity" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::colorCyclomaticRisk": { + "line": 85, + "lineCount": 8, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 7, + "N1": 5, + "N2": 11, + "programLength": 16, + "programVocabulary": 9, + "volume": 50.718800023076994, + "difficulty": 1.5714285714285714, + "effort": 79.70097146483528, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::colorCyclomaticRisk" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::__construct": { + "line": 17, + "lineCount": 5, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::getGroupedTableHeaders": { + "line": 28, + "lineCount": 16, + "argCount": 0, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 10, + "N2": 17, + "programLength": 27, + "programVocabulary": 6, + "volume": 69.79398751947122, + "difficulty": 4.25, + "effort": 296.62444695775264, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::getGroupedTableHeaders" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCoverageHeader": { + "line": 49, + "lineCount": 10, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 6, + "programLength": 7, + "programVocabulary": 4, + "volume": 14, + "difficulty": 1, + "effort": 14, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCoverageHeader" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::getSingleTableHeaders": { + "line": 65, + "lineCount": 20, + "argCount": 0, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 6, + "N1": 9, + "N2": 18, + "programLength": 27, + "programVocabulary": 8, + "volume": 81, + "difficulty": 3, + "effort": 243, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::getSingleTableHeaders" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addHalsteadHeaders": { + "line": 92, + "lineCount": 10, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 1, + "n2": 5, + "N1": 3, + "N2": 9, + "programLength": 12, + "programVocabulary": 6, + "volume": 31.019550008653873, + "difficulty": 0.9, + "effort": 27.917595007788485, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addHalsteadHeaders" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCyclomaticHeaders": { + "line": 109, + "lineCount": 8, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 5, + "programLength": 6, + "programVocabulary": 4, + "volume": 12, + "difficulty": 0.8333333333333334, + "effort": 10, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCyclomaticHeaders" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCognitiveMetricDetails": { + "line": 122, + "lineCount": 16, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 10, + "N1": 2, + "N2": 13, + "programLength": 15, + "programVocabulary": 12, + "volume": 53.77443751081734, + "difficulty": 1.3, + "effort": 69.90676876406255, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCognitiveMetricDetails" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::__construct": { + "line": 21, + "lineCount": 6, + "argCount": 3, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 3, + "N1": 0, + "N2": 3, + "programLength": 3, + "programVocabulary": 3, + "volume": 4.754887502163468, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::buildRow": { + "line": 34, + "lineCount": 16, + "argCount": 1, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 10, + "N2": 24, + "programLength": 34, + "programVocabulary": 7, + "volume": 95.45006734995854, + "difficulty": 4.8, + "effort": 458.160323279801, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::buildRow" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::buildRowWithClassInfo": { + "line": 57, + "lineCount": 16, + "argCount": 1, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 10, + "N2": 24, + "programLength": 34, + "programVocabulary": 7, + "volume": 95.45006734995854, + "difficulty": 4.8, + "effort": 458.160323279801, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::buildRowWithClassInfo" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::metricsToArray": { + "line": 79, + "lineCount": 8, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 3, + "N2": 7, + "programLength": 10, + "programVocabulary": 6, + "volume": 25.84962500721156, + "difficulty": 1.75, + "effort": 45.23684376262023, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::metricsToArray" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::metricsToArrayWithClassInfo": { + "line": 93, + "lineCount": 9, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 4, + "N2": 9, + "programLength": 13, + "programVocabulary": 7, + "volume": 36.49561398674886, + "difficulty": 1.8, + "effort": 65.69210517614795, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::metricsToArrayWithClassInfo" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addHalsteadFields": { + "line": 109, + "lineCount": 10, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 6, + "N1": 6, + "N2": 16, + "programLength": 22, + "programVocabulary": 8, + "volume": 66, + "difficulty": 2.6666666666666665, + "effort": 176, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addHalsteadFields" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addCyclomaticFields": { + "line": 126, + "lineCount": 8, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 2, + "N2": 8, + "programLength": 10, + "programVocabulary": 6, + "volume": 25.84962500721156, + "difficulty": 2, + "effort": 51.69925001442312, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addCyclomaticFields" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addWeightedValue": { + "line": 141, + "lineCount": 10, + "argCount": 3, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 11, + "N1": 13, + "N2": 22, + "programLength": 35, + "programVocabulary": 15, + "volume": 136.74117084629816, + "difficulty": 4, + "effort": 546.9646833851926, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addWeightedValue" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addDelta": { + "line": 158, + "lineCount": 20, + "argCount": 3, + "returnCount": 3, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 6, + "n2": 13, + "N1": 19, + "N2": 30, + "programLength": 49, + "programVocabulary": 19, + "volume": 208.14844815873568, + "difficulty": 6.9230769230769225, + "effort": 1441.0277180220162, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::getKeys": { + "line": 184, + "lineCount": 17, + "argCount": 0, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 0, + "n2": 9, + "N1": 0, + "N2": 9, + "programLength": 9, + "programVocabulary": 9, + "volume": 28.52932501298081, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::getKeys" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::assertDeltaMethodExists": { + "line": 205, + "lineCount": 6, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 6, + "programLength": 8, + "programVocabulary": 5, + "volume": 18.575424759098897, + "difficulty": 2, + "effort": 37.150849518197795, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::assertDeltaMethodExists" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addCoverageValue": { + "line": 216, + "lineCount": 11, + "argCount": 2, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 7, + "N1": 7, + "N2": 15, + "programLength": 22, + "programVocabulary": 12, + "volume": 78.86917501586544, + "difficulty": 5.357142857142857, + "effort": 422.51343758499337, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addCoverageValue" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::extracted": { + "line": 233, + "lineCount": 22, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 12, + "N1": 19, + "N2": 34, + "programLength": 53, + "programVocabulary": 15, + "volume": 207.06520156725148, + "difficulty": 4.25, + "effort": 880.0271066608187, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::extracted" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CacheConfig::__construct": { + "line": 12, + "lineCount": 5, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CacheConfig::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CacheConfig::toArray": { + "line": 23, + "lineCount": 7, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 3, + "N1": 0, + "N2": 4, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CacheConfig::toArray" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CognitiveConfig::__construct": { + "line": 20, + "lineCount": 13, + "argCount": 10, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 10, + "N1": 0, + "N2": 10, + "programLength": 10, + "programVocabulary": 10, + "volume": 33.219280948873624, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CognitiveConfig::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CognitiveConfig::toArray": { + "line": 39, + "lineCount": 20, + "argCount": 0, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 10, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 14, + "N1": 3, + "N2": 27, + "programLength": 30, + "programVocabulary": 16, + "volume": 120, + "difficulty": 1.9285714285714286, + "effort": 231.42857142857144, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CognitiveConfig::toArray" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigFactory::fromArray": { + "line": 16, + "lineCount": 31, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 20, + "N1": 10, + "N2": 52, + "programLength": 62, + "programVocabulary": 23, + "volume": 280.4608412755348, + "difficulty": 3.9000000000000004, + "effort": 1093.7972809745859, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigFactory::fromArray" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigLoader::getCognitiveMetricDefaults": { + "line": 27, + "lineCount": 45, + "argCount": 0, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 8, + "N1": 0, + "N2": 16, + "programLength": 16, + "programVocabulary": 8, + "volume": 48, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigLoader::getCognitiveMetricDefaults" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigLoader::getConfigTreeBuilder": { + "line": 73, + "lineCount": 75, + "argCount": 0, + "returnCount": 2, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 24, + "N1": 68, + "N2": 29, + "programLength": 97, + "programVocabulary": 27, + "volume": 461.2240877098564, + "difficulty": 1.8125, + "effort": 835.9686589741148, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigLoader::getConfigTreeBuilder" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigService::__construct": { + "line": 20, + "lineCount": 6, + "argCount": 2, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 4, + "volume": 8, + "difficulty": 0.5, + "effort": 4, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigService::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigService::loadDefaultConfig": { + "line": 30, + "lineCount": 8, + "argCount": 0, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 3, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 5, + "N2": 6, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 3, + "effort": 85.30376252379816, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigService::loadDefaultConfig" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigService::loadConfig": { + "line": 42, + "lineCount": 9, + "argCount": 1, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 3, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 4, + "N1": 5, + "N2": 8, + "programLength": 13, + "programVocabulary": 7, + "volume": 36.49561398674886, + "difficulty": 3, + "effort": 109.48684196024658, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigService::loadConfig" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigService::getConfig": { + "line": 52, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigService::getConfig" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\MetricsConfig::__construct": { + "line": 12, + "lineCount": 6, + "argCount": 3, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 3, + "N1": 0, + "N2": 3, + "programLength": 3, + "programVocabulary": 3, + "volume": 4.754887502163468, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\MetricsConfig::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\MetricsConfig::toArray": { + "line": 24, + "lineCount": 8, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 3, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 4, + "N1": 0, + "N2": 6, + "programLength": 6, + "programVocabulary": 4, + "volume": 12, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\MetricsConfig::toArray" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::setAnnotationVisitor": { + "line": 63, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::setAnnotationVisitor" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::resetValues": { + "line": 68, + "lineCount": 12, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 9, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 9, + "N2": 15, + "programLength": 24, + "programVocabulary": 3, + "volume": 38.039100017307746, + "difficulty": 3.75, + "effort": 142.64662506490404, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::resetValues" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::resetAll": { + "line": 84, + "lineCount": 9, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 4, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 5, + "N2": 8, + "programLength": 13, + "programVocabulary": 4, + "volume": 26, + "difficulty": 4, + "effort": 104, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::resetAll" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::createMetricsArray": { + "line": 97, + "lineCount": 14, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 12, + "N1": 3, + "N2": 21, + "programLength": 24, + "programVocabulary": 13, + "volume": 88.81055323538621, + "difficulty": 0.875, + "effort": 77.70923408096293, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::createMetricsArray" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::isValidContext": { + "line": 115, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::isValidContext" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::buildMethodKey": { + "line": 123, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::buildMethodKey" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::classMethodOnEnterNode": { + "line": 128, + "lineCount": 20, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 3, + "ifNestingLevel": 2, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 5, + "n2": 4, + "N1": 12, + "N2": 16, + "programLength": 28, + "programVocabulary": 9, + "volume": 88.75790004038474, + "difficulty": 10, + "effort": 887.5790004038474, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::classMethodOnEnterNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::isClassMethodNode": { + "line": 155, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::isClassMethodNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::initializeMethodContext": { + "line": 166, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 2, + "N2": 3, + "programLength": 5, + "programVocabulary": 4, + "volume": 10, + "difficulty": 1.5, + "effort": 15, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::initializeMethodContext" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::trackMethodArguments": { + "line": 177, + "lineCount": 8, + "argCount": 1, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 4, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 7, + "programLength": 9, + "programVocabulary": 5, + "volume": 20.89735285398626, + "difficulty": 2.3333333333333335, + "effort": 48.76048999263461, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::trackMethodArguments" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::isVariable": { + "line": 192, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::isVariable" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::calculateLineCount": { + "line": 203, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 2, + "N1": 4, + "N2": 4, + "programLength": 8, + "programVocabulary": 5, + "volume": 18.575424759098897, + "difficulty": 3, + "effort": 55.726274277296696, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::calculateLineCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::countMethodArguments": { + "line": 214, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 2, + "programLength": 3, + "programVocabulary": 2, + "volume": 3, + "difficulty": 1, + "effort": 3, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::countMethodArguments" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::setCurrentNamespaceOnEnterNode": { + "line": 219, + "lineCount": 6, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 6, + "programLength": 8, + "programVocabulary": 5, + "volume": 18.575424759098897, + "difficulty": 2, + "effort": 37.150849518197795, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::setCurrentNamespaceOnEnterNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::isClassOrTraitNode": { + "line": 229, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 1.5, + "effort": 6, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::isClassOrTraitNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::setCurrentClassOnEnterNode": { + "line": 234, + "lineCount": 22, + "argCount": 1, + "returnCount": 4, + "variableCount": 2, + "propertyCallCount": 4, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 6, + "n2": 5, + "N1": 12, + "N2": 16, + "programLength": 28, + "programVocabulary": 11, + "volume": 96.86408532184433, + "difficulty": 9.600000000000001, + "effort": 929.8952190897057, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::setCurrentClassOnEnterNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::normalizeFqcn": { + "line": 261, + "lineCount": 8, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 2, + "N1": 3, + "N2": 9, + "programLength": 12, + "programVocabulary": 5, + "volume": 27.863137138648348, + "difficulty": 6.75, + "effort": 188.07617568587634, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::normalizeFqcn" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::enterNode": { + "line": 270, + "lineCount": 16, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 3, + "volume": 22.189475010096185, + "difficulty": 2.5, + "effort": 55.473687525240464, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::enterNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::gatherMetrics": { + "line": 287, + "lineCount": 12, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 5, + "N2": 14, + "programLength": 19, + "programVocabulary": 3, + "volume": 30.114287513701967, + "difficulty": 3.5, + "effort": 105.40000629795688, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::gatherMetrics" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::incrementReturnCount": { + "line": 300, + "lineCount": 4, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::incrementReturnCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::countVariablesNotAlreadyTrackedAsArguments": { + "line": 326, + "lineCount": 6, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 2, + "N1": 3, + "N2": 6, + "programLength": 9, + "programVocabulary": 5, + "volume": 20.89735285398626, + "difficulty": 4.5, + "effort": 94.03808784293817, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::countVariablesNotAlreadyTrackedAsArguments" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::trackPropertyFetch": { + "line": 333, + "lineCount": 15, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 3, + "N2": 9, + "programLength": 12, + "programVocabulary": 5, + "volume": 27.863137138648348, + "difficulty": 3, + "effort": 83.58941141594505, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::trackPropertyFetch" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::trackIfStatement": { + "line": 349, + "lineCount": 9, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 1, + "N1": 2, + "N2": 6, + "programLength": 8, + "programVocabulary": 3, + "volume": 12.679700005769249, + "difficulty": 6, + "effort": 76.07820003461549, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::trackIfStatement" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::incrementElseCount": { + "line": 359, + "lineCount": 4, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::incrementElseCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::checkNestingLevelOnLeaveNode": { + "line": 364, + "lineCount": 6, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 3, + "programLength": 3, + "programVocabulary": 2, + "volume": 3, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::checkNestingLevelOnLeaveNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::writeMetricsOnLeaveNode": { + "line": 373, + "lineCount": 38, + "argCount": 1, + "returnCount": 3, + "variableCount": 2, + "propertyCallCount": 11, + "ifNestingLevel": 2, + "elseCount": 0, + "ifCount": 5, + "halstead": { + "n1": 7, + "n2": 14, + "N1": 29, + "N2": 58, + "programLength": 87, + "programVocabulary": 21, + "volume": 382.1316157817522, + "difficulty": 14.500000000000002, + "effort": 5540.908428835408, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::writeMetricsOnLeaveNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::checkNameSpaceOnLeaveNode": { + "line": 412, + "lineCount": 6, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 4, + "programLength": 5, + "programVocabulary": 4, + "volume": 10, + "difficulty": 0.6666666666666666, + "effort": 6.666666666666666, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::checkNameSpaceOnLeaveNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::checkClassOnLeaveNode": { + "line": 419, + "lineCount": 11, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 2, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 6, + "programLength": 8, + "programVocabulary": 5, + "volume": 18.575424759098897, + "difficulty": 2, + "effort": 37.150849518197795, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::checkClassOnLeaveNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::leaveNode": { + "line": 431, + "lineCount": 7, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 4, + "N2": 9, + "programLength": 13, + "programVocabulary": 3, + "volume": 20.604512509375027, + "difficulty": 2.25, + "effort": 46.36015314609381, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::leaveNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::getMethodMetrics": { + "line": 439, + "lineCount": 13, + "argCount": 0, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 6, + "N1": 8, + "N2": 15, + "programLength": 23, + "programVocabulary": 10, + "volume": 76.40434618240933, + "difficulty": 5, + "effort": 382.0217309120466, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::getMethodMetrics" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CombinedMetricsVisitor::__construct": { + "line": 22, + "lineCount": 7, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 4, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 4, + "N2": 4, + "programLength": 8, + "programVocabulary": 2, + "volume": 8, + "difficulty": 2, + "effort": 16, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CombinedMetricsVisitor::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CombinedMetricsVisitor::beforeTraverse": { + "line": 33, + "lineCount": 7, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 2, + "programLength": 3, + "programVocabulary": 3, + "volume": 4.754887502163468, + "difficulty": 0.5, + "effort": 2.377443751081734, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CombinedMetricsVisitor::beforeTraverse" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CombinedMetricsVisitor::enterNode": { + "line": 41, + "lineCount": 20, + "argCount": 1, + "returnCount": 2, + "variableCount": 5, + "propertyCallCount": 4, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 6, + "N1": 15, + "N2": 17, + "programLength": 32, + "programVocabulary": 10, + "volume": 106.30169903639559, + "difficulty": 5.666666666666667, + "effort": 602.376294539575, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CombinedMetricsVisitor::enterNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CombinedMetricsVisitor::leaveNode": { + "line": 62, + "lineCount": 10, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 4, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 4, + "N2": 9, + "programLength": 13, + "programVocabulary": 3, + "volume": 20.604512509375027, + "difficulty": 2.25, + "effort": 46.36015314609381, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CombinedMetricsVisitor::leaveNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CombinedMetricsVisitor::afterTraverse": { + "line": 76, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CombinedMetricsVisitor::afterTraverse" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CombinedMetricsVisitor::resetAll": { + "line": 84, + "lineCount": 7, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 4, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 4, + "N2": 4, + "programLength": 8, + "programVocabulary": 2, + "volume": 8, + "difficulty": 2, + "effort": 16, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CombinedMetricsVisitor::resetAll" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CombinedMetricsVisitor::resetAllBetweenFiles": { + "line": 95, + "lineCount": 7, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 4, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 4, + "N2": 4, + "programLength": 8, + "programVocabulary": 2, + "volume": 8, + "difficulty": 2, + "effort": 16, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CombinedMetricsVisitor::resetAllBetweenFiles" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CombinedMetricsVisitor::getMethodMetrics": { + "line": 106, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CombinedMetricsVisitor::getMethodMetrics" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CombinedMetricsVisitor::getMethodComplexity": { + "line": 114, + "lineCount": 5, + "argCount": 0, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 3, + "N2": 4, + "programLength": 7, + "programVocabulary": 6, + "volume": 18.094737505048094, + "difficulty": 2, + "effort": 36.18947501009619, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CombinedMetricsVisitor::getMethodComplexity" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CombinedMetricsVisitor::getHalsteadMethodMetrics": { + "line": 123, + "lineCount": 5, + "argCount": 0, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 3, + "N2": 4, + "programLength": 7, + "programVocabulary": 6, + "volume": 18.094737505048094, + "difficulty": 2, + "effort": 36.18947501009619, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CombinedMetricsVisitor::getHalsteadMethodMetrics" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CombinedMetricsVisitor::getIgnored": { + "line": 132, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CombinedMetricsVisitor::getIgnored" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CombinedMetricsVisitor::setAnnotationVisitor": { + "line": 140, + "lineCount": 4, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 2, + "programLength": 3, + "programVocabulary": 2, + "volume": 3, + "difficulty": 1, + "effort": 3, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CombinedMetricsVisitor::setAnnotationVisitor" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::setAnnotationVisitor": { + "line": 73, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::setAnnotationVisitor" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::resetMethodCounters": { + "line": 78, + "lineCount": 19, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 16, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 16, + "N2": 32, + "programLength": 48, + "programVocabulary": 4, + "volume": 96, + "difficulty": 5.333333333333333, + "effort": 512, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::resetMethodCounters" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::resetAll": { + "line": 101, + "lineCount": 11, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 6, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 7, + "N2": 10, + "programLength": 17, + "programVocabulary": 4, + "volume": 34, + "difficulty": 5, + "effort": 170, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::resetAll" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::enterNode": { + "line": 113, + "lineCount": 10, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 3, + "volume": 22.189475010096185, + "difficulty": 2.5, + "effort": 55.473687525240464, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::enterNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::leaveNode": { + "line": 124, + "lineCount": 6, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 3, + "N2": 7, + "programLength": 10, + "programVocabulary": 3, + "volume": 15.84962500721156, + "difficulty": 1.75, + "effort": 27.736843762620232, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::leaveNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::setCurrentNamespaceOnEnterNode": { + "line": 131, + "lineCount": 6, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 6, + "programLength": 8, + "programVocabulary": 5, + "volume": 18.575424759098897, + "difficulty": 2, + "effort": 37.150849518197795, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::setCurrentNamespaceOnEnterNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::setCurrentClassOnEnterNode": { + "line": 138, + "lineCount": 17, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 5, + "ifNestingLevel": 3, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 6, + "n2": 6, + "N1": 13, + "N2": 19, + "programLength": 32, + "programVocabulary": 12, + "volume": 114.718800023077, + "difficulty": 9.5, + "effort": 1089.8286002192315, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::setCurrentClassOnEnterNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::normalizeFqcn": { + "line": 156, + "lineCount": 8, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 2, + "N1": 3, + "N2": 9, + "programLength": 12, + "programVocabulary": 5, + "volume": 27.863137138648348, + "difficulty": 6.75, + "effort": 188.07617568587634, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::normalizeFqcn" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::handleClassMethodEnter": { + "line": 165, + "lineCount": 19, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 4, + "ifNestingLevel": 2, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 5, + "n2": 4, + "N1": 10, + "N2": 13, + "programLength": 23, + "programVocabulary": 9, + "volume": 72.90827503317318, + "difficulty": 8.125, + "effort": 592.3797346445322, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::handleClassMethodEnter" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::countDecisionPoints": { + "line": 185, + "lineCount": 20, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 14, + "N2": 29, + "programLength": 43, + "programVocabulary": 3, + "volume": 68.15338753100971, + "difficulty": 7.25, + "effort": 494.11205959982044, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::countDecisionPoints" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::countIfStatement": { + "line": 206, + "lineCount": 5, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::countIfStatement" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::countElseIfStatement": { + "line": 212, + "lineCount": 5, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::countElseIfStatement" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::countElseStatement": { + "line": 218, + "lineCount": 5, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::countElseStatement" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::countSwitchStatement": { + "line": 224, + "lineCount": 5, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::countSwitchStatement" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::countCaseStatement": { + "line": 230, + "lineCount": 5, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::countCaseStatement" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::countWhileStatement": { + "line": 236, + "lineCount": 5, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::countWhileStatement" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::countDoWhileStatement": { + "line": 242, + "lineCount": 5, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::countDoWhileStatement" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::countForStatement": { + "line": 248, + "lineCount": 5, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::countForStatement" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::countForeachStatement": { + "line": 254, + "lineCount": 5, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::countForeachStatement" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::countCatchStatement": { + "line": 260, + "lineCount": 5, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::countCatchStatement" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::countLogicalAnd": { + "line": 266, + "lineCount": 5, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::countLogicalAnd" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::countLogicalOr": { + "line": 272, + "lineCount": 5, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::countLogicalOr" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::countLogicalXor": { + "line": 278, + "lineCount": 5, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::countLogicalXor" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::countTernary": { + "line": 284, + "lineCount": 5, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::countTernary" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::handleClassMethodLeave": { + "line": 290, + "lineCount": 43, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 21, + "ifNestingLevel": 2, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 1, + "n2": 22, + "N1": 5, + "N2": 54, + "programLength": 59, + "programVocabulary": 23, + "volume": 266.89015540736375, + "difficulty": 1.2272727272727273, + "effort": 327.54700890903734, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::handleClassMethodLeave" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::checkNamespaceLeave": { + "line": 334, + "lineCount": 6, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 4, + "programLength": 5, + "programVocabulary": 4, + "volume": 10, + "difficulty": 0.6666666666666666, + "effort": 6.666666666666666, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::checkNamespaceLeave" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::checkClassLeave": { + "line": 341, + "lineCount": 6, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 5, + "programLength": 7, + "programVocabulary": 5, + "volume": 16.253496664211536, + "difficulty": 1.6666666666666667, + "effort": 27.089161107019226, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::checkClassLeave" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::getClassComplexity": { + "line": 353, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::getClassComplexity" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::getMethodComplexity": { + "line": 363, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::getMethodComplexity" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::getMethodComplexityBreakdown": { + "line": 373, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::getMethodComplexityBreakdown" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::getComplexitySummary": { + "line": 383, + "lineCount": 36, + "argCount": 0, + "returnCount": 1, + "variableCount": 6, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 15, + "N1": 11, + "N2": 45, + "programLength": 56, + "programVocabulary": 19, + "volume": 237.88394075284077, + "difficulty": 6, + "effort": 1427.3036445170446, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::getComplexitySummary" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::getRiskLevel": { + "line": 426, + "lineCount": 9, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 8, + "N1": 3, + "N2": 11, + "programLength": 14, + "programVocabulary": 9, + "volume": 44.37895002019237, + "difficulty": 0.6875, + "effort": 30.510528138882254, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::getRiskLevel" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\HalsteadMetricsVisitor::setAnnotationVisitor": { + "line": 44, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\HalsteadMetricsVisitor::setAnnotationVisitor" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\HalsteadMetricsVisitor::enterNode": { + "line": 63, + "lineCount": 54, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 6, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 6, + "cyclomatic_complexity": { + "complexity": 7, + "risk_level": "medium" + }, + "halstead": { + "n1": 7, + "n2": 5, + "N1": 33, + "N2": 49, + "programLength": 82, + "programVocabulary": 12, + "volume": 293.9669250591348, + "difficulty": 34.300000000000004, + "effort": 10083.065529528325, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\HalsteadMetricsVisitor::enterNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\HalsteadMetricsVisitor::setCurrentNamespace": { + "line": 118, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 2, + "risk_level": "low" + }, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 5, + "programLength": 7, + "programVocabulary": 5, + "volume": 16.253496664211536, + "difficulty": 1.6666666666666667, + "effort": 27.089161107019226, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\HalsteadMetricsVisitor::setCurrentNamespace" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\HalsteadMetricsVisitor::setCurrentClassName": { + "line": 123, + "lineCount": 13, + "argCount": 1, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "cyclomatic_complexity": { + "complexity": 3, + "risk_level": "low" + }, + "halstead": { + "n1": 5, + "n2": 6, + "N1": 10, + "N2": 15, + "programLength": 25, + "programVocabulary": 11, + "volume": 86.48579046593244, + "difficulty": 6.25, + "effort": 540.5361904120778, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\HalsteadMetricsVisitor::setCurrentClassName" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\HalsteadMetricsVisitor::normalizeFqcn": { + "line": 140, + "lineCount": 8, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "cyclomatic_complexity": { + "complexity": 3, + "risk_level": "low" + }, + "halstead": { + "n1": 3, + "n2": 2, + "N1": 3, + "N2": 9, + "programLength": 12, + "programVocabulary": 5, + "volume": 27.863137138648348, + "difficulty": 6.75, + "effort": 188.07617568587634, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\HalsteadMetricsVisitor::normalizeFqcn" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\HalsteadMetricsVisitor::addOperator": { + "line": 149, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 2, + "N2": 3, + "programLength": 5, + "programVocabulary": 4, + "volume": 10, + "difficulty": 1.5, + "effort": 15, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\HalsteadMetricsVisitor::addOperator" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\HalsteadMetricsVisitor::addOperand": { + "line": 154, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 2, + "N2": 4, + "programLength": 6, + "programVocabulary": 4, + "volume": 12, + "difficulty": 2, + "effort": 24, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\HalsteadMetricsVisitor::addOperand" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\HalsteadMetricsVisitor::leaveNode": { + "line": 159, + "lineCount": 23, + "argCount": 1, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 6, + "ifNestingLevel": 2, + "elseCount": 0, + "ifCount": 4, + "cyclomatic_complexity": { + "complexity": 5, + "risk_level": "low" + }, + "halstead": { + "n1": 5, + "n2": 5, + "N1": 14, + "N2": 23, + "programLength": 37, + "programVocabulary": 10, + "volume": 122.9113395108324, + "difficulty": 11.5, + "effort": 1413.4804043745726, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\HalsteadMetricsVisitor::leaveNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\HalsteadMetricsVisitor::isOperator": { + "line": 183, + "lineCount": 7, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 3, + "N2": 5, + "programLength": 8, + "programVocabulary": 2, + "volume": 8, + "difficulty": 2.5, + "effort": 20, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\HalsteadMetricsVisitor::isOperator" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\HalsteadMetricsVisitor::isOperand": { + "line": 191, + "lineCount": 7, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 3, + "N2": 5, + "programLength": 8, + "programVocabulary": 2, + "volume": 8, + "difficulty": 2.5, + "effort": 20, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\HalsteadMetricsVisitor::isOperand" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\HalsteadMetricsVisitor::getOperandValue": { + "line": 199, + "lineCount": 16, + "argCount": 1, + "returnCount": 4, + "variableCount": 0, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "cyclomatic_complexity": { + "complexity": 4, + "risk_level": "low" + }, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 10, + "programLength": 12, + "programVocabulary": 5, + "volume": 27.863137138648348, + "difficulty": 3.3333333333333335, + "effort": 92.8771237954945, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\HalsteadMetricsVisitor::getOperandValue" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\HalsteadMetricsVisitor::storeClassMetrics": { + "line": 216, + "lineCount": 6, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "cyclomatic_complexity": { + "complexity": 2, + "risk_level": "low" + }, + "halstead": { + "n1": 3, + "n2": 1, + "N1": 3, + "N2": 4, + "programLength": 7, + "programVocabulary": 4, + "volume": 14, + "difficulty": 6, + "effort": 84, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\HalsteadMetricsVisitor::storeClassMetrics" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\HalsteadMetricsVisitor::resetMetrics": { + "line": 223, + "lineCount": 11, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 7, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 7, + "N2": 7, + "programLength": 14, + "programVocabulary": 2, + "volume": 14, + "difficulty": 3.5, + "effort": 49, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\HalsteadMetricsVisitor::resetMetrics" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\HalsteadMetricsVisitor::resetAll": { + "line": 238, + "lineCount": 13, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 9, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 9, + "N2": 9, + "programLength": 18, + "programVocabulary": 2, + "volume": 18, + "difficulty": 4.5, + "effort": 81, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\HalsteadMetricsVisitor::resetAll" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\HalsteadMetricsVisitor::calculateMetrics": { + "line": 252, + "lineCount": 31, + "argCount": 0, + "returnCount": 1, + "variableCount": 10, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 3, + "n2": 20, + "N1": 18, + "N2": 48, + "programLength": 66, + "programVocabulary": 23, + "volume": 298.5550890997629, + "difficulty": 3.5999999999999996, + "effort": 1074.7983207591462, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\HalsteadMetricsVisitor::calculateMetrics" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\HalsteadMetricsVisitor::calculateMetricsFor": { + "line": 284, + "lineCount": 25, + "argCount": 3, + "returnCount": 1, + "variableCount": 9, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 3, + "risk_level": "low" + }, + "halstead": { + "n1": 7, + "n2": 24, + "N1": 27, + "N2": 57, + "programLength": 84, + "programVocabulary": 31, + "volume": 416.15249007249747, + "difficulty": 8.3125, + "effort": 3459.2675737276354, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\HalsteadMetricsVisitor::calculateMetricsFor" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\HalsteadMetricsVisitor::calculateProgramLength": { + "line": 317, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 4, + "programLength": 5, + "programVocabulary": 3, + "volume": 7.92481250360578, + "difficulty": 1, + "effort": 7.92481250360578, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\HalsteadMetricsVisitor::calculateProgramLength" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\HalsteadMetricsVisitor::calculateProgramVocabulary": { + "line": 329, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 4, + "programLength": 5, + "programVocabulary": 3, + "volume": 7.92481250360578, + "difficulty": 1, + "effort": 7.92481250360578, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\HalsteadMetricsVisitor::calculateProgramVocabulary" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\HalsteadMetricsVisitor::calculateVolume": { + "line": 341, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 5, + "programLength": 7, + "programVocabulary": 5, + "volume": 16.253496664211536, + "difficulty": 1.6666666666666667, + "effort": 27.089161107019226, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\HalsteadMetricsVisitor::calculateVolume" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\HalsteadMetricsVisitor::calculateDifficulty": { + "line": 354, + "lineCount": 7, + "argCount": 3, + "returnCount": 2, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "cyclomatic_complexity": { + "complexity": 2, + "risk_level": "low" + }, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 8, + "volume": 42, + "difficulty": 3, + "effort": 126, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\HalsteadMetricsVisitor::calculateDifficulty" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\HalsteadMetricsVisitor::countDistinctOperators": { + "line": 367, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 2, + "N2": 1, + "programLength": 3, + "programVocabulary": 2, + "volume": 3, + "difficulty": 0.5, + "effort": 1.5, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\HalsteadMetricsVisitor::countDistinctOperators" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\HalsteadMetricsVisitor::countDistinctOperands": { + "line": 377, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 2, + "N2": 1, + "programLength": 3, + "programVocabulary": 2, + "volume": 3, + "difficulty": 0.5, + "effort": 1.5, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\HalsteadMetricsVisitor::countDistinctOperands" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\HalsteadMetricsVisitor::countTotalOperators": { + "line": 387, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\HalsteadMetricsVisitor::countTotalOperators" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\HalsteadMetricsVisitor::countTotalOperands": { + "line": 397, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\HalsteadMetricsVisitor::countTotalOperands" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\HalsteadMetricsVisitor::getMetrics": { + "line": 402, + "lineCount": 12, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "cyclomatic_complexity": { + "complexity": 2, + "risk_level": "low" + }, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 6, + "programLength": 8, + "programVocabulary": 5, + "volume": 18.575424759098897, + "difficulty": 2, + "effort": 37.150849518197795, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\HalsteadMetricsVisitor::getMetrics" + } + } + }, + "ignored_items": [], + "cached_at": 1759967602 +} \ No newline at end of file diff --git a/.phpcca.cache/e5/e5110f94a95b2ec1e6bf8f45b80112ea.cache b/.phpcca.cache/e5/e5110f94a95b2ec1e6bf8f45b80112ea.cache new file mode 100644 index 0000000..9269e57 --- /dev/null +++ b/.phpcca.cache/e5/e5110f94a95b2ec1e6bf8f45b80112ea.cache @@ -0,0 +1,1038 @@ +{ + "version": "1.0", + "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/Command\/EventHandler\/VerboseHandler.php", + "file_mtime": 1759791861, + "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", + "analysis_result": { + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::__construct": { + "line": 26, + "lineCount": 5, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 4, + "N1": 3, + "N2": 6, + "programLength": 9, + "programVocabulary": 7, + "volume": 25.26619429851844, + "difficulty": 2.25, + "effort": 56.848937171666485, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItem": { + "line": 35, + "lineCount": 15, + "argCount": 1, + "returnCount": 3, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 6, + "N2": 13, + "programLength": 19, + "programVocabulary": 8, + "volume": 57, + "difficulty": 6.5, + "effort": 370.5, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItem" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItems": { + "line": 55, + "lineCount": 9, + "argCount": 1, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 3, + "N2": 9, + "programLength": 12, + "programVocabulary": 6, + "volume": 31.019550008653873, + "difficulty": 2.25, + "effort": 69.79398751947122, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItems" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::hasItem": { + "line": 68, + "lineCount": 6, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 5, + "n2": 3, + "N1": 6, + "N2": 7, + "programLength": 13, + "programVocabulary": 8, + "volume": 39, + "difficulty": 5.833333333333334, + "effort": 227.50000000000003, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::hasItem" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::clear": { + "line": 75, + "lineCount": 10, + "argCount": 0, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 2, + "N2": 4, + "programLength": 6, + "programVocabulary": 3, + "volume": 9.509775004326936, + "difficulty": 1, + "effort": 9.509775004326936, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::clear" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItem": { + "line": 89, + "lineCount": 10, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 4, + "N2": 6, + "programLength": 10, + "programVocabulary": 6, + "volume": 25.84962500721156, + "difficulty": 3, + "effort": 77.54887502163469, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItem" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItems": { + "line": 103, + "lineCount": 10, + "argCount": 1, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 3, + "N2": 8, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 2, + "effort": 56.86917501586544, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItems" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::save": { + "line": 117, + "lineCount": 11, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 4, + "N1": 9, + "N2": 12, + "programLength": 21, + "programVocabulary": 7, + "volume": 58.95445336320969, + "difficulty": 4.5, + "effort": 265.2950401344436, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::save" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveDeferred": { + "line": 129, + "lineCount": 6, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveDeferred" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::commit": { + "line": 136, + "lineCount": 11, + "argCount": 0, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 4, + "N2": 8, + "programLength": 12, + "programVocabulary": 5, + "volume": 27.863137138648348, + "difficulty": 2.6666666666666665, + "effort": 74.30169903639559, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::commit" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::ensureCacheDirectory": { + "line": 152, + "lineCount": 9, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 3, + "N2": 4, + "programLength": 7, + "programVocabulary": 4, + "volume": 14, + "difficulty": 2, + "effort": 28, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::ensureCacheDirectory" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getCacheFilePath": { + "line": 168, + "lineCount": 15, + "argCount": 1, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 10, + "N1": 13, + "N2": 19, + "programLength": 32, + "programVocabulary": 14, + "volume": 121.83535750584333, + "difficulty": 3.8, + "effort": 462.9743585222046, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getCacheFilePath" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::loadCacheData": { + "line": 187, + "lineCount": 14, + "argCount": 1, + "returnCount": 3, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 6, + "N2": 8, + "programLength": 14, + "programVocabulary": 6, + "volume": 36.18947501009619, + "difficulty": 4, + "effort": 144.75790004038475, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::loadCacheData" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveCacheData": { + "line": 209, + "lineCount": 21, + "argCount": 2, + "returnCount": 3, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 6, + "n2": 7, + "N1": 13, + "N2": 17, + "programLength": 30, + "programVocabulary": 13, + "volume": 111.01319154423277, + "difficulty": 7.285714285714285, + "effort": 808.810395536553, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveCacheData" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::sanitizeUtf8": { + "line": 234, + "lineCount": 25, + "argCount": 1, + "returnCount": 4, + "variableCount": 6, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 8, + "N1": 13, + "N2": 29, + "programLength": 42, + "programVocabulary": 11, + "volume": 145.29612798276648, + "difficulty": 5.4375, + "effort": 790.0476959062927, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::sanitizeUtf8" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::removeDirectory": { + "line": 260, + "lineCount": 23, + "argCount": 1, + "returnCount": 2, + "variableCount": 5, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 5, + "n2": 9, + "N1": 13, + "N2": 20, + "programLength": 33, + "programVocabulary": 14, + "volume": 125.64271242790093, + "difficulty": 5.555555555555555, + "effort": 698.0150690438941, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::removeDirectory" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::__construct": { + "line": 42, + "lineCount": 7, + "argCount": 3, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 3, + "N1": 0, + "N2": 3, + "programLength": 3, + "programVocabulary": 3, + "volume": 4.754887502163468, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::configure": { + "line": 53, + "lineCount": 57, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 15, + "N1": 9, + "N2": 16, + "programLength": 25, + "programVocabulary": 16, + "volume": 100, + "difficulty": 0.5333333333333333, + "effort": 53.333333333333336, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::configure" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::execute": { + "line": 119, + "lineCount": 43, + "argCount": 2, + "returnCount": 5, + "variableCount": 9, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 4, + "halstead": { + "n1": 7, + "n2": 14, + "N1": 31, + "N2": 45, + "programLength": 76, + "programVocabulary": 21, + "volume": 333.8161241311858, + "difficulty": 11.25, + "effort": 3755.4313964758403, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::execute" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::loadCoverageReader": { + "line": 171, + "lineCount": 32, + "argCount": 3, + "returnCount": 4, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 2, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 4, + "n2": 9, + "N1": 9, + "N2": 21, + "programLength": 30, + "programVocabulary": 13, + "volume": 111.01319154423277, + "difficulty": 4.666666666666667, + "effort": 518.0615605397529, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::loadCoverageReader" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::detectCoverageFormat": { + "line": 207, + "lineCount": 19, + "argCount": 1, + "returnCount": 4, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 9, + "volume": 47.548875021634686, + "difficulty": 2.5, + "effort": 118.87218755408671, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::detectCoverageFormat" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::coverageFileExists": { + "line": 227, + "lineCount": 20, + "argCount": 2, + "returnCount": 3, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 4, + "N2": 7, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 3.5, + "effort": 99.52105627776452, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::coverageFileExists" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::__construct": { + "line": 49, + "lineCount": 10, + "argCount": 6, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 6, + "N1": 0, + "N2": 6, + "programLength": 6, + "programVocabulary": 6, + "volume": 15.509775004326936, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::configure": { + "line": 63, + "lineCount": 76, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 20, + "N1": 13, + "N2": 20, + "programLength": 33, + "programVocabulary": 21, + "volume": 144.94647495169912, + "difficulty": 0.5, + "effort": 72.47323747584956, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::configure" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::execute": { + "line": 150, + "lineCount": 52, + "argCount": 2, + "returnCount": 5, + "variableCount": 11, + "propertyCallCount": 6, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 7, + "halstead": { + "n1": 6, + "n2": 15, + "N1": 43, + "N2": 61, + "programLength": 104, + "programVocabulary": 21, + "volume": 456.80101196899113, + "difficulty": 12.2, + "effort": 5572.972346021692, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::execute" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::parsePaths": { + "line": 209, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 4, + "N2": 8, + "programLength": 12, + "programVocabulary": 7, + "volume": 33.68825906469125, + "difficulty": 1.6, + "effort": 53.901214503506004, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::parsePaths" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleBaseLine": { + "line": 224, + "lineCount": 8, + "argCount": 2, + "returnCount": 0, + "variableCount": 3, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 5, + "N2": 11, + "programLength": 16, + "programVocabulary": 7, + "volume": 44.91767875292167, + "difficulty": 2.2, + "effort": 98.81889325642767, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleBaseLine" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleCoverageOptions": { + "line": 238, + "lineCount": 20, + "argCount": 2, + "returnCount": 3, + "variableCount": 5, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 5, + "n2": 10, + "N1": 15, + "N2": 25, + "programLength": 40, + "programVocabulary": 15, + "volume": 156.27562382434076, + "difficulty": 6.25, + "effort": 976.7226489021298, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleCoverageOptions" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::applySorting": { + "line": 264, + "lineCount": 21, + "argCount": 3, + "returnCount": 3, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 15, + "N1": 16, + "N2": 32, + "programLength": 48, + "programVocabulary": 20, + "volume": 207.45254855459342, + "difficulty": 5.333333333333333, + "effort": 1106.4135922911648, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::applySorting" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadConfiguration": { + "line": 293, + "lineCount": 10, + "argCount": 2, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 6, + "N1": 5, + "N2": 9, + "programLength": 14, + "programVocabulary": 8, + "volume": 42, + "difficulty": 1.5, + "effort": 63, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadConfiguration" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadCoverageReader": { + "line": 313, + "lineCount": 28, + "argCount": 3, + "returnCount": 4, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 2, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 10, + "N2": 18, + "programLength": 28, + "programVocabulary": 11, + "volume": 96.86408532184433, + "difficulty": 5.142857142857143, + "effort": 498.15815308377086, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadCoverageReader" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::detectCoverageFormat": { + "line": 345, + "lineCount": 19, + "argCount": 1, + "returnCount": 4, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 9, + "volume": 47.548875021634686, + "difficulty": 2.5, + "effort": 118.87218755408671, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::detectCoverageFormat" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::coverageFileExists": { + "line": 365, + "lineCount": 20, + "argCount": 2, + "returnCount": 3, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 4, + "N2": 7, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 3.5, + "effort": 99.52105627776452, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::coverageFileExists" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__construct": { + "line": 12, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__invoke": { + "line": 17, + "lineCount": 22, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 3, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 10, + "N2": 11, + "programLength": 21, + "programVocabulary": 7, + "volume": 58.95445336320969, + "difficulty": 2.2, + "effort": 129.6997973990613, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__invoke" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__construct": { + "line": 21, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__invoke": { + "line": 26, + "lineCount": 11, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 4, + "N2": 9, + "programLength": 13, + "programVocabulary": 4, + "volume": 26, + "difficulty": 4.5, + "effort": 117, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__invoke" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleSourceFilesFound": { + "line": 38, + "lineCount": 6, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 4, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 6, + "N2": 10, + "programLength": 16, + "programVocabulary": 8, + "volume": 48, + "difficulty": 5, + "effort": 240, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleSourceFilesFound" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleFileProcessed": { + "line": 45, + "lineCount": 5, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleFileProcessed" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleAllFilesProcessed": { + "line": 51, + "lineCount": 6, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 3, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 3, + "N2": 5, + "programLength": 8, + "programVocabulary": 5, + "volume": 18.575424759098897, + "difficulty": 1.6666666666666667, + "effort": 30.95904126516483, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleAllFilesProcessed" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__construct": { + "line": 20, + "lineCount": 5, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__invoke": { + "line": 26, + "lineCount": 17, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "cyclomatic_complexity": { + "complexity": 4, + "risk_level": "low" + }, + "halstead": { + "n1": 5, + "n2": 8, + "N1": 17, + "N2": 17, + "programLength": 34, + "programVocabulary": 13, + "volume": 125.81495041679713, + "difficulty": 5.3125, + "effort": 668.3919240892347, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__invoke" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::formatBytes": { + "line": 50, + "lineCount": 12, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 2, + "risk_level": "low" + }, + "halstead": { + "n1": 7, + "n2": 13, + "N1": 10, + "N2": 22, + "programLength": 32, + "programVocabulary": 20, + "volume": 138.3016990363956, + "difficulty": 5.923076923076923, + "effort": 819.1716019848047, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::formatBytes" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::isDebugEnabled": { + "line": 66, + "lineCount": 5, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 3, + "n2": 1, + "N1": 4, + "N2": 2, + "programLength": 6, + "programVocabulary": 4, + "volume": 12, + "difficulty": 3, + "effort": 36, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::isDebugEnabled" + } + } + }, + "ignored_items": [], + "cached_at": 1759967602 +} \ No newline at end of file diff --git a/.phpcca.cache/e9/e9f313b56e5bb74109bb7d07067c7b84.cache b/.phpcca.cache/e9/e9f313b56e5bb74109bb7d07067c7b84.cache new file mode 100644 index 0000000..4ca1690 --- /dev/null +++ b/.phpcca.cache/e9/e9f313b56e5bb74109bb7d07067c7b84.cache @@ -0,0 +1,570 @@ +{ + "version": "1.0", + "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/Business\/Churn\/Exporter\/AbstractExporter.php", + "file_mtime": 1759784766, + "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", + "analysis_result": { + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct": { + "line": 60, + "lineCount": 5, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 1, + "N1": 2, + "N2": 2, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 2, + "effort": 12.679700005769249, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices": { + "line": 66, + "lineCount": 95, + "argCount": 0, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 5, + "N1": 58, + "N2": 32, + "programLength": 90, + "programVocabulary": 9, + "volume": 285.2932501298081, + "difficulty": 12.8, + "effort": 3651.7536016615436, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap": { + "line": 162, + "lineCount": 10, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 7, + "N2": 7, + "programLength": 14, + "programVocabulary": 2, + "volume": 14, + "difficulty": 3.5, + "effort": 49, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors": { + "line": 173, + "lineCount": 12, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 3, + "N2": 1, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0.5, + "effort": 2, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus": { + "line": 186, + "lineCount": 19, + "argCount": 0, + "returnCount": 0, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 9, + "N2": 13, + "programLength": 22, + "programVocabulary": 7, + "volume": 61.76180828526729, + "difficulty": 2.6, + "effort": 160.58070154169496, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService": { + "line": 206, + "lineCount": 9, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 3, + "N2": 1, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0.5, + "effort": 2, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade": { + "line": 216, + "lineCount": 13, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 3, + "N2": 1, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0.5, + "effort": 2, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands": { + "line": 230, + "lineCount": 21, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 6, + "N2": 2, + "programLength": 8, + "programVocabulary": 2, + "volume": 8, + "difficulty": 1, + "effort": 8, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication": { + "line": 252, + "lineCount": 11, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 5, + "N2": 4, + "programLength": 9, + "programVocabulary": 4, + "volume": 18, + "difficulty": 0.6666666666666666, + "effort": 12, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run": { + "line": 264, + "lineCount": 9, + "argCount": 0, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 5, + "N2": 5, + "programLength": 10, + "programVocabulary": 4, + "volume": 20, + "difficulty": 2.5, + "effort": 50, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get": { + "line": 274, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer": { + "line": 279, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator": { + "line": 289, + "lineCount": 16, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 7, + "programLength": 8, + "programVocabulary": 4, + "volume": 16, + "difficulty": 1.1666666666666667, + "effort": 18.666666666666668, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create": { + "line": 18, + "lineCount": 7, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 4, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile": { + "line": 17, + "lineCount": 17, + "argCount": 2, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 8, + "N1": 11, + "N2": 19, + "programLength": 30, + "programVocabulary": 11, + "volume": 103.78294855911892, + "difficulty": 3.5625, + "effort": 369.72675424186116, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode": { + "line": 42, + "lineCount": 8, + "argCount": 3, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 3, + "N2": 8, + "programLength": 11, + "programVocabulary": 8, + "volume": 33, + "difficulty": 2.4000000000000004, + "effort": 79.20000000000002, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate": { + "line": 22, + "lineCount": 10, + "argCount": 2, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 6, + "N2": 13, + "programLength": 19, + "programVocabulary": 6, + "volume": 49.11428751370197, + "difficulty": 3.25, + "effort": 159.6214344195314, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending": { + "line": 37, + "lineCount": 8, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 2, + "N2": 9, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 2.25, + "effort": 63.97782189284862, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn": { + "line": 51, + "lineCount": 24, + "argCount": 2, + "returnCount": 1, + "variableCount": 6, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 15, + "N1": 17, + "N2": 46, + "programLength": 63, + "programVocabulary": 20, + "volume": 272.28146997790384, + "difficulty": 7.666666666666667, + "effort": 2087.491269830596, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses": { + "line": 81, + "lineCount": 20, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 2, + "n2": 7, + "N1": 10, + "N2": 24, + "programLength": 34, + "programVocabulary": 9, + "volume": 107.7774500490386, + "difficulty": 3.4285714285714284, + "effort": 369.52268588241805, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass": { + "line": 109, + "lineCount": 9, + "argCount": 2, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 6, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 10, + "volume": 49.82892142331043, + "difficulty": 3.3333333333333335, + "effort": 166.09640474436813, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel": { + "line": 126, + "lineCount": 16, + "argCount": 2, + "returnCount": 4, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 12, + "N1": 9, + "N2": 18, + "programLength": 27, + "programVocabulary": 15, + "volume": 105.48604608143, + "difficulty": 2.25, + "effort": 237.3436036832175, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile": { + "line": 14, + "lineCount": 6, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "cyclomatic_complexity": { + "complexity": 2, + "risk_level": "low" + }, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 2, + "N2": 5, + "programLength": 7, + "programVocabulary": 4, + "volume": 14, + "difficulty": 2.5, + "effort": 35, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable": { + "line": 24, + "lineCount": 11, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "cyclomatic_complexity": { + "complexity": 3, + "risk_level": "low" + }, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 10, + "N2": 12, + "programLength": 22, + "programVocabulary": 8, + "volume": 66, + "difficulty": 6, + "effort": 396, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable" + } + } + }, + "ignored_items": [], + "cached_at": 1759967600 +} \ No newline at end of file diff --git a/.phpcca.cache/ee/ee784ff4be30931a4281c15293ae9b60.cache b/.phpcca.cache/ee/ee784ff4be30931a4281c15293ae9b60.cache new file mode 100644 index 0000000..156d3b2 --- /dev/null +++ b/.phpcca.cache/ee/ee784ff4be30931a4281c15293ae9b60.cache @@ -0,0 +1,2039 @@ +{ + "version": "1.0", + "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/Command\/Presentation\/TableHeaderBuilder.php", + "file_mtime": 1759870485, + "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", + "analysis_result": { + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::__construct": { + "line": 26, + "lineCount": 5, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 4, + "N1": 3, + "N2": 6, + "programLength": 9, + "programVocabulary": 7, + "volume": 25.26619429851844, + "difficulty": 2.25, + "effort": 56.848937171666485, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItem": { + "line": 35, + "lineCount": 15, + "argCount": 1, + "returnCount": 3, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 6, + "N2": 13, + "programLength": 19, + "programVocabulary": 8, + "volume": 57, + "difficulty": 6.5, + "effort": 370.5, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItem" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItems": { + "line": 55, + "lineCount": 9, + "argCount": 1, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 3, + "N2": 9, + "programLength": 12, + "programVocabulary": 6, + "volume": 31.019550008653873, + "difficulty": 2.25, + "effort": 69.79398751947122, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItems" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::hasItem": { + "line": 68, + "lineCount": 6, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 5, + "n2": 3, + "N1": 6, + "N2": 7, + "programLength": 13, + "programVocabulary": 8, + "volume": 39, + "difficulty": 5.833333333333334, + "effort": 227.50000000000003, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::hasItem" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::clear": { + "line": 75, + "lineCount": 10, + "argCount": 0, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 2, + "N2": 4, + "programLength": 6, + "programVocabulary": 3, + "volume": 9.509775004326936, + "difficulty": 1, + "effort": 9.509775004326936, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::clear" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItem": { + "line": 89, + "lineCount": 10, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 4, + "N2": 6, + "programLength": 10, + "programVocabulary": 6, + "volume": 25.84962500721156, + "difficulty": 3, + "effort": 77.54887502163469, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItem" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItems": { + "line": 103, + "lineCount": 10, + "argCount": 1, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 3, + "N2": 8, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 2, + "effort": 56.86917501586544, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItems" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::save": { + "line": 117, + "lineCount": 11, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 4, + "N1": 9, + "N2": 12, + "programLength": 21, + "programVocabulary": 7, + "volume": 58.95445336320969, + "difficulty": 4.5, + "effort": 265.2950401344436, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::save" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveDeferred": { + "line": 129, + "lineCount": 6, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveDeferred" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::commit": { + "line": 136, + "lineCount": 11, + "argCount": 0, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 4, + "N2": 8, + "programLength": 12, + "programVocabulary": 5, + "volume": 27.863137138648348, + "difficulty": 2.6666666666666665, + "effort": 74.30169903639559, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::commit" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::ensureCacheDirectory": { + "line": 152, + "lineCount": 9, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 3, + "N2": 4, + "programLength": 7, + "programVocabulary": 4, + "volume": 14, + "difficulty": 2, + "effort": 28, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::ensureCacheDirectory" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getCacheFilePath": { + "line": 168, + "lineCount": 15, + "argCount": 1, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 10, + "N1": 13, + "N2": 19, + "programLength": 32, + "programVocabulary": 14, + "volume": 121.83535750584333, + "difficulty": 3.8, + "effort": 462.9743585222046, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getCacheFilePath" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::loadCacheData": { + "line": 187, + "lineCount": 14, + "argCount": 1, + "returnCount": 3, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 6, + "N2": 8, + "programLength": 14, + "programVocabulary": 6, + "volume": 36.18947501009619, + "difficulty": 4, + "effort": 144.75790004038475, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::loadCacheData" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveCacheData": { + "line": 209, + "lineCount": 21, + "argCount": 2, + "returnCount": 3, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 6, + "n2": 7, + "N1": 13, + "N2": 17, + "programLength": 30, + "programVocabulary": 13, + "volume": 111.01319154423277, + "difficulty": 7.285714285714285, + "effort": 808.810395536553, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveCacheData" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::sanitizeUtf8": { + "line": 234, + "lineCount": 25, + "argCount": 1, + "returnCount": 4, + "variableCount": 6, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 8, + "N1": 13, + "N2": 29, + "programLength": 42, + "programVocabulary": 11, + "volume": 145.29612798276648, + "difficulty": 5.4375, + "effort": 790.0476959062927, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::sanitizeUtf8" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::removeDirectory": { + "line": 260, + "lineCount": 23, + "argCount": 1, + "returnCount": 2, + "variableCount": 5, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 5, + "n2": 9, + "N1": 13, + "N2": 20, + "programLength": 33, + "programVocabulary": 14, + "volume": 125.64271242790093, + "difficulty": 5.555555555555555, + "effort": 698.0150690438941, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::removeDirectory" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::__construct": { + "line": 42, + "lineCount": 7, + "argCount": 3, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 3, + "N1": 0, + "N2": 3, + "programLength": 3, + "programVocabulary": 3, + "volume": 4.754887502163468, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::configure": { + "line": 53, + "lineCount": 57, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 15, + "N1": 9, + "N2": 16, + "programLength": 25, + "programVocabulary": 16, + "volume": 100, + "difficulty": 0.5333333333333333, + "effort": 53.333333333333336, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::configure" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::execute": { + "line": 119, + "lineCount": 43, + "argCount": 2, + "returnCount": 5, + "variableCount": 9, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 4, + "halstead": { + "n1": 7, + "n2": 14, + "N1": 31, + "N2": 45, + "programLength": 76, + "programVocabulary": 21, + "volume": 333.8161241311858, + "difficulty": 11.25, + "effort": 3755.4313964758403, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::execute" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::loadCoverageReader": { + "line": 171, + "lineCount": 32, + "argCount": 3, + "returnCount": 4, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 2, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 4, + "n2": 9, + "N1": 9, + "N2": 21, + "programLength": 30, + "programVocabulary": 13, + "volume": 111.01319154423277, + "difficulty": 4.666666666666667, + "effort": 518.0615605397529, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::loadCoverageReader" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::detectCoverageFormat": { + "line": 207, + "lineCount": 19, + "argCount": 1, + "returnCount": 4, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 9, + "volume": 47.548875021634686, + "difficulty": 2.5, + "effort": 118.87218755408671, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::detectCoverageFormat" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::coverageFileExists": { + "line": 227, + "lineCount": 20, + "argCount": 2, + "returnCount": 3, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 4, + "N2": 7, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 3.5, + "effort": 99.52105627776452, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::coverageFileExists" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::__construct": { + "line": 49, + "lineCount": 10, + "argCount": 6, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 6, + "N1": 0, + "N2": 6, + "programLength": 6, + "programVocabulary": 6, + "volume": 15.509775004326936, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::configure": { + "line": 63, + "lineCount": 76, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 20, + "N1": 13, + "N2": 20, + "programLength": 33, + "programVocabulary": 21, + "volume": 144.94647495169912, + "difficulty": 0.5, + "effort": 72.47323747584956, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::configure" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::execute": { + "line": 150, + "lineCount": 52, + "argCount": 2, + "returnCount": 5, + "variableCount": 11, + "propertyCallCount": 6, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 7, + "halstead": { + "n1": 6, + "n2": 15, + "N1": 43, + "N2": 61, + "programLength": 104, + "programVocabulary": 21, + "volume": 456.80101196899113, + "difficulty": 12.2, + "effort": 5572.972346021692, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::execute" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::parsePaths": { + "line": 209, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 4, + "N2": 8, + "programLength": 12, + "programVocabulary": 7, + "volume": 33.68825906469125, + "difficulty": 1.6, + "effort": 53.901214503506004, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::parsePaths" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleBaseLine": { + "line": 224, + "lineCount": 8, + "argCount": 2, + "returnCount": 0, + "variableCount": 3, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 5, + "N2": 11, + "programLength": 16, + "programVocabulary": 7, + "volume": 44.91767875292167, + "difficulty": 2.2, + "effort": 98.81889325642767, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleBaseLine" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleCoverageOptions": { + "line": 238, + "lineCount": 20, + "argCount": 2, + "returnCount": 3, + "variableCount": 5, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 5, + "n2": 10, + "N1": 15, + "N2": 25, + "programLength": 40, + "programVocabulary": 15, + "volume": 156.27562382434076, + "difficulty": 6.25, + "effort": 976.7226489021298, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleCoverageOptions" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::applySorting": { + "line": 264, + "lineCount": 21, + "argCount": 3, + "returnCount": 3, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 15, + "N1": 16, + "N2": 32, + "programLength": 48, + "programVocabulary": 20, + "volume": 207.45254855459342, + "difficulty": 5.333333333333333, + "effort": 1106.4135922911648, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::applySorting" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadConfiguration": { + "line": 293, + "lineCount": 10, + "argCount": 2, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 6, + "N1": 5, + "N2": 9, + "programLength": 14, + "programVocabulary": 8, + "volume": 42, + "difficulty": 1.5, + "effort": 63, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadConfiguration" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadCoverageReader": { + "line": 313, + "lineCount": 28, + "argCount": 3, + "returnCount": 4, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 2, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 10, + "N2": 18, + "programLength": 28, + "programVocabulary": 11, + "volume": 96.86408532184433, + "difficulty": 5.142857142857143, + "effort": 498.15815308377086, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadCoverageReader" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::detectCoverageFormat": { + "line": 345, + "lineCount": 19, + "argCount": 1, + "returnCount": 4, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 9, + "volume": 47.548875021634686, + "difficulty": 2.5, + "effort": 118.87218755408671, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::detectCoverageFormat" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::coverageFileExists": { + "line": 365, + "lineCount": 20, + "argCount": 2, + "returnCount": 3, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 4, + "N2": 7, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 3.5, + "effort": 99.52105627776452, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::coverageFileExists" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__construct": { + "line": 12, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__invoke": { + "line": 17, + "lineCount": 22, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 3, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 10, + "N2": 11, + "programLength": 21, + "programVocabulary": 7, + "volume": 58.95445336320969, + "difficulty": 2.2, + "effort": 129.6997973990613, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__invoke" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__construct": { + "line": 21, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__invoke": { + "line": 26, + "lineCount": 11, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 4, + "N2": 9, + "programLength": 13, + "programVocabulary": 4, + "volume": 26, + "difficulty": 4.5, + "effort": 117, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__invoke" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleSourceFilesFound": { + "line": 38, + "lineCount": 6, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 4, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 6, + "N2": 10, + "programLength": 16, + "programVocabulary": 8, + "volume": 48, + "difficulty": 5, + "effort": 240, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleSourceFilesFound" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleFileProcessed": { + "line": 45, + "lineCount": 5, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleFileProcessed" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleAllFilesProcessed": { + "line": 51, + "lineCount": 6, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 3, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 3, + "N2": 5, + "programLength": 8, + "programVocabulary": 5, + "volume": 18.575424759098897, + "difficulty": 1.6666666666666667, + "effort": 30.95904126516483, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleAllFilesProcessed" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__construct": { + "line": 20, + "lineCount": 5, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__invoke": { + "line": 26, + "lineCount": 17, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 5, + "n2": 8, + "N1": 17, + "N2": 17, + "programLength": 34, + "programVocabulary": 13, + "volume": 125.81495041679713, + "difficulty": 5.3125, + "effort": 668.3919240892347, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__invoke" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::formatBytes": { + "line": 50, + "lineCount": 12, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 7, + "n2": 13, + "N1": 10, + "N2": 22, + "programLength": 32, + "programVocabulary": 20, + "volume": 138.3016990363956, + "difficulty": 5.923076923076923, + "effort": 819.1716019848047, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::formatBytes" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::isDebugEnabled": { + "line": 66, + "lineCount": 5, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 1, + "N1": 4, + "N2": 2, + "programLength": 6, + "programVocabulary": 4, + "volume": 12, + "difficulty": 3, + "effort": 36, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::isDebugEnabled" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::__construct": { + "line": 20, + "lineCount": 6, + "argCount": 2, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 4, + "volume": 8, + "difficulty": 0.5, + "effort": 4, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::exportToFile": { + "line": 32, + "lineCount": 27, + "argCount": 3, + "returnCount": 4, + "variableCount": 2, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 1, + "n2": 6, + "N1": 6, + "N2": 19, + "programLength": 25, + "programVocabulary": 7, + "volume": 70.1838730514401, + "difficulty": 1.5833333333333333, + "effort": 111.12446566478016, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::exportToFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::hasIncompleteReportOptions": { + "line": 60, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 2, + "N1": 7, + "N2": 6, + "programLength": 13, + "programVocabulary": 6, + "volume": 33.60451250937503, + "difficulty": 6, + "effort": 201.62707505625016, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::hasIncompleteReportOptions" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::isValidReportType": { + "line": 65, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 2, + "N2": 4, + "programLength": 6, + "programVocabulary": 4, + "volume": 12, + "difficulty": 2, + "effort": 24, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::isValidReportType" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleExceptions": { + "line": 77, + "lineCount": 9, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 3, + "N2": 4, + "programLength": 7, + "programVocabulary": 5, + "volume": 16.253496664211536, + "difficulty": 1.3333333333333333, + "effort": 21.67132888561538, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleExceptions" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleInvalidReportType": { + "line": 91, + "lineCount": 11, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 5, + "N2": 8, + "programLength": 13, + "programVocabulary": 8, + "volume": 39, + "difficulty": 2.4000000000000004, + "effort": 93.60000000000001, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleInvalidReportType" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::__construct": { + "line": 15, + "lineCount": 5, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handle": { + "line": 24, + "lineCount": 27, + "argCount": 3, + "returnCount": 4, + "variableCount": 2, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 1, + "n2": 6, + "N1": 6, + "N2": 19, + "programLength": 25, + "programVocabulary": 7, + "volume": 70.1838730514401, + "difficulty": 1.5833333333333333, + "effort": 111.12446566478016, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handle" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::hasIncompleteReportOptions": { + "line": 52, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 2, + "N1": 7, + "N2": 6, + "programLength": 13, + "programVocabulary": 6, + "volume": 33.60451250937503, + "difficulty": 6, + "effort": 201.62707505625016, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::hasIncompleteReportOptions" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::isValidReportType": { + "line": 57, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 5, + "N1": 1, + "N2": 6, + "programLength": 7, + "programVocabulary": 6, + "volume": 18.094737505048094, + "difficulty": 0.6, + "effort": 10.856842503028856, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::isValidReportType" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handleExceptions": { + "line": 66, + "lineCount": 9, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 3, + "N2": 4, + "programLength": 7, + "programVocabulary": 5, + "volume": 16.253496664211536, + "difficulty": 1.3333333333333333, + "effort": 21.67132888561538, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handleExceptions" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handleInvalidReporType": { + "line": 80, + "lineCount": 9, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 4, + "programLength": 6, + "programVocabulary": 5, + "volume": 13.931568569324174, + "difficulty": 1.3333333333333333, + "effort": 18.575424759098897, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handleInvalidReporType" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::__construct": { + "line": 42, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::reportWritten": { + "line": 47, + "lineCount": 7, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 4, + "programLength": 6, + "programVocabulary": 5, + "volume": 13.931568569324174, + "difficulty": 1.3333333333333333, + "effort": 18.575424759098897, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::reportWritten" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::renderChurnTable": { + "line": 59, + "lineCount": 35, + "argCount": 1, + "returnCount": 0, + "variableCount": 6, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 8, + "n2": 18, + "N1": 21, + "N2": 53, + "programLength": 74, + "programVocabulary": 26, + "volume": 347.8325391424408, + "difficulty": 11.777777777777779, + "effort": 4096.694349899859, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::renderChurnTable" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricSummaryTextRenderer::__construct": { + "line": 18, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricSummaryTextRenderer::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricSummaryTextRenderer::render": { + "line": 23, + "lineCount": 32, + "argCount": 2, + "returnCount": 0, + "variableCount": 6, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 6, + "n2": 16, + "N1": 27, + "N2": 38, + "programLength": 65, + "programVocabulary": 22, + "volume": 289.86305521142435, + "difficulty": 7.125, + "effort": 2065.2742683813985, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricSummaryTextRenderer::render" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::__construct": { + "line": 27, + "lineCount": 5, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::metricExceedsThreshold": { + "line": 33, + "lineCount": 6, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 2, + "N1": 3, + "N2": 5, + "programLength": 8, + "programVocabulary": 5, + "volume": 18.575424759098897, + "difficulty": 3.75, + "effort": 69.65784284662087, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::metricExceedsThreshold" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::hasCoverageInCollection": { + "line": 43, + "lineCount": 10, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 2, + "N2": 4, + "programLength": 6, + "programVocabulary": 4, + "volume": 12, + "difficulty": 2, + "effort": 24, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::hasCoverageInCollection" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::render": { + "line": 58, + "lineCount": 17, + "argCount": 2, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 6, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 9, + "N2": 25, + "programLength": 34, + "programVocabulary": 6, + "volume": 87.8887250245193, + "difficulty": 6.25, + "effort": 549.3045314032456, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::render" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderGroupedByClass": { + "line": 81, + "lineCount": 19, + "argCount": 3, + "returnCount": 0, + "variableCount": 6, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 5, + "n2": 11, + "N1": 11, + "N2": 25, + "programLength": 36, + "programVocabulary": 16, + "volume": 144, + "difficulty": 5.6818181818181825, + "effort": 818.1818181818182, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderGroupedByClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::buildRowsForClass": { + "line": 106, + "lineCount": 13, + "argCount": 2, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 4, + "N2": 12, + "programLength": 16, + "programVocabulary": 7, + "volume": 44.91767875292167, + "difficulty": 2.4, + "effort": 107.802429007012, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::buildRowsForClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::getFilenameFromMetrics": { + "line": 123, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 5, + "programLength": 6, + "programVocabulary": 4, + "volume": 12, + "difficulty": 0.8333333333333334, + "effort": 10, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::getFilenameFromMetrics" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderAllMethodsInSingleTable": { + "line": 136, + "lineCount": 12, + "argCount": 3, + "returnCount": 0, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 6, + "N2": 15, + "programLength": 21, + "programVocabulary": 11, + "volume": 72.64806399138324, + "difficulty": 4.285714285714286, + "effort": 311.34884567735673, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderAllMethodsInSingleTable" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::buildRowsForSingleTable": { + "line": 154, + "lineCount": 13, + "argCount": 2, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 4, + "N2": 12, + "programLength": 16, + "programVocabulary": 7, + "volume": 44.91767875292167, + "difficulty": 2.4, + "effort": 107.802429007012, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::buildRowsForSingleTable" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderTableCommon": { + "line": 173, + "lineCount": 19, + "argCount": 4, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 8, + "N1": 7, + "N2": 19, + "programLength": 26, + "programVocabulary": 10, + "volume": 86.37013046707142, + "difficulty": 2.375, + "effort": 205.1290598592946, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderTableCommon" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderTable": { + "line": 196, + "lineCount": 13, + "argCount": 4, + "returnCount": 0, + "variableCount": 3, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 7, + "N1": 4, + "N2": 14, + "programLength": 18, + "programVocabulary": 9, + "volume": 57.05865002596162, + "difficulty": 2, + "effort": 114.11730005192324, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderTable" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderSingleTable": { + "line": 213, + "lineCount": 11, + "argCount": 3, + "returnCount": 0, + "variableCount": 3, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 6, + "N1": 4, + "N2": 12, + "programLength": 16, + "programVocabulary": 8, + "volume": 48, + "difficulty": 2, + "effort": 96, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderSingleTable" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::__construct": { + "line": 16, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatScore": { + "line": 21, + "lineCount": 6, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 6, + "N1": 5, + "N2": 9, + "programLength": 14, + "programVocabulary": 8, + "volume": 42, + "difficulty": 1.5, + "effort": 63, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatScore" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadVolume": { + "line": 28, + "lineCount": 14, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 10, + "N1": 9, + "N2": 17, + "programLength": 26, + "programVocabulary": 15, + "volume": 101.57915548582149, + "difficulty": 4.25, + "effort": 431.7114108147413, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadVolume" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadDifficulty": { + "line": 43, + "lineCount": 13, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 10, + "N1": 8, + "N2": 17, + "programLength": 25, + "programVocabulary": 14, + "volume": 95.1838730514401, + "difficulty": 3.4, + "effort": 323.62516837489636, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadDifficulty" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadEffort": { + "line": 57, + "lineCount": 13, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 10, + "N1": 8, + "N2": 17, + "programLength": 25, + "programVocabulary": 14, + "volume": 95.1838730514401, + "difficulty": 3.4, + "effort": 323.62516837489636, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadEffort" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatCyclomaticComplexity": { + "line": 71, + "lineCount": 13, + "argCount": 1, + "returnCount": 3, + "variableCount": 4, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 5, + "n2": 9, + "N1": 9, + "N2": 18, + "programLength": 27, + "programVocabulary": 14, + "volume": 102.79858289555531, + "difficulty": 5, + "effort": 513.9929144777766, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatCyclomaticComplexity" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::colorCyclomaticRisk": { + "line": 85, + "lineCount": 8, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 7, + "N1": 5, + "N2": 11, + "programLength": 16, + "programVocabulary": 9, + "volume": 50.718800023076994, + "difficulty": 1.5714285714285714, + "effort": 79.70097146483528, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::colorCyclomaticRisk" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::__construct": { + "line": 17, + "lineCount": 5, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::getGroupedTableHeaders": { + "line": 28, + "lineCount": 16, + "argCount": 0, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 10, + "N2": 17, + "programLength": 27, + "programVocabulary": 6, + "volume": 69.79398751947122, + "difficulty": 4.25, + "effort": 296.62444695775264, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::getGroupedTableHeaders" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCoverageHeader": { + "line": 49, + "lineCount": 10, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "cyclomatic_complexity": { + "complexity": 2, + "risk_level": "low" + }, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 6, + "programLength": 7, + "programVocabulary": 4, + "volume": 14, + "difficulty": 1, + "effort": 14, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCoverageHeader" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::getSingleTableHeaders": { + "line": 65, + "lineCount": 20, + "argCount": 0, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "cyclomatic_complexity": { + "complexity": 2, + "risk_level": "low" + }, + "halstead": { + "n1": 2, + "n2": 6, + "N1": 9, + "N2": 18, + "programLength": 27, + "programVocabulary": 8, + "volume": 81, + "difficulty": 3, + "effort": 243, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::getSingleTableHeaders" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addHalsteadHeaders": { + "line": 92, + "lineCount": 10, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "cyclomatic_complexity": { + "complexity": 2, + "risk_level": "low" + }, + "halstead": { + "n1": 1, + "n2": 5, + "N1": 3, + "N2": 9, + "programLength": 12, + "programVocabulary": 6, + "volume": 31.019550008653873, + "difficulty": 0.9, + "effort": 27.917595007788485, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addHalsteadHeaders" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCyclomaticHeaders": { + "line": 109, + "lineCount": 8, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "cyclomatic_complexity": { + "complexity": 2, + "risk_level": "low" + }, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 5, + "programLength": 6, + "programVocabulary": 4, + "volume": 12, + "difficulty": 0.8333333333333334, + "effort": 10, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCyclomaticHeaders" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCognitiveMetricDetails": { + "line": 122, + "lineCount": 16, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "cyclomatic_complexity": { + "complexity": 2, + "risk_level": "low" + }, + "halstead": { + "n1": 2, + "n2": 10, + "N1": 2, + "N2": 13, + "programLength": 15, + "programVocabulary": 12, + "volume": 53.77443751081734, + "difficulty": 1.3, + "effort": 69.90676876406255, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCognitiveMetricDetails" + } + } + }, + "ignored_items": [], + "cached_at": 1759967602 +} \ No newline at end of file diff --git a/.phpcca.cache/f2/f216cd0f27a7f2ab16de7f23f175c13c.cache b/.phpcca.cache/f2/f216cd0f27a7f2ab16de7f23f175c13c.cache new file mode 100644 index 0000000..918bd66 --- /dev/null +++ b/.phpcca.cache/f2/f216cd0f27a7f2ab16de7f23f175c13c.cache @@ -0,0 +1,5789 @@ +{ + "version": "1.0", + "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/Business\/MetricsFacade.php", + "file_mtime": 1759964701, + "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", + "analysis_result": { + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct": { + "line": 60, + "lineCount": 5, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 1, + "N1": 2, + "N2": 2, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 2, + "effort": 12.679700005769249, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices": { + "line": 66, + "lineCount": 95, + "argCount": 0, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 5, + "N1": 58, + "N2": 32, + "programLength": 90, + "programVocabulary": 9, + "volume": 285.2932501298081, + "difficulty": 12.8, + "effort": 3651.7536016615436, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap": { + "line": 162, + "lineCount": 10, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 7, + "N2": 7, + "programLength": 14, + "programVocabulary": 2, + "volume": 14, + "difficulty": 3.5, + "effort": 49, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors": { + "line": 173, + "lineCount": 12, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 3, + "N2": 1, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0.5, + "effort": 2, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus": { + "line": 186, + "lineCount": 19, + "argCount": 0, + "returnCount": 0, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 9, + "N2": 13, + "programLength": 22, + "programVocabulary": 7, + "volume": 61.76180828526729, + "difficulty": 2.6, + "effort": 160.58070154169496, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService": { + "line": 206, + "lineCount": 9, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 3, + "N2": 1, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0.5, + "effort": 2, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade": { + "line": 216, + "lineCount": 13, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 3, + "N2": 1, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0.5, + "effort": 2, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands": { + "line": 230, + "lineCount": 21, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 6, + "N2": 2, + "programLength": 8, + "programVocabulary": 2, + "volume": 8, + "difficulty": 1, + "effort": 8, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication": { + "line": 252, + "lineCount": 11, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 5, + "N2": 4, + "programLength": 9, + "programVocabulary": 4, + "volume": 18, + "difficulty": 0.6666666666666666, + "effort": 12, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run": { + "line": 264, + "lineCount": 9, + "argCount": 0, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 5, + "N2": 5, + "programLength": 10, + "programVocabulary": 4, + "volume": 20, + "difficulty": 2.5, + "effort": 50, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get": { + "line": 274, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer": { + "line": 279, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator": { + "line": 289, + "lineCount": 16, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 7, + "programLength": 8, + "programVocabulary": 4, + "volume": 16, + "difficulty": 1.1666666666666667, + "effort": 18.666666666666668, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create": { + "line": 18, + "lineCount": 7, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 4, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile": { + "line": 17, + "lineCount": 17, + "argCount": 2, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 8, + "N1": 11, + "N2": 19, + "programLength": 30, + "programVocabulary": 11, + "volume": 103.78294855911892, + "difficulty": 3.5625, + "effort": 369.72675424186116, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode": { + "line": 42, + "lineCount": 8, + "argCount": 3, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 3, + "N2": 8, + "programLength": 11, + "programVocabulary": 8, + "volume": 33, + "difficulty": 2.4000000000000004, + "effort": 79.20000000000002, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate": { + "line": 22, + "lineCount": 10, + "argCount": 2, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 6, + "N2": 13, + "programLength": 19, + "programVocabulary": 6, + "volume": 49.11428751370197, + "difficulty": 3.25, + "effort": 159.6214344195314, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending": { + "line": 37, + "lineCount": 8, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 2, + "N2": 9, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 2.25, + "effort": 63.97782189284862, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn": { + "line": 51, + "lineCount": 24, + "argCount": 2, + "returnCount": 1, + "variableCount": 6, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 15, + "N1": 17, + "N2": 46, + "programLength": 63, + "programVocabulary": 20, + "volume": 272.28146997790384, + "difficulty": 7.666666666666667, + "effort": 2087.491269830596, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses": { + "line": 81, + "lineCount": 20, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 2, + "n2": 7, + "N1": 10, + "N2": 24, + "programLength": 34, + "programVocabulary": 9, + "volume": 107.7774500490386, + "difficulty": 3.4285714285714284, + "effort": 369.52268588241805, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass": { + "line": 109, + "lineCount": 9, + "argCount": 2, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 6, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 10, + "volume": 49.82892142331043, + "difficulty": 3.3333333333333335, + "effort": 166.09640474436813, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel": { + "line": 126, + "lineCount": 16, + "argCount": 2, + "returnCount": 4, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 12, + "N1": 9, + "N2": 18, + "programLength": 27, + "programVocabulary": 15, + "volume": 105.48604608143, + "difficulty": 2.25, + "effort": 237.3436036832175, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile": { + "line": 14, + "lineCount": 6, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 2, + "N2": 5, + "programLength": 7, + "programVocabulary": 4, + "volume": 14, + "difficulty": 2.5, + "effort": 35, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable": { + "line": 24, + "lineCount": 11, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 10, + "N2": 12, + "programLength": 22, + "programVocabulary": 8, + "volume": 66, + "difficulty": 6, + "effort": 396, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create": { + "line": 21, + "lineCount": 11, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 7, + "N1": 0, + "N2": 9, + "programLength": 9, + "programVocabulary": 7, + "volume": 25.26619429851844, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes": { + "line": 38, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 6, + "N1": 0, + "N2": 6, + "programLength": 6, + "programVocabulary": 6, + "volume": 15.509775004326936, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported": { + "line": 49, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 2, + "N2": 3, + "programLength": 5, + "programVocabulary": 4, + "volume": 10, + "difficulty": 1.5, + "effort": 15, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export": { + "line": 30, + "lineCount": 23, + "argCount": 2, + "returnCount": 0, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 16, + "N1": 10, + "N2": 33, + "programLength": 43, + "programVocabulary": 20, + "volume": 185.8429080801566, + "difficulty": 4.125, + "effort": 766.601995830646, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export": { + "line": 28, + "lineCount": 8, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 6, + "volume": 36.18947501009619, + "difficulty": 2.5, + "effort": 90.47368752524048, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape": { + "line": 37, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber": { + "line": 42, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml": { + "line": 52, + "lineCount": 50, + "argCount": 1, + "returnCount": 1, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 12, + "N1": 11, + "N2": 25, + "programLength": 36, + "programVocabulary": 17, + "volume": 147.14866228501222, + "difficulty": 5.208333333333334, + "effort": 766.3992827344388, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export": { + "line": 17, + "lineCount": 13, + "argCount": 2, + "returnCount": 0, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 8, + "N1": 7, + "N2": 14, + "programLength": 21, + "programVocabulary": 12, + "volume": 75.28421251514428, + "difficulty": 3.5, + "effort": 263.49474380300495, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export": { + "line": 48, + "lineCount": 8, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 6, + "volume": 36.18947501009619, + "difficulty": 2.5, + "effort": 90.47368752524048, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown": { + "line": 61, + "lineCount": 24, + "argCount": 1, + "returnCount": 1, + "variableCount": 6, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 6, + "n2": 16, + "N1": 19, + "N2": 41, + "programLength": 60, + "programVocabulary": 22, + "volume": 267.56589711823784, + "difficulty": 7.6875, + "effort": 2056.9128340964535, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow": { + "line": 94, + "lineCount": 21, + "argCount": 3, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 7, + "n2": 18, + "N1": 16, + "N2": 39, + "programLength": 55, + "programVocabulary": 25, + "volume": 255.41209043760983, + "difficulty": 7.583333333333333, + "effort": 1936.8750191518745, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::__construct": { + "line": 26, + "lineCount": 4, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::export": { + "line": 36, + "lineCount": 10, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 8, + "volume": 45, + "difficulty": 5, + "effort": 225, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::generateSvgTreemap": { + "line": 53, + "lineCount": 20, + "argCount": 1, + "returnCount": 1, + "variableCount": 6, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 8, + "N1": 9, + "N2": 20, + "programLength": 29, + "programVocabulary": 10, + "volume": 96.3359147517335, + "difficulty": 2.5, + "effort": 240.83978687933376, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::generateSvgTreemap" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRects": { + "line": 82, + "lineCount": 10, + "argCount": 3, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 9, + "N1": 6, + "N2": 18, + "programLength": 24, + "programVocabulary": 12, + "volume": 86.03910001730775, + "difficulty": 3, + "effort": 258.1173000519232, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRects" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRect": { + "line": 100, + "lineCount": 29, + "argCount": 2, + "returnCount": 1, + "variableCount": 12, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 6, + "n2": 28, + "N1": 26, + "N2": 54, + "programLength": 80, + "programVocabulary": 34, + "volume": 406.9970273000271, + "difficulty": 5.785714285714286, + "effort": 2354.7685150930142, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRect" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::wrapSvg": { + "line": 136, + "lineCount": 21, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 2, + "N2": 8, + "programLength": 10, + "programVocabulary": 4, + "volume": 20, + "difficulty": 1.3333333333333333, + "effort": 26.666666666666664, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::wrapSvg" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::prepareItems": { + "line": 28, + "lineCount": 18, + "argCount": 1, + "returnCount": 1, + "variableCount": 7, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 12, + "N1": 9, + "N2": 30, + "programLength": 39, + "programVocabulary": 17, + "volume": 159.41105080876324, + "difficulty": 6.25, + "effort": 996.3190675547702, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::prepareItems" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findScoreRange": { + "line": 53, + "lineCount": 16, + "argCount": 1, + "returnCount": 3, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 7, + "N2": 13, + "programLength": 20, + "programVocabulary": 8, + "volume": 60, + "difficulty": 3.9000000000000004, + "effort": 234.00000000000003, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findScoreRange" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::normalizeScore": { + "line": 78, + "lineCount": 8, + "argCount": 3, + "returnCount": 2, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 8, + "volume": 45, + "difficulty": 5, + "effort": 225, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::normalizeScore" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::scoreToColor": { + "line": 93, + "lineCount": 9, + "argCount": 1, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 5, + "n2": 9, + "N1": 12, + "N2": 16, + "programLength": 28, + "programVocabulary": 14, + "volume": 106.60593781761291, + "difficulty": 4.444444444444445, + "effort": 473.80416807827964, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::scoreToColor" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::calculateTreemapLayout": { + "line": 115, + "lineCount": 23, + "argCount": 7, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 9, + "N1": 2, + "N2": 18, + "programLength": 20, + "programVocabulary": 11, + "volume": 69.18863237274594, + "difficulty": 2, + "effort": 138.37726474549189, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::calculateTreemapLayout" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::layoutTreemap": { + "line": 152, + "lineCount": 89, + "argCount": 8, + "returnCount": 3, + "variableCount": 11, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 8, + "n2": 28, + "N1": 32, + "N2": 98, + "programLength": 130, + "programVocabulary": 36, + "volume": 672.0902501875006, + "difficulty": 14, + "effort": 9409.263502625008, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::layoutTreemap" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findSplitIndex": { + "line": 249, + "lineCount": 13, + "argCount": 2, + "returnCount": 2, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 7, + "n2": 10, + "N1": 9, + "N2": 23, + "programLength": 32, + "programVocabulary": 17, + "volume": 130.79881092001085, + "difficulty": 8.049999999999999, + "effort": 1052.9304279060873, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findSplitIndex" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::__construct": { + "line": 23, + "lineCount": 18, + "argCount": 1, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 7, + "N2": 11, + "programLength": 18, + "programVocabulary": 6, + "volume": 46.529325012980806, + "difficulty": 5.5, + "effort": 255.91128757139444, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::getAllClasses": { + "line": 47, + "lineCount": 17, + "argCount": 0, + "returnCount": 2, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 6, + "N2": 12, + "programLength": 18, + "programVocabulary": 9, + "volume": 57.05865002596162, + "difficulty": 3, + "effort": 171.17595007788486, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::getAllClasses" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::withClassNode": { + "line": 73, + "lineCount": 8, + "argCount": 2, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 4, + "N2": 8, + "programLength": 12, + "programVocabulary": 8, + "volume": 36, + "difficulty": 4, + "effort": 144, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::withClassNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::findClassNode": { + "line": 85, + "lineCount": 25, + "argCount": 1, + "returnCount": 4, + "variableCount": 5, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 13, + "N2": 29, + "programLength": 42, + "programVocabulary": 11, + "volume": 145.29612798276648, + "difficulty": 8.285714285714286, + "effort": 1203.8822032857795, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::findClassNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::escapeXPathValue": { + "line": 114, + "lineCount": 16, + "argCount": 1, + "returnCount": 3, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 9, + "N1": 11, + "N2": 18, + "programLength": 29, + "programVocabulary": 13, + "volume": 107.31275182609167, + "difficulty": 4, + "effort": 429.2510073043667, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::escapeXPathValue" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getLineCoverage": { + "line": 22, + "lineCount": 18, + "argCount": 1, + "returnCount": 4, + "variableCount": 5, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 9, + "N1": 10, + "N2": 19, + "programLength": 29, + "programVocabulary": 13, + "volume": 107.31275182609167, + "difficulty": 4.222222222222222, + "effort": 453.09828548794263, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getLineCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getBranchCoverage": { + "line": 48, + "lineCount": 18, + "argCount": 1, + "returnCount": 4, + "variableCount": 5, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 9, + "N1": 10, + "N2": 19, + "programLength": 29, + "programVocabulary": 13, + "volume": 107.31275182609167, + "difficulty": 4.222222222222222, + "effort": 453.09828548794263, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getBranchCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getComplexity": { + "line": 73, + "lineCount": 13, + "argCount": 1, + "returnCount": 3, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 7, + "N2": 14, + "programLength": 21, + "programVocabulary": 11, + "volume": 72.64806399138324, + "difficulty": 4, + "effort": 290.59225596553296, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getComplexity" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getCoverageDetails": { + "line": 93, + "lineCount": 26, + "argCount": 1, + "returnCount": 3, + "variableCount": 9, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 17, + "N1": 22, + "N2": 42, + "programLength": 64, + "programVocabulary": 22, + "volume": 285.403623592787, + "difficulty": 6.176470588235294, + "effort": 1762.7870868966259, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getCoverageDetails" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getMetricsNode": { + "line": 123, + "lineCount": 12, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 6, + "N1": 7, + "N2": 13, + "programLength": 20, + "programVocabulary": 10, + "volume": 66.43856189774725, + "difficulty": 4.333333333333333, + "effort": 287.90043489023805, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getMetricsNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getFilenameForClass": { + "line": 139, + "lineCount": 9, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 5, + "N1": 4, + "N2": 9, + "programLength": 13, + "programVocabulary": 9, + "volume": 41.209025018750054, + "difficulty": 3.6, + "effort": 148.3524900675002, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getFilenameForClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodsCoverage": { + "line": 154, + "lineCount": 36, + "argCount": 1, + "returnCount": 3, + "variableCount": 8, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 13, + "N1": 12, + "N2": 30, + "programLength": 42, + "programVocabulary": 16, + "volume": 168, + "difficulty": 3.4615384615384612, + "effort": 581.5384615384614, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodsCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::calculateMethodCoverage": { + "line": 194, + "lineCount": 15, + "argCount": 2, + "returnCount": 2, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 11, + "N1": 9, + "N2": 23, + "programLength": 32, + "programVocabulary": 16, + "volume": 128, + "difficulty": 5.227272727272727, + "effort": 669.090909090909, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::calculateMethodCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodCoverageFromLines": { + "line": 215, + "lineCount": 36, + "argCount": 2, + "returnCount": 1, + "variableCount": 7, + "propertyCallCount": 0, + "ifNestingLevel": 2, + "elseCount": 0, + "ifCount": 5, + "halstead": { + "n1": 2, + "n2": 14, + "N1": 12, + "N2": 35, + "programLength": 47, + "programVocabulary": 16, + "volume": 188, + "difficulty": 2.5, + "effort": 470, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodCoverageFromLines" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStart": { + "line": 252, + "lineCount": 4, + "argCount": 3, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 3, + "N2": 7, + "programLength": 10, + "programVocabulary": 6, + "volume": 25.84962500721156, + "difficulty": 1.75, + "effort": 45.23684376262023, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStart" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodEnd": { + "line": 257, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 5, + "programLength": 7, + "programVocabulary": 5, + "volume": 16.253496664211536, + "difficulty": 1.6666666666666667, + "effort": 27.089161107019226, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodEnd" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStatement": { + "line": 262, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 5, + "programLength": 7, + "programVocabulary": 5, + "volume": 16.253496664211536, + "difficulty": 1.6666666666666667, + "effort": 27.089161107019226, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStatement" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isStatementCovered": { + "line": 267, + "lineCount": 5, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 4, + "N1": 3, + "N2": 6, + "programLength": 9, + "programVocabulary": 7, + "volume": 25.26619429851844, + "difficulty": 2.25, + "effort": 56.848937171666485, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isStatementCovered" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getLineCoverage": { + "line": 20, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 9, + "volume": 44.37895002019237, + "difficulty": 2.5, + "effort": 110.94737505048093, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getLineCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getBranchCoverage": { + "line": 34, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 9, + "volume": 44.37895002019237, + "difficulty": 2.5, + "effort": 110.94737505048093, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getBranchCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getComplexity": { + "line": 48, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 9, + "volume": 44.37895002019237, + "difficulty": 2.5, + "effort": 110.94737505048093, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getComplexity" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getCoverageDetails": { + "line": 62, + "lineCount": 13, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 8, + "N1": 7, + "N2": 16, + "programLength": 23, + "programVocabulary": 9, + "volume": 72.90827503317318, + "difficulty": 1, + "effort": 72.90827503317318, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getCoverageDetails" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::extractMethodsCoverage": { + "line": 81, + "lineCount": 23, + "argCount": 1, + "returnCount": 2, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 11, + "N1": 10, + "N2": 23, + "programLength": 33, + "programVocabulary": 14, + "volume": 125.64271242790093, + "difficulty": 3.1363636363636362, + "effort": 394.061234432962, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::extractMethodsCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CodeCoverageFactory::createFromName": { + "line": 14, + "lineCount": 8, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 4, + "N1": 1, + "N2": 8, + "programLength": 9, + "programVocabulary": 5, + "volume": 20.89735285398626, + "difficulty": 1, + "effort": 20.89735285398626, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CodeCoverageFactory::createFromName" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::__construct": { + "line": 28, + "lineCount": 15, + "argCount": 6, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 6, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 7, + "N1": 6, + "N2": 18, + "programLength": 24, + "programVocabulary": 8, + "volume": 72, + "difficulty": 1.2857142857142858, + "effort": 92.57142857142858, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getName": { + "line": 44, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getName" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getFilename": { + "line": 49, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getFilename" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getLineRate": { + "line": 54, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getLineRate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getBranchRate": { + "line": 59, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getBranchRate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getComplexity": { + "line": 64, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getComplexity" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getMethods": { + "line": 72, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getMethods" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::__construct": { + "line": 17, + "lineCount": 11, + "argCount": 4, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 4, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 5, + "N1": 4, + "N2": 12, + "programLength": 16, + "programVocabulary": 6, + "volume": 41.3594000115385, + "difficulty": 1.2, + "effort": 49.631280013846194, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getName": { + "line": 29, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getName" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getLineRate": { + "line": 34, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getLineRate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getBranchRate": { + "line": 39, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getBranchRate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getComplexity": { + "line": 44, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getComplexity" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::calculateDeltas": { + "line": 19, + "lineCount": 14, + "argCount": 2, + "returnCount": 0, + "variableCount": 6, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 9, + "N1": 4, + "N2": 18, + "programLength": 22, + "programVocabulary": 11, + "volume": 76.10749561002054, + "difficulty": 2, + "effort": 152.21499122004107, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::calculateDeltas" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::loadBaseline": { + "line": 41, + "lineCount": 13, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 5, + "N2": 9, + "programLength": 14, + "programVocabulary": 8, + "volume": 42, + "difficulty": 2.7, + "effort": 113.4, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::loadBaseline" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::__construct": { + "line": 72, + "lineCount": 21, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 6, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 9, + "N1": 12, + "N2": 34, + "programLength": 46, + "programVocabulary": 12, + "volume": 164.90827503317317, + "difficulty": 5.666666666666666, + "effort": 934.4802251879812, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setRequiredMetricProperties": { + "line": 98, + "lineCount": 30, + "argCount": 1, + "returnCount": 0, + "variableCount": 6, + "propertyCallCount": 9, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 21, + "N1": 21, + "N2": 51, + "programLength": 72, + "programVocabulary": 24, + "volume": 330.1173000519232, + "difficulty": 3.6428571428571423, + "effort": 1202.570164474863, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setRequiredMetricProperties" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setOptionalMetricProperties": { + "line": 133, + "lineCount": 12, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 8, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 11, + "N1": 16, + "N2": 33, + "programLength": 49, + "programVocabulary": 13, + "volume": 181.32154618891352, + "difficulty": 3, + "effort": 543.9646385667405, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setOptionalMetricProperties" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setTimesChanged": { + "line": 146, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setTimesChanged" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertSame": { + "line": 151, + "lineCount": 14, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 6, + "N2": 8, + "programLength": 14, + "programVocabulary": 5, + "volume": 32.50699332842307, + "difficulty": 2.6666666666666665, + "effort": 86.68531554246152, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertSame" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::calculateDeltas": { + "line": 169, + "lineCount": 13, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 16, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 17, + "N2": 27, + "programLength": 44, + "programVocabulary": 4, + "volume": 88, + "difficulty": 13.5, + "effort": 1188, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::calculateDeltas" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::fromArray": { + "line": 187, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::fromArray" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertArrayKeyIsPresent": { + "line": 197, + "lineCount": 6, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 5, + "programLength": 5, + "programVocabulary": 2, + "volume": 5, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertArrayKeyIsPresent" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getClass": { + "line": 204, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getMethod": { + "line": 209, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getMethod" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCount": { + "line": 214, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCount": { + "line": 219, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCount": { + "line": 224, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCount": { + "line": 229, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCount": { + "line": 234, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCount": { + "line": 239, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevel": { + "line": 244, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevel" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCount": { + "line": 249, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeight": { + "line": 254, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setLineCountWeight": { + "line": 259, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setLineCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeight": { + "line": 264, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setArgCountWeight": { + "line": 269, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setArgCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeight": { + "line": 274, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setReturnCountWeight": { + "line": 279, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setReturnCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeight": { + "line": 284, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setVariableCountWeight": { + "line": 289, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setVariableCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeight": { + "line": 294, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setPropertyCallCountWeight": { + "line": 299, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setPropertyCallCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeight": { + "line": 304, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfCountWeight": { + "line": 309, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeight": { + "line": 314, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfNestingLevelWeight": { + "line": 319, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfNestingLevelWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeight": { + "line": 324, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setElseCountWeight": { + "line": 329, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setElseCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setScore": { + "line": 334, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setScore" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getScore": { + "line": 339, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getScore" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setCoverage": { + "line": 344, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCoverage": { + "line": 349, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeightDelta": { + "line": 354, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeightDelta": { + "line": 359, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeightDelta": { + "line": 364, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeightDelta": { + "line": 369, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeightDelta": { + "line": 374, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeightDelta": { + "line": 379, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeightDelta": { + "line": 384, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeightDelta": { + "line": 389, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getTimesChanged": { + "line": 394, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 2, + "programLength": 3, + "programVocabulary": 3, + "volume": 4.754887502163468, + "difficulty": 0.5, + "effort": 2.377443751081734, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getTimesChanged" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getFileName": { + "line": 399, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getFileName" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLine": { + "line": 404, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLine" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::equals": { + "line": 409, + "lineCount": 5, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 2, + "N1": 5, + "N2": 5, + "programLength": 10, + "programVocabulary": 5, + "volume": 23.21928094887362, + "difficulty": 3.75, + "effort": 87.07230355827608, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::equals" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::toArray": { + "line": 418, + "lineCount": 34, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 29, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 30, + "N1": 0, + "N2": 58, + "programLength": 58, + "programVocabulary": 30, + "volume": 284.5996545452941, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::toArray" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::jsonSerialize": { + "line": 456, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::jsonSerialize" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getHalstead": { + "line": 464, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getHalstead" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCyclomatic": { + "line": 472, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCyclomatic" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::add": { + "line": 30, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 5, + "N2": 6, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 3, + "effort": 85.30376252379816, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::add" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filter": { + "line": 40, + "lineCount": 11, + "argCount": 1, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 8, + "volume": 42, + "difficulty": 3, + "effort": 126, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filter" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getIterator": { + "line": 57, + "lineCount": 5, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getIterator" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::count": { + "line": 66, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::count" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterWithScoreGreaterThan": { + "line": 71, + "lineCount": 6, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 3, + "N2": 6, + "programLength": 9, + "programVocabulary": 5, + "volume": 20.89735285398626, + "difficulty": 2, + "effort": 41.79470570797252, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterWithScoreGreaterThan" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::contains": { + "line": 78, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 4, + "N2": 5, + "programLength": 9, + "programVocabulary": 5, + "volume": 20.89735285398626, + "difficulty": 1.6666666666666667, + "effort": 34.82892142331043, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::contains" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getClassWithMethod": { + "line": 83, + "lineCount": 9, + "argCount": 2, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 3, + "N2": 10, + "programLength": 13, + "programVocabulary": 7, + "volume": 36.49561398674886, + "difficulty": 2, + "effort": 72.99122797349771, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getClassWithMethod" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterByClassName": { + "line": 93, + "lineCount": 6, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 3, + "N2": 6, + "programLength": 9, + "programVocabulary": 5, + "volume": 20.89735285398626, + "difficulty": 2, + "effort": 41.79470570797252, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterByClassName" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::assertMetricHasGetter": { + "line": 100, + "lineCount": 9, + "argCount": 3, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 6, + "programLength": 7, + "programVocabulary": 4, + "volume": 14, + "difficulty": 1, + "effort": 14, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::assertMetricHasGetter" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::groupBy": { + "line": 117, + "lineCount": 20, + "argCount": 1, + "returnCount": 1, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 10, + "N2": 23, + "programLength": 33, + "programVocabulary": 11, + "volume": 114.16124341503081, + "difficulty": 6.571428571428571, + "effort": 750.2024567273453, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::groupBy" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::jsonSerialize": { + "line": 141, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::jsonSerialize" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::__construct": { + "line": 32, + "lineCount": 8, + "argCount": 5, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 5, + "N1": 0, + "N2": 5, + "programLength": 5, + "programVocabulary": 5, + "volume": 11.60964047443681, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collect": { + "line": 49, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 5, + "programLength": 6, + "programVocabulary": 4, + "volume": 12, + "difficulty": 0.8333333333333334, + "effort": 10, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collect" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collectFromPaths": { + "line": 62, + "lineCount": 13, + "argCount": 2, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 8, + "N2": 16, + "programLength": 24, + "programVocabulary": 9, + "volume": 76.07820003461549, + "difficulty": 4, + "effort": 304.31280013846197, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collectFromPaths" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCodeFromFile": { + "line": 79, + "lineCount": 10, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 2, + "N1": 5, + "N2": 6, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 6, + "effort": 170.6075250475963, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCodeFromFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findMetrics": { + "line": 98, + "lineCount": 31, + "argCount": 1, + "returnCount": 1, + "variableCount": 9, + "propertyCallCount": 2, + "ifNestingLevel": 2, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 13, + "N1": 18, + "N2": 38, + "programLength": 56, + "programVocabulary": 16, + "volume": 224, + "difficulty": 4.384615384615384, + "effort": 982.1538461538461, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findMetrics" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processMethodMetrics": { + "line": 136, + "lineCount": 29, + "argCount": 3, + "returnCount": 1, + "variableCount": 7, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 14, + "N1": 8, + "N2": 27, + "programLength": 35, + "programVocabulary": 17, + "volume": 143.06119944376186, + "difficulty": 2.892857142857143, + "effort": 413.8556126765968, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processMethodMetrics" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::isExcluded": { + "line": 166, + "lineCount": 12, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 5, + "N1": 5, + "N2": 9, + "programLength": 14, + "programVocabulary": 9, + "volume": 44.37895002019237, + "difficulty": 3.6, + "effort": 159.76422007269252, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::isExcluded" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findSourceFiles": { + "line": 187, + "lineCount": 7, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 2, + "N2": 6, + "programLength": 8, + "programVocabulary": 6, + "volume": 20.67970000576925, + "difficulty": 1.5, + "effort": 31.019550008653873, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findSourceFiles" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getProjectRoot": { + "line": 202, + "lineCount": 13, + "argCount": 0, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 2, + "N1": 8, + "N2": 8, + "programLength": 16, + "programVocabulary": 6, + "volume": 41.3594000115385, + "difficulty": 8, + "effort": 330.875200092308, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getProjectRoot" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateCacheKey": { + "line": 219, + "lineCount": 7, + "argCount": 2, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 6, + "N1": 10, + "N2": 12, + "programLength": 22, + "programVocabulary": 10, + "volume": 73.08241808752197, + "difficulty": 4, + "effort": 292.3296723500879, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateCacheKey" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateConfigHash": { + "line": 230, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 1, + "N1": 3, + "N2": 2, + "programLength": 5, + "programVocabulary": 3, + "volume": 7.92481250360578, + "difficulty": 2, + "effort": 15.84962500721156, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateConfigHash" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::cacheResult": { + "line": 239, + "lineCount": 14, + "argCount": 4, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 13, + "N1": 5, + "N2": 20, + "programLength": 25, + "programVocabulary": 15, + "volume": 97.67226489021297, + "difficulty": 1.5384615384615385, + "effort": 150.26502290801997, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::cacheResult" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::clearCache": { + "line": 254, + "lineCount": 4, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::clearCache" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::normalizeFilename": { + "line": 264, + "lineCount": 15, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 6, + "n2": 7, + "N1": 12, + "N2": 16, + "programLength": 28, + "programVocabulary": 13, + "volume": 103.61231210795059, + "difficulty": 6.857142857142857, + "effort": 710.4844258830897, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::normalizeFilename" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCachedMetrics": { + "line": 286, + "lineCount": 19, + "argCount": 3, + "returnCount": 3, + "variableCount": 4, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 11, + "N1": 10, + "N2": 29, + "programLength": 39, + "programVocabulary": 14, + "volume": 148.48684196024655, + "difficulty": 3.954545454545454, + "effort": 587.1979659337022, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCachedMetrics" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processFile": { + "line": 312, + "lineCount": 37, + "argCount": 5, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 7, + "n2": 10, + "N1": 12, + "N2": 28, + "programLength": 40, + "programVocabulary": 17, + "volume": 163.49851365001356, + "difficulty": 9.799999999999999, + "effort": 1602.2854337701328, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::sort": { + "line": 51, + "lineCount": 41, + "argCount": 3, + "returnCount": 2, + "variableCount": 10, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 18, + "N1": 20, + "N2": 43, + "programLength": 63, + "programVocabulary": 22, + "volume": 280.9441919741497, + "difficulty": 4.777777777777778, + "effort": 1342.2889172098264, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::sort" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getFieldValue": { + "line": 100, + "lineCount": 28, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 25, + "N1": 24, + "N2": 50, + "programLength": 74, + "programVocabulary": 27, + "volume": 351.86167516009664, + "difficulty": 2, + "effort": 703.7233503201933, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getFieldValue" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::compareValues": { + "line": 136, + "lineCount": 13, + "argCount": 2, + "returnCount": 3, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 2, + "N1": 9, + "N2": 12, + "programLength": 21, + "programVocabulary": 5, + "volume": 48.760489992634604, + "difficulty": 9, + "effort": 438.8444099337114, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::compareValues" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getSortableFields": { + "line": 155, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 0, + "N1": 0, + "N2": 0, + "programLength": 0, + "programVocabulary": 0, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getSortableFields" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__construct": { + "line": 15, + "lineCount": 11, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 7, + "N2": 12, + "programLength": 19, + "programVocabulary": 6, + "volume": 49.11428751370197, + "difficulty": 6, + "effort": 294.6857250822118, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::getValue": { + "line": 27, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::getValue" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasIncreased": { + "line": 32, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasIncreased" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__toString": { + "line": 37, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__toString" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasNotChanged": { + "line": 42, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 2, + "programLength": 3, + "programVocabulary": 3, + "volume": 4.754887502163468, + "difficulty": 0.5, + "effort": 2.377443751081734, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasNotChanged" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\FileProcessed::__construct": { + "line": 14, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\FileProcessed::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\ParserFailed::__construct": { + "line": 15, + "lineCount": 5, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\ParserFailed::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\SourceFilesFound::__construct": { + "line": 17, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\SourceFilesFound::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::__construct": { + "line": 15, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::create": { + "line": 27, + "lineCount": 10, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 6, + "N1": 0, + "N2": 8, + "programLength": 8, + "programVocabulary": 6, + "volume": 20.67970000576925, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::create" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::getSupportedTypes": { + "line": 43, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 4, + "N1": 0, + "N2": 4, + "programLength": 4, + "programVocabulary": 4, + "volume": 8, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::getSupportedTypes" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::isSupported": { + "line": 54, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 2, + "N2": 3, + "programLength": 5, + "programVocabulary": 4, + "volume": 10, + "difficulty": 1.5, + "effort": 15, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::isSupported" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CsvExporter::export": { + "line": 46, + "lineCount": 57, + "argCount": 2, + "returnCount": 0, + "variableCount": 6, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 15, + "N1": 37, + "N2": 54, + "programLength": 91, + "programVocabulary": 19, + "volume": 386.56140372336625, + "difficulty": 7.2, + "effort": 2783.242106808237, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CsvExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::export": { + "line": 40, + "lineCount": 8, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 5, + "N1": 4, + "N2": 8, + "programLength": 12, + "programVocabulary": 9, + "volume": 38.039100017307746, + "difficulty": 3.2, + "effort": 121.72512005538479, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::escape": { + "line": 49, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::escape" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::formatNumber": { + "line": 54, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::formatNumber" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::generateMetricRow": { + "line": 59, + "lineCount": 12, + "argCount": 3, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 16, + "N1": 19, + "N2": 27, + "programLength": 46, + "programVocabulary": 21, + "volume": 202.04660144782298, + "difficulty": 4.21875, + "effort": 852.3840998580032, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::generateMetricRow" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::generateHtml": { + "line": 78, + "lineCount": 64, + "argCount": 1, + "returnCount": 1, + "variableCount": 7, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 11, + "N1": 46, + "N2": 57, + "programLength": 103, + "programVocabulary": 15, + "volume": 402.40973134767745, + "difficulty": 10.363636363636363, + "effort": 4170.42812487593, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::generateHtml" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\JsonExporter::export": { + "line": 19, + "lineCount": 38, + "argCount": 2, + "returnCount": 0, + "variableCount": 5, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 27, + "N1": 29, + "N2": 58, + "programLength": 87, + "programVocabulary": 32, + "volume": 435, + "difficulty": 5.370370370370371, + "effort": 2336.1111111111113, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\JsonExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::__construct": { + "line": 24, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::export": { + "line": 36, + "lineCount": 8, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 5, + "N1": 4, + "N2": 8, + "programLength": 12, + "programVocabulary": 9, + "volume": 38.039100017307746, + "difficulty": 3.2, + "effort": 121.72512005538479, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::escape": { + "line": 48, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::escape" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateMetricCell": { + "line": 56, + "lineCount": 12, + "argCount": 3, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 12, + "N1": 16, + "N2": 24, + "programLength": 40, + "programVocabulary": 17, + "volume": 163.49851365001356, + "difficulty": 5, + "effort": 817.4925682500678, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateMetricCell" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::filterMetrics": { + "line": 75, + "lineCount": 15, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 4, + "N1": 4, + "N2": 11, + "programLength": 15, + "programVocabulary": 7, + "volume": 42.11032383086406, + "difficulty": 4.125, + "effort": 173.70508580231424, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::filterMetrics" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableHeader": { + "line": 94, + "lineCount": 33, + "argCount": 0, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 4, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 19, + "N1": 10, + "N2": 28, + "programLength": 38, + "programVocabulary": 22, + "volume": 169.4584015082173, + "difficulty": 2.2105263157894735, + "effort": 374.5922559655329, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableHeader" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableHeaderWithClass": { + "line": 131, + "lineCount": 33, + "argCount": 0, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 4, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 20, + "N1": 10, + "N2": 29, + "programLength": 39, + "programVocabulary": 23, + "volume": 176.41891628622352, + "difficulty": 2.175, + "effort": 383.7111429225361, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableHeaderWithClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableSeparator": { + "line": 168, + "lineCount": 20, + "argCount": 0, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 4, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 7, + "N1": 3, + "N2": 16, + "programLength": 19, + "programVocabulary": 10, + "volume": 63.11663380285988, + "difficulty": 3.4285714285714284, + "effort": 216.399887324091, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableSeparator" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableSeparatorWithClass": { + "line": 192, + "lineCount": 20, + "argCount": 0, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 4, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 8, + "N1": 3, + "N2": 16, + "programLength": 19, + "programVocabulary": 11, + "volume": 65.72920075410865, + "difficulty": 3, + "effort": 197.18760226232592, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableSeparatorWithClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableRow": { + "line": 216, + "lineCount": 22, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 6, + "N1": 53, + "N2": 60, + "programLength": 113, + "programVocabulary": 10, + "volume": 375.37787472227194, + "difficulty": 20, + "effort": 7507.557494445438, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableRow" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableRowWithClass": { + "line": 242, + "lineCount": 25, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 6, + "N1": 55, + "N2": 62, + "programLength": 117, + "programVocabulary": 10, + "volume": 388.66558710182136, + "difficulty": 20.666666666666668, + "effort": 8032.422133437642, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableRowWithClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::addHalsteadCells": { + "line": 274, + "lineCount": 20, + "argCount": 2, + "returnCount": 3, + "variableCount": 2, + "propertyCallCount": 5, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 12, + "N2": 24, + "programLength": 36, + "programVocabulary": 8, + "volume": 108, + "difficulty": 7.199999999999999, + "effort": 777.5999999999999, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::addHalsteadCells" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::addCyclomaticCell": { + "line": 301, + "lineCount": 16, + "argCount": 2, + "returnCount": 3, + "variableCount": 2, + "propertyCallCount": 4, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 8, + "N2": 16, + "programLength": 24, + "programVocabulary": 11, + "volume": 83.02635884729514, + "difficulty": 4.571428571428571, + "effort": 379.5490690162063, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::addCyclomaticCell" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateMarkdown": { + "line": 325, + "lineCount": 8, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 2, + "N2": 6, + "programLength": 8, + "programVocabulary": 3, + "volume": 12.679700005769249, + "difficulty": 1.5, + "effort": 19.019550008653873, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateMarkdown" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateGroupedMarkdown": { + "line": 337, + "lineCount": 49, + "argCount": 1, + "returnCount": 1, + "variableCount": 10, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 8, + "n2": 23, + "N1": 33, + "N2": 65, + "programLength": 98, + "programVocabulary": 31, + "volume": 485.5112384179137, + "difficulty": 11.304347826086957, + "effort": 5488.387912550329, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateGroupedMarkdown" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateSingleTableMarkdown": { + "line": 390, + "lineCount": 28, + "argCount": 1, + "returnCount": 1, + "variableCount": 6, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 6, + "n2": 13, + "N1": 19, + "N2": 37, + "programLength": 56, + "programVocabulary": 19, + "volume": 237.88394075284077, + "difficulty": 8.538461538461538, + "effort": 2031.1628787357943, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateSingleTableMarkdown" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::__construct": { + "line": 32, + "lineCount": 26, + "argCount": 2, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 7, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 14, + "N2": 22, + "programLength": 36, + "programVocabulary": 5, + "volume": 83.58941141594504, + "difficulty": 7.333333333333333, + "effort": 612.9890170502636, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::parse": { + "line": 63, + "lineCount": 37, + "argCount": 1, + "returnCount": 1, + "variableCount": 9, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 14, + "N1": 16, + "N2": 43, + "programLength": 59, + "programVocabulary": 17, + "volume": 241.16030763377, + "difficulty": 4.607142857142858, + "effort": 1111.0599887412977, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::parse" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::scanForAnnotations": { + "line": 104, + "lineCount": 20, + "argCount": 1, + "returnCount": 0, + "variableCount": 4, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 7, + "N1": 8, + "N2": 16, + "programLength": 24, + "programVocabulary": 10, + "volume": 79.7262742772967, + "difficulty": 3.4285714285714284, + "effort": 273.34722609358863, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::scanForAnnotations" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::traverseAbstractSyntaxTreeWithCombinedVisitor": { + "line": 129, + "lineCount": 17, + "argCount": 1, + "returnCount": 0, + "variableCount": 4, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 7, + "N1": 7, + "N2": 15, + "programLength": 22, + "programVocabulary": 10, + "volume": 73.08241808752197, + "difficulty": 3.2142857142857144, + "effort": 234.90777242417778, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::traverseAbstractSyntaxTreeWithCombinedVisitor" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getIgnored": { + "line": 153, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getIgnored" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getIgnoredClasses": { + "line": 163, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getIgnoredClasses" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getIgnoredMethods": { + "line": 173, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getIgnoredMethods" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::clearStaticCaches": { + "line": 181, + "lineCount": 15, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 9, + "N1": 7, + "N2": 19, + "programLength": 26, + "programVocabulary": 10, + "volume": 86.37013046707142, + "difficulty": 1.0555555555555556, + "effort": 91.16847104857538, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::clearStaticCaches" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::clearStaticProperty": { + "line": 200, + "lineCount": 14, + "argCount": 2, + "returnCount": 0, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 6, + "N2": 12, + "programLength": 18, + "programVocabulary": 7, + "volume": 50.53238859703688, + "difficulty": 2.4, + "effort": 121.2777326328885, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::clearStaticProperty" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getRiskLevel": { + "line": 218, + "lineCount": 9, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 8, + "N1": 3, + "N2": 11, + "programLength": 14, + "programVocabulary": 9, + "volume": 44.37895002019237, + "difficulty": 0.6875, + "effort": 30.510528138882254, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getRiskLevel" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculate": { + "line": 47, + "lineCount": 5, + "argCount": 2, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 2, + "N2": 8, + "programLength": 10, + "programVocabulary": 4, + "volume": 20, + "difficulty": 1.3333333333333333, + "effort": 26.666666666666664, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculateScore": { + "line": 53, + "lineCount": 10, + "argCount": 1, + "returnCount": 0, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 9, + "N1": 7, + "N2": 15, + "programLength": 22, + "programVocabulary": 13, + "volume": 81.40967379910403, + "difficulty": 3.3333333333333335, + "effort": 271.36557933034675, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculateScore" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculateMetricWeights": { + "line": 70, + "lineCount": 17, + "argCount": 3, + "returnCount": 0, + "variableCount": 6, + "propertyCallCount": 3, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 12, + "N1": 9, + "N2": 24, + "programLength": 33, + "programVocabulary": 15, + "volume": 128.92738965508113, + "difficulty": 3, + "effort": 386.7821689652434, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculateMetricWeights" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculateLogWeight": { + "line": 132, + "lineCount": 8, + "argCount": 3, + "returnCount": 2, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 5, + "N1": 5, + "N2": 11, + "programLength": 16, + "programVocabulary": 10, + "volume": 53.150849518197795, + "difficulty": 5.5, + "effort": 292.3296723500879, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculateLogWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cyclomatic\\CyclomaticMetrics::__construct": { + "line": 129, + "lineCount": 23, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 19, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 43, + "N1": 56, + "N2": 130, + "programLength": 186, + "programVocabulary": 45, + "volume": 1021.4846759173195, + "difficulty": 3.0232558139534884, + "effort": 3088.209485331431, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cyclomatic\\CyclomaticMetrics::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::escapeMarkdown": { + "line": 18, + "lineCount": 6, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 5, + "N1": 1, + "N2": 6, + "programLength": 7, + "programVocabulary": 6, + "volume": 18.094737505048094, + "difficulty": 0.6, + "effort": 10.856842503028856, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::escapeMarkdown" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::formatNumber": { + "line": 32, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 5, + "programLength": 6, + "programVocabulary": 4, + "volume": 12, + "difficulty": 0.8333333333333334, + "effort": 10, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::formatNumber" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::buildTableHeader": { + "line": 43, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 3, + "N2": 5, + "programLength": 8, + "programVocabulary": 6, + "volume": 20.67970000576925, + "difficulty": 1.25, + "effort": 25.84962500721156, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::buildTableHeader" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::buildTableSeparator": { + "line": 54, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 4, + "programLength": 6, + "programVocabulary": 5, + "volume": 13.931568569324174, + "difficulty": 1.3333333333333333, + "effort": 18.575424759098897, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::buildTableSeparator" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::buildTableRow": { + "line": 65, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 3, + "N2": 5, + "programLength": 8, + "programVocabulary": 6, + "volume": 20.67970000576925, + "difficulty": 1.25, + "effort": 25.84962500721156, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::buildTableRow" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::formatPercentage": { + "line": 77, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 2, + "N2": 6, + "programLength": 8, + "programVocabulary": 6, + "volume": 20.67970000576925, + "difficulty": 1.5, + "effort": 31.019550008653873, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::formatPercentage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::escapeMarkdown": { + "line": 18, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 5, + "N1": 1, + "N2": 6, + "programLength": 7, + "programVocabulary": 6, + "volume": 18.094737505048094, + "difficulty": 0.6, + "effort": 10.856842503028856, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::escapeMarkdown" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::formatNumber": { + "line": 30, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 5, + "programLength": 6, + "programVocabulary": 4, + "volume": 12, + "difficulty": 0.8333333333333334, + "effort": 10, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::formatNumber" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::buildMarkdownTableHeader": { + "line": 41, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 3, + "N2": 5, + "programLength": 8, + "programVocabulary": 6, + "volume": 20.67970000576925, + "difficulty": 1.25, + "effort": 25.84962500721156, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::buildMarkdownTableHeader" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::buildMarkdownTableSeparator": { + "line": 52, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 4, + "programLength": 6, + "programVocabulary": 5, + "volume": 13.931568569324174, + "difficulty": 1.3333333333333333, + "effort": 18.575424759098897, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::buildMarkdownTableSeparator" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::buildMarkdownTableRow": { + "line": 63, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 3, + "N2": 5, + "programLength": 8, + "programVocabulary": 6, + "volume": 20.67970000576925, + "difficulty": 1.25, + "effort": 25.84962500721156, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::buildMarkdownTableRow" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::formatMarkdownPercentage": { + "line": 75, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 2, + "N2": 6, + "programLength": 8, + "programVocabulary": 6, + "volume": 20.67970000576925, + "difficulty": 1.5, + "effort": 31.019550008653873, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::formatMarkdownPercentage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Halstead\\HalsteadMetrics::__construct": { + "line": 33, + "lineCount": 13, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 10, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 12, + "N1": 10, + "N2": 31, + "programLength": 41, + "programVocabulary": 13, + "volume": 151.7180284437848, + "difficulty": 1.2916666666666667, + "effort": 195.96912007322203, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Halstead\\HalsteadMetrics::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Halstead\\HalsteadMetrics::getVolume": { + "line": 47, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Halstead\\HalsteadMetrics::getVolume" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::__construct": { + "line": 32, + "lineCount": 9, + "argCount": 5, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 2, + "n2": 7, + "N1": 2, + "N2": 7, + "programLength": 9, + "programVocabulary": 9, + "volume": 28.52932501298081, + "difficulty": 1, + "effort": 28.52932501298081, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::getChurnExporterFactory": { + "line": 45, + "lineCount": 7, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "cyclomatic_complexity": { + "complexity": 2, + "risk_level": "low" + }, + "halstead": { + "n1": 2, + "n2": 1, + "N1": 2, + "N2": 3, + "programLength": 5, + "programVocabulary": 3, + "volume": 7.92481250360578, + "difficulty": 3, + "effort": 23.774437510817343, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::getChurnExporterFactory" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::getCognitiveExporterFactory": { + "line": 56, + "lineCount": 7, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "cyclomatic_complexity": { + "complexity": 2, + "risk_level": "low" + }, + "halstead": { + "n1": 3, + "n2": 1, + "N1": 3, + "N2": 4, + "programLength": 7, + "programVocabulary": 4, + "volume": 14, + "difficulty": 6, + "effort": 84, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::getCognitiveExporterFactory" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::getCognitiveMetrics": { + "line": 72, + "lineCount": 10, + "argCount": 1, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 3, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 2, + "risk_level": "low" + }, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 5, + "N2": 11, + "programLength": 16, + "programVocabulary": 6, + "volume": 41.3594000115385, + "difficulty": 2.75, + "effort": 113.73835003173087, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::getCognitiveMetrics" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::getCognitiveMetricsFromPaths": { + "line": 92, + "lineCount": 16, + "argCount": 2, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "cyclomatic_complexity": { + "complexity": 3, + "risk_level": "low" + }, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 8, + "N2": 18, + "programLength": 26, + "programVocabulary": 9, + "volume": 82.41805003750011, + "difficulty": 4.5, + "effort": 370.88122516875046, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::getCognitiveMetricsFromPaths" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::calculateChurn": { + "line": 118, + "lineCount": 18, + "argCount": 4, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 2, + "risk_level": "low" + }, + "halstead": { + "n1": 2, + "n2": 10, + "N1": 8, + "N2": 21, + "programLength": 29, + "programVocabulary": 12, + "volume": 103.96391252091352, + "difficulty": 2.1, + "effort": 218.3242162939184, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::calculateChurn" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::loadConfig": { + "line": 143, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::loadConfig" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::getConfig": { + "line": 148, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::getConfig" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::exportChurnReport": { + "line": 156, + "lineCount": 9, + "argCount": 3, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 1, + "n2": 4, + "N1": 3, + "N2": 7, + "programLength": 10, + "programVocabulary": 5, + "volume": 23.21928094887362, + "difficulty": 0.875, + "effort": 20.316870830264417, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::exportChurnReport" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::exportMetricsReport": { + "line": 168, + "lineCount": 8, + "argCount": 3, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 4, + "N2": 9, + "programLength": 13, + "programVocabulary": 7, + "volume": 36.49561398674886, + "difficulty": 1.8, + "effort": 65.69210517614795, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::exportMetricsReport" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::clearCache": { + "line": 177, + "lineCount": 4, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::clearCache" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::addCoverageToMetric": { + "line": 185, + "lineCount": 20, + "argCount": 2, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "cyclomatic_complexity": { + "complexity": 3, + "risk_level": "low" + }, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 11, + "N2": 18, + "programLength": 29, + "programVocabulary": 11, + "volume": 100.32351694048162, + "difficulty": 5.142857142857143, + "effort": 515.9495156939055, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::addCoverageToMetric" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::addMethodLevelCoverage": { + "line": 209, + "lineCount": 16, + "argCount": 2, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "cyclomatic_complexity": { + "complexity": 2, + "risk_level": "low" + }, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 9, + "N2": 15, + "programLength": 24, + "programVocabulary": 7, + "volume": 67.3765181293825, + "difficulty": 3, + "effort": 202.1295543881475, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::addMethodLevelCoverage" + } + } + }, + "ignored_items": [], + "cached_at": 1759967601 +} \ No newline at end of file diff --git a/.phpcca.cache/f2/f2e881ba1bfa52f09465fadc05130809.cache b/.phpcca.cache/f2/f2e881ba1bfa52f09465fadc05130809.cache new file mode 100644 index 0000000..2cf7243 --- /dev/null +++ b/.phpcca.cache/f2/f2e881ba1bfa52f09465fadc05130809.cache @@ -0,0 +1,442 @@ +{ + "version": "1.0", + "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/Cache\/FileCache.php", + "file_mtime": 1759967661, + "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", + "analysis_result": { + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::__construct": { + "line": 26, + "lineCount": 5, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 3, + "n2": 4, + "N1": 3, + "N2": 6, + "programLength": 9, + "programVocabulary": 7, + "volume": 25.26619429851844, + "difficulty": 2.25, + "effort": 56.848937171666485, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItem": { + "line": 35, + "lineCount": 15, + "argCount": 1, + "returnCount": 3, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "cyclomatic_complexity": { + "complexity": 3, + "risk_level": "low" + }, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 6, + "N2": 13, + "programLength": 19, + "programVocabulary": 8, + "volume": 57, + "difficulty": 6.5, + "effort": 370.5, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItem" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItems": { + "line": 55, + "lineCount": 9, + "argCount": 1, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 2, + "risk_level": "low" + }, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 3, + "N2": 9, + "programLength": 12, + "programVocabulary": 6, + "volume": 31.019550008653873, + "difficulty": 2.25, + "effort": 69.79398751947122, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItems" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::hasItem": { + "line": 68, + "lineCount": 6, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 5, + "n2": 3, + "N1": 6, + "N2": 7, + "programLength": 13, + "programVocabulary": 8, + "volume": 39, + "difficulty": 5.833333333333334, + "effort": 227.50000000000003, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::hasItem" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::clear": { + "line": 75, + "lineCount": 10, + "argCount": 0, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 2, + "risk_level": "low" + }, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 2, + "N2": 4, + "programLength": 6, + "programVocabulary": 3, + "volume": 9.509775004326936, + "difficulty": 1, + "effort": 9.509775004326936, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::clear" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItem": { + "line": 89, + "lineCount": 10, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "cyclomatic_complexity": { + "complexity": 2, + "risk_level": "low" + }, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 4, + "N2": 6, + "programLength": 10, + "programVocabulary": 6, + "volume": 25.84962500721156, + "difficulty": 3, + "effort": 77.54887502163469, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItem" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItems": { + "line": 103, + "lineCount": 10, + "argCount": 1, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "cyclomatic_complexity": { + "complexity": 3, + "risk_level": "low" + }, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 3, + "N2": 8, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 2, + "effort": 56.86917501586544, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItems" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::save": { + "line": 117, + "lineCount": 11, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "cyclomatic_complexity": { + "complexity": 2, + "risk_level": "low" + }, + "halstead": { + "n1": 3, + "n2": 4, + "N1": 9, + "N2": 12, + "programLength": 21, + "programVocabulary": 7, + "volume": 58.95445336320969, + "difficulty": 4.5, + "effort": 265.2950401344436, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::save" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveDeferred": { + "line": 129, + "lineCount": 6, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveDeferred" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::commit": { + "line": 136, + "lineCount": 11, + "argCount": 0, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "cyclomatic_complexity": { + "complexity": 3, + "risk_level": "low" + }, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 4, + "N2": 8, + "programLength": 12, + "programVocabulary": 5, + "volume": 27.863137138648348, + "difficulty": 2.6666666666666665, + "effort": 74.30169903639559, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::commit" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::ensureCacheDirectory": { + "line": 152, + "lineCount": 9, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "cyclomatic_complexity": { + "complexity": 2, + "risk_level": "low" + }, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 3, + "N2": 4, + "programLength": 7, + "programVocabulary": 4, + "volume": 14, + "difficulty": 2, + "effort": 28, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::ensureCacheDirectory" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getCacheFilePath": { + "line": 168, + "lineCount": 15, + "argCount": 1, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "cyclomatic_complexity": { + "complexity": 2, + "risk_level": "low" + }, + "halstead": { + "n1": 4, + "n2": 10, + "N1": 13, + "N2": 19, + "programLength": 32, + "programVocabulary": 14, + "volume": 121.83535750584333, + "difficulty": 3.8, + "effort": 462.9743585222046, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getCacheFilePath" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::loadCacheData": { + "line": 187, + "lineCount": 14, + "argCount": 1, + "returnCount": 3, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "cyclomatic_complexity": { + "complexity": 3, + "risk_level": "low" + }, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 6, + "N2": 8, + "programLength": 14, + "programVocabulary": 6, + "volume": 36.18947501009619, + "difficulty": 4, + "effort": 144.75790004038475, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::loadCacheData" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveCacheData": { + "line": 209, + "lineCount": 21, + "argCount": 2, + "returnCount": 3, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "cyclomatic_complexity": { + "complexity": 3, + "risk_level": "low" + }, + "halstead": { + "n1": 6, + "n2": 7, + "N1": 13, + "N2": 17, + "programLength": 30, + "programVocabulary": 13, + "volume": 111.01319154423277, + "difficulty": 7.285714285714285, + "effort": 808.810395536553, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveCacheData" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::sanitizeUtf8": { + "line": 234, + "lineCount": 25, + "argCount": 1, + "returnCount": 4, + "variableCount": 6, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "cyclomatic_complexity": { + "complexity": 6, + "risk_level": "medium" + }, + "halstead": { + "n1": 3, + "n2": 8, + "N1": 13, + "N2": 29, + "programLength": 42, + "programVocabulary": 11, + "volume": 145.29612798276648, + "difficulty": 5.4375, + "effort": 790.0476959062927, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::sanitizeUtf8" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::removeDirectory": { + "line": 260, + "lineCount": 23, + "argCount": 1, + "returnCount": 2, + "variableCount": 5, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "cyclomatic_complexity": { + "complexity": 5, + "risk_level": "low" + }, + "halstead": { + "n1": 5, + "n2": 9, + "N1": 13, + "N2": 20, + "programLength": 33, + "programVocabulary": 14, + "volume": 125.64271242790093, + "difficulty": 5.555555555555555, + "effort": 698.0150690438941, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::removeDirectory" + } + } + }, + "ignored_items": [], + "cached_at": 1759967673 +} \ No newline at end of file diff --git a/.phpcca.cache/f2/f2fc42afb7b0445f4cb4c070efb4d9e4.cache b/.phpcca.cache/f2/f2fc42afb7b0445f4cb4c070efb4d9e4.cache new file mode 100644 index 0000000..126cfb8 --- /dev/null +++ b/.phpcca.cache/f2/f2fc42afb7b0445f4cb4c070efb4d9e4.cache @@ -0,0 +1,378 @@ +{ + "version": "1.0", + "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/CognitiveAnalysisException.php", + "file_mtime": 1752612112, + "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", + "analysis_result": { + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::__construct": { + "line": 26, + "lineCount": 5, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 4, + "N1": 3, + "N2": 6, + "programLength": 9, + "programVocabulary": 7, + "volume": 25.26619429851844, + "difficulty": 2.25, + "effort": 56.848937171666485, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItem": { + "line": 35, + "lineCount": 15, + "argCount": 1, + "returnCount": 3, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 6, + "N2": 13, + "programLength": 19, + "programVocabulary": 8, + "volume": 57, + "difficulty": 6.5, + "effort": 370.5, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItem" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItems": { + "line": 55, + "lineCount": 9, + "argCount": 1, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 3, + "N2": 9, + "programLength": 12, + "programVocabulary": 6, + "volume": 31.019550008653873, + "difficulty": 2.25, + "effort": 69.79398751947122, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItems" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::hasItem": { + "line": 68, + "lineCount": 6, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 5, + "n2": 3, + "N1": 6, + "N2": 7, + "programLength": 13, + "programVocabulary": 8, + "volume": 39, + "difficulty": 5.833333333333334, + "effort": 227.50000000000003, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::hasItem" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::clear": { + "line": 75, + "lineCount": 10, + "argCount": 0, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 2, + "N2": 4, + "programLength": 6, + "programVocabulary": 3, + "volume": 9.509775004326936, + "difficulty": 1, + "effort": 9.509775004326936, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::clear" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItem": { + "line": 89, + "lineCount": 10, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 4, + "N2": 6, + "programLength": 10, + "programVocabulary": 6, + "volume": 25.84962500721156, + "difficulty": 3, + "effort": 77.54887502163469, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItem" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItems": { + "line": 103, + "lineCount": 10, + "argCount": 1, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 3, + "N2": 8, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 2, + "effort": 56.86917501586544, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItems" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::save": { + "line": 117, + "lineCount": 11, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 4, + "N1": 9, + "N2": 12, + "programLength": 21, + "programVocabulary": 7, + "volume": 58.95445336320969, + "difficulty": 4.5, + "effort": 265.2950401344436, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::save" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveDeferred": { + "line": 129, + "lineCount": 6, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveDeferred" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::commit": { + "line": 136, + "lineCount": 11, + "argCount": 0, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 4, + "N2": 8, + "programLength": 12, + "programVocabulary": 5, + "volume": 27.863137138648348, + "difficulty": 2.6666666666666665, + "effort": 74.30169903639559, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::commit" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::ensureCacheDirectory": { + "line": 152, + "lineCount": 9, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 3, + "N2": 4, + "programLength": 7, + "programVocabulary": 4, + "volume": 14, + "difficulty": 2, + "effort": 28, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::ensureCacheDirectory" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getCacheFilePath": { + "line": 168, + "lineCount": 15, + "argCount": 1, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 10, + "N1": 13, + "N2": 19, + "programLength": 32, + "programVocabulary": 14, + "volume": 121.83535750584333, + "difficulty": 3.8, + "effort": 462.9743585222046, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getCacheFilePath" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::loadCacheData": { + "line": 187, + "lineCount": 14, + "argCount": 1, + "returnCount": 3, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 6, + "N2": 8, + "programLength": 14, + "programVocabulary": 6, + "volume": 36.18947501009619, + "difficulty": 4, + "effort": 144.75790004038475, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::loadCacheData" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveCacheData": { + "line": 209, + "lineCount": 21, + "argCount": 2, + "returnCount": 3, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 6, + "n2": 7, + "N1": 13, + "N2": 17, + "programLength": 30, + "programVocabulary": 13, + "volume": 111.01319154423277, + "difficulty": 7.285714285714285, + "effort": 808.810395536553, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveCacheData" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::sanitizeUtf8": { + "line": 234, + "lineCount": 25, + "argCount": 1, + "returnCount": 4, + "variableCount": 6, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 8, + "N1": 13, + "N2": 29, + "programLength": 42, + "programVocabulary": 11, + "volume": 145.29612798276648, + "difficulty": 5.4375, + "effort": 790.0476959062927, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::sanitizeUtf8" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::removeDirectory": { + "line": 260, + "lineCount": 23, + "argCount": 1, + "returnCount": 2, + "variableCount": 5, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 5, + "n2": 9, + "N1": 13, + "N2": 20, + "programLength": 33, + "programVocabulary": 14, + "volume": 125.64271242790093, + "difficulty": 5.555555555555555, + "effort": 698.0150690438941, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::removeDirectory" + } + } + }, + "ignored_items": [], + "cached_at": 1759967601 +} \ No newline at end of file diff --git a/.phpcca.cache/f3/f39d176e14e300adf03e6ed5b029b843.cache b/.phpcca.cache/f3/f39d176e14e300adf03e6ed5b029b843.cache new file mode 100644 index 0000000..2652cb6 --- /dev/null +++ b/.phpcca.cache/f3/f39d176e14e300adf03e6ed5b029b843.cache @@ -0,0 +1,1850 @@ +{ + "version": "1.0", + "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/Business\/CodeCoverage\/CoverageReportReaderInterface.php", + "file_mtime": 1759784766, + "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", + "analysis_result": { + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct": { + "line": 60, + "lineCount": 5, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 1, + "N1": 2, + "N2": 2, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 2, + "effort": 12.679700005769249, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices": { + "line": 66, + "lineCount": 95, + "argCount": 0, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 5, + "N1": 58, + "N2": 32, + "programLength": 90, + "programVocabulary": 9, + "volume": 285.2932501298081, + "difficulty": 12.8, + "effort": 3651.7536016615436, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap": { + "line": 162, + "lineCount": 10, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 7, + "N2": 7, + "programLength": 14, + "programVocabulary": 2, + "volume": 14, + "difficulty": 3.5, + "effort": 49, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors": { + "line": 173, + "lineCount": 12, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 3, + "N2": 1, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0.5, + "effort": 2, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus": { + "line": 186, + "lineCount": 19, + "argCount": 0, + "returnCount": 0, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 9, + "N2": 13, + "programLength": 22, + "programVocabulary": 7, + "volume": 61.76180828526729, + "difficulty": 2.6, + "effort": 160.58070154169496, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService": { + "line": 206, + "lineCount": 9, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 3, + "N2": 1, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0.5, + "effort": 2, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade": { + "line": 216, + "lineCount": 13, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 3, + "N2": 1, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0.5, + "effort": 2, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands": { + "line": 230, + "lineCount": 21, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 6, + "N2": 2, + "programLength": 8, + "programVocabulary": 2, + "volume": 8, + "difficulty": 1, + "effort": 8, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication": { + "line": 252, + "lineCount": 11, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 5, + "N2": 4, + "programLength": 9, + "programVocabulary": 4, + "volume": 18, + "difficulty": 0.6666666666666666, + "effort": 12, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run": { + "line": 264, + "lineCount": 9, + "argCount": 0, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 5, + "N2": 5, + "programLength": 10, + "programVocabulary": 4, + "volume": 20, + "difficulty": 2.5, + "effort": 50, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get": { + "line": 274, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer": { + "line": 279, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator": { + "line": 289, + "lineCount": 16, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 7, + "programLength": 8, + "programVocabulary": 4, + "volume": 16, + "difficulty": 1.1666666666666667, + "effort": 18.666666666666668, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create": { + "line": 18, + "lineCount": 7, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 4, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile": { + "line": 17, + "lineCount": 17, + "argCount": 2, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 8, + "N1": 11, + "N2": 19, + "programLength": 30, + "programVocabulary": 11, + "volume": 103.78294855911892, + "difficulty": 3.5625, + "effort": 369.72675424186116, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode": { + "line": 42, + "lineCount": 8, + "argCount": 3, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 3, + "N2": 8, + "programLength": 11, + "programVocabulary": 8, + "volume": 33, + "difficulty": 2.4000000000000004, + "effort": 79.20000000000002, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate": { + "line": 22, + "lineCount": 10, + "argCount": 2, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 6, + "N2": 13, + "programLength": 19, + "programVocabulary": 6, + "volume": 49.11428751370197, + "difficulty": 3.25, + "effort": 159.6214344195314, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending": { + "line": 37, + "lineCount": 8, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 2, + "N2": 9, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 2.25, + "effort": 63.97782189284862, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn": { + "line": 51, + "lineCount": 24, + "argCount": 2, + "returnCount": 1, + "variableCount": 6, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 15, + "N1": 17, + "N2": 46, + "programLength": 63, + "programVocabulary": 20, + "volume": 272.28146997790384, + "difficulty": 7.666666666666667, + "effort": 2087.491269830596, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses": { + "line": 81, + "lineCount": 20, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 2, + "n2": 7, + "N1": 10, + "N2": 24, + "programLength": 34, + "programVocabulary": 9, + "volume": 107.7774500490386, + "difficulty": 3.4285714285714284, + "effort": 369.52268588241805, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass": { + "line": 109, + "lineCount": 9, + "argCount": 2, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 6, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 10, + "volume": 49.82892142331043, + "difficulty": 3.3333333333333335, + "effort": 166.09640474436813, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel": { + "line": 126, + "lineCount": 16, + "argCount": 2, + "returnCount": 4, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 12, + "N1": 9, + "N2": 18, + "programLength": 27, + "programVocabulary": 15, + "volume": 105.48604608143, + "difficulty": 2.25, + "effort": 237.3436036832175, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile": { + "line": 14, + "lineCount": 6, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 2, + "N2": 5, + "programLength": 7, + "programVocabulary": 4, + "volume": 14, + "difficulty": 2.5, + "effort": 35, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable": { + "line": 24, + "lineCount": 11, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 10, + "N2": 12, + "programLength": 22, + "programVocabulary": 8, + "volume": 66, + "difficulty": 6, + "effort": 396, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create": { + "line": 21, + "lineCount": 11, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 7, + "N1": 0, + "N2": 9, + "programLength": 9, + "programVocabulary": 7, + "volume": 25.26619429851844, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes": { + "line": 38, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 6, + "N1": 0, + "N2": 6, + "programLength": 6, + "programVocabulary": 6, + "volume": 15.509775004326936, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported": { + "line": 49, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 2, + "N2": 3, + "programLength": 5, + "programVocabulary": 4, + "volume": 10, + "difficulty": 1.5, + "effort": 15, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export": { + "line": 30, + "lineCount": 23, + "argCount": 2, + "returnCount": 0, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 16, + "N1": 10, + "N2": 33, + "programLength": 43, + "programVocabulary": 20, + "volume": 185.8429080801566, + "difficulty": 4.125, + "effort": 766.601995830646, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export": { + "line": 28, + "lineCount": 8, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 6, + "volume": 36.18947501009619, + "difficulty": 2.5, + "effort": 90.47368752524048, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape": { + "line": 37, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber": { + "line": 42, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml": { + "line": 52, + "lineCount": 50, + "argCount": 1, + "returnCount": 1, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 12, + "N1": 11, + "N2": 25, + "programLength": 36, + "programVocabulary": 17, + "volume": 147.14866228501222, + "difficulty": 5.208333333333334, + "effort": 766.3992827344388, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export": { + "line": 17, + "lineCount": 13, + "argCount": 2, + "returnCount": 0, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 8, + "N1": 7, + "N2": 14, + "programLength": 21, + "programVocabulary": 12, + "volume": 75.28421251514428, + "difficulty": 3.5, + "effort": 263.49474380300495, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export": { + "line": 48, + "lineCount": 8, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 6, + "volume": 36.18947501009619, + "difficulty": 2.5, + "effort": 90.47368752524048, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown": { + "line": 61, + "lineCount": 24, + "argCount": 1, + "returnCount": 1, + "variableCount": 6, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 6, + "n2": 16, + "N1": 19, + "N2": 41, + "programLength": 60, + "programVocabulary": 22, + "volume": 267.56589711823784, + "difficulty": 7.6875, + "effort": 2056.9128340964535, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow": { + "line": 94, + "lineCount": 21, + "argCount": 3, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 7, + "n2": 18, + "N1": 16, + "N2": 39, + "programLength": 55, + "programVocabulary": 25, + "volume": 255.41209043760983, + "difficulty": 7.583333333333333, + "effort": 1936.8750191518745, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::__construct": { + "line": 26, + "lineCount": 4, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::export": { + "line": 36, + "lineCount": 10, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 8, + "volume": 45, + "difficulty": 5, + "effort": 225, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::generateSvgTreemap": { + "line": 53, + "lineCount": 20, + "argCount": 1, + "returnCount": 1, + "variableCount": 6, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 8, + "N1": 9, + "N2": 20, + "programLength": 29, + "programVocabulary": 10, + "volume": 96.3359147517335, + "difficulty": 2.5, + "effort": 240.83978687933376, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::generateSvgTreemap" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRects": { + "line": 82, + "lineCount": 10, + "argCount": 3, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 9, + "N1": 6, + "N2": 18, + "programLength": 24, + "programVocabulary": 12, + "volume": 86.03910001730775, + "difficulty": 3, + "effort": 258.1173000519232, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRects" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRect": { + "line": 100, + "lineCount": 29, + "argCount": 2, + "returnCount": 1, + "variableCount": 12, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 6, + "n2": 28, + "N1": 26, + "N2": 54, + "programLength": 80, + "programVocabulary": 34, + "volume": 406.9970273000271, + "difficulty": 5.785714285714286, + "effort": 2354.7685150930142, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRect" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::wrapSvg": { + "line": 136, + "lineCount": 21, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 2, + "N2": 8, + "programLength": 10, + "programVocabulary": 4, + "volume": 20, + "difficulty": 1.3333333333333333, + "effort": 26.666666666666664, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::wrapSvg" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::prepareItems": { + "line": 28, + "lineCount": 18, + "argCount": 1, + "returnCount": 1, + "variableCount": 7, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 12, + "N1": 9, + "N2": 30, + "programLength": 39, + "programVocabulary": 17, + "volume": 159.41105080876324, + "difficulty": 6.25, + "effort": 996.3190675547702, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::prepareItems" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findScoreRange": { + "line": 53, + "lineCount": 16, + "argCount": 1, + "returnCount": 3, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 7, + "N2": 13, + "programLength": 20, + "programVocabulary": 8, + "volume": 60, + "difficulty": 3.9000000000000004, + "effort": 234.00000000000003, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findScoreRange" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::normalizeScore": { + "line": 78, + "lineCount": 8, + "argCount": 3, + "returnCount": 2, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 8, + "volume": 45, + "difficulty": 5, + "effort": 225, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::normalizeScore" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::scoreToColor": { + "line": 93, + "lineCount": 9, + "argCount": 1, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 5, + "n2": 9, + "N1": 12, + "N2": 16, + "programLength": 28, + "programVocabulary": 14, + "volume": 106.60593781761291, + "difficulty": 4.444444444444445, + "effort": 473.80416807827964, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::scoreToColor" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::calculateTreemapLayout": { + "line": 115, + "lineCount": 23, + "argCount": 7, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 9, + "N1": 2, + "N2": 18, + "programLength": 20, + "programVocabulary": 11, + "volume": 69.18863237274594, + "difficulty": 2, + "effort": 138.37726474549189, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::calculateTreemapLayout" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::layoutTreemap": { + "line": 152, + "lineCount": 89, + "argCount": 8, + "returnCount": 3, + "variableCount": 11, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 8, + "n2": 28, + "N1": 32, + "N2": 98, + "programLength": 130, + "programVocabulary": 36, + "volume": 672.0902501875006, + "difficulty": 14, + "effort": 9409.263502625008, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::layoutTreemap" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findSplitIndex": { + "line": 249, + "lineCount": 13, + "argCount": 2, + "returnCount": 2, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 7, + "n2": 10, + "N1": 9, + "N2": 23, + "programLength": 32, + "programVocabulary": 17, + "volume": 130.79881092001085, + "difficulty": 8.049999999999999, + "effort": 1052.9304279060873, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findSplitIndex" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::__construct": { + "line": 23, + "lineCount": 18, + "argCount": 1, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 7, + "N2": 11, + "programLength": 18, + "programVocabulary": 6, + "volume": 46.529325012980806, + "difficulty": 5.5, + "effort": 255.91128757139444, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::getAllClasses": { + "line": 47, + "lineCount": 17, + "argCount": 0, + "returnCount": 2, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 6, + "N2": 12, + "programLength": 18, + "programVocabulary": 9, + "volume": 57.05865002596162, + "difficulty": 3, + "effort": 171.17595007788486, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::getAllClasses" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::withClassNode": { + "line": 73, + "lineCount": 8, + "argCount": 2, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 4, + "N2": 8, + "programLength": 12, + "programVocabulary": 8, + "volume": 36, + "difficulty": 4, + "effort": 144, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::withClassNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::findClassNode": { + "line": 85, + "lineCount": 25, + "argCount": 1, + "returnCount": 4, + "variableCount": 5, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 13, + "N2": 29, + "programLength": 42, + "programVocabulary": 11, + "volume": 145.29612798276648, + "difficulty": 8.285714285714286, + "effort": 1203.8822032857795, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::findClassNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::escapeXPathValue": { + "line": 114, + "lineCount": 16, + "argCount": 1, + "returnCount": 3, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 9, + "N1": 11, + "N2": 18, + "programLength": 29, + "programVocabulary": 13, + "volume": 107.31275182609167, + "difficulty": 4, + "effort": 429.2510073043667, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::escapeXPathValue" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getLineCoverage": { + "line": 22, + "lineCount": 18, + "argCount": 1, + "returnCount": 4, + "variableCount": 5, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 9, + "N1": 10, + "N2": 19, + "programLength": 29, + "programVocabulary": 13, + "volume": 107.31275182609167, + "difficulty": 4.222222222222222, + "effort": 453.09828548794263, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getLineCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getBranchCoverage": { + "line": 48, + "lineCount": 18, + "argCount": 1, + "returnCount": 4, + "variableCount": 5, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 9, + "N1": 10, + "N2": 19, + "programLength": 29, + "programVocabulary": 13, + "volume": 107.31275182609167, + "difficulty": 4.222222222222222, + "effort": 453.09828548794263, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getBranchCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getComplexity": { + "line": 73, + "lineCount": 13, + "argCount": 1, + "returnCount": 3, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 7, + "N2": 14, + "programLength": 21, + "programVocabulary": 11, + "volume": 72.64806399138324, + "difficulty": 4, + "effort": 290.59225596553296, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getComplexity" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getCoverageDetails": { + "line": 93, + "lineCount": 26, + "argCount": 1, + "returnCount": 3, + "variableCount": 9, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 17, + "N1": 22, + "N2": 42, + "programLength": 64, + "programVocabulary": 22, + "volume": 285.403623592787, + "difficulty": 6.176470588235294, + "effort": 1762.7870868966259, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getCoverageDetails" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getMetricsNode": { + "line": 123, + "lineCount": 12, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 6, + "N1": 7, + "N2": 13, + "programLength": 20, + "programVocabulary": 10, + "volume": 66.43856189774725, + "difficulty": 4.333333333333333, + "effort": 287.90043489023805, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getMetricsNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getFilenameForClass": { + "line": 139, + "lineCount": 9, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 5, + "N1": 4, + "N2": 9, + "programLength": 13, + "programVocabulary": 9, + "volume": 41.209025018750054, + "difficulty": 3.6, + "effort": 148.3524900675002, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getFilenameForClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodsCoverage": { + "line": 154, + "lineCount": 36, + "argCount": 1, + "returnCount": 3, + "variableCount": 8, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 13, + "N1": 12, + "N2": 30, + "programLength": 42, + "programVocabulary": 16, + "volume": 168, + "difficulty": 3.4615384615384612, + "effort": 581.5384615384614, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodsCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::calculateMethodCoverage": { + "line": 194, + "lineCount": 15, + "argCount": 2, + "returnCount": 2, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 11, + "N1": 9, + "N2": 23, + "programLength": 32, + "programVocabulary": 16, + "volume": 128, + "difficulty": 5.227272727272727, + "effort": 669.090909090909, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::calculateMethodCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodCoverageFromLines": { + "line": 215, + "lineCount": 36, + "argCount": 2, + "returnCount": 1, + "variableCount": 7, + "propertyCallCount": 0, + "ifNestingLevel": 2, + "elseCount": 0, + "ifCount": 5, + "halstead": { + "n1": 2, + "n2": 14, + "N1": 12, + "N2": 35, + "programLength": 47, + "programVocabulary": 16, + "volume": 188, + "difficulty": 2.5, + "effort": 470, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodCoverageFromLines" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStart": { + "line": 252, + "lineCount": 4, + "argCount": 3, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 3, + "N2": 7, + "programLength": 10, + "programVocabulary": 6, + "volume": 25.84962500721156, + "difficulty": 1.75, + "effort": 45.23684376262023, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStart" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodEnd": { + "line": 257, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 5, + "programLength": 7, + "programVocabulary": 5, + "volume": 16.253496664211536, + "difficulty": 1.6666666666666667, + "effort": 27.089161107019226, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodEnd" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStatement": { + "line": 262, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 5, + "programLength": 7, + "programVocabulary": 5, + "volume": 16.253496664211536, + "difficulty": 1.6666666666666667, + "effort": 27.089161107019226, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStatement" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isStatementCovered": { + "line": 267, + "lineCount": 5, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 4, + "N1": 3, + "N2": 6, + "programLength": 9, + "programVocabulary": 7, + "volume": 25.26619429851844, + "difficulty": 2.25, + "effort": 56.848937171666485, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isStatementCovered" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getLineCoverage": { + "line": 20, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 9, + "volume": 44.37895002019237, + "difficulty": 2.5, + "effort": 110.94737505048093, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getLineCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getBranchCoverage": { + "line": 34, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 9, + "volume": 44.37895002019237, + "difficulty": 2.5, + "effort": 110.94737505048093, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getBranchCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getComplexity": { + "line": 48, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 9, + "volume": 44.37895002019237, + "difficulty": 2.5, + "effort": 110.94737505048093, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getComplexity" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getCoverageDetails": { + "line": 62, + "lineCount": 13, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 8, + "N1": 7, + "N2": 16, + "programLength": 23, + "programVocabulary": 9, + "volume": 72.90827503317318, + "difficulty": 1, + "effort": 72.90827503317318, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getCoverageDetails" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::extractMethodsCoverage": { + "line": 81, + "lineCount": 23, + "argCount": 1, + "returnCount": 2, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 11, + "N1": 10, + "N2": 23, + "programLength": 33, + "programVocabulary": 14, + "volume": 125.64271242790093, + "difficulty": 3.1363636363636362, + "effort": 394.061234432962, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::extractMethodsCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CodeCoverageFactory::createFromName": { + "line": 14, + "lineCount": 8, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 4, + "N1": 1, + "N2": 8, + "programLength": 9, + "programVocabulary": 5, + "volume": 20.89735285398626, + "difficulty": 1, + "effort": 20.89735285398626, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CodeCoverageFactory::createFromName" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::__construct": { + "line": 28, + "lineCount": 15, + "argCount": 6, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 6, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 7, + "N1": 6, + "N2": 18, + "programLength": 24, + "programVocabulary": 8, + "volume": 72, + "difficulty": 1.2857142857142858, + "effort": 92.57142857142858, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getName": { + "line": 44, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getName" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getFilename": { + "line": 49, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getFilename" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getLineRate": { + "line": 54, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getLineRate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getBranchRate": { + "line": 59, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getBranchRate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getComplexity": { + "line": 64, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getComplexity" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getMethods": { + "line": 72, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getMethods" + } + } + }, + "ignored_items": [], + "cached_at": 1759967600 +} \ No newline at end of file diff --git a/.phpcca.cache/f5/f51d5eb63d52fe9ec7559800ffee29a1.cache b/.phpcca.cache/f5/f51d5eb63d52fe9ec7559800ffee29a1.cache new file mode 100644 index 0000000..cb48a78 --- /dev/null +++ b/.phpcca.cache/f5/f51d5eb63d52fe9ec7559800ffee29a1.cache @@ -0,0 +1,332 @@ +{ + "version": "1.0", + "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/Business\/Churn\/ChangeCounter\/ChangeCounterInterface.php", + "file_mtime": 1759784766, + "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", + "analysis_result": { + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct": { + "line": 60, + "lineCount": 5, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 1, + "N1": 2, + "N2": 2, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 2, + "effort": 12.679700005769249, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices": { + "line": 66, + "lineCount": 95, + "argCount": 0, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 5, + "N1": 58, + "N2": 32, + "programLength": 90, + "programVocabulary": 9, + "volume": 285.2932501298081, + "difficulty": 12.8, + "effort": 3651.7536016615436, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap": { + "line": 162, + "lineCount": 10, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 7, + "N2": 7, + "programLength": 14, + "programVocabulary": 2, + "volume": 14, + "difficulty": 3.5, + "effort": 49, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors": { + "line": 173, + "lineCount": 12, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 3, + "N2": 1, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0.5, + "effort": 2, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus": { + "line": 186, + "lineCount": 19, + "argCount": 0, + "returnCount": 0, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 9, + "N2": 13, + "programLength": 22, + "programVocabulary": 7, + "volume": 61.76180828526729, + "difficulty": 2.6, + "effort": 160.58070154169496, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService": { + "line": 206, + "lineCount": 9, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 3, + "N2": 1, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0.5, + "effort": 2, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade": { + "line": 216, + "lineCount": 13, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 3, + "N2": 1, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0.5, + "effort": 2, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands": { + "line": 230, + "lineCount": 21, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 6, + "N2": 2, + "programLength": 8, + "programVocabulary": 2, + "volume": 8, + "difficulty": 1, + "effort": 8, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication": { + "line": 252, + "lineCount": 11, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 5, + "N2": 4, + "programLength": 9, + "programVocabulary": 4, + "volume": 18, + "difficulty": 0.6666666666666666, + "effort": 12, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run": { + "line": 264, + "lineCount": 9, + "argCount": 0, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 5, + "N2": 5, + "programLength": 10, + "programVocabulary": 4, + "volume": 20, + "difficulty": 2.5, + "effort": 50, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get": { + "line": 274, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer": { + "line": 279, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator": { + "line": 289, + "lineCount": 16, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 7, + "programLength": 8, + "programVocabulary": 4, + "volume": 16, + "difficulty": 1.1666666666666667, + "effort": 18.666666666666668, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create": { + "line": 18, + "lineCount": 7, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 4, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create" + } + } + }, + "ignored_items": [], + "cached_at": 1759967600 +} \ No newline at end of file diff --git a/.phpcca.cache/f5/f5d2d5e78dfa6ae4dc86216e6fc427fc.cache b/.phpcca.cache/f5/f5d2d5e78dfa6ae4dc86216e6fc427fc.cache new file mode 100644 index 0000000..c254139 --- /dev/null +++ b/.phpcca.cache/f5/f5d2d5e78dfa6ae4dc86216e6fc427fc.cache @@ -0,0 +1,361 @@ +{ + "version": "1.0", + "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/Application.php", + "file_mtime": 1759964701, + "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", + "analysis_result": { + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct": { + "line": 60, + "lineCount": 5, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 2, + "n2": 1, + "N1": 2, + "N2": 2, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 2, + "effort": 12.679700005769249, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices": { + "line": 66, + "lineCount": 95, + "argCount": 0, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 3, + "risk_level": "low" + }, + "halstead": { + "n1": 4, + "n2": 5, + "N1": 58, + "N2": 32, + "programLength": 90, + "programVocabulary": 9, + "volume": 285.2932501298081, + "difficulty": 12.8, + "effort": 3651.7536016615436, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap": { + "line": 162, + "lineCount": 10, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 7, + "N2": 7, + "programLength": 14, + "programVocabulary": 2, + "volume": 14, + "difficulty": 3.5, + "effort": 49, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors": { + "line": 173, + "lineCount": 12, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 3, + "N2": 1, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0.5, + "effort": 2, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus": { + "line": 186, + "lineCount": 19, + "argCount": 0, + "returnCount": 0, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 9, + "N2": 13, + "programLength": 22, + "programVocabulary": 7, + "volume": 61.76180828526729, + "difficulty": 2.6, + "effort": 160.58070154169496, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService": { + "line": 206, + "lineCount": 9, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 3, + "N2": 1, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0.5, + "effort": 2, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade": { + "line": 216, + "lineCount": 13, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 3, + "N2": 1, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0.5, + "effort": 2, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands": { + "line": 230, + "lineCount": 21, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 6, + "N2": 2, + "programLength": 8, + "programVocabulary": 2, + "volume": 8, + "difficulty": 1, + "effort": 8, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication": { + "line": 252, + "lineCount": 11, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 5, + "N2": 4, + "programLength": 9, + "programVocabulary": 4, + "volume": 18, + "difficulty": 0.6666666666666666, + "effort": 12, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run": { + "line": 264, + "lineCount": 9, + "argCount": 0, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 5, + "N2": 5, + "programLength": 10, + "programVocabulary": 4, + "volume": 20, + "difficulty": 2.5, + "effort": 50, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get": { + "line": 274, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer": { + "line": 279, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator": { + "line": 289, + "lineCount": 16, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 7, + "programLength": 8, + "programVocabulary": 4, + "volume": 16, + "difficulty": 1.1666666666666667, + "effort": 18.666666666666668, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator" + } + } + }, + "ignored_items": [], + "cached_at": 1759967600 +} \ No newline at end of file diff --git a/.phpcca.cache/f8/f807666f237cad663bd765d05880b44b.cache b/.phpcca.cache/f8/f807666f237cad663bd765d05880b44b.cache new file mode 100644 index 0000000..35b6813 --- /dev/null +++ b/.phpcca.cache/f8/f807666f237cad663bd765d05880b44b.cache @@ -0,0 +1,5787 @@ +{ + "version": "1.0", + "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/Business\/Utility\/Datetime.php", + "file_mtime": 1752612112, + "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", + "analysis_result": { + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct": { + "line": 60, + "lineCount": 5, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 1, + "N1": 2, + "N2": 2, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 2, + "effort": 12.679700005769249, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices": { + "line": 66, + "lineCount": 95, + "argCount": 0, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 5, + "N1": 58, + "N2": 32, + "programLength": 90, + "programVocabulary": 9, + "volume": 285.2932501298081, + "difficulty": 12.8, + "effort": 3651.7536016615436, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap": { + "line": 162, + "lineCount": 10, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 7, + "N2": 7, + "programLength": 14, + "programVocabulary": 2, + "volume": 14, + "difficulty": 3.5, + "effort": 49, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors": { + "line": 173, + "lineCount": 12, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 3, + "N2": 1, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0.5, + "effort": 2, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus": { + "line": 186, + "lineCount": 19, + "argCount": 0, + "returnCount": 0, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 9, + "N2": 13, + "programLength": 22, + "programVocabulary": 7, + "volume": 61.76180828526729, + "difficulty": 2.6, + "effort": 160.58070154169496, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService": { + "line": 206, + "lineCount": 9, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 3, + "N2": 1, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0.5, + "effort": 2, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade": { + "line": 216, + "lineCount": 13, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 3, + "N2": 1, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0.5, + "effort": 2, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands": { + "line": 230, + "lineCount": 21, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 6, + "N2": 2, + "programLength": 8, + "programVocabulary": 2, + "volume": 8, + "difficulty": 1, + "effort": 8, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication": { + "line": 252, + "lineCount": 11, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 5, + "N2": 4, + "programLength": 9, + "programVocabulary": 4, + "volume": 18, + "difficulty": 0.6666666666666666, + "effort": 12, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run": { + "line": 264, + "lineCount": 9, + "argCount": 0, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 5, + "N2": 5, + "programLength": 10, + "programVocabulary": 4, + "volume": 20, + "difficulty": 2.5, + "effort": 50, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get": { + "line": 274, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer": { + "line": 279, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator": { + "line": 289, + "lineCount": 16, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 7, + "programLength": 8, + "programVocabulary": 4, + "volume": 16, + "difficulty": 1.1666666666666667, + "effort": 18.666666666666668, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create": { + "line": 18, + "lineCount": 7, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 4, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile": { + "line": 17, + "lineCount": 17, + "argCount": 2, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 8, + "N1": 11, + "N2": 19, + "programLength": 30, + "programVocabulary": 11, + "volume": 103.78294855911892, + "difficulty": 3.5625, + "effort": 369.72675424186116, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode": { + "line": 42, + "lineCount": 8, + "argCount": 3, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 3, + "N2": 8, + "programLength": 11, + "programVocabulary": 8, + "volume": 33, + "difficulty": 2.4000000000000004, + "effort": 79.20000000000002, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate": { + "line": 22, + "lineCount": 10, + "argCount": 2, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 6, + "N2": 13, + "programLength": 19, + "programVocabulary": 6, + "volume": 49.11428751370197, + "difficulty": 3.25, + "effort": 159.6214344195314, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending": { + "line": 37, + "lineCount": 8, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 2, + "N2": 9, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 2.25, + "effort": 63.97782189284862, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn": { + "line": 51, + "lineCount": 24, + "argCount": 2, + "returnCount": 1, + "variableCount": 6, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 15, + "N1": 17, + "N2": 46, + "programLength": 63, + "programVocabulary": 20, + "volume": 272.28146997790384, + "difficulty": 7.666666666666667, + "effort": 2087.491269830596, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses": { + "line": 81, + "lineCount": 20, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 2, + "n2": 7, + "N1": 10, + "N2": 24, + "programLength": 34, + "programVocabulary": 9, + "volume": 107.7774500490386, + "difficulty": 3.4285714285714284, + "effort": 369.52268588241805, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass": { + "line": 109, + "lineCount": 9, + "argCount": 2, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 6, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 10, + "volume": 49.82892142331043, + "difficulty": 3.3333333333333335, + "effort": 166.09640474436813, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel": { + "line": 126, + "lineCount": 16, + "argCount": 2, + "returnCount": 4, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 12, + "N1": 9, + "N2": 18, + "programLength": 27, + "programVocabulary": 15, + "volume": 105.48604608143, + "difficulty": 2.25, + "effort": 237.3436036832175, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile": { + "line": 14, + "lineCount": 6, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 2, + "N2": 5, + "programLength": 7, + "programVocabulary": 4, + "volume": 14, + "difficulty": 2.5, + "effort": 35, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable": { + "line": 24, + "lineCount": 11, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 10, + "N2": 12, + "programLength": 22, + "programVocabulary": 8, + "volume": 66, + "difficulty": 6, + "effort": 396, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create": { + "line": 21, + "lineCount": 11, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 7, + "N1": 0, + "N2": 9, + "programLength": 9, + "programVocabulary": 7, + "volume": 25.26619429851844, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes": { + "line": 38, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 6, + "N1": 0, + "N2": 6, + "programLength": 6, + "programVocabulary": 6, + "volume": 15.509775004326936, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported": { + "line": 49, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 2, + "N2": 3, + "programLength": 5, + "programVocabulary": 4, + "volume": 10, + "difficulty": 1.5, + "effort": 15, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export": { + "line": 30, + "lineCount": 23, + "argCount": 2, + "returnCount": 0, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 16, + "N1": 10, + "N2": 33, + "programLength": 43, + "programVocabulary": 20, + "volume": 185.8429080801566, + "difficulty": 4.125, + "effort": 766.601995830646, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export": { + "line": 28, + "lineCount": 8, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 6, + "volume": 36.18947501009619, + "difficulty": 2.5, + "effort": 90.47368752524048, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape": { + "line": 37, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber": { + "line": 42, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml": { + "line": 52, + "lineCount": 50, + "argCount": 1, + "returnCount": 1, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 12, + "N1": 11, + "N2": 25, + "programLength": 36, + "programVocabulary": 17, + "volume": 147.14866228501222, + "difficulty": 5.208333333333334, + "effort": 766.3992827344388, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export": { + "line": 17, + "lineCount": 13, + "argCount": 2, + "returnCount": 0, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 8, + "N1": 7, + "N2": 14, + "programLength": 21, + "programVocabulary": 12, + "volume": 75.28421251514428, + "difficulty": 3.5, + "effort": 263.49474380300495, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export": { + "line": 48, + "lineCount": 8, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 6, + "volume": 36.18947501009619, + "difficulty": 2.5, + "effort": 90.47368752524048, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown": { + "line": 61, + "lineCount": 24, + "argCount": 1, + "returnCount": 1, + "variableCount": 6, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 6, + "n2": 16, + "N1": 19, + "N2": 41, + "programLength": 60, + "programVocabulary": 22, + "volume": 267.56589711823784, + "difficulty": 7.6875, + "effort": 2056.9128340964535, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow": { + "line": 94, + "lineCount": 21, + "argCount": 3, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 7, + "n2": 18, + "N1": 16, + "N2": 39, + "programLength": 55, + "programVocabulary": 25, + "volume": 255.41209043760983, + "difficulty": 7.583333333333333, + "effort": 1936.8750191518745, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::__construct": { + "line": 26, + "lineCount": 4, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::export": { + "line": 36, + "lineCount": 10, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 8, + "volume": 45, + "difficulty": 5, + "effort": 225, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::generateSvgTreemap": { + "line": 53, + "lineCount": 20, + "argCount": 1, + "returnCount": 1, + "variableCount": 6, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 8, + "N1": 9, + "N2": 20, + "programLength": 29, + "programVocabulary": 10, + "volume": 96.3359147517335, + "difficulty": 2.5, + "effort": 240.83978687933376, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::generateSvgTreemap" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRects": { + "line": 82, + "lineCount": 10, + "argCount": 3, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 9, + "N1": 6, + "N2": 18, + "programLength": 24, + "programVocabulary": 12, + "volume": 86.03910001730775, + "difficulty": 3, + "effort": 258.1173000519232, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRects" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRect": { + "line": 100, + "lineCount": 29, + "argCount": 2, + "returnCount": 1, + "variableCount": 12, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 6, + "n2": 28, + "N1": 26, + "N2": 54, + "programLength": 80, + "programVocabulary": 34, + "volume": 406.9970273000271, + "difficulty": 5.785714285714286, + "effort": 2354.7685150930142, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRect" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::wrapSvg": { + "line": 136, + "lineCount": 21, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 2, + "N2": 8, + "programLength": 10, + "programVocabulary": 4, + "volume": 20, + "difficulty": 1.3333333333333333, + "effort": 26.666666666666664, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::wrapSvg" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::prepareItems": { + "line": 28, + "lineCount": 18, + "argCount": 1, + "returnCount": 1, + "variableCount": 7, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 12, + "N1": 9, + "N2": 30, + "programLength": 39, + "programVocabulary": 17, + "volume": 159.41105080876324, + "difficulty": 6.25, + "effort": 996.3190675547702, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::prepareItems" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findScoreRange": { + "line": 53, + "lineCount": 16, + "argCount": 1, + "returnCount": 3, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 7, + "N2": 13, + "programLength": 20, + "programVocabulary": 8, + "volume": 60, + "difficulty": 3.9000000000000004, + "effort": 234.00000000000003, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findScoreRange" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::normalizeScore": { + "line": 78, + "lineCount": 8, + "argCount": 3, + "returnCount": 2, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 8, + "volume": 45, + "difficulty": 5, + "effort": 225, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::normalizeScore" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::scoreToColor": { + "line": 93, + "lineCount": 9, + "argCount": 1, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 5, + "n2": 9, + "N1": 12, + "N2": 16, + "programLength": 28, + "programVocabulary": 14, + "volume": 106.60593781761291, + "difficulty": 4.444444444444445, + "effort": 473.80416807827964, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::scoreToColor" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::calculateTreemapLayout": { + "line": 115, + "lineCount": 23, + "argCount": 7, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 9, + "N1": 2, + "N2": 18, + "programLength": 20, + "programVocabulary": 11, + "volume": 69.18863237274594, + "difficulty": 2, + "effort": 138.37726474549189, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::calculateTreemapLayout" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::layoutTreemap": { + "line": 152, + "lineCount": 89, + "argCount": 8, + "returnCount": 3, + "variableCount": 11, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 8, + "n2": 28, + "N1": 32, + "N2": 98, + "programLength": 130, + "programVocabulary": 36, + "volume": 672.0902501875006, + "difficulty": 14, + "effort": 9409.263502625008, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::layoutTreemap" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findSplitIndex": { + "line": 249, + "lineCount": 13, + "argCount": 2, + "returnCount": 2, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 7, + "n2": 10, + "N1": 9, + "N2": 23, + "programLength": 32, + "programVocabulary": 17, + "volume": 130.79881092001085, + "difficulty": 8.049999999999999, + "effort": 1052.9304279060873, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findSplitIndex" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::__construct": { + "line": 23, + "lineCount": 18, + "argCount": 1, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 7, + "N2": 11, + "programLength": 18, + "programVocabulary": 6, + "volume": 46.529325012980806, + "difficulty": 5.5, + "effort": 255.91128757139444, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::getAllClasses": { + "line": 47, + "lineCount": 17, + "argCount": 0, + "returnCount": 2, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 6, + "N2": 12, + "programLength": 18, + "programVocabulary": 9, + "volume": 57.05865002596162, + "difficulty": 3, + "effort": 171.17595007788486, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::getAllClasses" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::withClassNode": { + "line": 73, + "lineCount": 8, + "argCount": 2, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 4, + "N2": 8, + "programLength": 12, + "programVocabulary": 8, + "volume": 36, + "difficulty": 4, + "effort": 144, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::withClassNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::findClassNode": { + "line": 85, + "lineCount": 25, + "argCount": 1, + "returnCount": 4, + "variableCount": 5, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 13, + "N2": 29, + "programLength": 42, + "programVocabulary": 11, + "volume": 145.29612798276648, + "difficulty": 8.285714285714286, + "effort": 1203.8822032857795, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::findClassNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::escapeXPathValue": { + "line": 114, + "lineCount": 16, + "argCount": 1, + "returnCount": 3, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 9, + "N1": 11, + "N2": 18, + "programLength": 29, + "programVocabulary": 13, + "volume": 107.31275182609167, + "difficulty": 4, + "effort": 429.2510073043667, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::escapeXPathValue" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getLineCoverage": { + "line": 22, + "lineCount": 18, + "argCount": 1, + "returnCount": 4, + "variableCount": 5, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 9, + "N1": 10, + "N2": 19, + "programLength": 29, + "programVocabulary": 13, + "volume": 107.31275182609167, + "difficulty": 4.222222222222222, + "effort": 453.09828548794263, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getLineCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getBranchCoverage": { + "line": 48, + "lineCount": 18, + "argCount": 1, + "returnCount": 4, + "variableCount": 5, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 9, + "N1": 10, + "N2": 19, + "programLength": 29, + "programVocabulary": 13, + "volume": 107.31275182609167, + "difficulty": 4.222222222222222, + "effort": 453.09828548794263, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getBranchCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getComplexity": { + "line": 73, + "lineCount": 13, + "argCount": 1, + "returnCount": 3, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 7, + "N2": 14, + "programLength": 21, + "programVocabulary": 11, + "volume": 72.64806399138324, + "difficulty": 4, + "effort": 290.59225596553296, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getComplexity" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getCoverageDetails": { + "line": 93, + "lineCount": 26, + "argCount": 1, + "returnCount": 3, + "variableCount": 9, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 17, + "N1": 22, + "N2": 42, + "programLength": 64, + "programVocabulary": 22, + "volume": 285.403623592787, + "difficulty": 6.176470588235294, + "effort": 1762.7870868966259, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getCoverageDetails" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getMetricsNode": { + "line": 123, + "lineCount": 12, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 6, + "N1": 7, + "N2": 13, + "programLength": 20, + "programVocabulary": 10, + "volume": 66.43856189774725, + "difficulty": 4.333333333333333, + "effort": 287.90043489023805, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getMetricsNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getFilenameForClass": { + "line": 139, + "lineCount": 9, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 5, + "N1": 4, + "N2": 9, + "programLength": 13, + "programVocabulary": 9, + "volume": 41.209025018750054, + "difficulty": 3.6, + "effort": 148.3524900675002, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getFilenameForClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodsCoverage": { + "line": 154, + "lineCount": 36, + "argCount": 1, + "returnCount": 3, + "variableCount": 8, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 13, + "N1": 12, + "N2": 30, + "programLength": 42, + "programVocabulary": 16, + "volume": 168, + "difficulty": 3.4615384615384612, + "effort": 581.5384615384614, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodsCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::calculateMethodCoverage": { + "line": 194, + "lineCount": 15, + "argCount": 2, + "returnCount": 2, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 11, + "N1": 9, + "N2": 23, + "programLength": 32, + "programVocabulary": 16, + "volume": 128, + "difficulty": 5.227272727272727, + "effort": 669.090909090909, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::calculateMethodCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodCoverageFromLines": { + "line": 215, + "lineCount": 36, + "argCount": 2, + "returnCount": 1, + "variableCount": 7, + "propertyCallCount": 0, + "ifNestingLevel": 2, + "elseCount": 0, + "ifCount": 5, + "halstead": { + "n1": 2, + "n2": 14, + "N1": 12, + "N2": 35, + "programLength": 47, + "programVocabulary": 16, + "volume": 188, + "difficulty": 2.5, + "effort": 470, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodCoverageFromLines" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStart": { + "line": 252, + "lineCount": 4, + "argCount": 3, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 3, + "N2": 7, + "programLength": 10, + "programVocabulary": 6, + "volume": 25.84962500721156, + "difficulty": 1.75, + "effort": 45.23684376262023, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStart" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodEnd": { + "line": 257, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 5, + "programLength": 7, + "programVocabulary": 5, + "volume": 16.253496664211536, + "difficulty": 1.6666666666666667, + "effort": 27.089161107019226, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodEnd" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStatement": { + "line": 262, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 5, + "programLength": 7, + "programVocabulary": 5, + "volume": 16.253496664211536, + "difficulty": 1.6666666666666667, + "effort": 27.089161107019226, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStatement" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isStatementCovered": { + "line": 267, + "lineCount": 5, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 4, + "N1": 3, + "N2": 6, + "programLength": 9, + "programVocabulary": 7, + "volume": 25.26619429851844, + "difficulty": 2.25, + "effort": 56.848937171666485, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isStatementCovered" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getLineCoverage": { + "line": 20, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 9, + "volume": 44.37895002019237, + "difficulty": 2.5, + "effort": 110.94737505048093, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getLineCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getBranchCoverage": { + "line": 34, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 9, + "volume": 44.37895002019237, + "difficulty": 2.5, + "effort": 110.94737505048093, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getBranchCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getComplexity": { + "line": 48, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 9, + "volume": 44.37895002019237, + "difficulty": 2.5, + "effort": 110.94737505048093, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getComplexity" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getCoverageDetails": { + "line": 62, + "lineCount": 13, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 8, + "N1": 7, + "N2": 16, + "programLength": 23, + "programVocabulary": 9, + "volume": 72.90827503317318, + "difficulty": 1, + "effort": 72.90827503317318, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getCoverageDetails" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::extractMethodsCoverage": { + "line": 81, + "lineCount": 23, + "argCount": 1, + "returnCount": 2, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 11, + "N1": 10, + "N2": 23, + "programLength": 33, + "programVocabulary": 14, + "volume": 125.64271242790093, + "difficulty": 3.1363636363636362, + "effort": 394.061234432962, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::extractMethodsCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CodeCoverageFactory::createFromName": { + "line": 14, + "lineCount": 8, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 4, + "N1": 1, + "N2": 8, + "programLength": 9, + "programVocabulary": 5, + "volume": 20.89735285398626, + "difficulty": 1, + "effort": 20.89735285398626, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CodeCoverageFactory::createFromName" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::__construct": { + "line": 28, + "lineCount": 15, + "argCount": 6, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 6, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 7, + "N1": 6, + "N2": 18, + "programLength": 24, + "programVocabulary": 8, + "volume": 72, + "difficulty": 1.2857142857142858, + "effort": 92.57142857142858, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getName": { + "line": 44, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getName" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getFilename": { + "line": 49, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getFilename" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getLineRate": { + "line": 54, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getLineRate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getBranchRate": { + "line": 59, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getBranchRate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getComplexity": { + "line": 64, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getComplexity" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getMethods": { + "line": 72, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getMethods" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::__construct": { + "line": 17, + "lineCount": 11, + "argCount": 4, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 4, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 5, + "N1": 4, + "N2": 12, + "programLength": 16, + "programVocabulary": 6, + "volume": 41.3594000115385, + "difficulty": 1.2, + "effort": 49.631280013846194, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getName": { + "line": 29, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getName" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getLineRate": { + "line": 34, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getLineRate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getBranchRate": { + "line": 39, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getBranchRate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getComplexity": { + "line": 44, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getComplexity" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::calculateDeltas": { + "line": 19, + "lineCount": 14, + "argCount": 2, + "returnCount": 0, + "variableCount": 6, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 9, + "N1": 4, + "N2": 18, + "programLength": 22, + "programVocabulary": 11, + "volume": 76.10749561002054, + "difficulty": 2, + "effort": 152.21499122004107, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::calculateDeltas" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::loadBaseline": { + "line": 41, + "lineCount": 13, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 5, + "N2": 9, + "programLength": 14, + "programVocabulary": 8, + "volume": 42, + "difficulty": 2.7, + "effort": 113.4, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::loadBaseline" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::__construct": { + "line": 72, + "lineCount": 21, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 6, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 9, + "N1": 12, + "N2": 34, + "programLength": 46, + "programVocabulary": 12, + "volume": 164.90827503317317, + "difficulty": 5.666666666666666, + "effort": 934.4802251879812, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setRequiredMetricProperties": { + "line": 98, + "lineCount": 30, + "argCount": 1, + "returnCount": 0, + "variableCount": 6, + "propertyCallCount": 9, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 21, + "N1": 21, + "N2": 51, + "programLength": 72, + "programVocabulary": 24, + "volume": 330.1173000519232, + "difficulty": 3.6428571428571423, + "effort": 1202.570164474863, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setRequiredMetricProperties" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setOptionalMetricProperties": { + "line": 133, + "lineCount": 12, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 8, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 11, + "N1": 16, + "N2": 33, + "programLength": 49, + "programVocabulary": 13, + "volume": 181.32154618891352, + "difficulty": 3, + "effort": 543.9646385667405, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setOptionalMetricProperties" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setTimesChanged": { + "line": 146, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setTimesChanged" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertSame": { + "line": 151, + "lineCount": 14, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 6, + "N2": 8, + "programLength": 14, + "programVocabulary": 5, + "volume": 32.50699332842307, + "difficulty": 2.6666666666666665, + "effort": 86.68531554246152, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertSame" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::calculateDeltas": { + "line": 169, + "lineCount": 13, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 16, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 17, + "N2": 27, + "programLength": 44, + "programVocabulary": 4, + "volume": 88, + "difficulty": 13.5, + "effort": 1188, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::calculateDeltas" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::fromArray": { + "line": 187, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::fromArray" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertArrayKeyIsPresent": { + "line": 197, + "lineCount": 6, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 5, + "programLength": 5, + "programVocabulary": 2, + "volume": 5, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertArrayKeyIsPresent" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getClass": { + "line": 204, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getMethod": { + "line": 209, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getMethod" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCount": { + "line": 214, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCount": { + "line": 219, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCount": { + "line": 224, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCount": { + "line": 229, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCount": { + "line": 234, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCount": { + "line": 239, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevel": { + "line": 244, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevel" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCount": { + "line": 249, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeight": { + "line": 254, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setLineCountWeight": { + "line": 259, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setLineCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeight": { + "line": 264, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setArgCountWeight": { + "line": 269, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setArgCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeight": { + "line": 274, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setReturnCountWeight": { + "line": 279, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setReturnCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeight": { + "line": 284, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setVariableCountWeight": { + "line": 289, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setVariableCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeight": { + "line": 294, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setPropertyCallCountWeight": { + "line": 299, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setPropertyCallCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeight": { + "line": 304, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfCountWeight": { + "line": 309, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeight": { + "line": 314, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfNestingLevelWeight": { + "line": 319, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfNestingLevelWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeight": { + "line": 324, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setElseCountWeight": { + "line": 329, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setElseCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setScore": { + "line": 334, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setScore" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getScore": { + "line": 339, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getScore" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setCoverage": { + "line": 344, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCoverage": { + "line": 349, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeightDelta": { + "line": 354, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeightDelta": { + "line": 359, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeightDelta": { + "line": 364, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeightDelta": { + "line": 369, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeightDelta": { + "line": 374, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeightDelta": { + "line": 379, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeightDelta": { + "line": 384, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeightDelta": { + "line": 389, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getTimesChanged": { + "line": 394, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 2, + "programLength": 3, + "programVocabulary": 3, + "volume": 4.754887502163468, + "difficulty": 0.5, + "effort": 2.377443751081734, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getTimesChanged" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getFileName": { + "line": 399, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getFileName" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLine": { + "line": 404, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLine" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::equals": { + "line": 409, + "lineCount": 5, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 2, + "N1": 5, + "N2": 5, + "programLength": 10, + "programVocabulary": 5, + "volume": 23.21928094887362, + "difficulty": 3.75, + "effort": 87.07230355827608, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::equals" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::toArray": { + "line": 418, + "lineCount": 34, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 29, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 30, + "N1": 0, + "N2": 58, + "programLength": 58, + "programVocabulary": 30, + "volume": 284.5996545452941, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::toArray" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::jsonSerialize": { + "line": 456, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::jsonSerialize" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getHalstead": { + "line": 464, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getHalstead" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCyclomatic": { + "line": 472, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCyclomatic" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::add": { + "line": 30, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 5, + "N2": 6, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 3, + "effort": 85.30376252379816, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::add" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filter": { + "line": 40, + "lineCount": 11, + "argCount": 1, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 8, + "volume": 42, + "difficulty": 3, + "effort": 126, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filter" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getIterator": { + "line": 57, + "lineCount": 5, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getIterator" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::count": { + "line": 66, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::count" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterWithScoreGreaterThan": { + "line": 71, + "lineCount": 6, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 3, + "N2": 6, + "programLength": 9, + "programVocabulary": 5, + "volume": 20.89735285398626, + "difficulty": 2, + "effort": 41.79470570797252, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterWithScoreGreaterThan" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::contains": { + "line": 78, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 4, + "N2": 5, + "programLength": 9, + "programVocabulary": 5, + "volume": 20.89735285398626, + "difficulty": 1.6666666666666667, + "effort": 34.82892142331043, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::contains" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getClassWithMethod": { + "line": 83, + "lineCount": 9, + "argCount": 2, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 3, + "N2": 10, + "programLength": 13, + "programVocabulary": 7, + "volume": 36.49561398674886, + "difficulty": 2, + "effort": 72.99122797349771, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getClassWithMethod" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterByClassName": { + "line": 93, + "lineCount": 6, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 3, + "N2": 6, + "programLength": 9, + "programVocabulary": 5, + "volume": 20.89735285398626, + "difficulty": 2, + "effort": 41.79470570797252, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterByClassName" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::assertMetricHasGetter": { + "line": 100, + "lineCount": 9, + "argCount": 3, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 6, + "programLength": 7, + "programVocabulary": 4, + "volume": 14, + "difficulty": 1, + "effort": 14, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::assertMetricHasGetter" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::groupBy": { + "line": 117, + "lineCount": 20, + "argCount": 1, + "returnCount": 1, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 10, + "N2": 23, + "programLength": 33, + "programVocabulary": 11, + "volume": 114.16124341503081, + "difficulty": 6.571428571428571, + "effort": 750.2024567273453, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::groupBy" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::jsonSerialize": { + "line": 141, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::jsonSerialize" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::__construct": { + "line": 32, + "lineCount": 8, + "argCount": 5, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 5, + "N1": 0, + "N2": 5, + "programLength": 5, + "programVocabulary": 5, + "volume": 11.60964047443681, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collect": { + "line": 49, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 5, + "programLength": 6, + "programVocabulary": 4, + "volume": 12, + "difficulty": 0.8333333333333334, + "effort": 10, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collect" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collectFromPaths": { + "line": 62, + "lineCount": 13, + "argCount": 2, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 8, + "N2": 16, + "programLength": 24, + "programVocabulary": 9, + "volume": 76.07820003461549, + "difficulty": 4, + "effort": 304.31280013846197, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collectFromPaths" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCodeFromFile": { + "line": 79, + "lineCount": 10, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 2, + "N1": 5, + "N2": 6, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 6, + "effort": 170.6075250475963, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCodeFromFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findMetrics": { + "line": 98, + "lineCount": 31, + "argCount": 1, + "returnCount": 1, + "variableCount": 9, + "propertyCallCount": 2, + "ifNestingLevel": 2, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 13, + "N1": 18, + "N2": 38, + "programLength": 56, + "programVocabulary": 16, + "volume": 224, + "difficulty": 4.384615384615384, + "effort": 982.1538461538461, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findMetrics" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processMethodMetrics": { + "line": 136, + "lineCount": 29, + "argCount": 3, + "returnCount": 1, + "variableCount": 7, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 14, + "N1": 8, + "N2": 27, + "programLength": 35, + "programVocabulary": 17, + "volume": 143.06119944376186, + "difficulty": 2.892857142857143, + "effort": 413.8556126765968, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processMethodMetrics" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::isExcluded": { + "line": 166, + "lineCount": 12, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 5, + "N1": 5, + "N2": 9, + "programLength": 14, + "programVocabulary": 9, + "volume": 44.37895002019237, + "difficulty": 3.6, + "effort": 159.76422007269252, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::isExcluded" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findSourceFiles": { + "line": 187, + "lineCount": 7, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 2, + "N2": 6, + "programLength": 8, + "programVocabulary": 6, + "volume": 20.67970000576925, + "difficulty": 1.5, + "effort": 31.019550008653873, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findSourceFiles" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getProjectRoot": { + "line": 202, + "lineCount": 13, + "argCount": 0, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 2, + "N1": 8, + "N2": 8, + "programLength": 16, + "programVocabulary": 6, + "volume": 41.3594000115385, + "difficulty": 8, + "effort": 330.875200092308, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getProjectRoot" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateCacheKey": { + "line": 219, + "lineCount": 7, + "argCount": 2, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 6, + "N1": 10, + "N2": 12, + "programLength": 22, + "programVocabulary": 10, + "volume": 73.08241808752197, + "difficulty": 4, + "effort": 292.3296723500879, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateCacheKey" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateConfigHash": { + "line": 230, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 1, + "N1": 3, + "N2": 2, + "programLength": 5, + "programVocabulary": 3, + "volume": 7.92481250360578, + "difficulty": 2, + "effort": 15.84962500721156, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateConfigHash" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::cacheResult": { + "line": 239, + "lineCount": 14, + "argCount": 4, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 13, + "N1": 5, + "N2": 20, + "programLength": 25, + "programVocabulary": 15, + "volume": 97.67226489021297, + "difficulty": 1.5384615384615385, + "effort": 150.26502290801997, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::cacheResult" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::clearCache": { + "line": 254, + "lineCount": 4, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::clearCache" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::normalizeFilename": { + "line": 264, + "lineCount": 15, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 6, + "n2": 7, + "N1": 12, + "N2": 16, + "programLength": 28, + "programVocabulary": 13, + "volume": 103.61231210795059, + "difficulty": 6.857142857142857, + "effort": 710.4844258830897, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::normalizeFilename" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCachedMetrics": { + "line": 286, + "lineCount": 19, + "argCount": 3, + "returnCount": 3, + "variableCount": 4, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 11, + "N1": 10, + "N2": 29, + "programLength": 39, + "programVocabulary": 14, + "volume": 148.48684196024655, + "difficulty": 3.954545454545454, + "effort": 587.1979659337022, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCachedMetrics" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processFile": { + "line": 312, + "lineCount": 37, + "argCount": 5, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 7, + "n2": 10, + "N1": 12, + "N2": 28, + "programLength": 40, + "programVocabulary": 17, + "volume": 163.49851365001356, + "difficulty": 9.799999999999999, + "effort": 1602.2854337701328, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::sort": { + "line": 51, + "lineCount": 41, + "argCount": 3, + "returnCount": 2, + "variableCount": 10, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 18, + "N1": 20, + "N2": 43, + "programLength": 63, + "programVocabulary": 22, + "volume": 280.9441919741497, + "difficulty": 4.777777777777778, + "effort": 1342.2889172098264, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::sort" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getFieldValue": { + "line": 100, + "lineCount": 28, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 25, + "N1": 24, + "N2": 50, + "programLength": 74, + "programVocabulary": 27, + "volume": 351.86167516009664, + "difficulty": 2, + "effort": 703.7233503201933, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getFieldValue" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::compareValues": { + "line": 136, + "lineCount": 13, + "argCount": 2, + "returnCount": 3, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 2, + "N1": 9, + "N2": 12, + "programLength": 21, + "programVocabulary": 5, + "volume": 48.760489992634604, + "difficulty": 9, + "effort": 438.8444099337114, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::compareValues" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getSortableFields": { + "line": 155, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 0, + "N1": 0, + "N2": 0, + "programLength": 0, + "programVocabulary": 0, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getSortableFields" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__construct": { + "line": 15, + "lineCount": 11, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 7, + "N2": 12, + "programLength": 19, + "programVocabulary": 6, + "volume": 49.11428751370197, + "difficulty": 6, + "effort": 294.6857250822118, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::getValue": { + "line": 27, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::getValue" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasIncreased": { + "line": 32, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasIncreased" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__toString": { + "line": 37, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__toString" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasNotChanged": { + "line": 42, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 2, + "programLength": 3, + "programVocabulary": 3, + "volume": 4.754887502163468, + "difficulty": 0.5, + "effort": 2.377443751081734, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasNotChanged" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\FileProcessed::__construct": { + "line": 14, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\FileProcessed::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\ParserFailed::__construct": { + "line": 15, + "lineCount": 5, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\ParserFailed::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\SourceFilesFound::__construct": { + "line": 17, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\SourceFilesFound::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::__construct": { + "line": 15, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::create": { + "line": 27, + "lineCount": 10, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 6, + "N1": 0, + "N2": 8, + "programLength": 8, + "programVocabulary": 6, + "volume": 20.67970000576925, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::create" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::getSupportedTypes": { + "line": 43, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 4, + "N1": 0, + "N2": 4, + "programLength": 4, + "programVocabulary": 4, + "volume": 8, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::getSupportedTypes" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::isSupported": { + "line": 54, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 2, + "N2": 3, + "programLength": 5, + "programVocabulary": 4, + "volume": 10, + "difficulty": 1.5, + "effort": 15, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::isSupported" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CsvExporter::export": { + "line": 46, + "lineCount": 57, + "argCount": 2, + "returnCount": 0, + "variableCount": 6, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 15, + "N1": 37, + "N2": 54, + "programLength": 91, + "programVocabulary": 19, + "volume": 386.56140372336625, + "difficulty": 7.2, + "effort": 2783.242106808237, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CsvExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::export": { + "line": 40, + "lineCount": 8, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 5, + "N1": 4, + "N2": 8, + "programLength": 12, + "programVocabulary": 9, + "volume": 38.039100017307746, + "difficulty": 3.2, + "effort": 121.72512005538479, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::escape": { + "line": 49, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::escape" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::formatNumber": { + "line": 54, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::formatNumber" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::generateMetricRow": { + "line": 59, + "lineCount": 12, + "argCount": 3, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 16, + "N1": 19, + "N2": 27, + "programLength": 46, + "programVocabulary": 21, + "volume": 202.04660144782298, + "difficulty": 4.21875, + "effort": 852.3840998580032, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::generateMetricRow" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::generateHtml": { + "line": 78, + "lineCount": 64, + "argCount": 1, + "returnCount": 1, + "variableCount": 7, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 11, + "N1": 46, + "N2": 57, + "programLength": 103, + "programVocabulary": 15, + "volume": 402.40973134767745, + "difficulty": 10.363636363636363, + "effort": 4170.42812487593, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::generateHtml" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\JsonExporter::export": { + "line": 19, + "lineCount": 38, + "argCount": 2, + "returnCount": 0, + "variableCount": 5, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 27, + "N1": 29, + "N2": 58, + "programLength": 87, + "programVocabulary": 32, + "volume": 435, + "difficulty": 5.370370370370371, + "effort": 2336.1111111111113, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\JsonExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::__construct": { + "line": 24, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::export": { + "line": 36, + "lineCount": 8, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 5, + "N1": 4, + "N2": 8, + "programLength": 12, + "programVocabulary": 9, + "volume": 38.039100017307746, + "difficulty": 3.2, + "effort": 121.72512005538479, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::escape": { + "line": 48, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::escape" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateMetricCell": { + "line": 56, + "lineCount": 12, + "argCount": 3, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 12, + "N1": 16, + "N2": 24, + "programLength": 40, + "programVocabulary": 17, + "volume": 163.49851365001356, + "difficulty": 5, + "effort": 817.4925682500678, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateMetricCell" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::filterMetrics": { + "line": 75, + "lineCount": 15, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 4, + "N1": 4, + "N2": 11, + "programLength": 15, + "programVocabulary": 7, + "volume": 42.11032383086406, + "difficulty": 4.125, + "effort": 173.70508580231424, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::filterMetrics" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableHeader": { + "line": 94, + "lineCount": 33, + "argCount": 0, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 4, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 19, + "N1": 10, + "N2": 28, + "programLength": 38, + "programVocabulary": 22, + "volume": 169.4584015082173, + "difficulty": 2.2105263157894735, + "effort": 374.5922559655329, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableHeader" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableHeaderWithClass": { + "line": 131, + "lineCount": 33, + "argCount": 0, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 4, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 20, + "N1": 10, + "N2": 29, + "programLength": 39, + "programVocabulary": 23, + "volume": 176.41891628622352, + "difficulty": 2.175, + "effort": 383.7111429225361, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableHeaderWithClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableSeparator": { + "line": 168, + "lineCount": 20, + "argCount": 0, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 4, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 7, + "N1": 3, + "N2": 16, + "programLength": 19, + "programVocabulary": 10, + "volume": 63.11663380285988, + "difficulty": 3.4285714285714284, + "effort": 216.399887324091, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableSeparator" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableSeparatorWithClass": { + "line": 192, + "lineCount": 20, + "argCount": 0, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 4, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 8, + "N1": 3, + "N2": 16, + "programLength": 19, + "programVocabulary": 11, + "volume": 65.72920075410865, + "difficulty": 3, + "effort": 197.18760226232592, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableSeparatorWithClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableRow": { + "line": 216, + "lineCount": 22, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 6, + "N1": 53, + "N2": 60, + "programLength": 113, + "programVocabulary": 10, + "volume": 375.37787472227194, + "difficulty": 20, + "effort": 7507.557494445438, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableRow" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableRowWithClass": { + "line": 242, + "lineCount": 25, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 6, + "N1": 55, + "N2": 62, + "programLength": 117, + "programVocabulary": 10, + "volume": 388.66558710182136, + "difficulty": 20.666666666666668, + "effort": 8032.422133437642, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableRowWithClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::addHalsteadCells": { + "line": 274, + "lineCount": 20, + "argCount": 2, + "returnCount": 3, + "variableCount": 2, + "propertyCallCount": 5, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 12, + "N2": 24, + "programLength": 36, + "programVocabulary": 8, + "volume": 108, + "difficulty": 7.199999999999999, + "effort": 777.5999999999999, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::addHalsteadCells" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::addCyclomaticCell": { + "line": 301, + "lineCount": 16, + "argCount": 2, + "returnCount": 3, + "variableCount": 2, + "propertyCallCount": 4, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 8, + "N2": 16, + "programLength": 24, + "programVocabulary": 11, + "volume": 83.02635884729514, + "difficulty": 4.571428571428571, + "effort": 379.5490690162063, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::addCyclomaticCell" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateMarkdown": { + "line": 325, + "lineCount": 8, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 2, + "N2": 6, + "programLength": 8, + "programVocabulary": 3, + "volume": 12.679700005769249, + "difficulty": 1.5, + "effort": 19.019550008653873, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateMarkdown" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateGroupedMarkdown": { + "line": 337, + "lineCount": 49, + "argCount": 1, + "returnCount": 1, + "variableCount": 10, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 8, + "n2": 23, + "N1": 33, + "N2": 65, + "programLength": 98, + "programVocabulary": 31, + "volume": 485.5112384179137, + "difficulty": 11.304347826086957, + "effort": 5488.387912550329, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateGroupedMarkdown" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateSingleTableMarkdown": { + "line": 390, + "lineCount": 28, + "argCount": 1, + "returnCount": 1, + "variableCount": 6, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 6, + "n2": 13, + "N1": 19, + "N2": 37, + "programLength": 56, + "programVocabulary": 19, + "volume": 237.88394075284077, + "difficulty": 8.538461538461538, + "effort": 2031.1628787357943, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateSingleTableMarkdown" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::__construct": { + "line": 32, + "lineCount": 26, + "argCount": 2, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 7, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 14, + "N2": 22, + "programLength": 36, + "programVocabulary": 5, + "volume": 83.58941141594504, + "difficulty": 7.333333333333333, + "effort": 612.9890170502636, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::parse": { + "line": 63, + "lineCount": 37, + "argCount": 1, + "returnCount": 1, + "variableCount": 9, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 14, + "N1": 16, + "N2": 43, + "programLength": 59, + "programVocabulary": 17, + "volume": 241.16030763377, + "difficulty": 4.607142857142858, + "effort": 1111.0599887412977, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::parse" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::scanForAnnotations": { + "line": 104, + "lineCount": 20, + "argCount": 1, + "returnCount": 0, + "variableCount": 4, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 7, + "N1": 8, + "N2": 16, + "programLength": 24, + "programVocabulary": 10, + "volume": 79.7262742772967, + "difficulty": 3.4285714285714284, + "effort": 273.34722609358863, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::scanForAnnotations" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::traverseAbstractSyntaxTreeWithCombinedVisitor": { + "line": 129, + "lineCount": 17, + "argCount": 1, + "returnCount": 0, + "variableCount": 4, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 7, + "N1": 7, + "N2": 15, + "programLength": 22, + "programVocabulary": 10, + "volume": 73.08241808752197, + "difficulty": 3.2142857142857144, + "effort": 234.90777242417778, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::traverseAbstractSyntaxTreeWithCombinedVisitor" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getIgnored": { + "line": 153, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getIgnored" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getIgnoredClasses": { + "line": 163, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getIgnoredClasses" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getIgnoredMethods": { + "line": 173, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getIgnoredMethods" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::clearStaticCaches": { + "line": 181, + "lineCount": 15, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 9, + "N1": 7, + "N2": 19, + "programLength": 26, + "programVocabulary": 10, + "volume": 86.37013046707142, + "difficulty": 1.0555555555555556, + "effort": 91.16847104857538, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::clearStaticCaches" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::clearStaticProperty": { + "line": 200, + "lineCount": 14, + "argCount": 2, + "returnCount": 0, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 6, + "N2": 12, + "programLength": 18, + "programVocabulary": 7, + "volume": 50.53238859703688, + "difficulty": 2.4, + "effort": 121.2777326328885, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::clearStaticProperty" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getRiskLevel": { + "line": 218, + "lineCount": 9, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 8, + "N1": 3, + "N2": 11, + "programLength": 14, + "programVocabulary": 9, + "volume": 44.37895002019237, + "difficulty": 0.6875, + "effort": 30.510528138882254, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getRiskLevel" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculate": { + "line": 47, + "lineCount": 5, + "argCount": 2, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 2, + "N2": 8, + "programLength": 10, + "programVocabulary": 4, + "volume": 20, + "difficulty": 1.3333333333333333, + "effort": 26.666666666666664, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculateScore": { + "line": 53, + "lineCount": 10, + "argCount": 1, + "returnCount": 0, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 9, + "N1": 7, + "N2": 15, + "programLength": 22, + "programVocabulary": 13, + "volume": 81.40967379910403, + "difficulty": 3.3333333333333335, + "effort": 271.36557933034675, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculateScore" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculateMetricWeights": { + "line": 70, + "lineCount": 17, + "argCount": 3, + "returnCount": 0, + "variableCount": 6, + "propertyCallCount": 3, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 12, + "N1": 9, + "N2": 24, + "programLength": 33, + "programVocabulary": 15, + "volume": 128.92738965508113, + "difficulty": 3, + "effort": 386.7821689652434, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculateMetricWeights" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculateLogWeight": { + "line": 132, + "lineCount": 8, + "argCount": 3, + "returnCount": 2, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 5, + "N1": 5, + "N2": 11, + "programLength": 16, + "programVocabulary": 10, + "volume": 53.150849518197795, + "difficulty": 5.5, + "effort": 292.3296723500879, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculateLogWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cyclomatic\\CyclomaticMetrics::__construct": { + "line": 129, + "lineCount": 23, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 19, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 43, + "N1": 56, + "N2": 130, + "programLength": 186, + "programVocabulary": 45, + "volume": 1021.4846759173195, + "difficulty": 3.0232558139534884, + "effort": 3088.209485331431, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cyclomatic\\CyclomaticMetrics::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::escapeMarkdown": { + "line": 18, + "lineCount": 6, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 5, + "N1": 1, + "N2": 6, + "programLength": 7, + "programVocabulary": 6, + "volume": 18.094737505048094, + "difficulty": 0.6, + "effort": 10.856842503028856, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::escapeMarkdown" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::formatNumber": { + "line": 32, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 5, + "programLength": 6, + "programVocabulary": 4, + "volume": 12, + "difficulty": 0.8333333333333334, + "effort": 10, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::formatNumber" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::buildTableHeader": { + "line": 43, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 3, + "N2": 5, + "programLength": 8, + "programVocabulary": 6, + "volume": 20.67970000576925, + "difficulty": 1.25, + "effort": 25.84962500721156, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::buildTableHeader" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::buildTableSeparator": { + "line": 54, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 4, + "programLength": 6, + "programVocabulary": 5, + "volume": 13.931568569324174, + "difficulty": 1.3333333333333333, + "effort": 18.575424759098897, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::buildTableSeparator" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::buildTableRow": { + "line": 65, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 3, + "N2": 5, + "programLength": 8, + "programVocabulary": 6, + "volume": 20.67970000576925, + "difficulty": 1.25, + "effort": 25.84962500721156, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::buildTableRow" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::formatPercentage": { + "line": 77, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 2, + "N2": 6, + "programLength": 8, + "programVocabulary": 6, + "volume": 20.67970000576925, + "difficulty": 1.5, + "effort": 31.019550008653873, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::formatPercentage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::escapeMarkdown": { + "line": 18, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 5, + "N1": 1, + "N2": 6, + "programLength": 7, + "programVocabulary": 6, + "volume": 18.094737505048094, + "difficulty": 0.6, + "effort": 10.856842503028856, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::escapeMarkdown" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::formatNumber": { + "line": 30, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 5, + "programLength": 6, + "programVocabulary": 4, + "volume": 12, + "difficulty": 0.8333333333333334, + "effort": 10, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::formatNumber" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::buildMarkdownTableHeader": { + "line": 41, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 3, + "N2": 5, + "programLength": 8, + "programVocabulary": 6, + "volume": 20.67970000576925, + "difficulty": 1.25, + "effort": 25.84962500721156, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::buildMarkdownTableHeader" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::buildMarkdownTableSeparator": { + "line": 52, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 4, + "programLength": 6, + "programVocabulary": 5, + "volume": 13.931568569324174, + "difficulty": 1.3333333333333333, + "effort": 18.575424759098897, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::buildMarkdownTableSeparator" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::buildMarkdownTableRow": { + "line": 63, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 3, + "N2": 5, + "programLength": 8, + "programVocabulary": 6, + "volume": 20.67970000576925, + "difficulty": 1.25, + "effort": 25.84962500721156, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::buildMarkdownTableRow" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::formatMarkdownPercentage": { + "line": 75, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 2, + "N2": 6, + "programLength": 8, + "programVocabulary": 6, + "volume": 20.67970000576925, + "difficulty": 1.5, + "effort": 31.019550008653873, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::formatMarkdownPercentage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Halstead\\HalsteadMetrics::__construct": { + "line": 33, + "lineCount": 13, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 10, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 12, + "N1": 10, + "N2": 31, + "programLength": 41, + "programVocabulary": 13, + "volume": 151.7180284437848, + "difficulty": 1.2916666666666667, + "effort": 195.96912007322203, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Halstead\\HalsteadMetrics::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Halstead\\HalsteadMetrics::getVolume": { + "line": 47, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Halstead\\HalsteadMetrics::getVolume" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::__construct": { + "line": 32, + "lineCount": 9, + "argCount": 5, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 7, + "N1": 2, + "N2": 7, + "programLength": 9, + "programVocabulary": 9, + "volume": 28.52932501298081, + "difficulty": 1, + "effort": 28.52932501298081, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::getChurnExporterFactory": { + "line": 45, + "lineCount": 7, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 1, + "N1": 2, + "N2": 3, + "programLength": 5, + "programVocabulary": 3, + "volume": 7.92481250360578, + "difficulty": 3, + "effort": 23.774437510817343, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::getChurnExporterFactory" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::getCognitiveExporterFactory": { + "line": 56, + "lineCount": 7, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 1, + "N1": 3, + "N2": 4, + "programLength": 7, + "programVocabulary": 4, + "volume": 14, + "difficulty": 6, + "effort": 84, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::getCognitiveExporterFactory" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::getCognitiveMetrics": { + "line": 72, + "lineCount": 10, + "argCount": 1, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 3, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 5, + "N2": 11, + "programLength": 16, + "programVocabulary": 6, + "volume": 41.3594000115385, + "difficulty": 2.75, + "effort": 113.73835003173087, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::getCognitiveMetrics" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::getCognitiveMetricsFromPaths": { + "line": 92, + "lineCount": 16, + "argCount": 2, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 8, + "N2": 18, + "programLength": 26, + "programVocabulary": 9, + "volume": 82.41805003750011, + "difficulty": 4.5, + "effort": 370.88122516875046, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::getCognitiveMetricsFromPaths" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::calculateChurn": { + "line": 118, + "lineCount": 18, + "argCount": 4, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 10, + "N1": 8, + "N2": 21, + "programLength": 29, + "programVocabulary": 12, + "volume": 103.96391252091352, + "difficulty": 2.1, + "effort": 218.3242162939184, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::calculateChurn" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::loadConfig": { + "line": 143, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::loadConfig" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::getConfig": { + "line": 148, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::getConfig" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::exportChurnReport": { + "line": 156, + "lineCount": 9, + "argCount": 3, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 4, + "N1": 3, + "N2": 7, + "programLength": 10, + "programVocabulary": 5, + "volume": 23.21928094887362, + "difficulty": 0.875, + "effort": 20.316870830264417, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::exportChurnReport" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::exportMetricsReport": { + "line": 168, + "lineCount": 8, + "argCount": 3, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 4, + "N2": 9, + "programLength": 13, + "programVocabulary": 7, + "volume": 36.49561398674886, + "difficulty": 1.8, + "effort": 65.69210517614795, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::exportMetricsReport" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::clearCache": { + "line": 177, + "lineCount": 4, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::clearCache" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::addCoverageToMetric": { + "line": 185, + "lineCount": 20, + "argCount": 2, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 11, + "N2": 18, + "programLength": 29, + "programVocabulary": 11, + "volume": 100.32351694048162, + "difficulty": 5.142857142857143, + "effort": 515.9495156939055, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::addCoverageToMetric" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::addMethodLevelCoverage": { + "line": 209, + "lineCount": 16, + "argCount": 2, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 9, + "N2": 15, + "programLength": 24, + "programVocabulary": 7, + "volume": 67.3765181293825, + "difficulty": 3, + "effort": 202.1295543881475, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::addMethodLevelCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Traits\\CoverageDataDetector::hasCoverageData": { + "line": 18, + "lineCount": 10, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 3, + "N2": 7, + "programLength": 10, + "programVocabulary": 6, + "volume": 25.84962500721156, + "difficulty": 3.5, + "effort": 90.47368752524046, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Traits\\CoverageDataDetector::hasCoverageData" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Utility\\Datetime::__construct": { + "line": 19, + "lineCount": 9, + "argCount": 0, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "cyclomatic_complexity": { + "complexity": 2, + "risk_level": "low" + }, + "halstead": { + "n1": 1, + "n2": 0, + "N1": 1, + "N2": 0, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Utility\\Datetime::__construct" + } + } + }, + "ignored_items": [], + "cached_at": 1759967601 +} \ No newline at end of file diff --git a/.phpcca.cache/fa/fac54313fa8d01a49932cd8cbde772ce.cache b/.phpcca.cache/fa/fac54313fa8d01a49932cd8cbde772ce.cache new file mode 100644 index 0000000..36d32a9 --- /dev/null +++ b/.phpcca.cache/fa/fac54313fa8d01a49932cd8cbde772ce.cache @@ -0,0 +1,773 @@ +{ + "version": "1.0", + "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/Business\/Churn\/Exporter\/JsonExporter.php", + "file_mtime": 1759784766, + "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", + "analysis_result": { + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct": { + "line": 60, + "lineCount": 5, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 1, + "N1": 2, + "N2": 2, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 2, + "effort": 12.679700005769249, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices": { + "line": 66, + "lineCount": 95, + "argCount": 0, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 5, + "N1": 58, + "N2": 32, + "programLength": 90, + "programVocabulary": 9, + "volume": 285.2932501298081, + "difficulty": 12.8, + "effort": 3651.7536016615436, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap": { + "line": 162, + "lineCount": 10, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 7, + "N2": 7, + "programLength": 14, + "programVocabulary": 2, + "volume": 14, + "difficulty": 3.5, + "effort": 49, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors": { + "line": 173, + "lineCount": 12, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 3, + "N2": 1, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0.5, + "effort": 2, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus": { + "line": 186, + "lineCount": 19, + "argCount": 0, + "returnCount": 0, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 9, + "N2": 13, + "programLength": 22, + "programVocabulary": 7, + "volume": 61.76180828526729, + "difficulty": 2.6, + "effort": 160.58070154169496, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService": { + "line": 206, + "lineCount": 9, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 3, + "N2": 1, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0.5, + "effort": 2, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade": { + "line": 216, + "lineCount": 13, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 3, + "N2": 1, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0.5, + "effort": 2, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands": { + "line": 230, + "lineCount": 21, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 6, + "N2": 2, + "programLength": 8, + "programVocabulary": 2, + "volume": 8, + "difficulty": 1, + "effort": 8, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication": { + "line": 252, + "lineCount": 11, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 5, + "N2": 4, + "programLength": 9, + "programVocabulary": 4, + "volume": 18, + "difficulty": 0.6666666666666666, + "effort": 12, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run": { + "line": 264, + "lineCount": 9, + "argCount": 0, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 5, + "N2": 5, + "programLength": 10, + "programVocabulary": 4, + "volume": 20, + "difficulty": 2.5, + "effort": 50, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get": { + "line": 274, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer": { + "line": 279, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator": { + "line": 289, + "lineCount": 16, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 7, + "programLength": 8, + "programVocabulary": 4, + "volume": 16, + "difficulty": 1.1666666666666667, + "effort": 18.666666666666668, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create": { + "line": 18, + "lineCount": 7, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 4, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile": { + "line": 17, + "lineCount": 17, + "argCount": 2, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 8, + "N1": 11, + "N2": 19, + "programLength": 30, + "programVocabulary": 11, + "volume": 103.78294855911892, + "difficulty": 3.5625, + "effort": 369.72675424186116, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode": { + "line": 42, + "lineCount": 8, + "argCount": 3, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 3, + "N2": 8, + "programLength": 11, + "programVocabulary": 8, + "volume": 33, + "difficulty": 2.4000000000000004, + "effort": 79.20000000000002, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate": { + "line": 22, + "lineCount": 10, + "argCount": 2, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 6, + "N2": 13, + "programLength": 19, + "programVocabulary": 6, + "volume": 49.11428751370197, + "difficulty": 3.25, + "effort": 159.6214344195314, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending": { + "line": 37, + "lineCount": 8, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 2, + "N2": 9, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 2.25, + "effort": 63.97782189284862, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn": { + "line": 51, + "lineCount": 24, + "argCount": 2, + "returnCount": 1, + "variableCount": 6, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 15, + "N1": 17, + "N2": 46, + "programLength": 63, + "programVocabulary": 20, + "volume": 272.28146997790384, + "difficulty": 7.666666666666667, + "effort": 2087.491269830596, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses": { + "line": 81, + "lineCount": 20, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 2, + "n2": 7, + "N1": 10, + "N2": 24, + "programLength": 34, + "programVocabulary": 9, + "volume": 107.7774500490386, + "difficulty": 3.4285714285714284, + "effort": 369.52268588241805, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass": { + "line": 109, + "lineCount": 9, + "argCount": 2, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 6, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 10, + "volume": 49.82892142331043, + "difficulty": 3.3333333333333335, + "effort": 166.09640474436813, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel": { + "line": 126, + "lineCount": 16, + "argCount": 2, + "returnCount": 4, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 12, + "N1": 9, + "N2": 18, + "programLength": 27, + "programVocabulary": 15, + "volume": 105.48604608143, + "difficulty": 2.25, + "effort": 237.3436036832175, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile": { + "line": 14, + "lineCount": 6, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 2, + "N2": 5, + "programLength": 7, + "programVocabulary": 4, + "volume": 14, + "difficulty": 2.5, + "effort": 35, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable": { + "line": 24, + "lineCount": 11, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 10, + "N2": 12, + "programLength": 22, + "programVocabulary": 8, + "volume": 66, + "difficulty": 6, + "effort": 396, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create": { + "line": 21, + "lineCount": 11, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 7, + "N1": 0, + "N2": 9, + "programLength": 9, + "programVocabulary": 7, + "volume": 25.26619429851844, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes": { + "line": 38, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 6, + "N1": 0, + "N2": 6, + "programLength": 6, + "programVocabulary": 6, + "volume": 15.509775004326936, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported": { + "line": 49, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 2, + "N2": 3, + "programLength": 5, + "programVocabulary": 4, + "volume": 10, + "difficulty": 1.5, + "effort": 15, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export": { + "line": 30, + "lineCount": 23, + "argCount": 2, + "returnCount": 0, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 16, + "N1": 10, + "N2": 33, + "programLength": 43, + "programVocabulary": 20, + "volume": 185.8429080801566, + "difficulty": 4.125, + "effort": 766.601995830646, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export": { + "line": 28, + "lineCount": 8, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 6, + "volume": 36.18947501009619, + "difficulty": 2.5, + "effort": 90.47368752524048, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape": { + "line": 37, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber": { + "line": 42, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml": { + "line": 52, + "lineCount": 50, + "argCount": 1, + "returnCount": 1, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 12, + "N1": 11, + "N2": 25, + "programLength": 36, + "programVocabulary": 17, + "volume": 147.14866228501222, + "difficulty": 5.208333333333334, + "effort": 766.3992827344388, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export": { + "line": 17, + "lineCount": 13, + "argCount": 2, + "returnCount": 0, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 4, + "n2": 8, + "N1": 7, + "N2": 14, + "programLength": 21, + "programVocabulary": 12, + "volume": 75.28421251514428, + "difficulty": 3.5, + "effort": 263.49474380300495, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export" + } + } + }, + "ignored_items": [], + "cached_at": 1759967600 +} \ No newline at end of file diff --git a/.phpcca.cache/fb/fbe5346959e557af293feca9db32e058.cache b/.phpcca.cache/fb/fbe5346959e557af293feca9db32e058.cache new file mode 100644 index 0000000..23cd459 --- /dev/null +++ b/.phpcca.cache/fb/fbe5346959e557af293feca9db32e058.cache @@ -0,0 +1,1985 @@ +{ + "version": "1.0", + "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/Business\/CodeCoverage\/MethodCoverage.php", + "file_mtime": 1759784766, + "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", + "analysis_result": { + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct": { + "line": 60, + "lineCount": 5, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 1, + "N1": 2, + "N2": 2, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 2, + "effort": 12.679700005769249, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices": { + "line": 66, + "lineCount": 95, + "argCount": 0, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 5, + "N1": 58, + "N2": 32, + "programLength": 90, + "programVocabulary": 9, + "volume": 285.2932501298081, + "difficulty": 12.8, + "effort": 3651.7536016615436, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap": { + "line": 162, + "lineCount": 10, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 7, + "N2": 7, + "programLength": 14, + "programVocabulary": 2, + "volume": 14, + "difficulty": 3.5, + "effort": 49, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors": { + "line": 173, + "lineCount": 12, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 3, + "N2": 1, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0.5, + "effort": 2, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus": { + "line": 186, + "lineCount": 19, + "argCount": 0, + "returnCount": 0, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 9, + "N2": 13, + "programLength": 22, + "programVocabulary": 7, + "volume": 61.76180828526729, + "difficulty": 2.6, + "effort": 160.58070154169496, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService": { + "line": 206, + "lineCount": 9, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 3, + "N2": 1, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0.5, + "effort": 2, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade": { + "line": 216, + "lineCount": 13, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 3, + "N2": 1, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0.5, + "effort": 2, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands": { + "line": 230, + "lineCount": 21, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 6, + "N2": 2, + "programLength": 8, + "programVocabulary": 2, + "volume": 8, + "difficulty": 1, + "effort": 8, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication": { + "line": 252, + "lineCount": 11, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 5, + "N2": 4, + "programLength": 9, + "programVocabulary": 4, + "volume": 18, + "difficulty": 0.6666666666666666, + "effort": 12, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run": { + "line": 264, + "lineCount": 9, + "argCount": 0, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 5, + "N2": 5, + "programLength": 10, + "programVocabulary": 4, + "volume": 20, + "difficulty": 2.5, + "effort": 50, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get": { + "line": 274, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer": { + "line": 279, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator": { + "line": 289, + "lineCount": 16, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 7, + "programLength": 8, + "programVocabulary": 4, + "volume": 16, + "difficulty": 1.1666666666666667, + "effort": 18.666666666666668, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create": { + "line": 18, + "lineCount": 7, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 4, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile": { + "line": 17, + "lineCount": 17, + "argCount": 2, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 8, + "N1": 11, + "N2": 19, + "programLength": 30, + "programVocabulary": 11, + "volume": 103.78294855911892, + "difficulty": 3.5625, + "effort": 369.72675424186116, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode": { + "line": 42, + "lineCount": 8, + "argCount": 3, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 3, + "N2": 8, + "programLength": 11, + "programVocabulary": 8, + "volume": 33, + "difficulty": 2.4000000000000004, + "effort": 79.20000000000002, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate": { + "line": 22, + "lineCount": 10, + "argCount": 2, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 6, + "N2": 13, + "programLength": 19, + "programVocabulary": 6, + "volume": 49.11428751370197, + "difficulty": 3.25, + "effort": 159.6214344195314, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending": { + "line": 37, + "lineCount": 8, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 2, + "N2": 9, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 2.25, + "effort": 63.97782189284862, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn": { + "line": 51, + "lineCount": 24, + "argCount": 2, + "returnCount": 1, + "variableCount": 6, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 15, + "N1": 17, + "N2": 46, + "programLength": 63, + "programVocabulary": 20, + "volume": 272.28146997790384, + "difficulty": 7.666666666666667, + "effort": 2087.491269830596, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses": { + "line": 81, + "lineCount": 20, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 2, + "n2": 7, + "N1": 10, + "N2": 24, + "programLength": 34, + "programVocabulary": 9, + "volume": 107.7774500490386, + "difficulty": 3.4285714285714284, + "effort": 369.52268588241805, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass": { + "line": 109, + "lineCount": 9, + "argCount": 2, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 6, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 10, + "volume": 49.82892142331043, + "difficulty": 3.3333333333333335, + "effort": 166.09640474436813, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel": { + "line": 126, + "lineCount": 16, + "argCount": 2, + "returnCount": 4, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 12, + "N1": 9, + "N2": 18, + "programLength": 27, + "programVocabulary": 15, + "volume": 105.48604608143, + "difficulty": 2.25, + "effort": 237.3436036832175, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile": { + "line": 14, + "lineCount": 6, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 2, + "N2": 5, + "programLength": 7, + "programVocabulary": 4, + "volume": 14, + "difficulty": 2.5, + "effort": 35, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable": { + "line": 24, + "lineCount": 11, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 10, + "N2": 12, + "programLength": 22, + "programVocabulary": 8, + "volume": 66, + "difficulty": 6, + "effort": 396, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create": { + "line": 21, + "lineCount": 11, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 7, + "N1": 0, + "N2": 9, + "programLength": 9, + "programVocabulary": 7, + "volume": 25.26619429851844, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes": { + "line": 38, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 6, + "N1": 0, + "N2": 6, + "programLength": 6, + "programVocabulary": 6, + "volume": 15.509775004326936, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported": { + "line": 49, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 2, + "N2": 3, + "programLength": 5, + "programVocabulary": 4, + "volume": 10, + "difficulty": 1.5, + "effort": 15, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export": { + "line": 30, + "lineCount": 23, + "argCount": 2, + "returnCount": 0, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 16, + "N1": 10, + "N2": 33, + "programLength": 43, + "programVocabulary": 20, + "volume": 185.8429080801566, + "difficulty": 4.125, + "effort": 766.601995830646, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export": { + "line": 28, + "lineCount": 8, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 6, + "volume": 36.18947501009619, + "difficulty": 2.5, + "effort": 90.47368752524048, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape": { + "line": 37, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber": { + "line": 42, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml": { + "line": 52, + "lineCount": 50, + "argCount": 1, + "returnCount": 1, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 12, + "N1": 11, + "N2": 25, + "programLength": 36, + "programVocabulary": 17, + "volume": 147.14866228501222, + "difficulty": 5.208333333333334, + "effort": 766.3992827344388, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export": { + "line": 17, + "lineCount": 13, + "argCount": 2, + "returnCount": 0, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 8, + "N1": 7, + "N2": 14, + "programLength": 21, + "programVocabulary": 12, + "volume": 75.28421251514428, + "difficulty": 3.5, + "effort": 263.49474380300495, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export": { + "line": 48, + "lineCount": 8, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 6, + "volume": 36.18947501009619, + "difficulty": 2.5, + "effort": 90.47368752524048, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown": { + "line": 61, + "lineCount": 24, + "argCount": 1, + "returnCount": 1, + "variableCount": 6, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 6, + "n2": 16, + "N1": 19, + "N2": 41, + "programLength": 60, + "programVocabulary": 22, + "volume": 267.56589711823784, + "difficulty": 7.6875, + "effort": 2056.9128340964535, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow": { + "line": 94, + "lineCount": 21, + "argCount": 3, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 7, + "n2": 18, + "N1": 16, + "N2": 39, + "programLength": 55, + "programVocabulary": 25, + "volume": 255.41209043760983, + "difficulty": 7.583333333333333, + "effort": 1936.8750191518745, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::__construct": { + "line": 26, + "lineCount": 4, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::export": { + "line": 36, + "lineCount": 10, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 8, + "volume": 45, + "difficulty": 5, + "effort": 225, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::generateSvgTreemap": { + "line": 53, + "lineCount": 20, + "argCount": 1, + "returnCount": 1, + "variableCount": 6, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 8, + "N1": 9, + "N2": 20, + "programLength": 29, + "programVocabulary": 10, + "volume": 96.3359147517335, + "difficulty": 2.5, + "effort": 240.83978687933376, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::generateSvgTreemap" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRects": { + "line": 82, + "lineCount": 10, + "argCount": 3, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 9, + "N1": 6, + "N2": 18, + "programLength": 24, + "programVocabulary": 12, + "volume": 86.03910001730775, + "difficulty": 3, + "effort": 258.1173000519232, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRects" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRect": { + "line": 100, + "lineCount": 29, + "argCount": 2, + "returnCount": 1, + "variableCount": 12, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 6, + "n2": 28, + "N1": 26, + "N2": 54, + "programLength": 80, + "programVocabulary": 34, + "volume": 406.9970273000271, + "difficulty": 5.785714285714286, + "effort": 2354.7685150930142, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRect" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::wrapSvg": { + "line": 136, + "lineCount": 21, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 2, + "N2": 8, + "programLength": 10, + "programVocabulary": 4, + "volume": 20, + "difficulty": 1.3333333333333333, + "effort": 26.666666666666664, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::wrapSvg" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::prepareItems": { + "line": 28, + "lineCount": 18, + "argCount": 1, + "returnCount": 1, + "variableCount": 7, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 12, + "N1": 9, + "N2": 30, + "programLength": 39, + "programVocabulary": 17, + "volume": 159.41105080876324, + "difficulty": 6.25, + "effort": 996.3190675547702, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::prepareItems" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findScoreRange": { + "line": 53, + "lineCount": 16, + "argCount": 1, + "returnCount": 3, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 7, + "N2": 13, + "programLength": 20, + "programVocabulary": 8, + "volume": 60, + "difficulty": 3.9000000000000004, + "effort": 234.00000000000003, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findScoreRange" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::normalizeScore": { + "line": 78, + "lineCount": 8, + "argCount": 3, + "returnCount": 2, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 8, + "volume": 45, + "difficulty": 5, + "effort": 225, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::normalizeScore" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::scoreToColor": { + "line": 93, + "lineCount": 9, + "argCount": 1, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 5, + "n2": 9, + "N1": 12, + "N2": 16, + "programLength": 28, + "programVocabulary": 14, + "volume": 106.60593781761291, + "difficulty": 4.444444444444445, + "effort": 473.80416807827964, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::scoreToColor" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::calculateTreemapLayout": { + "line": 115, + "lineCount": 23, + "argCount": 7, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 9, + "N1": 2, + "N2": 18, + "programLength": 20, + "programVocabulary": 11, + "volume": 69.18863237274594, + "difficulty": 2, + "effort": 138.37726474549189, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::calculateTreemapLayout" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::layoutTreemap": { + "line": 152, + "lineCount": 89, + "argCount": 8, + "returnCount": 3, + "variableCount": 11, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 8, + "n2": 28, + "N1": 32, + "N2": 98, + "programLength": 130, + "programVocabulary": 36, + "volume": 672.0902501875006, + "difficulty": 14, + "effort": 9409.263502625008, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::layoutTreemap" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findSplitIndex": { + "line": 249, + "lineCount": 13, + "argCount": 2, + "returnCount": 2, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 7, + "n2": 10, + "N1": 9, + "N2": 23, + "programLength": 32, + "programVocabulary": 17, + "volume": 130.79881092001085, + "difficulty": 8.049999999999999, + "effort": 1052.9304279060873, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findSplitIndex" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::__construct": { + "line": 23, + "lineCount": 18, + "argCount": 1, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 7, + "N2": 11, + "programLength": 18, + "programVocabulary": 6, + "volume": 46.529325012980806, + "difficulty": 5.5, + "effort": 255.91128757139444, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::getAllClasses": { + "line": 47, + "lineCount": 17, + "argCount": 0, + "returnCount": 2, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 6, + "N2": 12, + "programLength": 18, + "programVocabulary": 9, + "volume": 57.05865002596162, + "difficulty": 3, + "effort": 171.17595007788486, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::getAllClasses" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::withClassNode": { + "line": 73, + "lineCount": 8, + "argCount": 2, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 4, + "N2": 8, + "programLength": 12, + "programVocabulary": 8, + "volume": 36, + "difficulty": 4, + "effort": 144, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::withClassNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::findClassNode": { + "line": 85, + "lineCount": 25, + "argCount": 1, + "returnCount": 4, + "variableCount": 5, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 13, + "N2": 29, + "programLength": 42, + "programVocabulary": 11, + "volume": 145.29612798276648, + "difficulty": 8.285714285714286, + "effort": 1203.8822032857795, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::findClassNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::escapeXPathValue": { + "line": 114, + "lineCount": 16, + "argCount": 1, + "returnCount": 3, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 9, + "N1": 11, + "N2": 18, + "programLength": 29, + "programVocabulary": 13, + "volume": 107.31275182609167, + "difficulty": 4, + "effort": 429.2510073043667, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::escapeXPathValue" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getLineCoverage": { + "line": 22, + "lineCount": 18, + "argCount": 1, + "returnCount": 4, + "variableCount": 5, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 9, + "N1": 10, + "N2": 19, + "programLength": 29, + "programVocabulary": 13, + "volume": 107.31275182609167, + "difficulty": 4.222222222222222, + "effort": 453.09828548794263, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getLineCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getBranchCoverage": { + "line": 48, + "lineCount": 18, + "argCount": 1, + "returnCount": 4, + "variableCount": 5, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 9, + "N1": 10, + "N2": 19, + "programLength": 29, + "programVocabulary": 13, + "volume": 107.31275182609167, + "difficulty": 4.222222222222222, + "effort": 453.09828548794263, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getBranchCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getComplexity": { + "line": 73, + "lineCount": 13, + "argCount": 1, + "returnCount": 3, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 7, + "N2": 14, + "programLength": 21, + "programVocabulary": 11, + "volume": 72.64806399138324, + "difficulty": 4, + "effort": 290.59225596553296, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getComplexity" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getCoverageDetails": { + "line": 93, + "lineCount": 26, + "argCount": 1, + "returnCount": 3, + "variableCount": 9, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 17, + "N1": 22, + "N2": 42, + "programLength": 64, + "programVocabulary": 22, + "volume": 285.403623592787, + "difficulty": 6.176470588235294, + "effort": 1762.7870868966259, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getCoverageDetails" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getMetricsNode": { + "line": 123, + "lineCount": 12, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 6, + "N1": 7, + "N2": 13, + "programLength": 20, + "programVocabulary": 10, + "volume": 66.43856189774725, + "difficulty": 4.333333333333333, + "effort": 287.90043489023805, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getMetricsNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getFilenameForClass": { + "line": 139, + "lineCount": 9, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 5, + "N1": 4, + "N2": 9, + "programLength": 13, + "programVocabulary": 9, + "volume": 41.209025018750054, + "difficulty": 3.6, + "effort": 148.3524900675002, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getFilenameForClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodsCoverage": { + "line": 154, + "lineCount": 36, + "argCount": 1, + "returnCount": 3, + "variableCount": 8, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 13, + "N1": 12, + "N2": 30, + "programLength": 42, + "programVocabulary": 16, + "volume": 168, + "difficulty": 3.4615384615384612, + "effort": 581.5384615384614, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodsCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::calculateMethodCoverage": { + "line": 194, + "lineCount": 15, + "argCount": 2, + "returnCount": 2, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 11, + "N1": 9, + "N2": 23, + "programLength": 32, + "programVocabulary": 16, + "volume": 128, + "difficulty": 5.227272727272727, + "effort": 669.090909090909, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::calculateMethodCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodCoverageFromLines": { + "line": 215, + "lineCount": 36, + "argCount": 2, + "returnCount": 1, + "variableCount": 7, + "propertyCallCount": 0, + "ifNestingLevel": 2, + "elseCount": 0, + "ifCount": 5, + "halstead": { + "n1": 2, + "n2": 14, + "N1": 12, + "N2": 35, + "programLength": 47, + "programVocabulary": 16, + "volume": 188, + "difficulty": 2.5, + "effort": 470, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodCoverageFromLines" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStart": { + "line": 252, + "lineCount": 4, + "argCount": 3, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 3, + "N2": 7, + "programLength": 10, + "programVocabulary": 6, + "volume": 25.84962500721156, + "difficulty": 1.75, + "effort": 45.23684376262023, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStart" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodEnd": { + "line": 257, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 5, + "programLength": 7, + "programVocabulary": 5, + "volume": 16.253496664211536, + "difficulty": 1.6666666666666667, + "effort": 27.089161107019226, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodEnd" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStatement": { + "line": 262, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 5, + "programLength": 7, + "programVocabulary": 5, + "volume": 16.253496664211536, + "difficulty": 1.6666666666666667, + "effort": 27.089161107019226, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStatement" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isStatementCovered": { + "line": 267, + "lineCount": 5, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 4, + "N1": 3, + "N2": 6, + "programLength": 9, + "programVocabulary": 7, + "volume": 25.26619429851844, + "difficulty": 2.25, + "effort": 56.848937171666485, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isStatementCovered" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getLineCoverage": { + "line": 20, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 9, + "volume": 44.37895002019237, + "difficulty": 2.5, + "effort": 110.94737505048093, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getLineCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getBranchCoverage": { + "line": 34, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 9, + "volume": 44.37895002019237, + "difficulty": 2.5, + "effort": 110.94737505048093, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getBranchCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getComplexity": { + "line": 48, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 9, + "volume": 44.37895002019237, + "difficulty": 2.5, + "effort": 110.94737505048093, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getComplexity" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getCoverageDetails": { + "line": 62, + "lineCount": 13, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 8, + "N1": 7, + "N2": 16, + "programLength": 23, + "programVocabulary": 9, + "volume": 72.90827503317318, + "difficulty": 1, + "effort": 72.90827503317318, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getCoverageDetails" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::extractMethodsCoverage": { + "line": 81, + "lineCount": 23, + "argCount": 1, + "returnCount": 2, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 11, + "N1": 10, + "N2": 23, + "programLength": 33, + "programVocabulary": 14, + "volume": 125.64271242790093, + "difficulty": 3.1363636363636362, + "effort": 394.061234432962, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::extractMethodsCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CodeCoverageFactory::createFromName": { + "line": 14, + "lineCount": 8, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 4, + "N1": 1, + "N2": 8, + "programLength": 9, + "programVocabulary": 5, + "volume": 20.89735285398626, + "difficulty": 1, + "effort": 20.89735285398626, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CodeCoverageFactory::createFromName" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::__construct": { + "line": 28, + "lineCount": 15, + "argCount": 6, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 6, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 7, + "N1": 6, + "N2": 18, + "programLength": 24, + "programVocabulary": 8, + "volume": 72, + "difficulty": 1.2857142857142858, + "effort": 92.57142857142858, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getName": { + "line": 44, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getName" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getFilename": { + "line": 49, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getFilename" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getLineRate": { + "line": 54, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getLineRate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getBranchRate": { + "line": 59, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getBranchRate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getComplexity": { + "line": 64, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getComplexity" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getMethods": { + "line": 72, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getMethods" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::__construct": { + "line": 17, + "lineCount": 11, + "argCount": 4, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 4, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 1, + "n2": 5, + "N1": 4, + "N2": 12, + "programLength": 16, + "programVocabulary": 6, + "volume": 41.3594000115385, + "difficulty": 1.2, + "effort": 49.631280013846194, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getName": { + "line": 29, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getName" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getLineRate": { + "line": 34, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getLineRate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getBranchRate": { + "line": 39, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getBranchRate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getComplexity": { + "line": 44, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getComplexity" + } + } + }, + "ignored_items": [], + "cached_at": 1759967600 +} \ No newline at end of file diff --git a/.phpcca.cache/fd/fd5898ab05f5118beab265780b4b110f.cache b/.phpcca.cache/fd/fd5898ab05f5118beab265780b4b110f.cache new file mode 100644 index 0000000..b4a946c --- /dev/null +++ b/.phpcca.cache/fd/fd5898ab05f5118beab265780b4b110f.cache @@ -0,0 +1,4131 @@ +{ + "version": "1.0", + "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/Business\/Cognitive\/Events\/ParserFailed.php", + "file_mtime": 1752612112, + "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", + "analysis_result": { + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct": { + "line": 60, + "lineCount": 5, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 1, + "N1": 2, + "N2": 2, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 2, + "effort": 12.679700005769249, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices": { + "line": 66, + "lineCount": 95, + "argCount": 0, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 5, + "N1": 58, + "N2": 32, + "programLength": 90, + "programVocabulary": 9, + "volume": 285.2932501298081, + "difficulty": 12.8, + "effort": 3651.7536016615436, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap": { + "line": 162, + "lineCount": 10, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 7, + "N2": 7, + "programLength": 14, + "programVocabulary": 2, + "volume": 14, + "difficulty": 3.5, + "effort": 49, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors": { + "line": 173, + "lineCount": 12, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 3, + "N2": 1, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0.5, + "effort": 2, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus": { + "line": 186, + "lineCount": 19, + "argCount": 0, + "returnCount": 0, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 9, + "N2": 13, + "programLength": 22, + "programVocabulary": 7, + "volume": 61.76180828526729, + "difficulty": 2.6, + "effort": 160.58070154169496, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService": { + "line": 206, + "lineCount": 9, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 3, + "N2": 1, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0.5, + "effort": 2, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade": { + "line": 216, + "lineCount": 13, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 3, + "N2": 1, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0.5, + "effort": 2, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands": { + "line": 230, + "lineCount": 21, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 6, + "N2": 2, + "programLength": 8, + "programVocabulary": 2, + "volume": 8, + "difficulty": 1, + "effort": 8, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication": { + "line": 252, + "lineCount": 11, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 5, + "N2": 4, + "programLength": 9, + "programVocabulary": 4, + "volume": 18, + "difficulty": 0.6666666666666666, + "effort": 12, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run": { + "line": 264, + "lineCount": 9, + "argCount": 0, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 5, + "N2": 5, + "programLength": 10, + "programVocabulary": 4, + "volume": 20, + "difficulty": 2.5, + "effort": 50, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get": { + "line": 274, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer": { + "line": 279, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator": { + "line": 289, + "lineCount": 16, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 7, + "programLength": 8, + "programVocabulary": 4, + "volume": 16, + "difficulty": 1.1666666666666667, + "effort": 18.666666666666668, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create": { + "line": 18, + "lineCount": 7, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 4, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile": { + "line": 17, + "lineCount": 17, + "argCount": 2, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 8, + "N1": 11, + "N2": 19, + "programLength": 30, + "programVocabulary": 11, + "volume": 103.78294855911892, + "difficulty": 3.5625, + "effort": 369.72675424186116, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode": { + "line": 42, + "lineCount": 8, + "argCount": 3, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 3, + "N2": 8, + "programLength": 11, + "programVocabulary": 8, + "volume": 33, + "difficulty": 2.4000000000000004, + "effort": 79.20000000000002, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate": { + "line": 22, + "lineCount": 10, + "argCount": 2, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 6, + "N2": 13, + "programLength": 19, + "programVocabulary": 6, + "volume": 49.11428751370197, + "difficulty": 3.25, + "effort": 159.6214344195314, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending": { + "line": 37, + "lineCount": 8, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 2, + "N2": 9, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 2.25, + "effort": 63.97782189284862, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn": { + "line": 51, + "lineCount": 24, + "argCount": 2, + "returnCount": 1, + "variableCount": 6, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 15, + "N1": 17, + "N2": 46, + "programLength": 63, + "programVocabulary": 20, + "volume": 272.28146997790384, + "difficulty": 7.666666666666667, + "effort": 2087.491269830596, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses": { + "line": 81, + "lineCount": 20, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 2, + "n2": 7, + "N1": 10, + "N2": 24, + "programLength": 34, + "programVocabulary": 9, + "volume": 107.7774500490386, + "difficulty": 3.4285714285714284, + "effort": 369.52268588241805, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass": { + "line": 109, + "lineCount": 9, + "argCount": 2, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 6, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 10, + "volume": 49.82892142331043, + "difficulty": 3.3333333333333335, + "effort": 166.09640474436813, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel": { + "line": 126, + "lineCount": 16, + "argCount": 2, + "returnCount": 4, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 12, + "N1": 9, + "N2": 18, + "programLength": 27, + "programVocabulary": 15, + "volume": 105.48604608143, + "difficulty": 2.25, + "effort": 237.3436036832175, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile": { + "line": 14, + "lineCount": 6, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 2, + "N2": 5, + "programLength": 7, + "programVocabulary": 4, + "volume": 14, + "difficulty": 2.5, + "effort": 35, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable": { + "line": 24, + "lineCount": 11, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 10, + "N2": 12, + "programLength": 22, + "programVocabulary": 8, + "volume": 66, + "difficulty": 6, + "effort": 396, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create": { + "line": 21, + "lineCount": 11, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 7, + "N1": 0, + "N2": 9, + "programLength": 9, + "programVocabulary": 7, + "volume": 25.26619429851844, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes": { + "line": 38, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 6, + "N1": 0, + "N2": 6, + "programLength": 6, + "programVocabulary": 6, + "volume": 15.509775004326936, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported": { + "line": 49, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 2, + "N2": 3, + "programLength": 5, + "programVocabulary": 4, + "volume": 10, + "difficulty": 1.5, + "effort": 15, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export": { + "line": 30, + "lineCount": 23, + "argCount": 2, + "returnCount": 0, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 16, + "N1": 10, + "N2": 33, + "programLength": 43, + "programVocabulary": 20, + "volume": 185.8429080801566, + "difficulty": 4.125, + "effort": 766.601995830646, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export": { + "line": 28, + "lineCount": 8, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 6, + "volume": 36.18947501009619, + "difficulty": 2.5, + "effort": 90.47368752524048, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape": { + "line": 37, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber": { + "line": 42, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml": { + "line": 52, + "lineCount": 50, + "argCount": 1, + "returnCount": 1, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 12, + "N1": 11, + "N2": 25, + "programLength": 36, + "programVocabulary": 17, + "volume": 147.14866228501222, + "difficulty": 5.208333333333334, + "effort": 766.3992827344388, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export": { + "line": 17, + "lineCount": 13, + "argCount": 2, + "returnCount": 0, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 8, + "N1": 7, + "N2": 14, + "programLength": 21, + "programVocabulary": 12, + "volume": 75.28421251514428, + "difficulty": 3.5, + "effort": 263.49474380300495, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export": { + "line": 48, + "lineCount": 8, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 6, + "volume": 36.18947501009619, + "difficulty": 2.5, + "effort": 90.47368752524048, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown": { + "line": 61, + "lineCount": 24, + "argCount": 1, + "returnCount": 1, + "variableCount": 6, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 6, + "n2": 16, + "N1": 19, + "N2": 41, + "programLength": 60, + "programVocabulary": 22, + "volume": 267.56589711823784, + "difficulty": 7.6875, + "effort": 2056.9128340964535, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow": { + "line": 94, + "lineCount": 21, + "argCount": 3, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 7, + "n2": 18, + "N1": 16, + "N2": 39, + "programLength": 55, + "programVocabulary": 25, + "volume": 255.41209043760983, + "difficulty": 7.583333333333333, + "effort": 1936.8750191518745, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::__construct": { + "line": 26, + "lineCount": 4, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::export": { + "line": 36, + "lineCount": 10, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 8, + "volume": 45, + "difficulty": 5, + "effort": 225, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::generateSvgTreemap": { + "line": 53, + "lineCount": 20, + "argCount": 1, + "returnCount": 1, + "variableCount": 6, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 8, + "N1": 9, + "N2": 20, + "programLength": 29, + "programVocabulary": 10, + "volume": 96.3359147517335, + "difficulty": 2.5, + "effort": 240.83978687933376, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::generateSvgTreemap" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRects": { + "line": 82, + "lineCount": 10, + "argCount": 3, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 9, + "N1": 6, + "N2": 18, + "programLength": 24, + "programVocabulary": 12, + "volume": 86.03910001730775, + "difficulty": 3, + "effort": 258.1173000519232, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRects" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRect": { + "line": 100, + "lineCount": 29, + "argCount": 2, + "returnCount": 1, + "variableCount": 12, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 6, + "n2": 28, + "N1": 26, + "N2": 54, + "programLength": 80, + "programVocabulary": 34, + "volume": 406.9970273000271, + "difficulty": 5.785714285714286, + "effort": 2354.7685150930142, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRect" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::wrapSvg": { + "line": 136, + "lineCount": 21, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 2, + "N2": 8, + "programLength": 10, + "programVocabulary": 4, + "volume": 20, + "difficulty": 1.3333333333333333, + "effort": 26.666666666666664, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::wrapSvg" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::prepareItems": { + "line": 28, + "lineCount": 18, + "argCount": 1, + "returnCount": 1, + "variableCount": 7, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 12, + "N1": 9, + "N2": 30, + "programLength": 39, + "programVocabulary": 17, + "volume": 159.41105080876324, + "difficulty": 6.25, + "effort": 996.3190675547702, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::prepareItems" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findScoreRange": { + "line": 53, + "lineCount": 16, + "argCount": 1, + "returnCount": 3, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 7, + "N2": 13, + "programLength": 20, + "programVocabulary": 8, + "volume": 60, + "difficulty": 3.9000000000000004, + "effort": 234.00000000000003, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findScoreRange" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::normalizeScore": { + "line": 78, + "lineCount": 8, + "argCount": 3, + "returnCount": 2, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 8, + "volume": 45, + "difficulty": 5, + "effort": 225, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::normalizeScore" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::scoreToColor": { + "line": 93, + "lineCount": 9, + "argCount": 1, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 5, + "n2": 9, + "N1": 12, + "N2": 16, + "programLength": 28, + "programVocabulary": 14, + "volume": 106.60593781761291, + "difficulty": 4.444444444444445, + "effort": 473.80416807827964, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::scoreToColor" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::calculateTreemapLayout": { + "line": 115, + "lineCount": 23, + "argCount": 7, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 9, + "N1": 2, + "N2": 18, + "programLength": 20, + "programVocabulary": 11, + "volume": 69.18863237274594, + "difficulty": 2, + "effort": 138.37726474549189, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::calculateTreemapLayout" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::layoutTreemap": { + "line": 152, + "lineCount": 89, + "argCount": 8, + "returnCount": 3, + "variableCount": 11, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 8, + "n2": 28, + "N1": 32, + "N2": 98, + "programLength": 130, + "programVocabulary": 36, + "volume": 672.0902501875006, + "difficulty": 14, + "effort": 9409.263502625008, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::layoutTreemap" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findSplitIndex": { + "line": 249, + "lineCount": 13, + "argCount": 2, + "returnCount": 2, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 7, + "n2": 10, + "N1": 9, + "N2": 23, + "programLength": 32, + "programVocabulary": 17, + "volume": 130.79881092001085, + "difficulty": 8.049999999999999, + "effort": 1052.9304279060873, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findSplitIndex" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::__construct": { + "line": 23, + "lineCount": 18, + "argCount": 1, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 7, + "N2": 11, + "programLength": 18, + "programVocabulary": 6, + "volume": 46.529325012980806, + "difficulty": 5.5, + "effort": 255.91128757139444, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::getAllClasses": { + "line": 47, + "lineCount": 17, + "argCount": 0, + "returnCount": 2, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 6, + "N2": 12, + "programLength": 18, + "programVocabulary": 9, + "volume": 57.05865002596162, + "difficulty": 3, + "effort": 171.17595007788486, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::getAllClasses" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::withClassNode": { + "line": 73, + "lineCount": 8, + "argCount": 2, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 4, + "N2": 8, + "programLength": 12, + "programVocabulary": 8, + "volume": 36, + "difficulty": 4, + "effort": 144, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::withClassNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::findClassNode": { + "line": 85, + "lineCount": 25, + "argCount": 1, + "returnCount": 4, + "variableCount": 5, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 13, + "N2": 29, + "programLength": 42, + "programVocabulary": 11, + "volume": 145.29612798276648, + "difficulty": 8.285714285714286, + "effort": 1203.8822032857795, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::findClassNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::escapeXPathValue": { + "line": 114, + "lineCount": 16, + "argCount": 1, + "returnCount": 3, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 9, + "N1": 11, + "N2": 18, + "programLength": 29, + "programVocabulary": 13, + "volume": 107.31275182609167, + "difficulty": 4, + "effort": 429.2510073043667, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::escapeXPathValue" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getLineCoverage": { + "line": 22, + "lineCount": 18, + "argCount": 1, + "returnCount": 4, + "variableCount": 5, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 9, + "N1": 10, + "N2": 19, + "programLength": 29, + "programVocabulary": 13, + "volume": 107.31275182609167, + "difficulty": 4.222222222222222, + "effort": 453.09828548794263, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getLineCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getBranchCoverage": { + "line": 48, + "lineCount": 18, + "argCount": 1, + "returnCount": 4, + "variableCount": 5, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 9, + "N1": 10, + "N2": 19, + "programLength": 29, + "programVocabulary": 13, + "volume": 107.31275182609167, + "difficulty": 4.222222222222222, + "effort": 453.09828548794263, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getBranchCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getComplexity": { + "line": 73, + "lineCount": 13, + "argCount": 1, + "returnCount": 3, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 7, + "N2": 14, + "programLength": 21, + "programVocabulary": 11, + "volume": 72.64806399138324, + "difficulty": 4, + "effort": 290.59225596553296, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getComplexity" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getCoverageDetails": { + "line": 93, + "lineCount": 26, + "argCount": 1, + "returnCount": 3, + "variableCount": 9, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 17, + "N1": 22, + "N2": 42, + "programLength": 64, + "programVocabulary": 22, + "volume": 285.403623592787, + "difficulty": 6.176470588235294, + "effort": 1762.7870868966259, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getCoverageDetails" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getMetricsNode": { + "line": 123, + "lineCount": 12, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 6, + "N1": 7, + "N2": 13, + "programLength": 20, + "programVocabulary": 10, + "volume": 66.43856189774725, + "difficulty": 4.333333333333333, + "effort": 287.90043489023805, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getMetricsNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getFilenameForClass": { + "line": 139, + "lineCount": 9, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 5, + "N1": 4, + "N2": 9, + "programLength": 13, + "programVocabulary": 9, + "volume": 41.209025018750054, + "difficulty": 3.6, + "effort": 148.3524900675002, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getFilenameForClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodsCoverage": { + "line": 154, + "lineCount": 36, + "argCount": 1, + "returnCount": 3, + "variableCount": 8, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 13, + "N1": 12, + "N2": 30, + "programLength": 42, + "programVocabulary": 16, + "volume": 168, + "difficulty": 3.4615384615384612, + "effort": 581.5384615384614, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodsCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::calculateMethodCoverage": { + "line": 194, + "lineCount": 15, + "argCount": 2, + "returnCount": 2, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 11, + "N1": 9, + "N2": 23, + "programLength": 32, + "programVocabulary": 16, + "volume": 128, + "difficulty": 5.227272727272727, + "effort": 669.090909090909, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::calculateMethodCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodCoverageFromLines": { + "line": 215, + "lineCount": 36, + "argCount": 2, + "returnCount": 1, + "variableCount": 7, + "propertyCallCount": 0, + "ifNestingLevel": 2, + "elseCount": 0, + "ifCount": 5, + "halstead": { + "n1": 2, + "n2": 14, + "N1": 12, + "N2": 35, + "programLength": 47, + "programVocabulary": 16, + "volume": 188, + "difficulty": 2.5, + "effort": 470, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodCoverageFromLines" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStart": { + "line": 252, + "lineCount": 4, + "argCount": 3, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 3, + "N2": 7, + "programLength": 10, + "programVocabulary": 6, + "volume": 25.84962500721156, + "difficulty": 1.75, + "effort": 45.23684376262023, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStart" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodEnd": { + "line": 257, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 5, + "programLength": 7, + "programVocabulary": 5, + "volume": 16.253496664211536, + "difficulty": 1.6666666666666667, + "effort": 27.089161107019226, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodEnd" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStatement": { + "line": 262, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 5, + "programLength": 7, + "programVocabulary": 5, + "volume": 16.253496664211536, + "difficulty": 1.6666666666666667, + "effort": 27.089161107019226, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStatement" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isStatementCovered": { + "line": 267, + "lineCount": 5, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 4, + "N1": 3, + "N2": 6, + "programLength": 9, + "programVocabulary": 7, + "volume": 25.26619429851844, + "difficulty": 2.25, + "effort": 56.848937171666485, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isStatementCovered" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getLineCoverage": { + "line": 20, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 9, + "volume": 44.37895002019237, + "difficulty": 2.5, + "effort": 110.94737505048093, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getLineCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getBranchCoverage": { + "line": 34, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 9, + "volume": 44.37895002019237, + "difficulty": 2.5, + "effort": 110.94737505048093, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getBranchCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getComplexity": { + "line": 48, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 9, + "volume": 44.37895002019237, + "difficulty": 2.5, + "effort": 110.94737505048093, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getComplexity" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getCoverageDetails": { + "line": 62, + "lineCount": 13, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 8, + "N1": 7, + "N2": 16, + "programLength": 23, + "programVocabulary": 9, + "volume": 72.90827503317318, + "difficulty": 1, + "effort": 72.90827503317318, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getCoverageDetails" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::extractMethodsCoverage": { + "line": 81, + "lineCount": 23, + "argCount": 1, + "returnCount": 2, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 11, + "N1": 10, + "N2": 23, + "programLength": 33, + "programVocabulary": 14, + "volume": 125.64271242790093, + "difficulty": 3.1363636363636362, + "effort": 394.061234432962, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::extractMethodsCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CodeCoverageFactory::createFromName": { + "line": 14, + "lineCount": 8, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 4, + "N1": 1, + "N2": 8, + "programLength": 9, + "programVocabulary": 5, + "volume": 20.89735285398626, + "difficulty": 1, + "effort": 20.89735285398626, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CodeCoverageFactory::createFromName" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::__construct": { + "line": 28, + "lineCount": 15, + "argCount": 6, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 6, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 7, + "N1": 6, + "N2": 18, + "programLength": 24, + "programVocabulary": 8, + "volume": 72, + "difficulty": 1.2857142857142858, + "effort": 92.57142857142858, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getName": { + "line": 44, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getName" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getFilename": { + "line": 49, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getFilename" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getLineRate": { + "line": 54, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getLineRate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getBranchRate": { + "line": 59, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getBranchRate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getComplexity": { + "line": 64, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getComplexity" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getMethods": { + "line": 72, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getMethods" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::__construct": { + "line": 17, + "lineCount": 11, + "argCount": 4, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 4, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 5, + "N1": 4, + "N2": 12, + "programLength": 16, + "programVocabulary": 6, + "volume": 41.3594000115385, + "difficulty": 1.2, + "effort": 49.631280013846194, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getName": { + "line": 29, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getName" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getLineRate": { + "line": 34, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getLineRate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getBranchRate": { + "line": 39, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getBranchRate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getComplexity": { + "line": 44, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getComplexity" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::calculateDeltas": { + "line": 19, + "lineCount": 14, + "argCount": 2, + "returnCount": 0, + "variableCount": 6, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 9, + "N1": 4, + "N2": 18, + "programLength": 22, + "programVocabulary": 11, + "volume": 76.10749561002054, + "difficulty": 2, + "effort": 152.21499122004107, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::calculateDeltas" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::loadBaseline": { + "line": 41, + "lineCount": 13, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 5, + "N2": 9, + "programLength": 14, + "programVocabulary": 8, + "volume": 42, + "difficulty": 2.7, + "effort": 113.4, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::loadBaseline" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::__construct": { + "line": 72, + "lineCount": 21, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 6, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 9, + "N1": 12, + "N2": 34, + "programLength": 46, + "programVocabulary": 12, + "volume": 164.90827503317317, + "difficulty": 5.666666666666666, + "effort": 934.4802251879812, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setRequiredMetricProperties": { + "line": 98, + "lineCount": 30, + "argCount": 1, + "returnCount": 0, + "variableCount": 6, + "propertyCallCount": 9, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 21, + "N1": 21, + "N2": 51, + "programLength": 72, + "programVocabulary": 24, + "volume": 330.1173000519232, + "difficulty": 3.6428571428571423, + "effort": 1202.570164474863, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setRequiredMetricProperties" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setOptionalMetricProperties": { + "line": 133, + "lineCount": 12, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 8, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 11, + "N1": 16, + "N2": 33, + "programLength": 49, + "programVocabulary": 13, + "volume": 181.32154618891352, + "difficulty": 3, + "effort": 543.9646385667405, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setOptionalMetricProperties" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setTimesChanged": { + "line": 146, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setTimesChanged" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertSame": { + "line": 151, + "lineCount": 14, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 6, + "N2": 8, + "programLength": 14, + "programVocabulary": 5, + "volume": 32.50699332842307, + "difficulty": 2.6666666666666665, + "effort": 86.68531554246152, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertSame" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::calculateDeltas": { + "line": 169, + "lineCount": 13, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 16, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 17, + "N2": 27, + "programLength": 44, + "programVocabulary": 4, + "volume": 88, + "difficulty": 13.5, + "effort": 1188, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::calculateDeltas" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::fromArray": { + "line": 187, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::fromArray" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertArrayKeyIsPresent": { + "line": 197, + "lineCount": 6, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 5, + "programLength": 5, + "programVocabulary": 2, + "volume": 5, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertArrayKeyIsPresent" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getClass": { + "line": 204, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getMethod": { + "line": 209, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getMethod" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCount": { + "line": 214, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCount": { + "line": 219, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCount": { + "line": 224, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCount": { + "line": 229, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCount": { + "line": 234, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCount": { + "line": 239, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevel": { + "line": 244, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevel" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCount": { + "line": 249, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeight": { + "line": 254, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setLineCountWeight": { + "line": 259, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setLineCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeight": { + "line": 264, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setArgCountWeight": { + "line": 269, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setArgCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeight": { + "line": 274, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setReturnCountWeight": { + "line": 279, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setReturnCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeight": { + "line": 284, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setVariableCountWeight": { + "line": 289, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setVariableCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeight": { + "line": 294, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setPropertyCallCountWeight": { + "line": 299, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setPropertyCallCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeight": { + "line": 304, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfCountWeight": { + "line": 309, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeight": { + "line": 314, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfNestingLevelWeight": { + "line": 319, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfNestingLevelWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeight": { + "line": 324, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setElseCountWeight": { + "line": 329, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setElseCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setScore": { + "line": 334, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setScore" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getScore": { + "line": 339, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getScore" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setCoverage": { + "line": 344, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCoverage": { + "line": 349, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeightDelta": { + "line": 354, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeightDelta": { + "line": 359, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeightDelta": { + "line": 364, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeightDelta": { + "line": 369, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeightDelta": { + "line": 374, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeightDelta": { + "line": 379, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeightDelta": { + "line": 384, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeightDelta": { + "line": 389, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getTimesChanged": { + "line": 394, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 2, + "programLength": 3, + "programVocabulary": 3, + "volume": 4.754887502163468, + "difficulty": 0.5, + "effort": 2.377443751081734, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getTimesChanged" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getFileName": { + "line": 399, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getFileName" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLine": { + "line": 404, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLine" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::equals": { + "line": 409, + "lineCount": 5, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 2, + "N1": 5, + "N2": 5, + "programLength": 10, + "programVocabulary": 5, + "volume": 23.21928094887362, + "difficulty": 3.75, + "effort": 87.07230355827608, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::equals" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::toArray": { + "line": 418, + "lineCount": 34, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 29, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 30, + "N1": 0, + "N2": 58, + "programLength": 58, + "programVocabulary": 30, + "volume": 284.5996545452941, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::toArray" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::jsonSerialize": { + "line": 456, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::jsonSerialize" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getHalstead": { + "line": 464, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getHalstead" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCyclomatic": { + "line": 472, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCyclomatic" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::add": { + "line": 30, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 5, + "N2": 6, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 3, + "effort": 85.30376252379816, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::add" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filter": { + "line": 40, + "lineCount": 11, + "argCount": 1, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 8, + "volume": 42, + "difficulty": 3, + "effort": 126, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filter" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getIterator": { + "line": 57, + "lineCount": 5, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getIterator" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::count": { + "line": 66, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::count" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterWithScoreGreaterThan": { + "line": 71, + "lineCount": 6, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 3, + "N2": 6, + "programLength": 9, + "programVocabulary": 5, + "volume": 20.89735285398626, + "difficulty": 2, + "effort": 41.79470570797252, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterWithScoreGreaterThan" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::contains": { + "line": 78, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 4, + "N2": 5, + "programLength": 9, + "programVocabulary": 5, + "volume": 20.89735285398626, + "difficulty": 1.6666666666666667, + "effort": 34.82892142331043, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::contains" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getClassWithMethod": { + "line": 83, + "lineCount": 9, + "argCount": 2, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 3, + "N2": 10, + "programLength": 13, + "programVocabulary": 7, + "volume": 36.49561398674886, + "difficulty": 2, + "effort": 72.99122797349771, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getClassWithMethod" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterByClassName": { + "line": 93, + "lineCount": 6, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 3, + "N2": 6, + "programLength": 9, + "programVocabulary": 5, + "volume": 20.89735285398626, + "difficulty": 2, + "effort": 41.79470570797252, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterByClassName" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::assertMetricHasGetter": { + "line": 100, + "lineCount": 9, + "argCount": 3, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 6, + "programLength": 7, + "programVocabulary": 4, + "volume": 14, + "difficulty": 1, + "effort": 14, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::assertMetricHasGetter" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::groupBy": { + "line": 117, + "lineCount": 20, + "argCount": 1, + "returnCount": 1, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 10, + "N2": 23, + "programLength": 33, + "programVocabulary": 11, + "volume": 114.16124341503081, + "difficulty": 6.571428571428571, + "effort": 750.2024567273453, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::groupBy" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::jsonSerialize": { + "line": 141, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::jsonSerialize" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::__construct": { + "line": 32, + "lineCount": 8, + "argCount": 5, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 5, + "N1": 0, + "N2": 5, + "programLength": 5, + "programVocabulary": 5, + "volume": 11.60964047443681, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collect": { + "line": 49, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 5, + "programLength": 6, + "programVocabulary": 4, + "volume": 12, + "difficulty": 0.8333333333333334, + "effort": 10, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collect" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collectFromPaths": { + "line": 62, + "lineCount": 13, + "argCount": 2, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 8, + "N2": 16, + "programLength": 24, + "programVocabulary": 9, + "volume": 76.07820003461549, + "difficulty": 4, + "effort": 304.31280013846197, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collectFromPaths" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCodeFromFile": { + "line": 79, + "lineCount": 10, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 2, + "N1": 5, + "N2": 6, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 6, + "effort": 170.6075250475963, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCodeFromFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findMetrics": { + "line": 98, + "lineCount": 31, + "argCount": 1, + "returnCount": 1, + "variableCount": 9, + "propertyCallCount": 2, + "ifNestingLevel": 2, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 13, + "N1": 18, + "N2": 38, + "programLength": 56, + "programVocabulary": 16, + "volume": 224, + "difficulty": 4.384615384615384, + "effort": 982.1538461538461, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findMetrics" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processMethodMetrics": { + "line": 136, + "lineCount": 29, + "argCount": 3, + "returnCount": 1, + "variableCount": 7, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 14, + "N1": 8, + "N2": 27, + "programLength": 35, + "programVocabulary": 17, + "volume": 143.06119944376186, + "difficulty": 2.892857142857143, + "effort": 413.8556126765968, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processMethodMetrics" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::isExcluded": { + "line": 166, + "lineCount": 12, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 5, + "N1": 5, + "N2": 9, + "programLength": 14, + "programVocabulary": 9, + "volume": 44.37895002019237, + "difficulty": 3.6, + "effort": 159.76422007269252, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::isExcluded" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findSourceFiles": { + "line": 187, + "lineCount": 7, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 2, + "N2": 6, + "programLength": 8, + "programVocabulary": 6, + "volume": 20.67970000576925, + "difficulty": 1.5, + "effort": 31.019550008653873, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findSourceFiles" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getProjectRoot": { + "line": 202, + "lineCount": 13, + "argCount": 0, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 2, + "N1": 8, + "N2": 8, + "programLength": 16, + "programVocabulary": 6, + "volume": 41.3594000115385, + "difficulty": 8, + "effort": 330.875200092308, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getProjectRoot" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateCacheKey": { + "line": 219, + "lineCount": 7, + "argCount": 2, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 6, + "N1": 10, + "N2": 12, + "programLength": 22, + "programVocabulary": 10, + "volume": 73.08241808752197, + "difficulty": 4, + "effort": 292.3296723500879, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateCacheKey" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateConfigHash": { + "line": 230, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 1, + "N1": 3, + "N2": 2, + "programLength": 5, + "programVocabulary": 3, + "volume": 7.92481250360578, + "difficulty": 2, + "effort": 15.84962500721156, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateConfigHash" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::cacheResult": { + "line": 239, + "lineCount": 14, + "argCount": 4, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 13, + "N1": 5, + "N2": 20, + "programLength": 25, + "programVocabulary": 15, + "volume": 97.67226489021297, + "difficulty": 1.5384615384615385, + "effort": 150.26502290801997, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::cacheResult" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::clearCache": { + "line": 254, + "lineCount": 4, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::clearCache" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::normalizeFilename": { + "line": 264, + "lineCount": 15, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 6, + "n2": 7, + "N1": 12, + "N2": 16, + "programLength": 28, + "programVocabulary": 13, + "volume": 103.61231210795059, + "difficulty": 6.857142857142857, + "effort": 710.4844258830897, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::normalizeFilename" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCachedMetrics": { + "line": 286, + "lineCount": 19, + "argCount": 3, + "returnCount": 3, + "variableCount": 4, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 11, + "N1": 10, + "N2": 29, + "programLength": 39, + "programVocabulary": 14, + "volume": 148.48684196024655, + "difficulty": 3.954545454545454, + "effort": 587.1979659337022, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCachedMetrics" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processFile": { + "line": 312, + "lineCount": 37, + "argCount": 5, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 7, + "n2": 10, + "N1": 12, + "N2": 28, + "programLength": 40, + "programVocabulary": 17, + "volume": 163.49851365001356, + "difficulty": 9.799999999999999, + "effort": 1602.2854337701328, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::sort": { + "line": 51, + "lineCount": 41, + "argCount": 3, + "returnCount": 2, + "variableCount": 10, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 18, + "N1": 20, + "N2": 43, + "programLength": 63, + "programVocabulary": 22, + "volume": 280.9441919741497, + "difficulty": 4.777777777777778, + "effort": 1342.2889172098264, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::sort" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getFieldValue": { + "line": 100, + "lineCount": 28, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 25, + "N1": 24, + "N2": 50, + "programLength": 74, + "programVocabulary": 27, + "volume": 351.86167516009664, + "difficulty": 2, + "effort": 703.7233503201933, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getFieldValue" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::compareValues": { + "line": 136, + "lineCount": 13, + "argCount": 2, + "returnCount": 3, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 2, + "N1": 9, + "N2": 12, + "programLength": 21, + "programVocabulary": 5, + "volume": 48.760489992634604, + "difficulty": 9, + "effort": 438.8444099337114, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::compareValues" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getSortableFields": { + "line": 155, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 0, + "N1": 0, + "N2": 0, + "programLength": 0, + "programVocabulary": 0, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getSortableFields" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__construct": { + "line": 15, + "lineCount": 11, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 7, + "N2": 12, + "programLength": 19, + "programVocabulary": 6, + "volume": 49.11428751370197, + "difficulty": 6, + "effort": 294.6857250822118, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::getValue": { + "line": 27, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::getValue" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasIncreased": { + "line": 32, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasIncreased" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__toString": { + "line": 37, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__toString" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasNotChanged": { + "line": 42, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 2, + "programLength": 3, + "programVocabulary": 3, + "volume": 4.754887502163468, + "difficulty": 0.5, + "effort": 2.377443751081734, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasNotChanged" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\FileProcessed::__construct": { + "line": 14, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\FileProcessed::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\ParserFailed::__construct": { + "line": 15, + "lineCount": 5, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\ParserFailed::__construct" + } + } + }, + "ignored_items": [], + "cached_at": 1759967601 +} \ No newline at end of file diff --git a/.phpcca.cache/fe/feb65028938e641f74b73c5aa691ce83.cache b/.phpcca.cache/fe/feb65028938e641f74b73c5aa691ce83.cache new file mode 100644 index 0000000..285a682 --- /dev/null +++ b/.phpcca.cache/fe/feb65028938e641f74b73c5aa691ce83.cache @@ -0,0 +1,5972 @@ +{ + "version": "1.0", + "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/Business\/Utility\/DirectoryScanner.php", + "file_mtime": 1759964701, + "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", + "analysis_result": { + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct": { + "line": 60, + "lineCount": 5, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 1, + "N1": 2, + "N2": 2, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 2, + "effort": 12.679700005769249, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices": { + "line": 66, + "lineCount": 95, + "argCount": 0, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 5, + "N1": 58, + "N2": 32, + "programLength": 90, + "programVocabulary": 9, + "volume": 285.2932501298081, + "difficulty": 12.8, + "effort": 3651.7536016615436, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap": { + "line": 162, + "lineCount": 10, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 7, + "N2": 7, + "programLength": 14, + "programVocabulary": 2, + "volume": 14, + "difficulty": 3.5, + "effort": 49, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors": { + "line": 173, + "lineCount": 12, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 3, + "N2": 1, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0.5, + "effort": 2, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus": { + "line": 186, + "lineCount": 19, + "argCount": 0, + "returnCount": 0, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 9, + "N2": 13, + "programLength": 22, + "programVocabulary": 7, + "volume": 61.76180828526729, + "difficulty": 2.6, + "effort": 160.58070154169496, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService": { + "line": 206, + "lineCount": 9, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 3, + "N2": 1, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0.5, + "effort": 2, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade": { + "line": 216, + "lineCount": 13, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 3, + "N2": 1, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0.5, + "effort": 2, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands": { + "line": 230, + "lineCount": 21, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 6, + "N2": 2, + "programLength": 8, + "programVocabulary": 2, + "volume": 8, + "difficulty": 1, + "effort": 8, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication": { + "line": 252, + "lineCount": 11, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 5, + "N2": 4, + "programLength": 9, + "programVocabulary": 4, + "volume": 18, + "difficulty": 0.6666666666666666, + "effort": 12, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run": { + "line": 264, + "lineCount": 9, + "argCount": 0, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 5, + "N2": 5, + "programLength": 10, + "programVocabulary": 4, + "volume": 20, + "difficulty": 2.5, + "effort": 50, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get": { + "line": 274, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer": { + "line": 279, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator": { + "line": 289, + "lineCount": 16, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 7, + "programLength": 8, + "programVocabulary": 4, + "volume": 16, + "difficulty": 1.1666666666666667, + "effort": 18.666666666666668, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create": { + "line": 18, + "lineCount": 7, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 4, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile": { + "line": 17, + "lineCount": 17, + "argCount": 2, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 8, + "N1": 11, + "N2": 19, + "programLength": 30, + "programVocabulary": 11, + "volume": 103.78294855911892, + "difficulty": 3.5625, + "effort": 369.72675424186116, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode": { + "line": 42, + "lineCount": 8, + "argCount": 3, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 3, + "N2": 8, + "programLength": 11, + "programVocabulary": 8, + "volume": 33, + "difficulty": 2.4000000000000004, + "effort": 79.20000000000002, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate": { + "line": 22, + "lineCount": 10, + "argCount": 2, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 6, + "N2": 13, + "programLength": 19, + "programVocabulary": 6, + "volume": 49.11428751370197, + "difficulty": 3.25, + "effort": 159.6214344195314, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending": { + "line": 37, + "lineCount": 8, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 2, + "N2": 9, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 2.25, + "effort": 63.97782189284862, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn": { + "line": 51, + "lineCount": 24, + "argCount": 2, + "returnCount": 1, + "variableCount": 6, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 15, + "N1": 17, + "N2": 46, + "programLength": 63, + "programVocabulary": 20, + "volume": 272.28146997790384, + "difficulty": 7.666666666666667, + "effort": 2087.491269830596, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses": { + "line": 81, + "lineCount": 20, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 2, + "n2": 7, + "N1": 10, + "N2": 24, + "programLength": 34, + "programVocabulary": 9, + "volume": 107.7774500490386, + "difficulty": 3.4285714285714284, + "effort": 369.52268588241805, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass": { + "line": 109, + "lineCount": 9, + "argCount": 2, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 6, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 10, + "volume": 49.82892142331043, + "difficulty": 3.3333333333333335, + "effort": 166.09640474436813, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel": { + "line": 126, + "lineCount": 16, + "argCount": 2, + "returnCount": 4, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 12, + "N1": 9, + "N2": 18, + "programLength": 27, + "programVocabulary": 15, + "volume": 105.48604608143, + "difficulty": 2.25, + "effort": 237.3436036832175, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile": { + "line": 14, + "lineCount": 6, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 2, + "N2": 5, + "programLength": 7, + "programVocabulary": 4, + "volume": 14, + "difficulty": 2.5, + "effort": 35, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable": { + "line": 24, + "lineCount": 11, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 10, + "N2": 12, + "programLength": 22, + "programVocabulary": 8, + "volume": 66, + "difficulty": 6, + "effort": 396, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create": { + "line": 21, + "lineCount": 11, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 7, + "N1": 0, + "N2": 9, + "programLength": 9, + "programVocabulary": 7, + "volume": 25.26619429851844, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes": { + "line": 38, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 6, + "N1": 0, + "N2": 6, + "programLength": 6, + "programVocabulary": 6, + "volume": 15.509775004326936, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported": { + "line": 49, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 2, + "N2": 3, + "programLength": 5, + "programVocabulary": 4, + "volume": 10, + "difficulty": 1.5, + "effort": 15, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export": { + "line": 30, + "lineCount": 23, + "argCount": 2, + "returnCount": 0, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 16, + "N1": 10, + "N2": 33, + "programLength": 43, + "programVocabulary": 20, + "volume": 185.8429080801566, + "difficulty": 4.125, + "effort": 766.601995830646, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export": { + "line": 28, + "lineCount": 8, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 6, + "volume": 36.18947501009619, + "difficulty": 2.5, + "effort": 90.47368752524048, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape": { + "line": 37, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber": { + "line": 42, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml": { + "line": 52, + "lineCount": 50, + "argCount": 1, + "returnCount": 1, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 12, + "N1": 11, + "N2": 25, + "programLength": 36, + "programVocabulary": 17, + "volume": 147.14866228501222, + "difficulty": 5.208333333333334, + "effort": 766.3992827344388, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export": { + "line": 17, + "lineCount": 13, + "argCount": 2, + "returnCount": 0, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 8, + "N1": 7, + "N2": 14, + "programLength": 21, + "programVocabulary": 12, + "volume": 75.28421251514428, + "difficulty": 3.5, + "effort": 263.49474380300495, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export": { + "line": 48, + "lineCount": 8, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 6, + "volume": 36.18947501009619, + "difficulty": 2.5, + "effort": 90.47368752524048, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown": { + "line": 61, + "lineCount": 24, + "argCount": 1, + "returnCount": 1, + "variableCount": 6, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 6, + "n2": 16, + "N1": 19, + "N2": 41, + "programLength": 60, + "programVocabulary": 22, + "volume": 267.56589711823784, + "difficulty": 7.6875, + "effort": 2056.9128340964535, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow": { + "line": 94, + "lineCount": 21, + "argCount": 3, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 7, + "n2": 18, + "N1": 16, + "N2": 39, + "programLength": 55, + "programVocabulary": 25, + "volume": 255.41209043760983, + "difficulty": 7.583333333333333, + "effort": 1936.8750191518745, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::__construct": { + "line": 26, + "lineCount": 4, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::export": { + "line": 36, + "lineCount": 10, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 8, + "volume": 45, + "difficulty": 5, + "effort": 225, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::generateSvgTreemap": { + "line": 53, + "lineCount": 20, + "argCount": 1, + "returnCount": 1, + "variableCount": 6, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 8, + "N1": 9, + "N2": 20, + "programLength": 29, + "programVocabulary": 10, + "volume": 96.3359147517335, + "difficulty": 2.5, + "effort": 240.83978687933376, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::generateSvgTreemap" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRects": { + "line": 82, + "lineCount": 10, + "argCount": 3, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 9, + "N1": 6, + "N2": 18, + "programLength": 24, + "programVocabulary": 12, + "volume": 86.03910001730775, + "difficulty": 3, + "effort": 258.1173000519232, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRects" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRect": { + "line": 100, + "lineCount": 29, + "argCount": 2, + "returnCount": 1, + "variableCount": 12, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 6, + "n2": 28, + "N1": 26, + "N2": 54, + "programLength": 80, + "programVocabulary": 34, + "volume": 406.9970273000271, + "difficulty": 5.785714285714286, + "effort": 2354.7685150930142, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRect" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::wrapSvg": { + "line": 136, + "lineCount": 21, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 2, + "N2": 8, + "programLength": 10, + "programVocabulary": 4, + "volume": 20, + "difficulty": 1.3333333333333333, + "effort": 26.666666666666664, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::wrapSvg" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::prepareItems": { + "line": 28, + "lineCount": 18, + "argCount": 1, + "returnCount": 1, + "variableCount": 7, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 12, + "N1": 9, + "N2": 30, + "programLength": 39, + "programVocabulary": 17, + "volume": 159.41105080876324, + "difficulty": 6.25, + "effort": 996.3190675547702, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::prepareItems" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findScoreRange": { + "line": 53, + "lineCount": 16, + "argCount": 1, + "returnCount": 3, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 7, + "N2": 13, + "programLength": 20, + "programVocabulary": 8, + "volume": 60, + "difficulty": 3.9000000000000004, + "effort": 234.00000000000003, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findScoreRange" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::normalizeScore": { + "line": 78, + "lineCount": 8, + "argCount": 3, + "returnCount": 2, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 8, + "volume": 45, + "difficulty": 5, + "effort": 225, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::normalizeScore" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::scoreToColor": { + "line": 93, + "lineCount": 9, + "argCount": 1, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 5, + "n2": 9, + "N1": 12, + "N2": 16, + "programLength": 28, + "programVocabulary": 14, + "volume": 106.60593781761291, + "difficulty": 4.444444444444445, + "effort": 473.80416807827964, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::scoreToColor" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::calculateTreemapLayout": { + "line": 115, + "lineCount": 23, + "argCount": 7, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 9, + "N1": 2, + "N2": 18, + "programLength": 20, + "programVocabulary": 11, + "volume": 69.18863237274594, + "difficulty": 2, + "effort": 138.37726474549189, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::calculateTreemapLayout" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::layoutTreemap": { + "line": 152, + "lineCount": 89, + "argCount": 8, + "returnCount": 3, + "variableCount": 11, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 8, + "n2": 28, + "N1": 32, + "N2": 98, + "programLength": 130, + "programVocabulary": 36, + "volume": 672.0902501875006, + "difficulty": 14, + "effort": 9409.263502625008, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::layoutTreemap" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findSplitIndex": { + "line": 249, + "lineCount": 13, + "argCount": 2, + "returnCount": 2, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 7, + "n2": 10, + "N1": 9, + "N2": 23, + "programLength": 32, + "programVocabulary": 17, + "volume": 130.79881092001085, + "difficulty": 8.049999999999999, + "effort": 1052.9304279060873, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findSplitIndex" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::__construct": { + "line": 23, + "lineCount": 18, + "argCount": 1, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 7, + "N2": 11, + "programLength": 18, + "programVocabulary": 6, + "volume": 46.529325012980806, + "difficulty": 5.5, + "effort": 255.91128757139444, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::getAllClasses": { + "line": 47, + "lineCount": 17, + "argCount": 0, + "returnCount": 2, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 6, + "N2": 12, + "programLength": 18, + "programVocabulary": 9, + "volume": 57.05865002596162, + "difficulty": 3, + "effort": 171.17595007788486, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::getAllClasses" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::withClassNode": { + "line": 73, + "lineCount": 8, + "argCount": 2, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 4, + "N1": 4, + "N2": 8, + "programLength": 12, + "programVocabulary": 8, + "volume": 36, + "difficulty": 4, + "effort": 144, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::withClassNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::findClassNode": { + "line": 85, + "lineCount": 25, + "argCount": 1, + "returnCount": 4, + "variableCount": 5, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 13, + "N2": 29, + "programLength": 42, + "programVocabulary": 11, + "volume": 145.29612798276648, + "difficulty": 8.285714285714286, + "effort": 1203.8822032857795, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::findClassNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::escapeXPathValue": { + "line": 114, + "lineCount": 16, + "argCount": 1, + "returnCount": 3, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 9, + "N1": 11, + "N2": 18, + "programLength": 29, + "programVocabulary": 13, + "volume": 107.31275182609167, + "difficulty": 4, + "effort": 429.2510073043667, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::escapeXPathValue" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getLineCoverage": { + "line": 22, + "lineCount": 18, + "argCount": 1, + "returnCount": 4, + "variableCount": 5, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 9, + "N1": 10, + "N2": 19, + "programLength": 29, + "programVocabulary": 13, + "volume": 107.31275182609167, + "difficulty": 4.222222222222222, + "effort": 453.09828548794263, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getLineCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getBranchCoverage": { + "line": 48, + "lineCount": 18, + "argCount": 1, + "returnCount": 4, + "variableCount": 5, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 9, + "N1": 10, + "N2": 19, + "programLength": 29, + "programVocabulary": 13, + "volume": 107.31275182609167, + "difficulty": 4.222222222222222, + "effort": 453.09828548794263, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getBranchCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getComplexity": { + "line": 73, + "lineCount": 13, + "argCount": 1, + "returnCount": 3, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 7, + "N2": 14, + "programLength": 21, + "programVocabulary": 11, + "volume": 72.64806399138324, + "difficulty": 4, + "effort": 290.59225596553296, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getComplexity" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getCoverageDetails": { + "line": 93, + "lineCount": 26, + "argCount": 1, + "returnCount": 3, + "variableCount": 9, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 17, + "N1": 22, + "N2": 42, + "programLength": 64, + "programVocabulary": 22, + "volume": 285.403623592787, + "difficulty": 6.176470588235294, + "effort": 1762.7870868966259, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getCoverageDetails" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getMetricsNode": { + "line": 123, + "lineCount": 12, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 6, + "N1": 7, + "N2": 13, + "programLength": 20, + "programVocabulary": 10, + "volume": 66.43856189774725, + "difficulty": 4.333333333333333, + "effort": 287.90043489023805, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getMetricsNode" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getFilenameForClass": { + "line": 139, + "lineCount": 9, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 5, + "N1": 4, + "N2": 9, + "programLength": 13, + "programVocabulary": 9, + "volume": 41.209025018750054, + "difficulty": 3.6, + "effort": 148.3524900675002, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getFilenameForClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodsCoverage": { + "line": 154, + "lineCount": 36, + "argCount": 1, + "returnCount": 3, + "variableCount": 8, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 13, + "N1": 12, + "N2": 30, + "programLength": 42, + "programVocabulary": 16, + "volume": 168, + "difficulty": 3.4615384615384612, + "effort": 581.5384615384614, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodsCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::calculateMethodCoverage": { + "line": 194, + "lineCount": 15, + "argCount": 2, + "returnCount": 2, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 11, + "N1": 9, + "N2": 23, + "programLength": 32, + "programVocabulary": 16, + "volume": 128, + "difficulty": 5.227272727272727, + "effort": 669.090909090909, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::calculateMethodCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodCoverageFromLines": { + "line": 215, + "lineCount": 36, + "argCount": 2, + "returnCount": 1, + "variableCount": 7, + "propertyCallCount": 0, + "ifNestingLevel": 2, + "elseCount": 0, + "ifCount": 5, + "halstead": { + "n1": 2, + "n2": 14, + "N1": 12, + "N2": 35, + "programLength": 47, + "programVocabulary": 16, + "volume": 188, + "difficulty": 2.5, + "effort": 470, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodCoverageFromLines" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStart": { + "line": 252, + "lineCount": 4, + "argCount": 3, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 3, + "N2": 7, + "programLength": 10, + "programVocabulary": 6, + "volume": 25.84962500721156, + "difficulty": 1.75, + "effort": 45.23684376262023, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStart" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodEnd": { + "line": 257, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 5, + "programLength": 7, + "programVocabulary": 5, + "volume": 16.253496664211536, + "difficulty": 1.6666666666666667, + "effort": 27.089161107019226, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodEnd" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStatement": { + "line": 262, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 5, + "programLength": 7, + "programVocabulary": 5, + "volume": 16.253496664211536, + "difficulty": 1.6666666666666667, + "effort": 27.089161107019226, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStatement" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isStatementCovered": { + "line": 267, + "lineCount": 5, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 4, + "N1": 3, + "N2": 6, + "programLength": 9, + "programVocabulary": 7, + "volume": 25.26619429851844, + "difficulty": 2.25, + "effort": 56.848937171666485, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isStatementCovered" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getLineCoverage": { + "line": 20, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 9, + "volume": 44.37895002019237, + "difficulty": 2.5, + "effort": 110.94737505048093, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getLineCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getBranchCoverage": { + "line": 34, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 9, + "volume": 44.37895002019237, + "difficulty": 2.5, + "effort": 110.94737505048093, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getBranchCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getComplexity": { + "line": 48, + "lineCount": 7, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 9, + "volume": 44.37895002019237, + "difficulty": 2.5, + "effort": 110.94737505048093, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getComplexity" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getCoverageDetails": { + "line": 62, + "lineCount": 13, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 8, + "N1": 7, + "N2": 16, + "programLength": 23, + "programVocabulary": 9, + "volume": 72.90827503317318, + "difficulty": 1, + "effort": 72.90827503317318, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getCoverageDetails" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::extractMethodsCoverage": { + "line": 81, + "lineCount": 23, + "argCount": 1, + "returnCount": 2, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 11, + "N1": 10, + "N2": 23, + "programLength": 33, + "programVocabulary": 14, + "volume": 125.64271242790093, + "difficulty": 3.1363636363636362, + "effort": 394.061234432962, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::extractMethodsCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CodeCoverageFactory::createFromName": { + "line": 14, + "lineCount": 8, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 4, + "N1": 1, + "N2": 8, + "programLength": 9, + "programVocabulary": 5, + "volume": 20.89735285398626, + "difficulty": 1, + "effort": 20.89735285398626, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CodeCoverageFactory::createFromName" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::__construct": { + "line": 28, + "lineCount": 15, + "argCount": 6, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 6, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 7, + "N1": 6, + "N2": 18, + "programLength": 24, + "programVocabulary": 8, + "volume": 72, + "difficulty": 1.2857142857142858, + "effort": 92.57142857142858, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getName": { + "line": 44, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getName" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getFilename": { + "line": 49, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getFilename" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getLineRate": { + "line": 54, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getLineRate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getBranchRate": { + "line": 59, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getBranchRate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getComplexity": { + "line": 64, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getComplexity" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getMethods": { + "line": 72, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getMethods" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::__construct": { + "line": 17, + "lineCount": 11, + "argCount": 4, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 4, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 5, + "N1": 4, + "N2": 12, + "programLength": 16, + "programVocabulary": 6, + "volume": 41.3594000115385, + "difficulty": 1.2, + "effort": 49.631280013846194, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getName": { + "line": 29, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getName" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getLineRate": { + "line": 34, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getLineRate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getBranchRate": { + "line": 39, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getBranchRate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getComplexity": { + "line": 44, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getComplexity" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::calculateDeltas": { + "line": 19, + "lineCount": 14, + "argCount": 2, + "returnCount": 0, + "variableCount": 6, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 9, + "N1": 4, + "N2": 18, + "programLength": 22, + "programVocabulary": 11, + "volume": 76.10749561002054, + "difficulty": 2, + "effort": 152.21499122004107, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::calculateDeltas" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::loadBaseline": { + "line": 41, + "lineCount": 13, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 5, + "N2": 9, + "programLength": 14, + "programVocabulary": 8, + "volume": 42, + "difficulty": 2.7, + "effort": 113.4, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::loadBaseline" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::__construct": { + "line": 72, + "lineCount": 21, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 6, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 9, + "N1": 12, + "N2": 34, + "programLength": 46, + "programVocabulary": 12, + "volume": 164.90827503317317, + "difficulty": 5.666666666666666, + "effort": 934.4802251879812, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setRequiredMetricProperties": { + "line": 98, + "lineCount": 30, + "argCount": 1, + "returnCount": 0, + "variableCount": 6, + "propertyCallCount": 9, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 21, + "N1": 21, + "N2": 51, + "programLength": 72, + "programVocabulary": 24, + "volume": 330.1173000519232, + "difficulty": 3.6428571428571423, + "effort": 1202.570164474863, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setRequiredMetricProperties" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setOptionalMetricProperties": { + "line": 133, + "lineCount": 12, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 8, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 11, + "N1": 16, + "N2": 33, + "programLength": 49, + "programVocabulary": 13, + "volume": 181.32154618891352, + "difficulty": 3, + "effort": 543.9646385667405, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setOptionalMetricProperties" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setTimesChanged": { + "line": 146, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setTimesChanged" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertSame": { + "line": 151, + "lineCount": 14, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 6, + "N2": 8, + "programLength": 14, + "programVocabulary": 5, + "volume": 32.50699332842307, + "difficulty": 2.6666666666666665, + "effort": 86.68531554246152, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertSame" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::calculateDeltas": { + "line": 169, + "lineCount": 13, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 16, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 17, + "N2": 27, + "programLength": 44, + "programVocabulary": 4, + "volume": 88, + "difficulty": 13.5, + "effort": 1188, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::calculateDeltas" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::fromArray": { + "line": 187, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::fromArray" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertArrayKeyIsPresent": { + "line": 197, + "lineCount": 6, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 5, + "programLength": 5, + "programVocabulary": 2, + "volume": 5, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertArrayKeyIsPresent" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getClass": { + "line": 204, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getMethod": { + "line": 209, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getMethod" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCount": { + "line": 214, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCount": { + "line": 219, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCount": { + "line": 224, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCount": { + "line": 229, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCount": { + "line": 234, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCount": { + "line": 239, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevel": { + "line": 244, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevel" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCount": { + "line": 249, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCount" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeight": { + "line": 254, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setLineCountWeight": { + "line": 259, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setLineCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeight": { + "line": 264, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setArgCountWeight": { + "line": 269, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setArgCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeight": { + "line": 274, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setReturnCountWeight": { + "line": 279, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setReturnCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeight": { + "line": 284, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setVariableCountWeight": { + "line": 289, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setVariableCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeight": { + "line": 294, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setPropertyCallCountWeight": { + "line": 299, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setPropertyCallCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeight": { + "line": 304, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfCountWeight": { + "line": 309, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeight": { + "line": 314, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfNestingLevelWeight": { + "line": 319, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfNestingLevelWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeight": { + "line": 324, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setElseCountWeight": { + "line": 329, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setElseCountWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setScore": { + "line": 334, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setScore" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getScore": { + "line": 339, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getScore" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setCoverage": { + "line": 344, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCoverage": { + "line": 349, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeightDelta": { + "line": 354, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeightDelta": { + "line": 359, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeightDelta": { + "line": 364, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeightDelta": { + "line": 369, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeightDelta": { + "line": 374, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeightDelta": { + "line": 379, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeightDelta": { + "line": 384, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeightDelta": { + "line": 389, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeightDelta" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getTimesChanged": { + "line": 394, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 2, + "programLength": 3, + "programVocabulary": 3, + "volume": 4.754887502163468, + "difficulty": 0.5, + "effort": 2.377443751081734, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getTimesChanged" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getFileName": { + "line": 399, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getFileName" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLine": { + "line": 404, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLine" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::equals": { + "line": 409, + "lineCount": 5, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 2, + "N1": 5, + "N2": 5, + "programLength": 10, + "programVocabulary": 5, + "volume": 23.21928094887362, + "difficulty": 3.75, + "effort": 87.07230355827608, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::equals" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::toArray": { + "line": 418, + "lineCount": 34, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 29, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 30, + "N1": 0, + "N2": 58, + "programLength": 58, + "programVocabulary": 30, + "volume": 284.5996545452941, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::toArray" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::jsonSerialize": { + "line": 456, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::jsonSerialize" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getHalstead": { + "line": 464, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getHalstead" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCyclomatic": { + "line": 472, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCyclomatic" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::add": { + "line": 30, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 5, + "N2": 6, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 3, + "effort": 85.30376252379816, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::add" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filter": { + "line": 40, + "lineCount": 11, + "argCount": 1, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 4, + "N2": 10, + "programLength": 14, + "programVocabulary": 8, + "volume": 42, + "difficulty": 3, + "effort": 126, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filter" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getIterator": { + "line": 57, + "lineCount": 5, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getIterator" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::count": { + "line": 66, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::count" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterWithScoreGreaterThan": { + "line": 71, + "lineCount": 6, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 3, + "N2": 6, + "programLength": 9, + "programVocabulary": 5, + "volume": 20.89735285398626, + "difficulty": 2, + "effort": 41.79470570797252, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterWithScoreGreaterThan" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::contains": { + "line": 78, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 4, + "N2": 5, + "programLength": 9, + "programVocabulary": 5, + "volume": 20.89735285398626, + "difficulty": 1.6666666666666667, + "effort": 34.82892142331043, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::contains" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getClassWithMethod": { + "line": 83, + "lineCount": 9, + "argCount": 2, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 3, + "N2": 10, + "programLength": 13, + "programVocabulary": 7, + "volume": 36.49561398674886, + "difficulty": 2, + "effort": 72.99122797349771, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getClassWithMethod" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterByClassName": { + "line": 93, + "lineCount": 6, + "argCount": 1, + "returnCount": 2, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 3, + "N2": 6, + "programLength": 9, + "programVocabulary": 5, + "volume": 20.89735285398626, + "difficulty": 2, + "effort": 41.79470570797252, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterByClassName" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::assertMetricHasGetter": { + "line": 100, + "lineCount": 9, + "argCount": 3, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 6, + "programLength": 7, + "programVocabulary": 4, + "volume": 14, + "difficulty": 1, + "effort": 14, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::assertMetricHasGetter" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::groupBy": { + "line": 117, + "lineCount": 20, + "argCount": 1, + "returnCount": 1, + "variableCount": 5, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 10, + "N2": 23, + "programLength": 33, + "programVocabulary": 11, + "volume": 114.16124341503081, + "difficulty": 6.571428571428571, + "effort": 750.2024567273453, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::groupBy" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::jsonSerialize": { + "line": 141, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::jsonSerialize" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::__construct": { + "line": 32, + "lineCount": 8, + "argCount": 5, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 5, + "N1": 0, + "N2": 5, + "programLength": 5, + "programVocabulary": 5, + "volume": 11.60964047443681, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collect": { + "line": 49, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 5, + "programLength": 6, + "programVocabulary": 4, + "volume": 12, + "difficulty": 0.8333333333333334, + "effort": 10, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collect" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collectFromPaths": { + "line": 62, + "lineCount": 13, + "argCount": 2, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 8, + "N2": 16, + "programLength": 24, + "programVocabulary": 9, + "volume": 76.07820003461549, + "difficulty": 4, + "effort": 304.31280013846197, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collectFromPaths" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCodeFromFile": { + "line": 79, + "lineCount": 10, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 2, + "N1": 5, + "N2": 6, + "programLength": 11, + "programVocabulary": 6, + "volume": 28.43458750793272, + "difficulty": 6, + "effort": 170.6075250475963, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCodeFromFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findMetrics": { + "line": 98, + "lineCount": 31, + "argCount": 1, + "returnCount": 1, + "variableCount": 9, + "propertyCallCount": 2, + "ifNestingLevel": 2, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 13, + "N1": 18, + "N2": 38, + "programLength": 56, + "programVocabulary": 16, + "volume": 224, + "difficulty": 4.384615384615384, + "effort": 982.1538461538461, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findMetrics" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processMethodMetrics": { + "line": 136, + "lineCount": 29, + "argCount": 3, + "returnCount": 1, + "variableCount": 7, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 14, + "N1": 8, + "N2": 27, + "programLength": 35, + "programVocabulary": 17, + "volume": 143.06119944376186, + "difficulty": 2.892857142857143, + "effort": 413.8556126765968, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processMethodMetrics" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::isExcluded": { + "line": 166, + "lineCount": 12, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 5, + "N1": 5, + "N2": 9, + "programLength": 14, + "programVocabulary": 9, + "volume": 44.37895002019237, + "difficulty": 3.6, + "effort": 159.76422007269252, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::isExcluded" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findSourceFiles": { + "line": 187, + "lineCount": 7, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 2, + "N2": 6, + "programLength": 8, + "programVocabulary": 6, + "volume": 20.67970000576925, + "difficulty": 1.5, + "effort": 31.019550008653873, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findSourceFiles" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getProjectRoot": { + "line": 202, + "lineCount": 13, + "argCount": 0, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 2, + "N1": 8, + "N2": 8, + "programLength": 16, + "programVocabulary": 6, + "volume": 41.3594000115385, + "difficulty": 8, + "effort": 330.875200092308, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getProjectRoot" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateCacheKey": { + "line": 219, + "lineCount": 7, + "argCount": 2, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 6, + "N1": 10, + "N2": 12, + "programLength": 22, + "programVocabulary": 10, + "volume": 73.08241808752197, + "difficulty": 4, + "effort": 292.3296723500879, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateCacheKey" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateConfigHash": { + "line": 230, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 1, + "N1": 3, + "N2": 2, + "programLength": 5, + "programVocabulary": 3, + "volume": 7.92481250360578, + "difficulty": 2, + "effort": 15.84962500721156, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateConfigHash" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::cacheResult": { + "line": 239, + "lineCount": 14, + "argCount": 4, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 13, + "N1": 5, + "N2": 20, + "programLength": 25, + "programVocabulary": 15, + "volume": 97.67226489021297, + "difficulty": 1.5384615384615385, + "effort": 150.26502290801997, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::cacheResult" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::clearCache": { + "line": 254, + "lineCount": 4, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::clearCache" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::normalizeFilename": { + "line": 264, + "lineCount": 15, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 6, + "n2": 7, + "N1": 12, + "N2": 16, + "programLength": 28, + "programVocabulary": 13, + "volume": 103.61231210795059, + "difficulty": 6.857142857142857, + "effort": 710.4844258830897, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::normalizeFilename" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCachedMetrics": { + "line": 286, + "lineCount": 19, + "argCount": 3, + "returnCount": 3, + "variableCount": 4, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 11, + "N1": 10, + "N2": 29, + "programLength": 39, + "programVocabulary": 14, + "volume": 148.48684196024655, + "difficulty": 3.954545454545454, + "effort": 587.1979659337022, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCachedMetrics" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processFile": { + "line": 312, + "lineCount": 37, + "argCount": 5, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 7, + "n2": 10, + "N1": 12, + "N2": 28, + "programLength": 40, + "programVocabulary": 17, + "volume": 163.49851365001356, + "difficulty": 9.799999999999999, + "effort": 1602.2854337701328, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processFile" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::sort": { + "line": 51, + "lineCount": 41, + "argCount": 3, + "returnCount": 2, + "variableCount": 10, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 18, + "N1": 20, + "N2": 43, + "programLength": 63, + "programVocabulary": 22, + "volume": 280.9441919741497, + "difficulty": 4.777777777777778, + "effort": 1342.2889172098264, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::sort" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getFieldValue": { + "line": 100, + "lineCount": 28, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 25, + "N1": 24, + "N2": 50, + "programLength": 74, + "programVocabulary": 27, + "volume": 351.86167516009664, + "difficulty": 2, + "effort": 703.7233503201933, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getFieldValue" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::compareValues": { + "line": 136, + "lineCount": 13, + "argCount": 2, + "returnCount": 3, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 2, + "N1": 9, + "N2": 12, + "programLength": 21, + "programVocabulary": 5, + "volume": 48.760489992634604, + "difficulty": 9, + "effort": 438.8444099337114, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::compareValues" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getSortableFields": { + "line": 155, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 0, + "N1": 0, + "N2": 0, + "programLength": 0, + "programVocabulary": 0, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getSortableFields" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__construct": { + "line": 15, + "lineCount": 11, + "argCount": 2, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 7, + "N2": 12, + "programLength": 19, + "programVocabulary": 6, + "volume": 49.11428751370197, + "difficulty": 6, + "effort": 294.6857250822118, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::getValue": { + "line": 27, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::getValue" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasIncreased": { + "line": 32, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasIncreased" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__toString": { + "line": 37, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__toString" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasNotChanged": { + "line": 42, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 2, + "programLength": 3, + "programVocabulary": 3, + "volume": 4.754887502163468, + "difficulty": 0.5, + "effort": 2.377443751081734, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasNotChanged" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\FileProcessed::__construct": { + "line": 14, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\FileProcessed::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\ParserFailed::__construct": { + "line": 15, + "lineCount": 5, + "argCount": 2, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 2, + "N1": 0, + "N2": 2, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\ParserFailed::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\SourceFilesFound::__construct": { + "line": 17, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\SourceFilesFound::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::__construct": { + "line": 15, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::create": { + "line": 27, + "lineCount": 10, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 6, + "N1": 0, + "N2": 8, + "programLength": 8, + "programVocabulary": 6, + "volume": 20.67970000576925, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::create" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::getSupportedTypes": { + "line": 43, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 4, + "N1": 0, + "N2": 4, + "programLength": 4, + "programVocabulary": 4, + "volume": 8, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::getSupportedTypes" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::isSupported": { + "line": 54, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 2, + "N1": 2, + "N2": 3, + "programLength": 5, + "programVocabulary": 4, + "volume": 10, + "difficulty": 1.5, + "effort": 15, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::isSupported" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CsvExporter::export": { + "line": 46, + "lineCount": 57, + "argCount": 2, + "returnCount": 0, + "variableCount": 6, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 15, + "N1": 37, + "N2": 54, + "programLength": 91, + "programVocabulary": 19, + "volume": 386.56140372336625, + "difficulty": 7.2, + "effort": 2783.242106808237, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CsvExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::export": { + "line": 40, + "lineCount": 8, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 5, + "N1": 4, + "N2": 8, + "programLength": 12, + "programVocabulary": 9, + "volume": 38.039100017307746, + "difficulty": 3.2, + "effort": 121.72512005538479, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::escape": { + "line": 49, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::escape" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::formatNumber": { + "line": 54, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::formatNumber" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::generateMetricRow": { + "line": 59, + "lineCount": 12, + "argCount": 3, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 16, + "N1": 19, + "N2": 27, + "programLength": 46, + "programVocabulary": 21, + "volume": 202.04660144782298, + "difficulty": 4.21875, + "effort": 852.3840998580032, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::generateMetricRow" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::generateHtml": { + "line": 78, + "lineCount": 64, + "argCount": 1, + "returnCount": 1, + "variableCount": 7, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 11, + "N1": 46, + "N2": 57, + "programLength": 103, + "programVocabulary": 15, + "volume": 402.40973134767745, + "difficulty": 10.363636363636363, + "effort": 4170.42812487593, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::generateHtml" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\JsonExporter::export": { + "line": 19, + "lineCount": 38, + "argCount": 2, + "returnCount": 0, + "variableCount": 5, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 27, + "N1": 29, + "N2": 58, + "programLength": 87, + "programVocabulary": 32, + "volume": 435, + "difficulty": 5.370370370370371, + "effort": 2336.1111111111113, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\JsonExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::__construct": { + "line": 24, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::export": { + "line": 36, + "lineCount": 8, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 5, + "N1": 4, + "N2": 8, + "programLength": 12, + "programVocabulary": 9, + "volume": 38.039100017307746, + "difficulty": 3.2, + "effort": 121.72512005538479, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::export" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::escape": { + "line": 48, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::escape" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateMetricCell": { + "line": 56, + "lineCount": 12, + "argCount": 3, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 12, + "N1": 16, + "N2": 24, + "programLength": 40, + "programVocabulary": 17, + "volume": 163.49851365001356, + "difficulty": 5, + "effort": 817.4925682500678, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateMetricCell" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::filterMetrics": { + "line": 75, + "lineCount": 15, + "argCount": 1, + "returnCount": 2, + "variableCount": 3, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 4, + "N1": 4, + "N2": 11, + "programLength": 15, + "programVocabulary": 7, + "volume": 42.11032383086406, + "difficulty": 4.125, + "effort": 173.70508580231424, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::filterMetrics" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableHeader": { + "line": 94, + "lineCount": 33, + "argCount": 0, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 4, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 19, + "N1": 10, + "N2": 28, + "programLength": 38, + "programVocabulary": 22, + "volume": 169.4584015082173, + "difficulty": 2.2105263157894735, + "effort": 374.5922559655329, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableHeader" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableHeaderWithClass": { + "line": 131, + "lineCount": 33, + "argCount": 0, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 4, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 20, + "N1": 10, + "N2": 29, + "programLength": 39, + "programVocabulary": 23, + "volume": 176.41891628622352, + "difficulty": 2.175, + "effort": 383.7111429225361, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableHeaderWithClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableSeparator": { + "line": 168, + "lineCount": 20, + "argCount": 0, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 4, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 7, + "N1": 3, + "N2": 16, + "programLength": 19, + "programVocabulary": 10, + "volume": 63.11663380285988, + "difficulty": 3.4285714285714284, + "effort": 216.399887324091, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableSeparator" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableSeparatorWithClass": { + "line": 192, + "lineCount": 20, + "argCount": 0, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 4, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 3, + "n2": 8, + "N1": 3, + "N2": 16, + "programLength": 19, + "programVocabulary": 11, + "volume": 65.72920075410865, + "difficulty": 3, + "effort": 197.18760226232592, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableSeparatorWithClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableRow": { + "line": 216, + "lineCount": 22, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 6, + "N1": 53, + "N2": 60, + "programLength": 113, + "programVocabulary": 10, + "volume": 375.37787472227194, + "difficulty": 20, + "effort": 7507.557494445438, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableRow" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableRowWithClass": { + "line": 242, + "lineCount": 25, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 4, + "n2": 6, + "N1": 55, + "N2": 62, + "programLength": 117, + "programVocabulary": 10, + "volume": 388.66558710182136, + "difficulty": 20.666666666666668, + "effort": 8032.422133437642, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableRowWithClass" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::addHalsteadCells": { + "line": 274, + "lineCount": 20, + "argCount": 2, + "returnCount": 3, + "variableCount": 2, + "propertyCallCount": 5, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 12, + "N2": 24, + "programLength": 36, + "programVocabulary": 8, + "volume": 108, + "difficulty": 7.199999999999999, + "effort": 777.5999999999999, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::addHalsteadCells" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::addCyclomaticCell": { + "line": 301, + "lineCount": 16, + "argCount": 2, + "returnCount": 3, + "variableCount": 2, + "propertyCallCount": 4, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 8, + "N2": 16, + "programLength": 24, + "programVocabulary": 11, + "volume": 83.02635884729514, + "difficulty": 4.571428571428571, + "effort": 379.5490690162063, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::addCyclomaticCell" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateMarkdown": { + "line": 325, + "lineCount": 8, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 2, + "N2": 6, + "programLength": 8, + "programVocabulary": 3, + "volume": 12.679700005769249, + "difficulty": 1.5, + "effort": 19.019550008653873, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateMarkdown" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateGroupedMarkdown": { + "line": 337, + "lineCount": 49, + "argCount": 1, + "returnCount": 1, + "variableCount": 10, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 3, + "halstead": { + "n1": 8, + "n2": 23, + "N1": 33, + "N2": 65, + "programLength": 98, + "programVocabulary": 31, + "volume": 485.5112384179137, + "difficulty": 11.304347826086957, + "effort": 5488.387912550329, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateGroupedMarkdown" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateSingleTableMarkdown": { + "line": 390, + "lineCount": 28, + "argCount": 1, + "returnCount": 1, + "variableCount": 6, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 6, + "n2": 13, + "N1": 19, + "N2": 37, + "programLength": 56, + "programVocabulary": 19, + "volume": 237.88394075284077, + "difficulty": 8.538461538461538, + "effort": 2031.1628787357943, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateSingleTableMarkdown" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::__construct": { + "line": 32, + "lineCount": 26, + "argCount": 2, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 7, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 14, + "N2": 22, + "programLength": 36, + "programVocabulary": 5, + "volume": 83.58941141594504, + "difficulty": 7.333333333333333, + "effort": 612.9890170502636, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::parse": { + "line": 63, + "lineCount": 37, + "argCount": 1, + "returnCount": 1, + "variableCount": 9, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 3, + "n2": 14, + "N1": 16, + "N2": 43, + "programLength": 59, + "programVocabulary": 17, + "volume": 241.16030763377, + "difficulty": 4.607142857142858, + "effort": 1111.0599887412977, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::parse" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::scanForAnnotations": { + "line": 104, + "lineCount": 20, + "argCount": 1, + "returnCount": 0, + "variableCount": 4, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 7, + "N1": 8, + "N2": 16, + "programLength": 24, + "programVocabulary": 10, + "volume": 79.7262742772967, + "difficulty": 3.4285714285714284, + "effort": 273.34722609358863, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::scanForAnnotations" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::traverseAbstractSyntaxTreeWithCombinedVisitor": { + "line": 129, + "lineCount": 17, + "argCount": 1, + "returnCount": 0, + "variableCount": 4, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 7, + "N1": 7, + "N2": 15, + "programLength": 22, + "programVocabulary": 10, + "volume": 73.08241808752197, + "difficulty": 3.2142857142857144, + "effort": 234.90777242417778, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::traverseAbstractSyntaxTreeWithCombinedVisitor" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getIgnored": { + "line": 153, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getIgnored" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getIgnoredClasses": { + "line": 163, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getIgnoredClasses" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getIgnoredMethods": { + "line": 173, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getIgnoredMethods" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::clearStaticCaches": { + "line": 181, + "lineCount": 15, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 9, + "N1": 7, + "N2": 19, + "programLength": 26, + "programVocabulary": 10, + "volume": 86.37013046707142, + "difficulty": 1.0555555555555556, + "effort": 91.16847104857538, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::clearStaticCaches" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::clearStaticProperty": { + "line": 200, + "lineCount": 14, + "argCount": 2, + "returnCount": 0, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 6, + "N2": 12, + "programLength": 18, + "programVocabulary": 7, + "volume": 50.53238859703688, + "difficulty": 2.4, + "effort": 121.2777326328885, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::clearStaticProperty" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getRiskLevel": { + "line": 218, + "lineCount": 9, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 8, + "N1": 3, + "N2": 11, + "programLength": 14, + "programVocabulary": 9, + "volume": 44.37895002019237, + "difficulty": 0.6875, + "effort": 30.510528138882254, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getRiskLevel" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculate": { + "line": 47, + "lineCount": 5, + "argCount": 2, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 2, + "N2": 8, + "programLength": 10, + "programVocabulary": 4, + "volume": 20, + "difficulty": 1.3333333333333333, + "effort": 26.666666666666664, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculate" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculateScore": { + "line": 53, + "lineCount": 10, + "argCount": 1, + "returnCount": 0, + "variableCount": 4, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 4, + "n2": 9, + "N1": 7, + "N2": 15, + "programLength": 22, + "programVocabulary": 13, + "volume": 81.40967379910403, + "difficulty": 3.3333333333333335, + "effort": 271.36557933034675, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculateScore" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculateMetricWeights": { + "line": 70, + "lineCount": 17, + "argCount": 3, + "returnCount": 0, + "variableCount": 6, + "propertyCallCount": 3, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 3, + "n2": 12, + "N1": 9, + "N2": 24, + "programLength": 33, + "programVocabulary": 15, + "volume": 128.92738965508113, + "difficulty": 3, + "effort": 386.7821689652434, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculateMetricWeights" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculateLogWeight": { + "line": 132, + "lineCount": 8, + "argCount": 3, + "returnCount": 2, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 5, + "n2": 5, + "N1": 5, + "N2": 11, + "programLength": 16, + "programVocabulary": 10, + "volume": 53.150849518197795, + "difficulty": 5.5, + "effort": 292.3296723500879, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculateLogWeight" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cyclomatic\\CyclomaticMetrics::__construct": { + "line": 129, + "lineCount": 23, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 19, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 43, + "N1": 56, + "N2": 130, + "programLength": 186, + "programVocabulary": 45, + "volume": 1021.4846759173195, + "difficulty": 3.0232558139534884, + "effort": 3088.209485331431, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cyclomatic\\CyclomaticMetrics::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::escapeMarkdown": { + "line": 18, + "lineCount": 6, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 5, + "N1": 1, + "N2": 6, + "programLength": 7, + "programVocabulary": 6, + "volume": 18.094737505048094, + "difficulty": 0.6, + "effort": 10.856842503028856, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::escapeMarkdown" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::formatNumber": { + "line": 32, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 5, + "programLength": 6, + "programVocabulary": 4, + "volume": 12, + "difficulty": 0.8333333333333334, + "effort": 10, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::formatNumber" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::buildTableHeader": { + "line": 43, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 3, + "N2": 5, + "programLength": 8, + "programVocabulary": 6, + "volume": 20.67970000576925, + "difficulty": 1.25, + "effort": 25.84962500721156, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::buildTableHeader" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::buildTableSeparator": { + "line": 54, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 4, + "programLength": 6, + "programVocabulary": 5, + "volume": 13.931568569324174, + "difficulty": 1.3333333333333333, + "effort": 18.575424759098897, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::buildTableSeparator" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::buildTableRow": { + "line": 65, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 3, + "N2": 5, + "programLength": 8, + "programVocabulary": 6, + "volume": 20.67970000576925, + "difficulty": 1.25, + "effort": 25.84962500721156, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::buildTableRow" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::formatPercentage": { + "line": 77, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 2, + "N2": 6, + "programLength": 8, + "programVocabulary": 6, + "volume": 20.67970000576925, + "difficulty": 1.5, + "effort": 31.019550008653873, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::formatPercentage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::escapeMarkdown": { + "line": 18, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 5, + "N1": 1, + "N2": 6, + "programLength": 7, + "programVocabulary": 6, + "volume": 18.094737505048094, + "difficulty": 0.6, + "effort": 10.856842503028856, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::escapeMarkdown" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::formatNumber": { + "line": 30, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 3, + "N1": 1, + "N2": 5, + "programLength": 6, + "programVocabulary": 4, + "volume": 12, + "difficulty": 0.8333333333333334, + "effort": 10, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::formatNumber" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::buildMarkdownTableHeader": { + "line": 41, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 3, + "N2": 5, + "programLength": 8, + "programVocabulary": 6, + "volume": 20.67970000576925, + "difficulty": 1.25, + "effort": 25.84962500721156, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::buildMarkdownTableHeader" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::buildMarkdownTableSeparator": { + "line": 52, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 2, + "N2": 4, + "programLength": 6, + "programVocabulary": 5, + "volume": 13.931568569324174, + "difficulty": 1.3333333333333333, + "effort": 18.575424759098897, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::buildMarkdownTableSeparator" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::buildMarkdownTableRow": { + "line": 63, + "lineCount": 4, + "argCount": 1, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 3, + "N2": 5, + "programLength": 8, + "programVocabulary": 6, + "volume": 20.67970000576925, + "difficulty": 1.25, + "effort": 25.84962500721156, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::buildMarkdownTableRow" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::formatMarkdownPercentage": { + "line": 75, + "lineCount": 4, + "argCount": 2, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 2, + "N2": 6, + "programLength": 8, + "programVocabulary": 6, + "volume": 20.67970000576925, + "difficulty": 1.5, + "effort": 31.019550008653873, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::formatMarkdownPercentage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Halstead\\HalsteadMetrics::__construct": { + "line": 33, + "lineCount": 13, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 10, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 12, + "N1": 10, + "N2": 31, + "programLength": 41, + "programVocabulary": 13, + "volume": 151.7180284437848, + "difficulty": 1.2916666666666667, + "effort": 195.96912007322203, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Halstead\\HalsteadMetrics::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Halstead\\HalsteadMetrics::getVolume": { + "line": 47, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 0, + "n2": 1, + "N1": 0, + "N2": 1, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Halstead\\HalsteadMetrics::getVolume" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::__construct": { + "line": 32, + "lineCount": 9, + "argCount": 5, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 7, + "N1": 2, + "N2": 7, + "programLength": 9, + "programVocabulary": 9, + "volume": 28.52932501298081, + "difficulty": 1, + "effort": 28.52932501298081, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::getChurnExporterFactory": { + "line": 45, + "lineCount": 7, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 1, + "N1": 2, + "N2": 3, + "programLength": 5, + "programVocabulary": 3, + "volume": 7.92481250360578, + "difficulty": 3, + "effort": 23.774437510817343, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::getChurnExporterFactory" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::getCognitiveExporterFactory": { + "line": 56, + "lineCount": 7, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 2, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 1, + "N1": 3, + "N2": 4, + "programLength": 7, + "programVocabulary": 4, + "volume": 14, + "difficulty": 6, + "effort": 84, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::getCognitiveExporterFactory" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::getCognitiveMetrics": { + "line": 72, + "lineCount": 10, + "argCount": 1, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 3, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 5, + "N2": 11, + "programLength": 16, + "programVocabulary": 6, + "volume": 41.3594000115385, + "difficulty": 2.75, + "effort": 113.73835003173087, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::getCognitiveMetrics" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::getCognitiveMetricsFromPaths": { + "line": 92, + "lineCount": 16, + "argCount": 2, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 3, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 6, + "N1": 8, + "N2": 18, + "programLength": 26, + "programVocabulary": 9, + "volume": 82.41805003750011, + "difficulty": 4.5, + "effort": 370.88122516875046, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::getCognitiveMetricsFromPaths" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::calculateChurn": { + "line": 118, + "lineCount": 18, + "argCount": 4, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 2, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 10, + "N1": 8, + "N2": 21, + "programLength": 29, + "programVocabulary": 12, + "volume": 103.96391252091352, + "difficulty": 2.1, + "effort": 218.3242162939184, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::calculateChurn" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::loadConfig": { + "line": 143, + "lineCount": 4, + "argCount": 1, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 2, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 3, + "volume": 6.339850002884624, + "difficulty": 0.75, + "effort": 4.754887502163468, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::loadConfig" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::getConfig": { + "line": 148, + "lineCount": 4, + "argCount": 0, + "returnCount": 1, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::getConfig" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::exportChurnReport": { + "line": 156, + "lineCount": 9, + "argCount": 3, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 4, + "N1": 3, + "N2": 7, + "programLength": 10, + "programVocabulary": 5, + "volume": 23.21928094887362, + "difficulty": 0.875, + "effort": 20.316870830264417, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::exportChurnReport" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::exportMetricsReport": { + "line": 168, + "lineCount": 8, + "argCount": 3, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 4, + "N2": 9, + "programLength": 13, + "programVocabulary": 7, + "volume": 36.49561398674886, + "difficulty": 1.8, + "effort": 65.69210517614795, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::exportMetricsReport" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::clearCache": { + "line": 177, + "lineCount": 4, + "argCount": 0, + "returnCount": 0, + "variableCount": 1, + "propertyCallCount": 1, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 1, + "programLength": 2, + "programVocabulary": 2, + "volume": 2, + "difficulty": 0.5, + "effort": 1, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::clearCache" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::addCoverageToMetric": { + "line": 185, + "lineCount": 20, + "argCount": 2, + "returnCount": 1, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "halstead": { + "n1": 4, + "n2": 7, + "N1": 11, + "N2": 18, + "programLength": 29, + "programVocabulary": 11, + "volume": 100.32351694048162, + "difficulty": 5.142857142857143, + "effort": 515.9495156939055, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::addCoverageToMetric" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::addMethodLevelCoverage": { + "line": 209, + "lineCount": 16, + "argCount": 2, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 2, + "n2": 5, + "N1": 9, + "N2": 15, + "programLength": 24, + "programVocabulary": 7, + "volume": 67.3765181293825, + "difficulty": 3, + "effort": 202.1295543881475, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::addMethodLevelCoverage" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Traits\\CoverageDataDetector::hasCoverageData": { + "line": 18, + "lineCount": 10, + "argCount": 1, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 3, + "n2": 3, + "N1": 3, + "N2": 7, + "programLength": 10, + "programVocabulary": 6, + "volume": 25.84962500721156, + "difficulty": 3.5, + "effort": 90.47368752524046, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Traits\\CoverageDataDetector::hasCoverageData" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Utility\\Datetime::__construct": { + "line": 19, + "lineCount": 9, + "argCount": 0, + "returnCount": 1, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "halstead": { + "n1": 1, + "n2": 0, + "N1": 1, + "N2": 0, + "programLength": 1, + "programVocabulary": 1, + "volume": 0, + "difficulty": 0, + "effort": 0, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Utility\\Datetime::__construct" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Utility\\DirectoryScanner::scan": { + "line": 29, + "lineCount": 14, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 2, + "cyclomatic_complexity": { + "complexity": 4, + "risk_level": "low" + }, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 5, + "N2": 14, + "programLength": 19, + "programVocabulary": 6, + "volume": 49.11428751370197, + "difficulty": 3.5, + "effort": 171.90000629795688, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Utility\\DirectoryScanner::scan" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Utility\\DirectoryScanner::assertValidPath": { + "line": 47, + "lineCount": 6, + "argCount": 1, + "returnCount": 0, + "variableCount": 0, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "cyclomatic_complexity": { + "complexity": 2, + "risk_level": "low" + }, + "halstead": { + "n1": 1, + "n2": 1, + "N1": 1, + "N2": 3, + "programLength": 4, + "programVocabulary": 2, + "volume": 4, + "difficulty": 1.5, + "effort": 6, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Utility\\DirectoryScanner::assertValidPath" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Utility\\DirectoryScanner::yieldFileIfNotExcluded": { + "line": 59, + "lineCount": 8, + "argCount": 2, + "returnCount": 0, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "cyclomatic_complexity": { + "complexity": 2, + "risk_level": "low" + }, + "halstead": { + "n1": 2, + "n2": 4, + "N1": 2, + "N2": 8, + "programLength": 10, + "programVocabulary": 6, + "volume": 25.84962500721156, + "difficulty": 2, + "effort": 51.69925001442312, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Utility\\DirectoryScanner::yieldFileIfNotExcluded" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Utility\\DirectoryScanner::traverseDirectory": { + "line": 76, + "lineCount": 15, + "argCount": 2, + "returnCount": 0, + "variableCount": 4, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 2, + "risk_level": "low" + }, + "halstead": { + "n1": 2, + "n2": 6, + "N1": 4, + "N2": 13, + "programLength": 17, + "programVocabulary": 8, + "volume": 51, + "difficulty": 2.1666666666666665, + "effort": 110.49999999999999, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Utility\\DirectoryScanner::traverseDirectory" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Utility\\DirectoryScanner::sortFilesByPathname": { + "line": 97, + "lineCount": 6, + "argCount": 1, + "returnCount": 1, + "variableCount": 2, + "propertyCallCount": 0, + "ifNestingLevel": 0, + "elseCount": 0, + "ifCount": 0, + "cyclomatic_complexity": { + "complexity": 1, + "risk_level": "low" + }, + "halstead": { + "n1": 2, + "n2": 3, + "N1": 4, + "N2": 6, + "programLength": 10, + "programVocabulary": 5, + "volume": 23.21928094887362, + "difficulty": 2, + "effort": 46.43856189774724, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Utility\\DirectoryScanner::sortFilesByPathname" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Utility\\DirectoryScanner::getFilesFromIterator": { + "line": 111, + "lineCount": 11, + "argCount": 2, + "returnCount": 1, + "variableCount": 3, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "cyclomatic_complexity": { + "complexity": 3, + "risk_level": "low" + }, + "halstead": { + "n1": 3, + "n2": 5, + "N1": 5, + "N2": 12, + "programLength": 17, + "programVocabulary": 8, + "volume": 51, + "difficulty": 3.5999999999999996, + "effort": 183.6, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Utility\\DirectoryScanner::getFilesFromIterator" + } + }, + "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Utility\\DirectoryScanner::isExcluded": { + "line": 130, + "lineCount": 12, + "argCount": 2, + "returnCount": 2, + "variableCount": 1, + "propertyCallCount": 0, + "ifNestingLevel": 1, + "elseCount": 0, + "ifCount": 1, + "cyclomatic_complexity": { + "complexity": 3, + "risk_level": "low" + }, + "halstead": { + "n1": 4, + "n2": 5, + "N1": 5, + "N2": 10, + "programLength": 15, + "programVocabulary": 9, + "volume": 47.548875021634686, + "difficulty": 4, + "effort": 190.19550008653874, + "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Utility\\DirectoryScanner::isExcluded" + } + } + }, + "ignored_items": [], + "cached_at": 1759967601 +} \ No newline at end of file diff --git a/config.yml b/config.yml index 5043680..e8b4302 100644 --- a/config.yml +++ b/config.yml @@ -40,3 +40,15 @@ cognitive: threshold: 1 scale: 1.0 enabled: true + # Example of custom exporters: + # customExporters: + # cognitive: + # pdf: + # class: 'My\Custom\PdfExporter' + # file: '/path/to/PdfExporter.php' + # requiresConfig: true + # churn: + # xml: + # class: 'My\Custom\XmlChurnExporter' + # file: null + # requiresConfig: false diff --git a/src/Business/Churn/Exporter/ChurnExporterFactory.php b/src/Business/Churn/Exporter/ChurnExporterFactory.php index 183aed0..5139da9 100644 --- a/src/Business/Churn/Exporter/ChurnExporterFactory.php +++ b/src/Business/Churn/Exporter/ChurnExporterFactory.php @@ -5,12 +5,26 @@ namespace Phauthentic\CognitiveCodeAnalysis\Business\Churn\Exporter; use InvalidArgumentException; +use Phauthentic\CognitiveCodeAnalysis\Business\Exporter\ExporterRegistry; /** * Factory for creating churn data exporters. */ class ChurnExporterFactory { + /** @var array> */ + private array $customExporters = []; + private ExporterRegistry $registry; + + /** + * @param array> $customExporters + */ + public function __construct(array $customExporters = []) + { + $this->customExporters = $customExporters; + $this->registry = new ExporterRegistry(); + } + /** * Create an exporter instance based on the report type. * @@ -20,14 +34,47 @@ class ChurnExporterFactory */ public function create(string $type): DataExporterInterface { - return match ($type) { + // Check built-in exporters first + $builtIn = match ($type) { 'json' => new JsonExporter(), 'csv' => new CsvExporter(), 'html' => new HtmlExporter(), 'markdown' => new MarkdownExporter(), 'svg-treemap', 'svg' => new SvgTreemapExporter(), - default => throw new InvalidArgumentException("Unsupported exporter type: {$type}"), + default => null, }; + + if ($builtIn !== null) { + return $builtIn; + } + + // Check custom exporters + if (isset($this->customExporters[$type])) { + return $this->createCustomExporter($this->customExporters[$type]); + } + + throw new InvalidArgumentException("Unsupported exporter type: {$type}"); + } + + /** + * Create a custom exporter instance. + * + * @param array $config + * @return DataExporterInterface + */ + private function createCustomExporter(array $config): DataExporterInterface + { + $this->registry->loadExporter($config['class'], $config['file'] ?? null); + $exporter = $this->registry->instantiate( + $config['class'], + false, // Churn exporters don't need config + null + ); + $this->registry->validateInterface($exporter, DataExporterInterface::class); + + // PHPStan needs explicit type assertion since instantiate returns object + assert($exporter instanceof DataExporterInterface); + return $exporter; } /** @@ -37,7 +84,10 @@ public function create(string $type): DataExporterInterface */ public function getSupportedTypes(): array { - return ['json', 'csv', 'html', 'markdown', 'svg-treemap', 'svg']; + return array_merge( + ['json', 'csv', 'html', 'markdown', 'svg-treemap', 'svg'], + array_keys($this->customExporters) + ); } /** diff --git a/src/Business/Cognitive/Exporter/CognitiveExporterFactory.php b/src/Business/Cognitive/Exporter/CognitiveExporterFactory.php index dfe6242..2e07227 100644 --- a/src/Business/Cognitive/Exporter/CognitiveExporterFactory.php +++ b/src/Business/Cognitive/Exporter/CognitiveExporterFactory.php @@ -5,6 +5,7 @@ namespace Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\Exporter; use InvalidArgumentException; +use Phauthentic\CognitiveCodeAnalysis\Business\Exporter\ExporterRegistry; use Phauthentic\CognitiveCodeAnalysis\Config\CognitiveConfig; /** @@ -12,9 +13,19 @@ */ class CognitiveExporterFactory { + /** @var array> */ + private array $customExporters = []; + private ExporterRegistry $registry; + + /** + * @param array> $customExporters + */ public function __construct( - private readonly CognitiveConfig $config + private readonly CognitiveConfig $config, + array $customExporters = [] ) { + $this->customExporters = $customExporters; + $this->registry = new ExporterRegistry(); } /** @@ -26,13 +37,46 @@ public function __construct( */ public function create(string $type): DataExporterInterface { - return match ($type) { + // Check built-in exporters first + $builtIn = match ($type) { 'json' => new JsonExporter(), 'csv' => new CsvExporter(), 'html' => new HtmlExporter(), 'markdown' => new MarkdownExporter($this->config), - default => throw new InvalidArgumentException("Unsupported exporter type: {$type}"), + default => null, }; + + if ($builtIn !== null) { + return $builtIn; + } + + // Check custom exporters + if (isset($this->customExporters[$type])) { + return $this->createCustomExporter($this->customExporters[$type]); + } + + throw new InvalidArgumentException("Unsupported exporter type: {$type}"); + } + + /** + * Create a custom exporter instance. + * + * @param array $config + * @return DataExporterInterface + */ + private function createCustomExporter(array $config): DataExporterInterface + { + $this->registry->loadExporter($config['class'], $config['file'] ?? null); + $exporter = $this->registry->instantiate( + $config['class'], + $config['requiresConfig'] ?? false, + $this->config + ); + $this->registry->validateInterface($exporter, DataExporterInterface::class); + + // PHPStan needs explicit type assertion since instantiate returns object + assert($exporter instanceof DataExporterInterface); + return $exporter; } /** @@ -42,7 +86,10 @@ public function create(string $type): DataExporterInterface */ public function getSupportedTypes(): array { - return ['json', 'csv', 'html', 'markdown']; + return array_merge( + ['json', 'csv', 'html', 'markdown'], + array_keys($this->customExporters) + ); } /** diff --git a/src/Business/Exporter/ExporterRegistry.php b/src/Business/Exporter/ExporterRegistry.php new file mode 100644 index 0000000..cacce2b --- /dev/null +++ b/src/Business/Exporter/ExporterRegistry.php @@ -0,0 +1,71 @@ + */ + private array $loadedFiles = []; + + /** + * Load an exporter class, optionally including a file first. + * + * @param string $class The fully qualified class name + * @param string|null $file Optional file path to include + * @throws CognitiveAnalysisException If file doesn't exist or class is not found + */ + public function loadExporter(string $class, ?string $file): void + { + if ($file !== null && !isset($this->loadedFiles[$file])) { + if (!file_exists($file)) { + throw new CognitiveAnalysisException("Exporter file not found: {$file}"); + } + require_once $file; + $this->loadedFiles[$file] = true; + } + + if (!class_exists($class)) { + throw new CognitiveAnalysisException("Exporter class not found: {$class}"); + } + } + + /** + * Instantiate an exporter class with optional CognitiveConfig dependency. + * + * @param string $class The fully qualified class name + * @param bool $requiresConfig Whether the exporter needs CognitiveConfig + * @param CognitiveConfig|null $config The config to pass if required + * @return object The instantiated exporter + */ + public function instantiate(string $class, bool $requiresConfig, ?CognitiveConfig $config): object + { + if ($requiresConfig && $config !== null) { + return new $class($config); + } + return new $class(); + } + + /** + * Validate that an exporter implements the expected interface. + * + * @param object $exporter The exporter instance to validate + * @param string $expectedInterface The interface it should implement + * @throws CognitiveAnalysisException If the exporter doesn't implement the interface + */ + public function validateInterface(object $exporter, string $expectedInterface): void + { + if (!$exporter instanceof $expectedInterface) { + throw new CognitiveAnalysisException( + "Exporter must implement {$expectedInterface}" + ); + } + } +} diff --git a/src/Business/MetricsFacade.php b/src/Business/MetricsFacade.php index ac1ca14..0d37303 100644 --- a/src/Business/MetricsFacade.php +++ b/src/Business/MetricsFacade.php @@ -43,7 +43,9 @@ public function __construct( private function getChurnExporterFactory(): ChurnExporterFactory { if ($this->churnExporterFactory === null) { - $this->churnExporterFactory = new ChurnExporterFactory(); + $config = $this->configService->getConfig(); + $customExporters = $config->customExporters['churn'] ?? []; + $this->churnExporterFactory = new ChurnExporterFactory($customExporters); } return $this->churnExporterFactory; } @@ -54,7 +56,12 @@ private function getChurnExporterFactory(): ChurnExporterFactory private function getCognitiveExporterFactory(): CognitiveExporterFactory { if ($this->cognitiveExporterFactory === null) { - $this->cognitiveExporterFactory = new CognitiveExporterFactory($this->configService->getConfig()); + $config = $this->configService->getConfig(); + $customExporters = $config->customExporters['cognitive'] ?? []; + $this->cognitiveExporterFactory = new CognitiveExporterFactory( + $config, + $customExporters + ); } return $this->cognitiveExporterFactory; } diff --git a/src/Command/Handler/ChurnReportHandler.php b/src/Command/Handler/ChurnReportHandler.php index 7feda7d..e303561 100644 --- a/src/Command/Handler/ChurnReportHandler.php +++ b/src/Command/Handler/ChurnReportHandler.php @@ -21,7 +21,9 @@ public function __construct( private MetricsFacade $metricsFacade, private OutputInterface $output ) { - $this->exporterFactory = new ChurnExporterFactory(); + $config = $this->metricsFacade->getConfig(); + $customExporters = $config->customExporters['churn'] ?? []; + $this->exporterFactory = new ChurnExporterFactory($customExporters); } /** diff --git a/src/Command/Handler/CognitiveMetricsReportHandler.php b/src/Command/Handler/CognitiveMetricsReportHandler.php index e78f56f..02525f1 100644 --- a/src/Command/Handler/CognitiveMetricsReportHandler.php +++ b/src/Command/Handler/CognitiveMetricsReportHandler.php @@ -6,6 +6,7 @@ use Exception; use Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\CognitiveMetricsCollection; +use Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\Exporter\CognitiveExporterFactory; use Phauthentic\CognitiveCodeAnalysis\Business\MetricsFacade; use Symfony\Component\Console\Command\Command; use Symfony\Component\Console\Output\OutputInterface; @@ -56,7 +57,11 @@ private function hasIncompleteReportOptions(?string $reportType, ?string $report private function isValidReportType(?string $reportType): bool { - return in_array($reportType, ['json', 'csv', 'html', 'markdown']); + if ($reportType === null) { + return false; + } + $factory = new CognitiveExporterFactory($this->metricsFacade->getConfig()); + return $factory->isSupported($reportType); } /** diff --git a/src/Config/CognitiveConfig.php b/src/Config/CognitiveConfig.php index 80402f0..a4db463 100644 --- a/src/Config/CognitiveConfig.php +++ b/src/Config/CognitiveConfig.php @@ -15,6 +15,8 @@ class CognitiveConfig * @param array $excludeFilePatterns * @param array $excludePatterns * @param array $metrics + * @param array> $customExporters + * @SuppressWarnings("PHPMD.ExcessiveParameterList") */ public function __construct( public readonly array $excludeFilePatterns, @@ -26,6 +28,7 @@ public function __construct( public readonly bool $showCyclomaticComplexity = false, public readonly bool $groupByClass = false, public readonly bool $showDetailedCognitiveMetrics = true, + public readonly array $customExporters = [], ) { } } diff --git a/src/Config/ConfigFactory.php b/src/Config/ConfigFactory.php index e98823b..b598292 100644 --- a/src/Config/ConfigFactory.php +++ b/src/Config/ConfigFactory.php @@ -32,7 +32,8 @@ public function fromArray(array $config): CognitiveConfig showHalsteadComplexity: $config['cognitive']['showHalsteadComplexity'] ?? false, showCyclomaticComplexity: $config['cognitive']['showCyclomaticComplexity'] ?? false, groupByClass: $config['cognitive']['groupByClass'] ?? true, - showDetailedCognitiveMetrics: $config['cognitive']['showDetailedCognitiveMetrics'] ?? true + showDetailedCognitiveMetrics: $config['cognitive']['showDetailedCognitiveMetrics'] ?? true, + customExporters: $config['cognitive']['customExporters'] ?? [] ); } } diff --git a/src/Config/ConfigLoader.php b/src/Config/ConfigLoader.php index c5ea35b..f7e5d5a 100644 --- a/src/Config/ConfigLoader.php +++ b/src/Config/ConfigLoader.php @@ -129,6 +129,39 @@ public function getConfigTreeBuilder(): TreeBuilder }) ->end() ->end() + ->arrayNode('customExporters') + ->children() + ->arrayNode('cognitive') + ->useAttributeAsKey('name') + ->arrayPrototype() + ->children() + ->scalarNode('class') + ->isRequired() + ->end() + ->scalarNode('file') + ->defaultValue(null) + ->end() + ->booleanNode('requiresConfig') + ->defaultValue(false) + ->end() + ->end() + ->end() + ->end() + ->arrayNode('churn') + ->useAttributeAsKey('name') + ->arrayPrototype() + ->children() + ->scalarNode('class') + ->isRequired() + ->end() + ->scalarNode('file') + ->defaultValue(null) + ->end() + ->end() + ->end() + ->end() + ->end() + ->end() ->end() ->end() ->end(); diff --git a/tests/Fixtures/config-exporter-config.yml b/tests/Fixtures/config-exporter-config.yml new file mode 100644 index 0000000..de672a0 --- /dev/null +++ b/tests/Fixtures/config-exporter-config.yml @@ -0,0 +1,20 @@ +cognitive: + excludeFilePatterns: [] + excludePatterns: [] + scoreThreshold: 0.8 + showOnlyMethodsExceedingThreshold: false + showHalsteadComplexity: false + showCyclomaticComplexity: false + showDetailedCognitiveMetrics: true + groupByClass: false + metrics: + lineCount: + threshold: 60 + scale: 25.0 + enabled: true + customExporters: + cognitive: + config: + class: 'TestConfigExporter\ConfigExporter' + file: null + requiresConfig: true diff --git a/tests/Fixtures/custom-churn-exporter-config.yml b/tests/Fixtures/custom-churn-exporter-config.yml new file mode 100644 index 0000000..40cb918 --- /dev/null +++ b/tests/Fixtures/custom-churn-exporter-config.yml @@ -0,0 +1,19 @@ +cognitive: + excludeFilePatterns: [] + excludePatterns: [] + scoreThreshold: 0.5 + showOnlyMethodsExceedingThreshold: false + showHalsteadComplexity: false + showCyclomaticComplexity: false + showDetailedCognitiveMetrics: true + groupByClass: true + metrics: + lineCount: + threshold: 60 + scale: 25.0 + enabled: true + customExporters: + churn: + custom: + class: 'Phauthentic\CognitiveCodeAnalysis\Business\Churn\Exporter\JsonExporter' + file: null diff --git a/tests/Fixtures/custom-cognitive-exporter-config.yml b/tests/Fixtures/custom-cognitive-exporter-config.yml new file mode 100644 index 0000000..1801eb6 --- /dev/null +++ b/tests/Fixtures/custom-cognitive-exporter-config.yml @@ -0,0 +1,20 @@ +cognitive: + excludeFilePatterns: [] + excludePatterns: [] + scoreThreshold: 0.5 + showOnlyMethodsExceedingThreshold: false + showHalsteadComplexity: false + showCyclomaticComplexity: false + showDetailedCognitiveMetrics: true + groupByClass: true + metrics: + lineCount: + threshold: 60 + scale: 25.0 + enabled: true + customExporters: + cognitive: + custom: + class: 'Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\Exporter\JsonExporter' + file: null + requiresConfig: false diff --git a/tests/Fixtures/custom-exporters-config.yml b/tests/Fixtures/custom-exporters-config.yml new file mode 100644 index 0000000..b344fc9 --- /dev/null +++ b/tests/Fixtures/custom-exporters-config.yml @@ -0,0 +1,24 @@ +cognitive: + excludeFilePatterns: [] + excludePatterns: [] + scoreThreshold: 0.5 + showOnlyMethodsExceedingThreshold: false + showHalsteadComplexity: false + showCyclomaticComplexity: false + showDetailedCognitiveMetrics: true + groupByClass: true + metrics: + lineCount: + threshold: 60 + scale: 25.0 + enabled: true + customExporters: + cognitive: + test: + class: 'Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\Exporter\JsonExporter' + file: null + requiresConfig: false + churn: + test: + class: 'Phauthentic\CognitiveCodeAnalysis\Business\Churn\Exporter\JsonExporter' + file: null diff --git a/tests/Fixtures/invalid-custom-exporter-config.yml b/tests/Fixtures/invalid-custom-exporter-config.yml new file mode 100644 index 0000000..f0616e5 --- /dev/null +++ b/tests/Fixtures/invalid-custom-exporter-config.yml @@ -0,0 +1,20 @@ +cognitive: + excludeFilePatterns: [] + excludePatterns: [] + scoreThreshold: 0.5 + showOnlyMethodsExceedingThreshold: false + showHalsteadComplexity: false + showCyclomaticComplexity: false + showDetailedCognitiveMetrics: true + groupByClass: true + metrics: + lineCount: + threshold: 60 + scale: 25.0 + enabled: true + customExporters: + cognitive: + invalid: + class: 'NonExistent\Exporter' + file: null + requiresConfig: false diff --git a/tests/Unit/Business/Churn/Exporter/ChurnExporterFactoryCustomTest.php b/tests/Unit/Business/Churn/Exporter/ChurnExporterFactoryCustomTest.php new file mode 100644 index 0000000..78af22f --- /dev/null +++ b/tests/Unit/Business/Churn/Exporter/ChurnExporterFactoryCustomTest.php @@ -0,0 +1,212 @@ +create('json'); + + $this->assertInstanceOf(DataExporterInterface::class, $exporter); + $this->assertInstanceOf('Phauthentic\CognitiveCodeAnalysis\Business\Churn\Exporter\JsonExporter', $exporter); + } + + #[Test] + public function testCreateCustomExporterWithFile(): void + { + // Create a temporary PHP file with a custom exporter + $tempFile = tempnam(sys_get_temp_dir(), 'custom_churn_exporter_') . '.php'; + $classContent = <<<'PHP' + [ + 'class' => 'TestCustomChurn\CustomChurnExporter', + 'file' => $tempFile + ] + ]; + + $factory = new ChurnExporterFactory($customExporters); + $exporter = $factory->create('custom'); + + $this->assertInstanceOf(DataExporterInterface::class, $exporter); + $this->assertInstanceOf('TestCustomChurn\CustomChurnExporter', $exporter); + } finally { + unlink($tempFile); + } + } + + #[Test] + public function testCreateCustomExporterWithoutFile(): void + { + // Create a temporary PHP file and include it manually to simulate autoloading + $tempFile = tempnam(sys_get_temp_dir(), 'autoloaded_churn_exporter_') . '.php'; + $classContent = <<<'PHP' + [ + 'class' => 'TestAutoloadedChurn\AutoloadedChurnExporter', + 'file' => null + ] + ]; + + $factory = new ChurnExporterFactory($customExporters); + $exporter = $factory->create('autoloaded'); + + $this->assertInstanceOf(DataExporterInterface::class, $exporter); + $this->assertInstanceOf('TestAutoloadedChurn\AutoloadedChurnExporter', $exporter); + } finally { + unlink($tempFile); + } + } + + #[Test] + public function testCreateUnsupportedExporter(): void + { + $factory = new ChurnExporterFactory(); + + $this->expectException(InvalidArgumentException::class); + $this->expectExceptionMessage('Unsupported exporter type: unsupported'); + + $factory->create('unsupported'); + } + + #[Test] + public function testGetSupportedTypesIncludesCustomExporters(): void + { + $customExporters = [ + 'custom1' => [ + 'class' => 'TestCustom1\Exporter', + 'file' => null + ], + 'custom2' => [ + 'class' => 'TestCustom2\Exporter', + 'file' => null + ] + ]; + + $factory = new ChurnExporterFactory($customExporters); + $supportedTypes = $factory->getSupportedTypes(); + + $expectedBuiltInTypes = ['json', 'csv', 'html', 'markdown', 'svg-treemap', 'svg']; + $expectedCustomTypes = ['custom1', 'custom2']; + + foreach ($expectedBuiltInTypes as $type) { + $this->assertContains($type, $supportedTypes); + } + + foreach ($expectedCustomTypes as $type) { + $this->assertContains($type, $supportedTypes); + } + } + + #[Test] + public function testIsSupportedWithCustomExporters(): void + { + $customExporters = [ + 'custom' => [ + 'class' => 'TestCustom\Exporter', + 'file' => null + ] + ]; + + $factory = new ChurnExporterFactory($customExporters); + + $this->assertTrue($factory->isSupported('json')); + $this->assertTrue($factory->isSupported('custom')); + $this->assertFalse($factory->isSupported('unsupported')); + } + + #[Test] + public function testCustomExporterWithInvalidInterface(): void + { + // Create a temporary PHP file with a class that doesn't implement the interface + $tempFile = tempnam(sys_get_temp_dir(), 'invalid_churn_exporter_') . '.php'; + $classContent = <<<'PHP' + [ + 'class' => 'TestInvalidChurn\InvalidChurnExporter', + 'file' => $tempFile + ] + ]; + + $factory = new ChurnExporterFactory($customExporters); + + $this->expectException(\Phauthentic\CognitiveCodeAnalysis\CognitiveAnalysisException::class); + $this->expectExceptionMessage('Exporter must implement Phauthentic\CognitiveCodeAnalysis\Business\Churn\Exporter\DataExporterInterface'); + + $factory->create('invalid'); + } finally { + unlink($tempFile); + } + } + + #[Test] + public function testCustomExporterWithNonExistentFile(): void + { + $customExporters = [ + 'missing' => [ + 'class' => 'TestMissing\Exporter', + 'file' => '/non/existent/file.php' + ] + ]; + + $factory = new ChurnExporterFactory($customExporters); + + $this->expectException(\Phauthentic\CognitiveCodeAnalysis\CognitiveAnalysisException::class); + $this->expectExceptionMessage('Exporter file not found: /non/existent/file.php'); + + $factory->create('missing'); + } +} diff --git a/tests/Unit/Business/Cognitive/Exporter/CognitiveExporterFactoryCustomTest.php b/tests/Unit/Business/Cognitive/Exporter/CognitiveExporterFactoryCustomTest.php new file mode 100644 index 0000000..eaa046f --- /dev/null +++ b/tests/Unit/Business/Cognitive/Exporter/CognitiveExporterFactoryCustomTest.php @@ -0,0 +1,337 @@ +config = new CognitiveConfig( + excludeFilePatterns: [], + excludePatterns: [], + metrics: [], + showOnlyMethodsExceedingThreshold: false, + scoreThreshold: 0.5 + ); + } + + #[Test] + public function testCreateBuiltInExporter(): void + { + $factory = new CognitiveExporterFactory($this->config); + + $exporter = $factory->create('json'); + + $this->assertInstanceOf(DataExporterInterface::class, $exporter); + $this->assertInstanceOf('Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\Exporter\JsonExporter', $exporter); + } + + #[Test] + public function testCreateBuiltInExporterWithConfig(): void + { + $factory = new CognitiveExporterFactory($this->config); + + $exporter = $factory->create('markdown'); + + $this->assertInstanceOf(DataExporterInterface::class, $exporter); + $this->assertInstanceOf('Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\Exporter\MarkdownExporter', $exporter); + } + + #[Test] + public function testCreateCustomExporterWithFile(): void + { + // Create a temporary PHP file with a custom exporter + $tempFile = tempnam(sys_get_temp_dir(), 'custom_cognitive_exporter_') . '.php'; + $classContent = <<<'PHP' + [ + 'class' => 'TestCustomCognitive\CustomCognitiveExporter', + 'file' => $tempFile, + 'requiresConfig' => false + ] + ]; + + $factory = new CognitiveExporterFactory($this->config, $customExporters); + $exporter = $factory->create('custom'); + + $this->assertInstanceOf(DataExporterInterface::class, $exporter); + $this->assertInstanceOf('TestCustomCognitive\CustomCognitiveExporter', $exporter); + } finally { + unlink($tempFile); + } + } + + #[Test] + public function testCreateCustomExporterWithConfig(): void + { + // Create a temporary PHP file with a custom exporter that requires config + $tempFile = tempnam(sys_get_temp_dir(), 'config_cognitive_exporter_') . '.php'; + $classContent = <<<'PHP' +config = $config; + } + + public function export(CognitiveMetricsCollection $metrics, string $filename): void { + file_put_contents($filename, 'config cognitive data: ' . $this->config->scoreThreshold); + } +} +PHP; + file_put_contents($tempFile, $classContent); + + try { + $customExporters = [ + 'config' => [ + 'class' => 'TestConfigCognitive\ConfigCognitiveExporter', + 'file' => $tempFile, + 'requiresConfig' => true + ] + ]; + + $factory = new CognitiveExporterFactory($this->config, $customExporters); + $exporter = $factory->create('config'); + + $this->assertInstanceOf(DataExporterInterface::class, $exporter); + $this->assertInstanceOf('TestConfigCognitive\ConfigCognitiveExporter', $exporter); + } finally { + unlink($tempFile); + } + } + + #[Test] + public function testCreateCustomExporterWithoutFile(): void + { + // Create a temporary PHP file and include it manually to simulate autoloading + $tempFile = tempnam(sys_get_temp_dir(), 'autoloaded_cognitive_exporter_') . '.php'; + $classContent = <<<'PHP' + [ + 'class' => 'TestAutoloadedCognitive\AutoloadedCognitiveExporter', + 'file' => null, + 'requiresConfig' => false + ] + ]; + + $factory = new CognitiveExporterFactory($this->config, $customExporters); + $exporter = $factory->create('autoloaded'); + + $this->assertInstanceOf(DataExporterInterface::class, $exporter); + $this->assertInstanceOf('TestAutoloadedCognitive\AutoloadedCognitiveExporter', $exporter); + } finally { + unlink($tempFile); + } + } + + #[Test] + public function testCreateUnsupportedExporter(): void + { + $factory = new CognitiveExporterFactory($this->config); + + $this->expectException(InvalidArgumentException::class); + $this->expectExceptionMessage('Unsupported exporter type: unsupported'); + + $factory->create('unsupported'); + } + + #[Test] + public function testGetSupportedTypesIncludesCustomExporters(): void + { + $customExporters = [ + 'custom1' => [ + 'class' => 'TestCustom1\Exporter', + 'file' => null, + 'requiresConfig' => false + ], + 'custom2' => [ + 'class' => 'TestCustom2\Exporter', + 'file' => null, + 'requiresConfig' => true + ] + ]; + + $factory = new CognitiveExporterFactory($this->config, $customExporters); + $supportedTypes = $factory->getSupportedTypes(); + + $expectedBuiltInTypes = ['json', 'csv', 'html', 'markdown']; + $expectedCustomTypes = ['custom1', 'custom2']; + + foreach ($expectedBuiltInTypes as $type) { + $this->assertContains($type, $supportedTypes); + } + + foreach ($expectedCustomTypes as $type) { + $this->assertContains($type, $supportedTypes); + } + } + + #[Test] + public function testIsSupportedWithCustomExporters(): void + { + $customExporters = [ + 'custom' => [ + 'class' => 'TestCustom\Exporter', + 'file' => null, + 'requiresConfig' => false + ] + ]; + + $factory = new CognitiveExporterFactory($this->config, $customExporters); + + $this->assertTrue($factory->isSupported('json')); + $this->assertTrue($factory->isSupported('custom')); + $this->assertFalse($factory->isSupported('unsupported')); + } + + #[Test] + public function testCustomExporterWithInvalidInterface(): void + { + // Create a temporary PHP file with a class that doesn't implement the interface + $tempFile = tempnam(sys_get_temp_dir(), 'invalid_cognitive_exporter_') . '.php'; + $classContent = <<<'PHP' + [ + 'class' => 'TestInvalidCognitive\InvalidCognitiveExporter', + 'file' => $tempFile, + 'requiresConfig' => false + ] + ]; + + $factory = new CognitiveExporterFactory($this->config, $customExporters); + + $this->expectException(\Phauthentic\CognitiveCodeAnalysis\CognitiveAnalysisException::class); + $this->expectExceptionMessage('Exporter must implement Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\Exporter\DataExporterInterface'); + + $factory->create('invalid'); + } finally { + unlink($tempFile); + } + } + + #[Test] + public function testCustomExporterWithNonExistentFile(): void + { + $customExporters = [ + 'missing' => [ + 'class' => 'TestMissing\Exporter', + 'file' => '/non/existent/file.php', + 'requiresConfig' => false + ] + ]; + + $factory = new CognitiveExporterFactory($this->config, $customExporters); + + $this->expectException(\Phauthentic\CognitiveCodeAnalysis\CognitiveAnalysisException::class); + $this->expectExceptionMessage('Exporter file not found: /non/existent/file.php'); + + $factory->create('missing'); + } + + #[Test] + public function testCustomExporterRequiresConfigButConfigIsNull(): void + { + // Create a temporary PHP file with a custom exporter that requires config + $tempFile = tempnam(sys_get_temp_dir(), 'null_config_exporter_') . '.php'; + $classContent = <<<'PHP' +config = $config; + } + + public function export(CognitiveMetricsCollection $metrics, string $filename): void { + file_put_contents($filename, 'null config cognitive data'); + } +} +PHP; + file_put_contents($tempFile, $classContent); + + try { + $customExporters = [ + 'nullconfig' => [ + 'class' => 'TestNullConfigCognitive\NullConfigCognitiveExporter', + 'file' => $tempFile, + 'requiresConfig' => false // This should create without config + ] + ]; + + $factory = new CognitiveExporterFactory($this->config, $customExporters); + $exporter = $factory->create('nullconfig'); + + $this->assertInstanceOf(DataExporterInterface::class, $exporter); + $this->assertInstanceOf('TestNullConfigCognitive\NullConfigCognitiveExporter', $exporter); + } finally { + unlink($tempFile); + } + } +} diff --git a/tests/Unit/Business/Exporter/ExporterRegistryTest.php b/tests/Unit/Business/Exporter/ExporterRegistryTest.php new file mode 100644 index 0000000..993a325 --- /dev/null +++ b/tests/Unit/Business/Exporter/ExporterRegistryTest.php @@ -0,0 +1,161 @@ +registry = new ExporterRegistry(); + } + + #[Test] + public function testLoadExporterWithExistingClass(): void + { + // Test loading a class that already exists (JsonExporter) + $this->registry->loadExporter( + 'Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\Exporter\JsonExporter', + null + ); + + // Should not throw an exception + $this->assertTrue(true); + } + + #[Test] + public function testLoadExporterWithFile(): void + { + // Create a temporary PHP file with a test class + $tempFile = tempnam(sys_get_temp_dir(), 'test_exporter_') . '.php'; + $classContent = <<<'PHP' +registry->loadExporter('TestNamespace\TestExporter', $tempFile); + $this->assertTrue(true); + } finally { + unlink($tempFile); + } + } + + #[Test] + public function testLoadExporterWithNonExistentFile(): void + { + $this->expectException(CognitiveAnalysisException::class); + $this->expectExceptionMessage('Exporter file not found: /non/existent/file.php'); + + $this->registry->loadExporter('TestClass', '/non/existent/file.php'); + } + + #[Test] + public function testLoadExporterWithNonExistentClass(): void + { + $this->expectException(CognitiveAnalysisException::class); + $this->expectExceptionMessage('Exporter class not found: NonExistentClass'); + + $this->registry->loadExporter('NonExistentClass', null); + } + + #[Test] + public function testInstantiateWithoutConfig(): void + { + $exporter = $this->registry->instantiate( + 'Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\Exporter\JsonExporter', + false, + null + ); + + $this->assertInstanceOf('Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\Exporter\JsonExporter', $exporter); + } + + #[Test] + public function testInstantiateWithConfig(): void + { + $config = new CognitiveConfig( + excludeFilePatterns: [], + excludePatterns: [], + metrics: [], + showOnlyMethodsExceedingThreshold: false, + scoreThreshold: 0.5 + ); + + $exporter = $this->registry->instantiate( + 'Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\Exporter\MarkdownExporter', + true, + $config + ); + + $this->assertInstanceOf('Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\Exporter\MarkdownExporter', $exporter); + } + + #[Test] + public function testValidateInterfaceWithValidExporter(): void + { + $exporter = new \Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\Exporter\JsonExporter(); + + $this->registry->validateInterface( + $exporter, + 'Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\Exporter\DataExporterInterface' + ); + + // Should not throw an exception + $this->assertTrue(true); + } + + #[Test] + public function testValidateInterfaceWithInvalidExporter(): void + { + $this->expectException(CognitiveAnalysisException::class); + $this->expectExceptionMessage('Exporter must implement InvalidInterface'); + + $exporter = new \Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\Exporter\JsonExporter(); + + $this->registry->validateInterface($exporter, 'InvalidInterface'); + } + + #[Test] + public function testFileIsLoadedOnlyOnce(): void + { + // Create a temporary PHP file + $tempFile = tempnam(sys_get_temp_dir(), 'test_exporter_once_') . '.php'; + $classContent = <<<'PHP' +registry->loadExporter('TestOnceNamespace\TestOnceExporter', $tempFile); + $this->registry->loadExporter('TestOnceNamespace\TestOnceExporter', $tempFile); + + // Should not throw an exception (file should be loaded only once) + $this->assertTrue(true); + } finally { + unlink($tempFile); + } + } +} diff --git a/tests/Unit/Business/MetricsFacadeCustomExportersTest.php b/tests/Unit/Business/MetricsFacadeCustomExportersTest.php new file mode 100644 index 0000000..44ea35d --- /dev/null +++ b/tests/Unit/Business/MetricsFacadeCustomExportersTest.php @@ -0,0 +1,194 @@ +metricsFacade = (new Application())->get(MetricsFacade::class); + } + + #[Test] + public function testMetricsFacadeWithCustomExporters(): void + { + // Load the custom config from fixture + $configFile = __DIR__ . '/../../Fixtures/custom-exporters-config.yml'; + $this->metricsFacade->loadConfig($configFile); + $config = $this->metricsFacade->getConfig(); + + $this->assertInstanceOf(CognitiveConfig::class, $config); + $this->assertArrayHasKey('cognitive', $config->customExporters); + $this->assertArrayHasKey('churn', $config->customExporters); + $this->assertArrayHasKey('test', $config->customExporters['cognitive']); + $this->assertArrayHasKey('test', $config->customExporters['churn']); + } + + #[Test] + public function testExportMetricsReportWithCustomExporter(): void + { + // Load the custom config from fixture + $configFile = __DIR__ . '/../../Fixtures/custom-cognitive-exporter-config.yml'; + $this->metricsFacade->loadConfig($configFile); + + // Get metrics + $metricsCollection = $this->metricsFacade->getCognitiveMetrics($this->testCodePath); + + // Export using the custom exporter + $tempOutputFile = tempnam(sys_get_temp_dir(), 'custom_export_test_') . '.json'; + + $this->metricsFacade->exportMetricsReport( + $metricsCollection, + 'custom', + $tempOutputFile + ); + + $this->assertFileExists($tempOutputFile); + $content = file_get_contents($tempOutputFile); + $this->assertNotEmpty($content); + $this->assertJson($content); + + unlink($tempOutputFile); + } + + #[Test] + public function testExportChurnReportWithCustomExporter(): void + { + // Load the custom config from fixture + $configFile = __DIR__ . '/../../Fixtures/custom-churn-exporter-config.yml'; + $this->metricsFacade->loadConfig($configFile); + + // Calculate churn + $churnData = $this->metricsFacade->calculateChurn($this->testCodePath, 'git', '1900-01-01'); + + // Export using the custom exporter + $tempOutputFile = tempnam(sys_get_temp_dir(), 'custom_churn_export_test_') . '.json'; + + $this->metricsFacade->exportChurnReport( + $churnData, + 'custom', + $tempOutputFile + ); + + $this->assertFileExists($tempOutputFile); + $content = file_get_contents($tempOutputFile); + $this->assertNotEmpty($content); + $this->assertJson($content); + + unlink($tempOutputFile); + } + + #[Test] + public function testExportWithNonExistentCustomExporter(): void + { + // Load the custom config from fixture + $configFile = __DIR__ . '/../../Fixtures/invalid-custom-exporter-config.yml'; + $this->metricsFacade->loadConfig($configFile); + + // Get metrics + $metricsCollection = $this->metricsFacade->getCognitiveMetrics($this->testCodePath); + + // Try to export using the invalid custom exporter + $tempOutputFile = tempnam(sys_get_temp_dir(), 'invalid_export_test_') . '.json'; + + $this->expectException(\Phauthentic\CognitiveCodeAnalysis\CognitiveAnalysisException::class); + $this->expectExceptionMessage('Exporter class not found: NonExistent\Exporter'); + + $this->metricsFacade->exportMetricsReport( + $metricsCollection, + 'invalid', + $tempOutputFile + ); + } + + #[Test] + public function testExportWithCustomExporterRequiringConfig(): void + { + // Create a temporary PHP file with a custom exporter that requires config + $tempExporterFile = tempnam(sys_get_temp_dir(), 'config_exporter_') . '.php'; + $exporterContent = <<<'PHP' +config = $config; + } + + public function export(CognitiveMetricsCollection $metrics, string $filename): void { + $data = [ + 'config' => [ + 'scoreThreshold' => $this->config->scoreThreshold, + 'groupByClass' => $this->config->groupByClass + ], + 'metrics' => 'exported' + ]; + file_put_contents($filename, json_encode($data)); + } +} +PHP; + file_put_contents($tempExporterFile, $exporterContent); + + try { + // Load the custom config from fixture and update the file path + $configFile = __DIR__ . '/../../Fixtures/config-exporter-config.yml'; + $configContent = file_get_contents($configFile); + $configContent = str_replace('file: null', "file: '{$tempExporterFile}'", $configContent); + + $tempConfigFile = tempnam(sys_get_temp_dir(), 'config_exporter_config_') . '.yml'; + file_put_contents($tempConfigFile, $configContent); + + try { + // Load the custom config + $this->metricsFacade->loadConfig($tempConfigFile); + + // Get metrics + $metricsCollection = $this->metricsFacade->getCognitiveMetrics($this->testCodePath); + + // Export using the custom exporter + $tempOutputFile = tempnam(sys_get_temp_dir(), 'config_export_test_') . '.json'; + + $this->metricsFacade->exportMetricsReport( + $metricsCollection, + 'config', + $tempOutputFile + ); + + $this->assertFileExists($tempOutputFile); + $content = file_get_contents($tempOutputFile); + $this->assertNotEmpty($content); + + $data = json_decode($content, true); + $this->assertArrayHasKey('config', $data); + $this->assertEquals(0.8, $data['config']['scoreThreshold']); + $this->assertFalse($data['config']['groupByClass']); + + unlink($tempOutputFile); + } finally { + unlink($tempConfigFile); + } + } finally { + unlink($tempExporterFile); + } + } +} diff --git a/tests/Unit/Config/CustomExportersConfigTest.php b/tests/Unit/Config/CustomExportersConfigTest.php new file mode 100644 index 0000000..a8b4f42 --- /dev/null +++ b/tests/Unit/Config/CustomExportersConfigTest.php @@ -0,0 +1,310 @@ +getConfigTreeBuilder(); + $configTree = $treeBuilder->buildTree(); + + $config = [ + 'cognitive' => [ + 'excludeFilePatterns' => [], + 'excludePatterns' => [], + 'scoreThreshold' => 0.5, + 'showOnlyMethodsExceedingThreshold' => false, + 'showHalsteadComplexity' => false, + 'showCyclomaticComplexity' => false, + 'showDetailedCognitiveMetrics' => true, + 'groupByClass' => true, + 'metrics' => [ + 'lineCount' => [ + 'threshold' => 60, + 'scale' => 25.0, + 'enabled' => true + ] + ], + 'customExporters' => [ + 'cognitive' => [ + 'pdf' => [ + 'class' => 'My\Custom\PdfExporter', + 'file' => '/path/to/PdfExporter.php', + 'requiresConfig' => true + ], + 'xml' => [ + 'class' => 'My\Custom\XmlExporter', + 'file' => null, + 'requiresConfig' => false + ] + ], + 'churn' => [ + 'custom' => [ + 'class' => 'My\Custom\ChurnExporter', + 'file' => '/path/to/ChurnExporter.php' + ] + ] + ] + ] + ]; + + $processedConfig = $processor->process($configTree, [$config]); + + $this->assertArrayHasKey('cognitive', $processedConfig); + $this->assertArrayHasKey('customExporters', $processedConfig['cognitive']); + $this->assertArrayHasKey('cognitive', $processedConfig['cognitive']['customExporters']); + $this->assertArrayHasKey('churn', $processedConfig['cognitive']['customExporters']); + + // Test cognitive exporters + $cognitiveExporters = $processedConfig['cognitive']['customExporters']['cognitive']; + $this->assertArrayHasKey('pdf', $cognitiveExporters); + $this->assertArrayHasKey('xml', $cognitiveExporters); + + $this->assertEquals('My\Custom\PdfExporter', $cognitiveExporters['pdf']['class']); + $this->assertEquals('/path/to/PdfExporter.php', $cognitiveExporters['pdf']['file']); + $this->assertTrue($cognitiveExporters['pdf']['requiresConfig']); + + $this->assertEquals('My\Custom\XmlExporter', $cognitiveExporters['xml']['class']); + $this->assertNull($cognitiveExporters['xml']['file']); + $this->assertFalse($cognitiveExporters['xml']['requiresConfig']); + + // Test churn exporters + $churnExporters = $processedConfig['cognitive']['customExporters']['churn']; + $this->assertArrayHasKey('custom', $churnExporters); + $this->assertEquals('My\Custom\ChurnExporter', $churnExporters['custom']['class']); + $this->assertEquals('/path/to/ChurnExporter.php', $churnExporters['custom']['file']); + } + + #[Test] + public function testCustomExportersWithDefaults(): void + { + $configLoader = new ConfigLoader(); + $processor = new Processor(); + $treeBuilder = $configLoader->getConfigTreeBuilder(); + $configTree = $treeBuilder->buildTree(); + + $config = [ + 'cognitive' => [ + 'excludeFilePatterns' => [], + 'excludePatterns' => [], + 'scoreThreshold' => 0.5, + 'showOnlyMethodsExceedingThreshold' => false, + 'showHalsteadComplexity' => false, + 'showCyclomaticComplexity' => false, + 'showDetailedCognitiveMetrics' => true, + 'groupByClass' => true, + 'metrics' => [ + 'lineCount' => [ + 'threshold' => 60, + 'scale' => 25.0, + 'enabled' => true + ] + ], + 'customExporters' => [ + 'cognitive' => [ + 'minimal' => [ + 'class' => 'My\Custom\MinimalExporter' + // file and requiresConfig should default to null and false + ] + ] + ] + ] + ]; + + $processedConfig = $processor->process($configTree, [$config]); + + $cognitiveExporters = $processedConfig['cognitive']['customExporters']['cognitive']; + $this->assertArrayHasKey('minimal', $cognitiveExporters); + $this->assertEquals('My\Custom\MinimalExporter', $cognitiveExporters['minimal']['class']); + $this->assertNull($cognitiveExporters['minimal']['file']); + $this->assertFalse($cognitiveExporters['minimal']['requiresConfig']); + } + + #[Test] + public function testEmptyCustomExporters(): void + { + $configLoader = new ConfigLoader(); + $processor = new Processor(); + $treeBuilder = $configLoader->getConfigTreeBuilder(); + $configTree = $treeBuilder->buildTree(); + + $config = [ + 'cognitive' => [ + 'excludeFilePatterns' => [], + 'excludePatterns' => [], + 'scoreThreshold' => 0.5, + 'showOnlyMethodsExceedingThreshold' => false, + 'showHalsteadComplexity' => false, + 'showCyclomaticComplexity' => false, + 'showDetailedCognitiveMetrics' => true, + 'groupByClass' => true, + 'metrics' => [ + 'lineCount' => [ + 'threshold' => 60, + 'scale' => 25.0, + 'enabled' => true + ] + ] + // No customExporters section + ] + ]; + + $processedConfig = $processor->process($configTree, [$config]); + + $this->assertArrayHasKey('cognitive', $processedConfig); + + // customExporters might not be present if not provided + if (isset($processedConfig['cognitive']['customExporters'])) { + $this->assertArrayHasKey('cognitive', $processedConfig['cognitive']['customExporters']); + $this->assertArrayHasKey('churn', $processedConfig['cognitive']['customExporters']); + $this->assertEmpty($processedConfig['cognitive']['customExporters']['cognitive']); + $this->assertEmpty($processedConfig['cognitive']['customExporters']['churn']); + } + } + + #[Test] + public function testConfigFactoryWithCustomExporters(): void + { + $config = [ + 'cognitive' => [ + 'excludeFilePatterns' => [], + 'excludePatterns' => [], + 'scoreThreshold' => 0.5, + 'showOnlyMethodsExceedingThreshold' => false, + 'showHalsteadComplexity' => false, + 'showCyclomaticComplexity' => false, + 'showDetailedCognitiveMetrics' => true, + 'groupByClass' => true, + 'metrics' => [ + 'lineCount' => [ + 'threshold' => 60, + 'scale' => 25.0, + 'enabled' => true + ] + ], + 'customExporters' => [ + 'cognitive' => [ + 'test' => [ + 'class' => 'Test\Exporter', + 'file' => '/test/file.php', + 'requiresConfig' => true + ] + ], + 'churn' => [ + 'test' => [ + 'class' => 'Test\ChurnExporter', + 'file' => null + ] + ] + ] + ] + ]; + + $configFactory = new ConfigFactory(); + $cognitiveConfig = $configFactory->fromArray($config); + + $this->assertInstanceOf(CognitiveConfig::class, $cognitiveConfig); + $this->assertArrayHasKey('cognitive', $cognitiveConfig->customExporters); + $this->assertArrayHasKey('churn', $cognitiveConfig->customExporters); + + $cognitiveExporters = $cognitiveConfig->customExporters['cognitive']; + $this->assertArrayHasKey('test', $cognitiveExporters); + $this->assertEquals('Test\Exporter', $cognitiveExporters['test']['class']); + $this->assertEquals('/test/file.php', $cognitiveExporters['test']['file']); + $this->assertTrue($cognitiveExporters['test']['requiresConfig']); + + $churnExporters = $cognitiveConfig->customExporters['churn']; + $this->assertArrayHasKey('test', $churnExporters); + $this->assertEquals('Test\ChurnExporter', $churnExporters['test']['class']); + $this->assertNull($churnExporters['test']['file']); + } + + #[Test] + public function testConfigFactoryWithoutCustomExporters(): void + { + $config = [ + 'cognitive' => [ + 'excludeFilePatterns' => [], + 'excludePatterns' => [], + 'scoreThreshold' => 0.5, + 'showOnlyMethodsExceedingThreshold' => false, + 'showHalsteadComplexity' => false, + 'showCyclomaticComplexity' => false, + 'showDetailedCognitiveMetrics' => true, + 'groupByClass' => true, + 'metrics' => [ + 'lineCount' => [ + 'threshold' => 60, + 'scale' => 25.0, + 'enabled' => true + ] + ] + // No customExporters section + ] + ]; + + $configFactory = new ConfigFactory(); + $cognitiveConfig = $configFactory->fromArray($config); + + $this->assertInstanceOf(CognitiveConfig::class, $cognitiveConfig); + $this->assertEmpty($cognitiveConfig->customExporters); + } + + #[Test] + public function testInvalidCustomExporterConfiguration(): void + { + $configLoader = new ConfigLoader(); + $processor = new Processor(); + $treeBuilder = $configLoader->getConfigTreeBuilder(); + $configTree = $treeBuilder->buildTree(); + + $config = [ + 'cognitive' => [ + 'excludeFilePatterns' => [], + 'excludePatterns' => [], + 'scoreThreshold' => 0.5, + 'showOnlyMethodsExceedingThreshold' => false, + 'showHalsteadComplexity' => false, + 'showCyclomaticComplexity' => false, + 'showDetailedCognitiveMetrics' => true, + 'groupByClass' => true, + 'metrics' => [ + 'lineCount' => [ + 'threshold' => 60, + 'scale' => 25.0, + 'enabled' => true + ] + ], + 'customExporters' => [ + 'cognitive' => [ + 'invalid' => [ + // Missing required 'class' field + 'file' => '/test/file.php', + 'requiresConfig' => true + ] + ] + ] + ] + ]; + + $this->expectException(\Symfony\Component\Config\Definition\Exception\InvalidConfigurationException::class); + + $processor->process($configTree, [$config]); + } +} From 29b1db2d7e72bbf49f1d070b1be3d98dc4133083 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20Kr=C3=A4mer?= Date: Thu, 9 Oct 2025 02:19:14 +0200 Subject: [PATCH 02/21] Remove cache files --- .../04/047e6c15d95d734924e5ab44a5bf16fa.cache | 762 -- .../0d/0de27f94d6f300194d65f9f9b10f4d45.cache | 3938 ----------- .../15/15475892ec2fe6e569a1f505255270d7.cache | 1272 ---- .../19/196798dbec09747f48d80cfdca52472d.cache | 5278 -------------- .../19/198de61574362eaedc78c9eae4c78ac3.cache | 813 --- .../1b/1b5d2a0265f17399a1e7fccd66f984d9.cache | 2479 ------- .../20/20354a0f5515882fd2fd95c6dd153bbf.cache | 5041 -------------- .../26/264c7c0fed41077dc1a80464cfc674b3.cache | 1686 ----- .../2a/2af046cbb18ad9280bffb28b7072b164.cache | 1165 ---- .../2e/2ec59b6747e6d8a65229481336ee3977.cache | 540 -- .../2f/2fcde32ca958b21f6b2fc80ba238f0de.cache | 1000 --- .../30/30b5d0cd6f7c4c612b704dc87ffa4b8b.cache | 654 -- .../31/31bcaf288d8031eaa49efc922940cf36.cache | 1693 ----- .../35/357653c8cf6b33b4448aadd9f6d43fef.cache | 1737 ----- .../3f/3f391f1fde299423c2de6a261b97073f.cache | 5416 --------------- .../46/465e8d6583b75d9445904e1a30209a1b.cache | 850 --- .../4f/4f548467659a2d8b1b63950d505ee752.cache | 1878 ----- .../5b/5b560a306921608ad02568abcf7b1284.cache | 540 -- .../5b/5bd450eec023f6a341a0ce32a3d7f089.cache | 2362 ------- .../5c/5cf89effda08add59322ab2e2ca1fe25.cache | 1184 ---- .../60/60256edd9d9172b2d39afc6b32cf5a00.cache | 3419 --------- .../60/60f2f9aba13a1c361e78b7850bb2c8f8.cache | 4400 ------------ .../61/61ae7eaf2b7441f3ac1ec0a306c52300.cache | 2364 ------- .../61/61d189f2683227c3a63b990e2ec91afa.cache | 4108 ----------- .../63/63ec13e4ee33795f3c36fcf4f678ccff.cache | 2609 ------- .../68/684957077098e05cc16556599d4c5582.cache | 442 -- .../6d/6d574ec4d7bfe9eb4f74f3b861abe32f.cache | 1878 ----- .../71/71ab65abe94b592e89564b3f041ef723.cache | 5120 -------------- .../71/71c4ab0d2185d060cbcb0c9550191ffe.cache | 5446 --------------- .../75/75a10d83af2391ec06cdd547875de3d8.cache | 4265 ------------ .../7f/7f617fc9b463b161bff8498a413e7b13.cache | 823 --- .../82/828eaaf30f2dccec9484d143b57302ff.cache | 2617 ------- .../88/884ddbbf56530b7369bd1f608753ef9f.cache | 5764 --------------- .../8a/8ac8f17016c111faee10a2099a1303eb.cache | 5109 -------------- .../94/9461dfa3641f2f91486512ddb2e4f86b.cache | 4101 ----------- .../96/964076a765aa13ec3431a60dd38c4fa2.cache | 1322 ---- .../97/97aa92a1903454f3238d0c0bc9c3669b.cache | 950 --- .../9f/9f79ee702d014eb40442a807e23a6d2d.cache | 442 -- .../a1/a168ffba4ceb9e8f5c525b84a3ab779f.cache | 3469 --------- .../a2/a280499ad110a86fd31ed7e3b54e1ef6.cache | 4407 ------------ .../a4/a48cd9157e0d22eecc24a5ba8f9f2bae.cache | 4439 ------------ .../a4/a4b50d6d91a0b9c1cb499741fa0b7bc3.cache | 4258 ------------ .../a4/a4e3d3db480a2fbe2536ea5058cf31d8.cache | 2019 ------ .../a6/a694bd32301ba8960fff46ce0067abbd.cache | 6151 ---------------- .../a7/a73b4cc0abef322a14d9909b06eea860.cache | 4771 ------------- .../a7/a7f6e78cba22e5898f9bf9e3bc9a70ac.cache | 4154 ----------- .../a8/a849208b283abdccc56926d1b948389a.cache | 3550 ---------- .../ad/ad7d9af05f895adb8331b437106d2e00.cache | 386 - .../b5/b55bef25fe783a8a349d37aa777472a1.cache | 4835 ------------- .../b9/b9182645d874577019950161800ea61e.cache | 1421 ---- .../be/be27960f2a5e3e43ad5515c673773827.cache | 2579 ------- .../c2/c2a184731f57bc4927d20d964e649c25.cache | 336 - .../c5/c51c33d880cf34e4ef2c6f15d11a5550.cache | 1603 ----- .../c6/c698a0faf909cb3d5de18dc9a34d5886.cache | 2410 ------- .../c7/c7550b967df78bdea6d3f1b8f836c7c9.cache | 1379 ---- .../c7/c7e7f6ca95bbd4b1618c2ff23df95c72.cache | 1689 ----- .../cb/cb3b44df4ae490f35e8727bc6b05c092.cache | 658 -- .../cd/cdf68c5a56114e41271670e6c89ecff2.cache | 4771 ------------- .../d2/d28d3a271a64ece0b8412a1d7f153085.cache | 3982 ----------- .../d2/d2c539f9fdda4b190f3e90f8e31c3fa7.cache | 4269 ------------ .../d4/d4727a6d32efa0399b8fd3f536904e6e.cache | 3623 ---------- .../d4/d4da30247444888cb54a5b51b0494352.cache | 2429 ------- .../db/dbad0c83acfa294de54e0bc687d08ec2.cache | 643 -- .../e2/e2a49950dd07e0b975cbe0f75651167f.cache | 6187 ----------------- .../e4/e42dae32fc5c6a37ae8340e84d857f29.cache | 4986 ------------- .../e5/e5110f94a95b2ec1e6bf8f45b80112ea.cache | 1038 --- .../e9/e9f313b56e5bb74109bb7d07067c7b84.cache | 570 -- .../ee/ee784ff4be30931a4281c15293ae9b60.cache | 2039 ------ .../f2/f216cd0f27a7f2ab16de7f23f175c13c.cache | 5789 --------------- .../f2/f2e881ba1bfa52f09465fadc05130809.cache | 442 -- .../f2/f2fc42afb7b0445f4cb4c070efb4d9e4.cache | 378 - .../f3/f39d176e14e300adf03e6ed5b029b843.cache | 1850 ----- .../f5/f51d5eb63d52fe9ec7559800ffee29a1.cache | 332 - .../f5/f5d2d5e78dfa6ae4dc86216e6fc427fc.cache | 361 - .../f8/f807666f237cad663bd765d05880b44b.cache | 5787 --------------- .../fa/fac54313fa8d01a49932cd8cbde772ce.cache | 773 -- .../fb/fbe5346959e557af293feca9db32e058.cache | 1985 ------ .../fd/fd5898ab05f5118beab265780b4b110f.cache | 4131 ----------- .../fe/feb65028938e641f74b73c5aa691ce83.cache | 5972 ---------------- 79 files changed, 212318 deletions(-) delete mode 100644 .phpcca.cache/04/047e6c15d95d734924e5ab44a5bf16fa.cache delete mode 100644 .phpcca.cache/0d/0de27f94d6f300194d65f9f9b10f4d45.cache delete mode 100644 .phpcca.cache/15/15475892ec2fe6e569a1f505255270d7.cache delete mode 100644 .phpcca.cache/19/196798dbec09747f48d80cfdca52472d.cache delete mode 100644 .phpcca.cache/19/198de61574362eaedc78c9eae4c78ac3.cache delete mode 100644 .phpcca.cache/1b/1b5d2a0265f17399a1e7fccd66f984d9.cache delete mode 100644 .phpcca.cache/20/20354a0f5515882fd2fd95c6dd153bbf.cache delete mode 100644 .phpcca.cache/26/264c7c0fed41077dc1a80464cfc674b3.cache delete mode 100644 .phpcca.cache/2a/2af046cbb18ad9280bffb28b7072b164.cache delete mode 100644 .phpcca.cache/2e/2ec59b6747e6d8a65229481336ee3977.cache delete mode 100644 .phpcca.cache/2f/2fcde32ca958b21f6b2fc80ba238f0de.cache delete mode 100644 .phpcca.cache/30/30b5d0cd6f7c4c612b704dc87ffa4b8b.cache delete mode 100644 .phpcca.cache/31/31bcaf288d8031eaa49efc922940cf36.cache delete mode 100644 .phpcca.cache/35/357653c8cf6b33b4448aadd9f6d43fef.cache delete mode 100644 .phpcca.cache/3f/3f391f1fde299423c2de6a261b97073f.cache delete mode 100644 .phpcca.cache/46/465e8d6583b75d9445904e1a30209a1b.cache delete mode 100644 .phpcca.cache/4f/4f548467659a2d8b1b63950d505ee752.cache delete mode 100644 .phpcca.cache/5b/5b560a306921608ad02568abcf7b1284.cache delete mode 100644 .phpcca.cache/5b/5bd450eec023f6a341a0ce32a3d7f089.cache delete mode 100644 .phpcca.cache/5c/5cf89effda08add59322ab2e2ca1fe25.cache delete mode 100644 .phpcca.cache/60/60256edd9d9172b2d39afc6b32cf5a00.cache delete mode 100644 .phpcca.cache/60/60f2f9aba13a1c361e78b7850bb2c8f8.cache delete mode 100644 .phpcca.cache/61/61ae7eaf2b7441f3ac1ec0a306c52300.cache delete mode 100644 .phpcca.cache/61/61d189f2683227c3a63b990e2ec91afa.cache delete mode 100644 .phpcca.cache/63/63ec13e4ee33795f3c36fcf4f678ccff.cache delete mode 100644 .phpcca.cache/68/684957077098e05cc16556599d4c5582.cache delete mode 100644 .phpcca.cache/6d/6d574ec4d7bfe9eb4f74f3b861abe32f.cache delete mode 100644 .phpcca.cache/71/71ab65abe94b592e89564b3f041ef723.cache delete mode 100644 .phpcca.cache/71/71c4ab0d2185d060cbcb0c9550191ffe.cache delete mode 100644 .phpcca.cache/75/75a10d83af2391ec06cdd547875de3d8.cache delete mode 100644 .phpcca.cache/7f/7f617fc9b463b161bff8498a413e7b13.cache delete mode 100644 .phpcca.cache/82/828eaaf30f2dccec9484d143b57302ff.cache delete mode 100644 .phpcca.cache/88/884ddbbf56530b7369bd1f608753ef9f.cache delete mode 100644 .phpcca.cache/8a/8ac8f17016c111faee10a2099a1303eb.cache delete mode 100644 .phpcca.cache/94/9461dfa3641f2f91486512ddb2e4f86b.cache delete mode 100644 .phpcca.cache/96/964076a765aa13ec3431a60dd38c4fa2.cache delete mode 100644 .phpcca.cache/97/97aa92a1903454f3238d0c0bc9c3669b.cache delete mode 100644 .phpcca.cache/9f/9f79ee702d014eb40442a807e23a6d2d.cache delete mode 100644 .phpcca.cache/a1/a168ffba4ceb9e8f5c525b84a3ab779f.cache delete mode 100644 .phpcca.cache/a2/a280499ad110a86fd31ed7e3b54e1ef6.cache delete mode 100644 .phpcca.cache/a4/a48cd9157e0d22eecc24a5ba8f9f2bae.cache delete mode 100644 .phpcca.cache/a4/a4b50d6d91a0b9c1cb499741fa0b7bc3.cache delete mode 100644 .phpcca.cache/a4/a4e3d3db480a2fbe2536ea5058cf31d8.cache delete mode 100644 .phpcca.cache/a6/a694bd32301ba8960fff46ce0067abbd.cache delete mode 100644 .phpcca.cache/a7/a73b4cc0abef322a14d9909b06eea860.cache delete mode 100644 .phpcca.cache/a7/a7f6e78cba22e5898f9bf9e3bc9a70ac.cache delete mode 100644 .phpcca.cache/a8/a849208b283abdccc56926d1b948389a.cache delete mode 100644 .phpcca.cache/ad/ad7d9af05f895adb8331b437106d2e00.cache delete mode 100644 .phpcca.cache/b5/b55bef25fe783a8a349d37aa777472a1.cache delete mode 100644 .phpcca.cache/b9/b9182645d874577019950161800ea61e.cache delete mode 100644 .phpcca.cache/be/be27960f2a5e3e43ad5515c673773827.cache delete mode 100644 .phpcca.cache/c2/c2a184731f57bc4927d20d964e649c25.cache delete mode 100644 .phpcca.cache/c5/c51c33d880cf34e4ef2c6f15d11a5550.cache delete mode 100644 .phpcca.cache/c6/c698a0faf909cb3d5de18dc9a34d5886.cache delete mode 100644 .phpcca.cache/c7/c7550b967df78bdea6d3f1b8f836c7c9.cache delete mode 100644 .phpcca.cache/c7/c7e7f6ca95bbd4b1618c2ff23df95c72.cache delete mode 100644 .phpcca.cache/cb/cb3b44df4ae490f35e8727bc6b05c092.cache delete mode 100644 .phpcca.cache/cd/cdf68c5a56114e41271670e6c89ecff2.cache delete mode 100644 .phpcca.cache/d2/d28d3a271a64ece0b8412a1d7f153085.cache delete mode 100644 .phpcca.cache/d2/d2c539f9fdda4b190f3e90f8e31c3fa7.cache delete mode 100644 .phpcca.cache/d4/d4727a6d32efa0399b8fd3f536904e6e.cache delete mode 100644 .phpcca.cache/d4/d4da30247444888cb54a5b51b0494352.cache delete mode 100644 .phpcca.cache/db/dbad0c83acfa294de54e0bc687d08ec2.cache delete mode 100644 .phpcca.cache/e2/e2a49950dd07e0b975cbe0f75651167f.cache delete mode 100644 .phpcca.cache/e4/e42dae32fc5c6a37ae8340e84d857f29.cache delete mode 100644 .phpcca.cache/e5/e5110f94a95b2ec1e6bf8f45b80112ea.cache delete mode 100644 .phpcca.cache/e9/e9f313b56e5bb74109bb7d07067c7b84.cache delete mode 100644 .phpcca.cache/ee/ee784ff4be30931a4281c15293ae9b60.cache delete mode 100644 .phpcca.cache/f2/f216cd0f27a7f2ab16de7f23f175c13c.cache delete mode 100644 .phpcca.cache/f2/f2e881ba1bfa52f09465fadc05130809.cache delete mode 100644 .phpcca.cache/f2/f2fc42afb7b0445f4cb4c070efb4d9e4.cache delete mode 100644 .phpcca.cache/f3/f39d176e14e300adf03e6ed5b029b843.cache delete mode 100644 .phpcca.cache/f5/f51d5eb63d52fe9ec7559800ffee29a1.cache delete mode 100644 .phpcca.cache/f5/f5d2d5e78dfa6ae4dc86216e6fc427fc.cache delete mode 100644 .phpcca.cache/f8/f807666f237cad663bd765d05880b44b.cache delete mode 100644 .phpcca.cache/fa/fac54313fa8d01a49932cd8cbde772ce.cache delete mode 100644 .phpcca.cache/fb/fbe5346959e557af293feca9db32e058.cache delete mode 100644 .phpcca.cache/fd/fd5898ab05f5118beab265780b4b110f.cache delete mode 100644 .phpcca.cache/fe/feb65028938e641f74b73c5aa691ce83.cache diff --git a/.phpcca.cache/04/047e6c15d95d734924e5ab44a5bf16fa.cache b/.phpcca.cache/04/047e6c15d95d734924e5ab44a5bf16fa.cache deleted file mode 100644 index 2f82d29..0000000 --- a/.phpcca.cache/04/047e6c15d95d734924e5ab44a5bf16fa.cache +++ /dev/null @@ -1,762 +0,0 @@ -{ - "version": "1.0", - "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/Business\/Churn\/Exporter\/HtmlExporter.php", - "file_mtime": 1759784766, - "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", - "analysis_result": { - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct": { - "line": 60, - "lineCount": 5, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 1, - "N1": 2, - "N2": 2, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 2, - "effort": 12.679700005769249, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices": { - "line": 66, - "lineCount": 95, - "argCount": 0, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 5, - "N1": 58, - "N2": 32, - "programLength": 90, - "programVocabulary": 9, - "volume": 285.2932501298081, - "difficulty": 12.8, - "effort": 3651.7536016615436, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap": { - "line": 162, - "lineCount": 10, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 7, - "N2": 7, - "programLength": 14, - "programVocabulary": 2, - "volume": 14, - "difficulty": 3.5, - "effort": 49, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors": { - "line": 173, - "lineCount": 12, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 3, - "N2": 1, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0.5, - "effort": 2, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus": { - "line": 186, - "lineCount": 19, - "argCount": 0, - "returnCount": 0, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 9, - "N2": 13, - "programLength": 22, - "programVocabulary": 7, - "volume": 61.76180828526729, - "difficulty": 2.6, - "effort": 160.58070154169496, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService": { - "line": 206, - "lineCount": 9, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 3, - "N2": 1, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0.5, - "effort": 2, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade": { - "line": 216, - "lineCount": 13, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 3, - "N2": 1, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0.5, - "effort": 2, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands": { - "line": 230, - "lineCount": 21, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 6, - "N2": 2, - "programLength": 8, - "programVocabulary": 2, - "volume": 8, - "difficulty": 1, - "effort": 8, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication": { - "line": 252, - "lineCount": 11, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 5, - "N2": 4, - "programLength": 9, - "programVocabulary": 4, - "volume": 18, - "difficulty": 0.6666666666666666, - "effort": 12, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run": { - "line": 264, - "lineCount": 9, - "argCount": 0, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 5, - "N2": 5, - "programLength": 10, - "programVocabulary": 4, - "volume": 20, - "difficulty": 2.5, - "effort": 50, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get": { - "line": 274, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer": { - "line": 279, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator": { - "line": 289, - "lineCount": 16, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 7, - "programLength": 8, - "programVocabulary": 4, - "volume": 16, - "difficulty": 1.1666666666666667, - "effort": 18.666666666666668, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create": { - "line": 18, - "lineCount": 7, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 4, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile": { - "line": 17, - "lineCount": 17, - "argCount": 2, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 8, - "N1": 11, - "N2": 19, - "programLength": 30, - "programVocabulary": 11, - "volume": 103.78294855911892, - "difficulty": 3.5625, - "effort": 369.72675424186116, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode": { - "line": 42, - "lineCount": 8, - "argCount": 3, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 3, - "N2": 8, - "programLength": 11, - "programVocabulary": 8, - "volume": 33, - "difficulty": 2.4000000000000004, - "effort": 79.20000000000002, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate": { - "line": 22, - "lineCount": 10, - "argCount": 2, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 6, - "N2": 13, - "programLength": 19, - "programVocabulary": 6, - "volume": 49.11428751370197, - "difficulty": 3.25, - "effort": 159.6214344195314, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending": { - "line": 37, - "lineCount": 8, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 2, - "N2": 9, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 2.25, - "effort": 63.97782189284862, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn": { - "line": 51, - "lineCount": 24, - "argCount": 2, - "returnCount": 1, - "variableCount": 6, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 15, - "N1": 17, - "N2": 46, - "programLength": 63, - "programVocabulary": 20, - "volume": 272.28146997790384, - "difficulty": 7.666666666666667, - "effort": 2087.491269830596, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses": { - "line": 81, - "lineCount": 20, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 2, - "n2": 7, - "N1": 10, - "N2": 24, - "programLength": 34, - "programVocabulary": 9, - "volume": 107.7774500490386, - "difficulty": 3.4285714285714284, - "effort": 369.52268588241805, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass": { - "line": 109, - "lineCount": 9, - "argCount": 2, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 6, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 10, - "volume": 49.82892142331043, - "difficulty": 3.3333333333333335, - "effort": 166.09640474436813, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel": { - "line": 126, - "lineCount": 16, - "argCount": 2, - "returnCount": 4, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 12, - "N1": 9, - "N2": 18, - "programLength": 27, - "programVocabulary": 15, - "volume": 105.48604608143, - "difficulty": 2.25, - "effort": 237.3436036832175, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile": { - "line": 14, - "lineCount": 6, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 2, - "N2": 5, - "programLength": 7, - "programVocabulary": 4, - "volume": 14, - "difficulty": 2.5, - "effort": 35, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable": { - "line": 24, - "lineCount": 11, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 10, - "N2": 12, - "programLength": 22, - "programVocabulary": 8, - "volume": 66, - "difficulty": 6, - "effort": 396, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create": { - "line": 21, - "lineCount": 11, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 7, - "N1": 0, - "N2": 9, - "programLength": 9, - "programVocabulary": 7, - "volume": 25.26619429851844, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes": { - "line": 38, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 6, - "N1": 0, - "N2": 6, - "programLength": 6, - "programVocabulary": 6, - "volume": 15.509775004326936, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported": { - "line": 49, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 2, - "N2": 3, - "programLength": 5, - "programVocabulary": 4, - "volume": 10, - "difficulty": 1.5, - "effort": 15, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export": { - "line": 30, - "lineCount": 23, - "argCount": 2, - "returnCount": 0, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 16, - "N1": 10, - "N2": 33, - "programLength": 43, - "programVocabulary": 20, - "volume": 185.8429080801566, - "difficulty": 4.125, - "effort": 766.601995830646, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export": { - "line": 28, - "lineCount": 8, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 6, - "volume": 36.18947501009619, - "difficulty": 2.5, - "effort": 90.47368752524048, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape": { - "line": 37, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber": { - "line": 42, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml": { - "line": 52, - "lineCount": 50, - "argCount": 1, - "returnCount": 1, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "cyclomatic_complexity": { - "complexity": 4, - "risk_level": "low" - }, - "halstead": { - "n1": 5, - "n2": 12, - "N1": 11, - "N2": 25, - "programLength": 36, - "programVocabulary": 17, - "volume": 147.14866228501222, - "difficulty": 5.208333333333334, - "effort": 766.3992827344388, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml" - } - } - }, - "ignored_items": [], - "cached_at": 1759967600 -} \ No newline at end of file diff --git a/.phpcca.cache/0d/0de27f94d6f300194d65f9f9b10f4d45.cache b/.phpcca.cache/0d/0de27f94d6f300194d65f9f9b10f4d45.cache deleted file mode 100644 index 62ee347..0000000 --- a/.phpcca.cache/0d/0de27f94d6f300194d65f9f9b10f4d45.cache +++ /dev/null @@ -1,3938 +0,0 @@ -{ - "version": "1.0", - "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/Business\/Cognitive\/CognitiveMetricsCollector.php", - "file_mtime": 1759964701, - "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", - "analysis_result": { - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct": { - "line": 60, - "lineCount": 5, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 1, - "N1": 2, - "N2": 2, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 2, - "effort": 12.679700005769249, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices": { - "line": 66, - "lineCount": 95, - "argCount": 0, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 5, - "N1": 58, - "N2": 32, - "programLength": 90, - "programVocabulary": 9, - "volume": 285.2932501298081, - "difficulty": 12.8, - "effort": 3651.7536016615436, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap": { - "line": 162, - "lineCount": 10, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 7, - "N2": 7, - "programLength": 14, - "programVocabulary": 2, - "volume": 14, - "difficulty": 3.5, - "effort": 49, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors": { - "line": 173, - "lineCount": 12, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 3, - "N2": 1, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0.5, - "effort": 2, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus": { - "line": 186, - "lineCount": 19, - "argCount": 0, - "returnCount": 0, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 9, - "N2": 13, - "programLength": 22, - "programVocabulary": 7, - "volume": 61.76180828526729, - "difficulty": 2.6, - "effort": 160.58070154169496, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService": { - "line": 206, - "lineCount": 9, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 3, - "N2": 1, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0.5, - "effort": 2, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade": { - "line": 216, - "lineCount": 13, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 3, - "N2": 1, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0.5, - "effort": 2, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands": { - "line": 230, - "lineCount": 21, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 6, - "N2": 2, - "programLength": 8, - "programVocabulary": 2, - "volume": 8, - "difficulty": 1, - "effort": 8, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication": { - "line": 252, - "lineCount": 11, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 5, - "N2": 4, - "programLength": 9, - "programVocabulary": 4, - "volume": 18, - "difficulty": 0.6666666666666666, - "effort": 12, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run": { - "line": 264, - "lineCount": 9, - "argCount": 0, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 5, - "N2": 5, - "programLength": 10, - "programVocabulary": 4, - "volume": 20, - "difficulty": 2.5, - "effort": 50, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get": { - "line": 274, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer": { - "line": 279, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator": { - "line": 289, - "lineCount": 16, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 7, - "programLength": 8, - "programVocabulary": 4, - "volume": 16, - "difficulty": 1.1666666666666667, - "effort": 18.666666666666668, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create": { - "line": 18, - "lineCount": 7, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 4, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile": { - "line": 17, - "lineCount": 17, - "argCount": 2, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 8, - "N1": 11, - "N2": 19, - "programLength": 30, - "programVocabulary": 11, - "volume": 103.78294855911892, - "difficulty": 3.5625, - "effort": 369.72675424186116, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode": { - "line": 42, - "lineCount": 8, - "argCount": 3, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 3, - "N2": 8, - "programLength": 11, - "programVocabulary": 8, - "volume": 33, - "difficulty": 2.4000000000000004, - "effort": 79.20000000000002, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate": { - "line": 22, - "lineCount": 10, - "argCount": 2, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 6, - "N2": 13, - "programLength": 19, - "programVocabulary": 6, - "volume": 49.11428751370197, - "difficulty": 3.25, - "effort": 159.6214344195314, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending": { - "line": 37, - "lineCount": 8, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 2, - "N2": 9, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 2.25, - "effort": 63.97782189284862, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn": { - "line": 51, - "lineCount": 24, - "argCount": 2, - "returnCount": 1, - "variableCount": 6, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 15, - "N1": 17, - "N2": 46, - "programLength": 63, - "programVocabulary": 20, - "volume": 272.28146997790384, - "difficulty": 7.666666666666667, - "effort": 2087.491269830596, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses": { - "line": 81, - "lineCount": 20, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 2, - "n2": 7, - "N1": 10, - "N2": 24, - "programLength": 34, - "programVocabulary": 9, - "volume": 107.7774500490386, - "difficulty": 3.4285714285714284, - "effort": 369.52268588241805, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass": { - "line": 109, - "lineCount": 9, - "argCount": 2, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 6, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 10, - "volume": 49.82892142331043, - "difficulty": 3.3333333333333335, - "effort": 166.09640474436813, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel": { - "line": 126, - "lineCount": 16, - "argCount": 2, - "returnCount": 4, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 12, - "N1": 9, - "N2": 18, - "programLength": 27, - "programVocabulary": 15, - "volume": 105.48604608143, - "difficulty": 2.25, - "effort": 237.3436036832175, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile": { - "line": 14, - "lineCount": 6, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 2, - "N2": 5, - "programLength": 7, - "programVocabulary": 4, - "volume": 14, - "difficulty": 2.5, - "effort": 35, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable": { - "line": 24, - "lineCount": 11, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 10, - "N2": 12, - "programLength": 22, - "programVocabulary": 8, - "volume": 66, - "difficulty": 6, - "effort": 396, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create": { - "line": 21, - "lineCount": 11, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 7, - "N1": 0, - "N2": 9, - "programLength": 9, - "programVocabulary": 7, - "volume": 25.26619429851844, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes": { - "line": 38, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 6, - "N1": 0, - "N2": 6, - "programLength": 6, - "programVocabulary": 6, - "volume": 15.509775004326936, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported": { - "line": 49, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 2, - "N2": 3, - "programLength": 5, - "programVocabulary": 4, - "volume": 10, - "difficulty": 1.5, - "effort": 15, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export": { - "line": 30, - "lineCount": 23, - "argCount": 2, - "returnCount": 0, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 16, - "N1": 10, - "N2": 33, - "programLength": 43, - "programVocabulary": 20, - "volume": 185.8429080801566, - "difficulty": 4.125, - "effort": 766.601995830646, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export": { - "line": 28, - "lineCount": 8, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 6, - "volume": 36.18947501009619, - "difficulty": 2.5, - "effort": 90.47368752524048, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape": { - "line": 37, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber": { - "line": 42, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml": { - "line": 52, - "lineCount": 50, - "argCount": 1, - "returnCount": 1, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 12, - "N1": 11, - "N2": 25, - "programLength": 36, - "programVocabulary": 17, - "volume": 147.14866228501222, - "difficulty": 5.208333333333334, - "effort": 766.3992827344388, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export": { - "line": 17, - "lineCount": 13, - "argCount": 2, - "returnCount": 0, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 8, - "N1": 7, - "N2": 14, - "programLength": 21, - "programVocabulary": 12, - "volume": 75.28421251514428, - "difficulty": 3.5, - "effort": 263.49474380300495, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export": { - "line": 48, - "lineCount": 8, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 6, - "volume": 36.18947501009619, - "difficulty": 2.5, - "effort": 90.47368752524048, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown": { - "line": 61, - "lineCount": 24, - "argCount": 1, - "returnCount": 1, - "variableCount": 6, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 6, - "n2": 16, - "N1": 19, - "N2": 41, - "programLength": 60, - "programVocabulary": 22, - "volume": 267.56589711823784, - "difficulty": 7.6875, - "effort": 2056.9128340964535, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow": { - "line": 94, - "lineCount": 21, - "argCount": 3, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 7, - "n2": 18, - "N1": 16, - "N2": 39, - "programLength": 55, - "programVocabulary": 25, - "volume": 255.41209043760983, - "difficulty": 7.583333333333333, - "effort": 1936.8750191518745, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::__construct": { - "line": 26, - "lineCount": 4, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::export": { - "line": 36, - "lineCount": 10, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 8, - "volume": 45, - "difficulty": 5, - "effort": 225, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::generateSvgTreemap": { - "line": 53, - "lineCount": 20, - "argCount": 1, - "returnCount": 1, - "variableCount": 6, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 8, - "N1": 9, - "N2": 20, - "programLength": 29, - "programVocabulary": 10, - "volume": 96.3359147517335, - "difficulty": 2.5, - "effort": 240.83978687933376, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::generateSvgTreemap" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRects": { - "line": 82, - "lineCount": 10, - "argCount": 3, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 9, - "N1": 6, - "N2": 18, - "programLength": 24, - "programVocabulary": 12, - "volume": 86.03910001730775, - "difficulty": 3, - "effort": 258.1173000519232, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRects" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRect": { - "line": 100, - "lineCount": 29, - "argCount": 2, - "returnCount": 1, - "variableCount": 12, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 6, - "n2": 28, - "N1": 26, - "N2": 54, - "programLength": 80, - "programVocabulary": 34, - "volume": 406.9970273000271, - "difficulty": 5.785714285714286, - "effort": 2354.7685150930142, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRect" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::wrapSvg": { - "line": 136, - "lineCount": 21, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 2, - "N2": 8, - "programLength": 10, - "programVocabulary": 4, - "volume": 20, - "difficulty": 1.3333333333333333, - "effort": 26.666666666666664, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::wrapSvg" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::prepareItems": { - "line": 28, - "lineCount": 18, - "argCount": 1, - "returnCount": 1, - "variableCount": 7, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 12, - "N1": 9, - "N2": 30, - "programLength": 39, - "programVocabulary": 17, - "volume": 159.41105080876324, - "difficulty": 6.25, - "effort": 996.3190675547702, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::prepareItems" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findScoreRange": { - "line": 53, - "lineCount": 16, - "argCount": 1, - "returnCount": 3, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 7, - "N2": 13, - "programLength": 20, - "programVocabulary": 8, - "volume": 60, - "difficulty": 3.9000000000000004, - "effort": 234.00000000000003, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findScoreRange" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::normalizeScore": { - "line": 78, - "lineCount": 8, - "argCount": 3, - "returnCount": 2, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 8, - "volume": 45, - "difficulty": 5, - "effort": 225, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::normalizeScore" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::scoreToColor": { - "line": 93, - "lineCount": 9, - "argCount": 1, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 5, - "n2": 9, - "N1": 12, - "N2": 16, - "programLength": 28, - "programVocabulary": 14, - "volume": 106.60593781761291, - "difficulty": 4.444444444444445, - "effort": 473.80416807827964, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::scoreToColor" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::calculateTreemapLayout": { - "line": 115, - "lineCount": 23, - "argCount": 7, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 9, - "N1": 2, - "N2": 18, - "programLength": 20, - "programVocabulary": 11, - "volume": 69.18863237274594, - "difficulty": 2, - "effort": 138.37726474549189, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::calculateTreemapLayout" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::layoutTreemap": { - "line": 152, - "lineCount": 89, - "argCount": 8, - "returnCount": 3, - "variableCount": 11, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 8, - "n2": 28, - "N1": 32, - "N2": 98, - "programLength": 130, - "programVocabulary": 36, - "volume": 672.0902501875006, - "difficulty": 14, - "effort": 9409.263502625008, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::layoutTreemap" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findSplitIndex": { - "line": 249, - "lineCount": 13, - "argCount": 2, - "returnCount": 2, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 7, - "n2": 10, - "N1": 9, - "N2": 23, - "programLength": 32, - "programVocabulary": 17, - "volume": 130.79881092001085, - "difficulty": 8.049999999999999, - "effort": 1052.9304279060873, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findSplitIndex" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::__construct": { - "line": 23, - "lineCount": 18, - "argCount": 1, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 7, - "N2": 11, - "programLength": 18, - "programVocabulary": 6, - "volume": 46.529325012980806, - "difficulty": 5.5, - "effort": 255.91128757139444, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::getAllClasses": { - "line": 47, - "lineCount": 17, - "argCount": 0, - "returnCount": 2, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 6, - "N2": 12, - "programLength": 18, - "programVocabulary": 9, - "volume": 57.05865002596162, - "difficulty": 3, - "effort": 171.17595007788486, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::getAllClasses" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::withClassNode": { - "line": 73, - "lineCount": 8, - "argCount": 2, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 4, - "N2": 8, - "programLength": 12, - "programVocabulary": 8, - "volume": 36, - "difficulty": 4, - "effort": 144, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::withClassNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::findClassNode": { - "line": 85, - "lineCount": 25, - "argCount": 1, - "returnCount": 4, - "variableCount": 5, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 13, - "N2": 29, - "programLength": 42, - "programVocabulary": 11, - "volume": 145.29612798276648, - "difficulty": 8.285714285714286, - "effort": 1203.8822032857795, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::findClassNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::escapeXPathValue": { - "line": 114, - "lineCount": 16, - "argCount": 1, - "returnCount": 3, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 9, - "N1": 11, - "N2": 18, - "programLength": 29, - "programVocabulary": 13, - "volume": 107.31275182609167, - "difficulty": 4, - "effort": 429.2510073043667, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::escapeXPathValue" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getLineCoverage": { - "line": 22, - "lineCount": 18, - "argCount": 1, - "returnCount": 4, - "variableCount": 5, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 9, - "N1": 10, - "N2": 19, - "programLength": 29, - "programVocabulary": 13, - "volume": 107.31275182609167, - "difficulty": 4.222222222222222, - "effort": 453.09828548794263, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getLineCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getBranchCoverage": { - "line": 48, - "lineCount": 18, - "argCount": 1, - "returnCount": 4, - "variableCount": 5, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 9, - "N1": 10, - "N2": 19, - "programLength": 29, - "programVocabulary": 13, - "volume": 107.31275182609167, - "difficulty": 4.222222222222222, - "effort": 453.09828548794263, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getBranchCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getComplexity": { - "line": 73, - "lineCount": 13, - "argCount": 1, - "returnCount": 3, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 7, - "N2": 14, - "programLength": 21, - "programVocabulary": 11, - "volume": 72.64806399138324, - "difficulty": 4, - "effort": 290.59225596553296, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getComplexity" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getCoverageDetails": { - "line": 93, - "lineCount": 26, - "argCount": 1, - "returnCount": 3, - "variableCount": 9, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 17, - "N1": 22, - "N2": 42, - "programLength": 64, - "programVocabulary": 22, - "volume": 285.403623592787, - "difficulty": 6.176470588235294, - "effort": 1762.7870868966259, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getCoverageDetails" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getMetricsNode": { - "line": 123, - "lineCount": 12, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 6, - "N1": 7, - "N2": 13, - "programLength": 20, - "programVocabulary": 10, - "volume": 66.43856189774725, - "difficulty": 4.333333333333333, - "effort": 287.90043489023805, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getMetricsNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getFilenameForClass": { - "line": 139, - "lineCount": 9, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 5, - "N1": 4, - "N2": 9, - "programLength": 13, - "programVocabulary": 9, - "volume": 41.209025018750054, - "difficulty": 3.6, - "effort": 148.3524900675002, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getFilenameForClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodsCoverage": { - "line": 154, - "lineCount": 36, - "argCount": 1, - "returnCount": 3, - "variableCount": 8, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 13, - "N1": 12, - "N2": 30, - "programLength": 42, - "programVocabulary": 16, - "volume": 168, - "difficulty": 3.4615384615384612, - "effort": 581.5384615384614, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodsCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::calculateMethodCoverage": { - "line": 194, - "lineCount": 15, - "argCount": 2, - "returnCount": 2, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 11, - "N1": 9, - "N2": 23, - "programLength": 32, - "programVocabulary": 16, - "volume": 128, - "difficulty": 5.227272727272727, - "effort": 669.090909090909, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::calculateMethodCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodCoverageFromLines": { - "line": 215, - "lineCount": 36, - "argCount": 2, - "returnCount": 1, - "variableCount": 7, - "propertyCallCount": 0, - "ifNestingLevel": 2, - "elseCount": 0, - "ifCount": 5, - "halstead": { - "n1": 2, - "n2": 14, - "N1": 12, - "N2": 35, - "programLength": 47, - "programVocabulary": 16, - "volume": 188, - "difficulty": 2.5, - "effort": 470, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodCoverageFromLines" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStart": { - "line": 252, - "lineCount": 4, - "argCount": 3, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 3, - "N2": 7, - "programLength": 10, - "programVocabulary": 6, - "volume": 25.84962500721156, - "difficulty": 1.75, - "effort": 45.23684376262023, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStart" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodEnd": { - "line": 257, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 5, - "programLength": 7, - "programVocabulary": 5, - "volume": 16.253496664211536, - "difficulty": 1.6666666666666667, - "effort": 27.089161107019226, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodEnd" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStatement": { - "line": 262, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 5, - "programLength": 7, - "programVocabulary": 5, - "volume": 16.253496664211536, - "difficulty": 1.6666666666666667, - "effort": 27.089161107019226, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStatement" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isStatementCovered": { - "line": 267, - "lineCount": 5, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 4, - "N1": 3, - "N2": 6, - "programLength": 9, - "programVocabulary": 7, - "volume": 25.26619429851844, - "difficulty": 2.25, - "effort": 56.848937171666485, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isStatementCovered" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getLineCoverage": { - "line": 20, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 9, - "volume": 44.37895002019237, - "difficulty": 2.5, - "effort": 110.94737505048093, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getLineCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getBranchCoverage": { - "line": 34, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 9, - "volume": 44.37895002019237, - "difficulty": 2.5, - "effort": 110.94737505048093, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getBranchCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getComplexity": { - "line": 48, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 9, - "volume": 44.37895002019237, - "difficulty": 2.5, - "effort": 110.94737505048093, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getComplexity" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getCoverageDetails": { - "line": 62, - "lineCount": 13, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 8, - "N1": 7, - "N2": 16, - "programLength": 23, - "programVocabulary": 9, - "volume": 72.90827503317318, - "difficulty": 1, - "effort": 72.90827503317318, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getCoverageDetails" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::extractMethodsCoverage": { - "line": 81, - "lineCount": 23, - "argCount": 1, - "returnCount": 2, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 11, - "N1": 10, - "N2": 23, - "programLength": 33, - "programVocabulary": 14, - "volume": 125.64271242790093, - "difficulty": 3.1363636363636362, - "effort": 394.061234432962, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::extractMethodsCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CodeCoverageFactory::createFromName": { - "line": 14, - "lineCount": 8, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 4, - "N1": 1, - "N2": 8, - "programLength": 9, - "programVocabulary": 5, - "volume": 20.89735285398626, - "difficulty": 1, - "effort": 20.89735285398626, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CodeCoverageFactory::createFromName" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::__construct": { - "line": 28, - "lineCount": 15, - "argCount": 6, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 6, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 7, - "N1": 6, - "N2": 18, - "programLength": 24, - "programVocabulary": 8, - "volume": 72, - "difficulty": 1.2857142857142858, - "effort": 92.57142857142858, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getName": { - "line": 44, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getName" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getFilename": { - "line": 49, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getFilename" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getLineRate": { - "line": 54, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getLineRate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getBranchRate": { - "line": 59, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getBranchRate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getComplexity": { - "line": 64, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getComplexity" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getMethods": { - "line": 72, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getMethods" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::__construct": { - "line": 17, - "lineCount": 11, - "argCount": 4, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 4, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 5, - "N1": 4, - "N2": 12, - "programLength": 16, - "programVocabulary": 6, - "volume": 41.3594000115385, - "difficulty": 1.2, - "effort": 49.631280013846194, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getName": { - "line": 29, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getName" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getLineRate": { - "line": 34, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getLineRate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getBranchRate": { - "line": 39, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getBranchRate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getComplexity": { - "line": 44, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getComplexity" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::calculateDeltas": { - "line": 19, - "lineCount": 14, - "argCount": 2, - "returnCount": 0, - "variableCount": 6, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 9, - "N1": 4, - "N2": 18, - "programLength": 22, - "programVocabulary": 11, - "volume": 76.10749561002054, - "difficulty": 2, - "effort": 152.21499122004107, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::calculateDeltas" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::loadBaseline": { - "line": 41, - "lineCount": 13, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 5, - "N2": 9, - "programLength": 14, - "programVocabulary": 8, - "volume": 42, - "difficulty": 2.7, - "effort": 113.4, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::loadBaseline" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::__construct": { - "line": 72, - "lineCount": 21, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 6, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 9, - "N1": 12, - "N2": 34, - "programLength": 46, - "programVocabulary": 12, - "volume": 164.90827503317317, - "difficulty": 5.666666666666666, - "effort": 934.4802251879812, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setRequiredMetricProperties": { - "line": 98, - "lineCount": 30, - "argCount": 1, - "returnCount": 0, - "variableCount": 6, - "propertyCallCount": 9, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 21, - "N1": 21, - "N2": 51, - "programLength": 72, - "programVocabulary": 24, - "volume": 330.1173000519232, - "difficulty": 3.6428571428571423, - "effort": 1202.570164474863, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setRequiredMetricProperties" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setOptionalMetricProperties": { - "line": 133, - "lineCount": 12, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 8, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 11, - "N1": 16, - "N2": 33, - "programLength": 49, - "programVocabulary": 13, - "volume": 181.32154618891352, - "difficulty": 3, - "effort": 543.9646385667405, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setOptionalMetricProperties" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setTimesChanged": { - "line": 146, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setTimesChanged" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertSame": { - "line": 151, - "lineCount": 14, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 6, - "N2": 8, - "programLength": 14, - "programVocabulary": 5, - "volume": 32.50699332842307, - "difficulty": 2.6666666666666665, - "effort": 86.68531554246152, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertSame" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::calculateDeltas": { - "line": 169, - "lineCount": 13, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 16, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 17, - "N2": 27, - "programLength": 44, - "programVocabulary": 4, - "volume": 88, - "difficulty": 13.5, - "effort": 1188, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::calculateDeltas" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::fromArray": { - "line": 187, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::fromArray" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertArrayKeyIsPresent": { - "line": 197, - "lineCount": 6, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 5, - "programLength": 5, - "programVocabulary": 2, - "volume": 5, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertArrayKeyIsPresent" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getClass": { - "line": 204, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getMethod": { - "line": 209, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getMethod" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCount": { - "line": 214, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCount": { - "line": 219, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCount": { - "line": 224, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCount": { - "line": 229, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCount": { - "line": 234, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCount": { - "line": 239, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevel": { - "line": 244, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevel" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCount": { - "line": 249, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeight": { - "line": 254, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setLineCountWeight": { - "line": 259, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setLineCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeight": { - "line": 264, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setArgCountWeight": { - "line": 269, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setArgCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeight": { - "line": 274, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setReturnCountWeight": { - "line": 279, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setReturnCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeight": { - "line": 284, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setVariableCountWeight": { - "line": 289, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setVariableCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeight": { - "line": 294, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setPropertyCallCountWeight": { - "line": 299, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setPropertyCallCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeight": { - "line": 304, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfCountWeight": { - "line": 309, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeight": { - "line": 314, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfNestingLevelWeight": { - "line": 319, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfNestingLevelWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeight": { - "line": 324, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setElseCountWeight": { - "line": 329, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setElseCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setScore": { - "line": 334, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setScore" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getScore": { - "line": 339, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getScore" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setCoverage": { - "line": 344, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCoverage": { - "line": 349, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeightDelta": { - "line": 354, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeightDelta": { - "line": 359, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeightDelta": { - "line": 364, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeightDelta": { - "line": 369, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeightDelta": { - "line": 374, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeightDelta": { - "line": 379, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeightDelta": { - "line": 384, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeightDelta": { - "line": 389, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getTimesChanged": { - "line": 394, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 2, - "programLength": 3, - "programVocabulary": 3, - "volume": 4.754887502163468, - "difficulty": 0.5, - "effort": 2.377443751081734, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getTimesChanged" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getFileName": { - "line": 399, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getFileName" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLine": { - "line": 404, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLine" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::equals": { - "line": 409, - "lineCount": 5, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 2, - "N1": 5, - "N2": 5, - "programLength": 10, - "programVocabulary": 5, - "volume": 23.21928094887362, - "difficulty": 3.75, - "effort": 87.07230355827608, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::equals" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::toArray": { - "line": 418, - "lineCount": 34, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 29, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 30, - "N1": 0, - "N2": 58, - "programLength": 58, - "programVocabulary": 30, - "volume": 284.5996545452941, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::toArray" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::jsonSerialize": { - "line": 456, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::jsonSerialize" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getHalstead": { - "line": 464, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getHalstead" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCyclomatic": { - "line": 472, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCyclomatic" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::add": { - "line": 30, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 5, - "N2": 6, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 3, - "effort": 85.30376252379816, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::add" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filter": { - "line": 40, - "lineCount": 11, - "argCount": 1, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 8, - "volume": 42, - "difficulty": 3, - "effort": 126, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filter" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getIterator": { - "line": 57, - "lineCount": 5, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getIterator" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::count": { - "line": 66, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::count" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterWithScoreGreaterThan": { - "line": 71, - "lineCount": 6, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 3, - "N2": 6, - "programLength": 9, - "programVocabulary": 5, - "volume": 20.89735285398626, - "difficulty": 2, - "effort": 41.79470570797252, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterWithScoreGreaterThan" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::contains": { - "line": 78, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 4, - "N2": 5, - "programLength": 9, - "programVocabulary": 5, - "volume": 20.89735285398626, - "difficulty": 1.6666666666666667, - "effort": 34.82892142331043, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::contains" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getClassWithMethod": { - "line": 83, - "lineCount": 9, - "argCount": 2, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 3, - "N2": 10, - "programLength": 13, - "programVocabulary": 7, - "volume": 36.49561398674886, - "difficulty": 2, - "effort": 72.99122797349771, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getClassWithMethod" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterByClassName": { - "line": 93, - "lineCount": 6, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 3, - "N2": 6, - "programLength": 9, - "programVocabulary": 5, - "volume": 20.89735285398626, - "difficulty": 2, - "effort": 41.79470570797252, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterByClassName" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::assertMetricHasGetter": { - "line": 100, - "lineCount": 9, - "argCount": 3, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 6, - "programLength": 7, - "programVocabulary": 4, - "volume": 14, - "difficulty": 1, - "effort": 14, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::assertMetricHasGetter" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::groupBy": { - "line": 117, - "lineCount": 20, - "argCount": 1, - "returnCount": 1, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 10, - "N2": 23, - "programLength": 33, - "programVocabulary": 11, - "volume": 114.16124341503081, - "difficulty": 6.571428571428571, - "effort": 750.2024567273453, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::groupBy" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::jsonSerialize": { - "line": 141, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::jsonSerialize" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::__construct": { - "line": 32, - "lineCount": 8, - "argCount": 5, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 0, - "n2": 5, - "N1": 0, - "N2": 5, - "programLength": 5, - "programVocabulary": 5, - "volume": 11.60964047443681, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collect": { - "line": 49, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 5, - "programLength": 6, - "programVocabulary": 4, - "volume": 12, - "difficulty": 0.8333333333333334, - "effort": 10, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collect" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collectFromPaths": { - "line": 62, - "lineCount": 13, - "argCount": 2, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 2, - "risk_level": "low" - }, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 8, - "N2": 16, - "programLength": 24, - "programVocabulary": 9, - "volume": 76.07820003461549, - "difficulty": 4, - "effort": 304.31280013846197, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collectFromPaths" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCodeFromFile": { - "line": 79, - "lineCount": 10, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "cyclomatic_complexity": { - "complexity": 2, - "risk_level": "low" - }, - "halstead": { - "n1": 4, - "n2": 2, - "N1": 5, - "N2": 6, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 6, - "effort": 170.6075250475963, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCodeFromFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findMetrics": { - "line": 98, - "lineCount": 31, - "argCount": 1, - "returnCount": 1, - "variableCount": 9, - "propertyCallCount": 2, - "ifNestingLevel": 2, - "elseCount": 0, - "ifCount": 2, - "cyclomatic_complexity": { - "complexity": 4, - "risk_level": "low" - }, - "halstead": { - "n1": 3, - "n2": 13, - "N1": 18, - "N2": 38, - "programLength": 56, - "programVocabulary": 16, - "volume": 224, - "difficulty": 4.384615384615384, - "effort": 982.1538461538461, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findMetrics" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processMethodMetrics": { - "line": 136, - "lineCount": 29, - "argCount": 3, - "returnCount": 1, - "variableCount": 7, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "cyclomatic_complexity": { - "complexity": 4, - "risk_level": "low" - }, - "halstead": { - "n1": 3, - "n2": 14, - "N1": 8, - "N2": 27, - "programLength": 35, - "programVocabulary": 17, - "volume": 143.06119944376186, - "difficulty": 2.892857142857143, - "effort": 413.8556126765968, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processMethodMetrics" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::isExcluded": { - "line": 166, - "lineCount": 12, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "cyclomatic_complexity": { - "complexity": 3, - "risk_level": "low" - }, - "halstead": { - "n1": 4, - "n2": 5, - "N1": 5, - "N2": 9, - "programLength": 14, - "programVocabulary": 9, - "volume": 44.37895002019237, - "difficulty": 3.6, - "effort": 159.76422007269252, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::isExcluded" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findSourceFiles": { - "line": 187, - "lineCount": 7, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 2, - "N2": 6, - "programLength": 8, - "programVocabulary": 6, - "volume": 20.67970000576925, - "difficulty": 1.5, - "effort": 31.019550008653873, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findSourceFiles" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getProjectRoot": { - "line": 202, - "lineCount": 13, - "argCount": 0, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "cyclomatic_complexity": { - "complexity": 3, - "risk_level": "low" - }, - "halstead": { - "n1": 4, - "n2": 2, - "N1": 8, - "N2": 8, - "programLength": 16, - "programVocabulary": 6, - "volume": 41.3594000115385, - "difficulty": 8, - "effort": 330.875200092308, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getProjectRoot" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateCacheKey": { - "line": 219, - "lineCount": 7, - "argCount": 2, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 4, - "n2": 6, - "N1": 10, - "N2": 12, - "programLength": 22, - "programVocabulary": 10, - "volume": 73.08241808752197, - "difficulty": 4, - "effort": 292.3296723500879, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateCacheKey" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateConfigHash": { - "line": 230, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 2, - "n2": 1, - "N1": 3, - "N2": 2, - "programLength": 5, - "programVocabulary": 3, - "volume": 7.92481250360578, - "difficulty": 2, - "effort": 15.84962500721156, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateConfigHash" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::cacheResult": { - "line": 239, - "lineCount": 14, - "argCount": 4, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 2, - "n2": 13, - "N1": 5, - "N2": 20, - "programLength": 25, - "programVocabulary": 15, - "volume": 97.67226489021297, - "difficulty": 1.5384615384615385, - "effort": 150.26502290801997, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::cacheResult" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::clearCache": { - "line": 254, - "lineCount": 4, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::clearCache" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::normalizeFilename": { - "line": 264, - "lineCount": 15, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "cyclomatic_complexity": { - "complexity": 3, - "risk_level": "low" - }, - "halstead": { - "n1": 6, - "n2": 7, - "N1": 12, - "N2": 16, - "programLength": 28, - "programVocabulary": 13, - "volume": 103.61231210795059, - "difficulty": 6.857142857142857, - "effort": 710.4844258830897, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::normalizeFilename" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCachedMetrics": { - "line": 286, - "lineCount": 19, - "argCount": 3, - "returnCount": 3, - "variableCount": 4, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "cyclomatic_complexity": { - "complexity": 3, - "risk_level": "low" - }, - "halstead": { - "n1": 3, - "n2": 11, - "N1": 10, - "N2": 29, - "programLength": 39, - "programVocabulary": 14, - "volume": 148.48684196024655, - "difficulty": 3.954545454545454, - "effort": 587.1979659337022, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCachedMetrics" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processFile": { - "line": 312, - "lineCount": 37, - "argCount": 5, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "cyclomatic_complexity": { - "complexity": 4, - "risk_level": "low" - }, - "halstead": { - "n1": 7, - "n2": 10, - "N1": 12, - "N2": 28, - "programLength": 40, - "programVocabulary": 17, - "volume": 163.49851365001356, - "difficulty": 9.799999999999999, - "effort": 1602.2854337701328, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processFile" - } - } - }, - "ignored_items": [], - "cached_at": 1759967601 -} \ No newline at end of file diff --git a/.phpcca.cache/15/15475892ec2fe6e569a1f505255270d7.cache b/.phpcca.cache/15/15475892ec2fe6e569a1f505255270d7.cache deleted file mode 100644 index 3f16e6f..0000000 --- a/.phpcca.cache/15/15475892ec2fe6e569a1f505255270d7.cache +++ /dev/null @@ -1,1272 +0,0 @@ -{ - "version": "1.0", - "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/Business\/CodeCoverage\/AbstractXmlCoverageReader.php", - "file_mtime": 1759784766, - "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", - "analysis_result": { - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct": { - "line": 60, - "lineCount": 5, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 1, - "N1": 2, - "N2": 2, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 2, - "effort": 12.679700005769249, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices": { - "line": 66, - "lineCount": 95, - "argCount": 0, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 5, - "N1": 58, - "N2": 32, - "programLength": 90, - "programVocabulary": 9, - "volume": 285.2932501298081, - "difficulty": 12.8, - "effort": 3651.7536016615436, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap": { - "line": 162, - "lineCount": 10, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 7, - "N2": 7, - "programLength": 14, - "programVocabulary": 2, - "volume": 14, - "difficulty": 3.5, - "effort": 49, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors": { - "line": 173, - "lineCount": 12, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 3, - "N2": 1, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0.5, - "effort": 2, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus": { - "line": 186, - "lineCount": 19, - "argCount": 0, - "returnCount": 0, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 9, - "N2": 13, - "programLength": 22, - "programVocabulary": 7, - "volume": 61.76180828526729, - "difficulty": 2.6, - "effort": 160.58070154169496, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService": { - "line": 206, - "lineCount": 9, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 3, - "N2": 1, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0.5, - "effort": 2, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade": { - "line": 216, - "lineCount": 13, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 3, - "N2": 1, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0.5, - "effort": 2, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands": { - "line": 230, - "lineCount": 21, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 6, - "N2": 2, - "programLength": 8, - "programVocabulary": 2, - "volume": 8, - "difficulty": 1, - "effort": 8, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication": { - "line": 252, - "lineCount": 11, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 5, - "N2": 4, - "programLength": 9, - "programVocabulary": 4, - "volume": 18, - "difficulty": 0.6666666666666666, - "effort": 12, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run": { - "line": 264, - "lineCount": 9, - "argCount": 0, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 5, - "N2": 5, - "programLength": 10, - "programVocabulary": 4, - "volume": 20, - "difficulty": 2.5, - "effort": 50, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get": { - "line": 274, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer": { - "line": 279, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator": { - "line": 289, - "lineCount": 16, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 7, - "programLength": 8, - "programVocabulary": 4, - "volume": 16, - "difficulty": 1.1666666666666667, - "effort": 18.666666666666668, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create": { - "line": 18, - "lineCount": 7, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 4, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile": { - "line": 17, - "lineCount": 17, - "argCount": 2, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 8, - "N1": 11, - "N2": 19, - "programLength": 30, - "programVocabulary": 11, - "volume": 103.78294855911892, - "difficulty": 3.5625, - "effort": 369.72675424186116, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode": { - "line": 42, - "lineCount": 8, - "argCount": 3, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 3, - "N2": 8, - "programLength": 11, - "programVocabulary": 8, - "volume": 33, - "difficulty": 2.4000000000000004, - "effort": 79.20000000000002, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate": { - "line": 22, - "lineCount": 10, - "argCount": 2, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 6, - "N2": 13, - "programLength": 19, - "programVocabulary": 6, - "volume": 49.11428751370197, - "difficulty": 3.25, - "effort": 159.6214344195314, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending": { - "line": 37, - "lineCount": 8, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 2, - "N2": 9, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 2.25, - "effort": 63.97782189284862, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn": { - "line": 51, - "lineCount": 24, - "argCount": 2, - "returnCount": 1, - "variableCount": 6, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 15, - "N1": 17, - "N2": 46, - "programLength": 63, - "programVocabulary": 20, - "volume": 272.28146997790384, - "difficulty": 7.666666666666667, - "effort": 2087.491269830596, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses": { - "line": 81, - "lineCount": 20, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 2, - "n2": 7, - "N1": 10, - "N2": 24, - "programLength": 34, - "programVocabulary": 9, - "volume": 107.7774500490386, - "difficulty": 3.4285714285714284, - "effort": 369.52268588241805, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass": { - "line": 109, - "lineCount": 9, - "argCount": 2, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 6, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 10, - "volume": 49.82892142331043, - "difficulty": 3.3333333333333335, - "effort": 166.09640474436813, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel": { - "line": 126, - "lineCount": 16, - "argCount": 2, - "returnCount": 4, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 12, - "N1": 9, - "N2": 18, - "programLength": 27, - "programVocabulary": 15, - "volume": 105.48604608143, - "difficulty": 2.25, - "effort": 237.3436036832175, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile": { - "line": 14, - "lineCount": 6, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 2, - "N2": 5, - "programLength": 7, - "programVocabulary": 4, - "volume": 14, - "difficulty": 2.5, - "effort": 35, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable": { - "line": 24, - "lineCount": 11, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 10, - "N2": 12, - "programLength": 22, - "programVocabulary": 8, - "volume": 66, - "difficulty": 6, - "effort": 396, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create": { - "line": 21, - "lineCount": 11, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 7, - "N1": 0, - "N2": 9, - "programLength": 9, - "programVocabulary": 7, - "volume": 25.26619429851844, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes": { - "line": 38, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 6, - "N1": 0, - "N2": 6, - "programLength": 6, - "programVocabulary": 6, - "volume": 15.509775004326936, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported": { - "line": 49, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 2, - "N2": 3, - "programLength": 5, - "programVocabulary": 4, - "volume": 10, - "difficulty": 1.5, - "effort": 15, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export": { - "line": 30, - "lineCount": 23, - "argCount": 2, - "returnCount": 0, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 16, - "N1": 10, - "N2": 33, - "programLength": 43, - "programVocabulary": 20, - "volume": 185.8429080801566, - "difficulty": 4.125, - "effort": 766.601995830646, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export": { - "line": 28, - "lineCount": 8, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 6, - "volume": 36.18947501009619, - "difficulty": 2.5, - "effort": 90.47368752524048, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape": { - "line": 37, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber": { - "line": 42, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml": { - "line": 52, - "lineCount": 50, - "argCount": 1, - "returnCount": 1, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 12, - "N1": 11, - "N2": 25, - "programLength": 36, - "programVocabulary": 17, - "volume": 147.14866228501222, - "difficulty": 5.208333333333334, - "effort": 766.3992827344388, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export": { - "line": 17, - "lineCount": 13, - "argCount": 2, - "returnCount": 0, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 8, - "N1": 7, - "N2": 14, - "programLength": 21, - "programVocabulary": 12, - "volume": 75.28421251514428, - "difficulty": 3.5, - "effort": 263.49474380300495, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export": { - "line": 48, - "lineCount": 8, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 6, - "volume": 36.18947501009619, - "difficulty": 2.5, - "effort": 90.47368752524048, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown": { - "line": 61, - "lineCount": 24, - "argCount": 1, - "returnCount": 1, - "variableCount": 6, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 6, - "n2": 16, - "N1": 19, - "N2": 41, - "programLength": 60, - "programVocabulary": 22, - "volume": 267.56589711823784, - "difficulty": 7.6875, - "effort": 2056.9128340964535, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow": { - "line": 94, - "lineCount": 21, - "argCount": 3, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 7, - "n2": 18, - "N1": 16, - "N2": 39, - "programLength": 55, - "programVocabulary": 25, - "volume": 255.41209043760983, - "difficulty": 7.583333333333333, - "effort": 1936.8750191518745, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::__construct": { - "line": 26, - "lineCount": 4, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::export": { - "line": 36, - "lineCount": 10, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 8, - "volume": 45, - "difficulty": 5, - "effort": 225, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::generateSvgTreemap": { - "line": 53, - "lineCount": 20, - "argCount": 1, - "returnCount": 1, - "variableCount": 6, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 8, - "N1": 9, - "N2": 20, - "programLength": 29, - "programVocabulary": 10, - "volume": 96.3359147517335, - "difficulty": 2.5, - "effort": 240.83978687933376, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::generateSvgTreemap" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRects": { - "line": 82, - "lineCount": 10, - "argCount": 3, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 9, - "N1": 6, - "N2": 18, - "programLength": 24, - "programVocabulary": 12, - "volume": 86.03910001730775, - "difficulty": 3, - "effort": 258.1173000519232, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRects" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRect": { - "line": 100, - "lineCount": 29, - "argCount": 2, - "returnCount": 1, - "variableCount": 12, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 6, - "n2": 28, - "N1": 26, - "N2": 54, - "programLength": 80, - "programVocabulary": 34, - "volume": 406.9970273000271, - "difficulty": 5.785714285714286, - "effort": 2354.7685150930142, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRect" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::wrapSvg": { - "line": 136, - "lineCount": 21, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 2, - "N2": 8, - "programLength": 10, - "programVocabulary": 4, - "volume": 20, - "difficulty": 1.3333333333333333, - "effort": 26.666666666666664, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::wrapSvg" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::prepareItems": { - "line": 28, - "lineCount": 18, - "argCount": 1, - "returnCount": 1, - "variableCount": 7, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 12, - "N1": 9, - "N2": 30, - "programLength": 39, - "programVocabulary": 17, - "volume": 159.41105080876324, - "difficulty": 6.25, - "effort": 996.3190675547702, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::prepareItems" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findScoreRange": { - "line": 53, - "lineCount": 16, - "argCount": 1, - "returnCount": 3, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 7, - "N2": 13, - "programLength": 20, - "programVocabulary": 8, - "volume": 60, - "difficulty": 3.9000000000000004, - "effort": 234.00000000000003, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findScoreRange" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::normalizeScore": { - "line": 78, - "lineCount": 8, - "argCount": 3, - "returnCount": 2, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 8, - "volume": 45, - "difficulty": 5, - "effort": 225, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::normalizeScore" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::scoreToColor": { - "line": 93, - "lineCount": 9, - "argCount": 1, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 5, - "n2": 9, - "N1": 12, - "N2": 16, - "programLength": 28, - "programVocabulary": 14, - "volume": 106.60593781761291, - "difficulty": 4.444444444444445, - "effort": 473.80416807827964, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::scoreToColor" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::calculateTreemapLayout": { - "line": 115, - "lineCount": 23, - "argCount": 7, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 9, - "N1": 2, - "N2": 18, - "programLength": 20, - "programVocabulary": 11, - "volume": 69.18863237274594, - "difficulty": 2, - "effort": 138.37726474549189, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::calculateTreemapLayout" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::layoutTreemap": { - "line": 152, - "lineCount": 89, - "argCount": 8, - "returnCount": 3, - "variableCount": 11, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 8, - "n2": 28, - "N1": 32, - "N2": 98, - "programLength": 130, - "programVocabulary": 36, - "volume": 672.0902501875006, - "difficulty": 14, - "effort": 9409.263502625008, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::layoutTreemap" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findSplitIndex": { - "line": 249, - "lineCount": 13, - "argCount": 2, - "returnCount": 2, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 7, - "n2": 10, - "N1": 9, - "N2": 23, - "programLength": 32, - "programVocabulary": 17, - "volume": 130.79881092001085, - "difficulty": 8.049999999999999, - "effort": 1052.9304279060873, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findSplitIndex" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::__construct": { - "line": 23, - "lineCount": 18, - "argCount": 1, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "cyclomatic_complexity": { - "complexity": 3, - "risk_level": "low" - }, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 7, - "N2": 11, - "programLength": 18, - "programVocabulary": 6, - "volume": 46.529325012980806, - "difficulty": 5.5, - "effort": 255.91128757139444, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::getAllClasses": { - "line": 47, - "lineCount": 17, - "argCount": 0, - "returnCount": 2, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "cyclomatic_complexity": { - "complexity": 4, - "risk_level": "low" - }, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 6, - "N2": 12, - "programLength": 18, - "programVocabulary": 9, - "volume": 57.05865002596162, - "difficulty": 3, - "effort": 171.17595007788486, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::getAllClasses" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::withClassNode": { - "line": 73, - "lineCount": 8, - "argCount": 2, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "cyclomatic_complexity": { - "complexity": 2, - "risk_level": "low" - }, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 4, - "N2": 8, - "programLength": 12, - "programVocabulary": 8, - "volume": 36, - "difficulty": 4, - "effort": 144, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::withClassNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::findClassNode": { - "line": 85, - "lineCount": 25, - "argCount": 1, - "returnCount": 4, - "variableCount": 5, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "cyclomatic_complexity": { - "complexity": 4, - "risk_level": "low" - }, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 13, - "N2": 29, - "programLength": 42, - "programVocabulary": 11, - "volume": 145.29612798276648, - "difficulty": 8.285714285714286, - "effort": 1203.8822032857795, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::findClassNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::escapeXPathValue": { - "line": 114, - "lineCount": 16, - "argCount": 1, - "returnCount": 3, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "cyclomatic_complexity": { - "complexity": 3, - "risk_level": "low" - }, - "halstead": { - "n1": 4, - "n2": 9, - "N1": 11, - "N2": 18, - "programLength": 29, - "programVocabulary": 13, - "volume": 107.31275182609167, - "difficulty": 4, - "effort": 429.2510073043667, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::escapeXPathValue" - } - } - }, - "ignored_items": [], - "cached_at": 1759967600 -} \ No newline at end of file diff --git a/.phpcca.cache/19/196798dbec09747f48d80cfdca52472d.cache b/.phpcca.cache/19/196798dbec09747f48d80cfdca52472d.cache deleted file mode 100644 index 0f78fb0..0000000 --- a/.phpcca.cache/19/196798dbec09747f48d80cfdca52472d.cache +++ /dev/null @@ -1,5278 +0,0 @@ -{ - "version": "1.0", - "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/Business\/Exporter\/AbstractMarkdownExporter.php", - "file_mtime": 1759784766, - "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", - "analysis_result": { - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct": { - "line": 60, - "lineCount": 5, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 1, - "N1": 2, - "N2": 2, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 2, - "effort": 12.679700005769249, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices": { - "line": 66, - "lineCount": 95, - "argCount": 0, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 5, - "N1": 58, - "N2": 32, - "programLength": 90, - "programVocabulary": 9, - "volume": 285.2932501298081, - "difficulty": 12.8, - "effort": 3651.7536016615436, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap": { - "line": 162, - "lineCount": 10, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 7, - "N2": 7, - "programLength": 14, - "programVocabulary": 2, - "volume": 14, - "difficulty": 3.5, - "effort": 49, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors": { - "line": 173, - "lineCount": 12, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 3, - "N2": 1, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0.5, - "effort": 2, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus": { - "line": 186, - "lineCount": 19, - "argCount": 0, - "returnCount": 0, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 9, - "N2": 13, - "programLength": 22, - "programVocabulary": 7, - "volume": 61.76180828526729, - "difficulty": 2.6, - "effort": 160.58070154169496, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService": { - "line": 206, - "lineCount": 9, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 3, - "N2": 1, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0.5, - "effort": 2, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade": { - "line": 216, - "lineCount": 13, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 3, - "N2": 1, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0.5, - "effort": 2, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands": { - "line": 230, - "lineCount": 21, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 6, - "N2": 2, - "programLength": 8, - "programVocabulary": 2, - "volume": 8, - "difficulty": 1, - "effort": 8, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication": { - "line": 252, - "lineCount": 11, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 5, - "N2": 4, - "programLength": 9, - "programVocabulary": 4, - "volume": 18, - "difficulty": 0.6666666666666666, - "effort": 12, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run": { - "line": 264, - "lineCount": 9, - "argCount": 0, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 5, - "N2": 5, - "programLength": 10, - "programVocabulary": 4, - "volume": 20, - "difficulty": 2.5, - "effort": 50, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get": { - "line": 274, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer": { - "line": 279, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator": { - "line": 289, - "lineCount": 16, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 7, - "programLength": 8, - "programVocabulary": 4, - "volume": 16, - "difficulty": 1.1666666666666667, - "effort": 18.666666666666668, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create": { - "line": 18, - "lineCount": 7, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 4, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile": { - "line": 17, - "lineCount": 17, - "argCount": 2, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 8, - "N1": 11, - "N2": 19, - "programLength": 30, - "programVocabulary": 11, - "volume": 103.78294855911892, - "difficulty": 3.5625, - "effort": 369.72675424186116, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode": { - "line": 42, - "lineCount": 8, - "argCount": 3, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 3, - "N2": 8, - "programLength": 11, - "programVocabulary": 8, - "volume": 33, - "difficulty": 2.4000000000000004, - "effort": 79.20000000000002, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate": { - "line": 22, - "lineCount": 10, - "argCount": 2, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 6, - "N2": 13, - "programLength": 19, - "programVocabulary": 6, - "volume": 49.11428751370197, - "difficulty": 3.25, - "effort": 159.6214344195314, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending": { - "line": 37, - "lineCount": 8, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 2, - "N2": 9, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 2.25, - "effort": 63.97782189284862, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn": { - "line": 51, - "lineCount": 24, - "argCount": 2, - "returnCount": 1, - "variableCount": 6, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 15, - "N1": 17, - "N2": 46, - "programLength": 63, - "programVocabulary": 20, - "volume": 272.28146997790384, - "difficulty": 7.666666666666667, - "effort": 2087.491269830596, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses": { - "line": 81, - "lineCount": 20, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 2, - "n2": 7, - "N1": 10, - "N2": 24, - "programLength": 34, - "programVocabulary": 9, - "volume": 107.7774500490386, - "difficulty": 3.4285714285714284, - "effort": 369.52268588241805, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass": { - "line": 109, - "lineCount": 9, - "argCount": 2, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 6, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 10, - "volume": 49.82892142331043, - "difficulty": 3.3333333333333335, - "effort": 166.09640474436813, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel": { - "line": 126, - "lineCount": 16, - "argCount": 2, - "returnCount": 4, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 12, - "N1": 9, - "N2": 18, - "programLength": 27, - "programVocabulary": 15, - "volume": 105.48604608143, - "difficulty": 2.25, - "effort": 237.3436036832175, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile": { - "line": 14, - "lineCount": 6, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 2, - "N2": 5, - "programLength": 7, - "programVocabulary": 4, - "volume": 14, - "difficulty": 2.5, - "effort": 35, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable": { - "line": 24, - "lineCount": 11, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 10, - "N2": 12, - "programLength": 22, - "programVocabulary": 8, - "volume": 66, - "difficulty": 6, - "effort": 396, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create": { - "line": 21, - "lineCount": 11, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 7, - "N1": 0, - "N2": 9, - "programLength": 9, - "programVocabulary": 7, - "volume": 25.26619429851844, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes": { - "line": 38, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 6, - "N1": 0, - "N2": 6, - "programLength": 6, - "programVocabulary": 6, - "volume": 15.509775004326936, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported": { - "line": 49, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 2, - "N2": 3, - "programLength": 5, - "programVocabulary": 4, - "volume": 10, - "difficulty": 1.5, - "effort": 15, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export": { - "line": 30, - "lineCount": 23, - "argCount": 2, - "returnCount": 0, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 16, - "N1": 10, - "N2": 33, - "programLength": 43, - "programVocabulary": 20, - "volume": 185.8429080801566, - "difficulty": 4.125, - "effort": 766.601995830646, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export": { - "line": 28, - "lineCount": 8, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 6, - "volume": 36.18947501009619, - "difficulty": 2.5, - "effort": 90.47368752524048, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape": { - "line": 37, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber": { - "line": 42, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml": { - "line": 52, - "lineCount": 50, - "argCount": 1, - "returnCount": 1, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 12, - "N1": 11, - "N2": 25, - "programLength": 36, - "programVocabulary": 17, - "volume": 147.14866228501222, - "difficulty": 5.208333333333334, - "effort": 766.3992827344388, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export": { - "line": 17, - "lineCount": 13, - "argCount": 2, - "returnCount": 0, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 8, - "N1": 7, - "N2": 14, - "programLength": 21, - "programVocabulary": 12, - "volume": 75.28421251514428, - "difficulty": 3.5, - "effort": 263.49474380300495, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export": { - "line": 48, - "lineCount": 8, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 6, - "volume": 36.18947501009619, - "difficulty": 2.5, - "effort": 90.47368752524048, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown": { - "line": 61, - "lineCount": 24, - "argCount": 1, - "returnCount": 1, - "variableCount": 6, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 6, - "n2": 16, - "N1": 19, - "N2": 41, - "programLength": 60, - "programVocabulary": 22, - "volume": 267.56589711823784, - "difficulty": 7.6875, - "effort": 2056.9128340964535, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow": { - "line": 94, - "lineCount": 21, - "argCount": 3, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 7, - "n2": 18, - "N1": 16, - "N2": 39, - "programLength": 55, - "programVocabulary": 25, - "volume": 255.41209043760983, - "difficulty": 7.583333333333333, - "effort": 1936.8750191518745, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::__construct": { - "line": 26, - "lineCount": 4, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::export": { - "line": 36, - "lineCount": 10, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 8, - "volume": 45, - "difficulty": 5, - "effort": 225, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::generateSvgTreemap": { - "line": 53, - "lineCount": 20, - "argCount": 1, - "returnCount": 1, - "variableCount": 6, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 8, - "N1": 9, - "N2": 20, - "programLength": 29, - "programVocabulary": 10, - "volume": 96.3359147517335, - "difficulty": 2.5, - "effort": 240.83978687933376, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::generateSvgTreemap" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRects": { - "line": 82, - "lineCount": 10, - "argCount": 3, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 9, - "N1": 6, - "N2": 18, - "programLength": 24, - "programVocabulary": 12, - "volume": 86.03910001730775, - "difficulty": 3, - "effort": 258.1173000519232, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRects" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRect": { - "line": 100, - "lineCount": 29, - "argCount": 2, - "returnCount": 1, - "variableCount": 12, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 6, - "n2": 28, - "N1": 26, - "N2": 54, - "programLength": 80, - "programVocabulary": 34, - "volume": 406.9970273000271, - "difficulty": 5.785714285714286, - "effort": 2354.7685150930142, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRect" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::wrapSvg": { - "line": 136, - "lineCount": 21, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 2, - "N2": 8, - "programLength": 10, - "programVocabulary": 4, - "volume": 20, - "difficulty": 1.3333333333333333, - "effort": 26.666666666666664, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::wrapSvg" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::prepareItems": { - "line": 28, - "lineCount": 18, - "argCount": 1, - "returnCount": 1, - "variableCount": 7, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 12, - "N1": 9, - "N2": 30, - "programLength": 39, - "programVocabulary": 17, - "volume": 159.41105080876324, - "difficulty": 6.25, - "effort": 996.3190675547702, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::prepareItems" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findScoreRange": { - "line": 53, - "lineCount": 16, - "argCount": 1, - "returnCount": 3, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 7, - "N2": 13, - "programLength": 20, - "programVocabulary": 8, - "volume": 60, - "difficulty": 3.9000000000000004, - "effort": 234.00000000000003, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findScoreRange" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::normalizeScore": { - "line": 78, - "lineCount": 8, - "argCount": 3, - "returnCount": 2, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 8, - "volume": 45, - "difficulty": 5, - "effort": 225, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::normalizeScore" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::scoreToColor": { - "line": 93, - "lineCount": 9, - "argCount": 1, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 5, - "n2": 9, - "N1": 12, - "N2": 16, - "programLength": 28, - "programVocabulary": 14, - "volume": 106.60593781761291, - "difficulty": 4.444444444444445, - "effort": 473.80416807827964, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::scoreToColor" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::calculateTreemapLayout": { - "line": 115, - "lineCount": 23, - "argCount": 7, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 9, - "N1": 2, - "N2": 18, - "programLength": 20, - "programVocabulary": 11, - "volume": 69.18863237274594, - "difficulty": 2, - "effort": 138.37726474549189, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::calculateTreemapLayout" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::layoutTreemap": { - "line": 152, - "lineCount": 89, - "argCount": 8, - "returnCount": 3, - "variableCount": 11, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 8, - "n2": 28, - "N1": 32, - "N2": 98, - "programLength": 130, - "programVocabulary": 36, - "volume": 672.0902501875006, - "difficulty": 14, - "effort": 9409.263502625008, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::layoutTreemap" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findSplitIndex": { - "line": 249, - "lineCount": 13, - "argCount": 2, - "returnCount": 2, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 7, - "n2": 10, - "N1": 9, - "N2": 23, - "programLength": 32, - "programVocabulary": 17, - "volume": 130.79881092001085, - "difficulty": 8.049999999999999, - "effort": 1052.9304279060873, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findSplitIndex" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::__construct": { - "line": 23, - "lineCount": 18, - "argCount": 1, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 7, - "N2": 11, - "programLength": 18, - "programVocabulary": 6, - "volume": 46.529325012980806, - "difficulty": 5.5, - "effort": 255.91128757139444, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::getAllClasses": { - "line": 47, - "lineCount": 17, - "argCount": 0, - "returnCount": 2, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 6, - "N2": 12, - "programLength": 18, - "programVocabulary": 9, - "volume": 57.05865002596162, - "difficulty": 3, - "effort": 171.17595007788486, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::getAllClasses" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::withClassNode": { - "line": 73, - "lineCount": 8, - "argCount": 2, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 4, - "N2": 8, - "programLength": 12, - "programVocabulary": 8, - "volume": 36, - "difficulty": 4, - "effort": 144, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::withClassNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::findClassNode": { - "line": 85, - "lineCount": 25, - "argCount": 1, - "returnCount": 4, - "variableCount": 5, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 13, - "N2": 29, - "programLength": 42, - "programVocabulary": 11, - "volume": 145.29612798276648, - "difficulty": 8.285714285714286, - "effort": 1203.8822032857795, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::findClassNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::escapeXPathValue": { - "line": 114, - "lineCount": 16, - "argCount": 1, - "returnCount": 3, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 9, - "N1": 11, - "N2": 18, - "programLength": 29, - "programVocabulary": 13, - "volume": 107.31275182609167, - "difficulty": 4, - "effort": 429.2510073043667, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::escapeXPathValue" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getLineCoverage": { - "line": 22, - "lineCount": 18, - "argCount": 1, - "returnCount": 4, - "variableCount": 5, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 9, - "N1": 10, - "N2": 19, - "programLength": 29, - "programVocabulary": 13, - "volume": 107.31275182609167, - "difficulty": 4.222222222222222, - "effort": 453.09828548794263, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getLineCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getBranchCoverage": { - "line": 48, - "lineCount": 18, - "argCount": 1, - "returnCount": 4, - "variableCount": 5, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 9, - "N1": 10, - "N2": 19, - "programLength": 29, - "programVocabulary": 13, - "volume": 107.31275182609167, - "difficulty": 4.222222222222222, - "effort": 453.09828548794263, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getBranchCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getComplexity": { - "line": 73, - "lineCount": 13, - "argCount": 1, - "returnCount": 3, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 7, - "N2": 14, - "programLength": 21, - "programVocabulary": 11, - "volume": 72.64806399138324, - "difficulty": 4, - "effort": 290.59225596553296, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getComplexity" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getCoverageDetails": { - "line": 93, - "lineCount": 26, - "argCount": 1, - "returnCount": 3, - "variableCount": 9, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 17, - "N1": 22, - "N2": 42, - "programLength": 64, - "programVocabulary": 22, - "volume": 285.403623592787, - "difficulty": 6.176470588235294, - "effort": 1762.7870868966259, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getCoverageDetails" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getMetricsNode": { - "line": 123, - "lineCount": 12, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 6, - "N1": 7, - "N2": 13, - "programLength": 20, - "programVocabulary": 10, - "volume": 66.43856189774725, - "difficulty": 4.333333333333333, - "effort": 287.90043489023805, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getMetricsNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getFilenameForClass": { - "line": 139, - "lineCount": 9, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 5, - "N1": 4, - "N2": 9, - "programLength": 13, - "programVocabulary": 9, - "volume": 41.209025018750054, - "difficulty": 3.6, - "effort": 148.3524900675002, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getFilenameForClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodsCoverage": { - "line": 154, - "lineCount": 36, - "argCount": 1, - "returnCount": 3, - "variableCount": 8, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 13, - "N1": 12, - "N2": 30, - "programLength": 42, - "programVocabulary": 16, - "volume": 168, - "difficulty": 3.4615384615384612, - "effort": 581.5384615384614, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodsCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::calculateMethodCoverage": { - "line": 194, - "lineCount": 15, - "argCount": 2, - "returnCount": 2, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 11, - "N1": 9, - "N2": 23, - "programLength": 32, - "programVocabulary": 16, - "volume": 128, - "difficulty": 5.227272727272727, - "effort": 669.090909090909, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::calculateMethodCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodCoverageFromLines": { - "line": 215, - "lineCount": 36, - "argCount": 2, - "returnCount": 1, - "variableCount": 7, - "propertyCallCount": 0, - "ifNestingLevel": 2, - "elseCount": 0, - "ifCount": 5, - "halstead": { - "n1": 2, - "n2": 14, - "N1": 12, - "N2": 35, - "programLength": 47, - "programVocabulary": 16, - "volume": 188, - "difficulty": 2.5, - "effort": 470, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodCoverageFromLines" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStart": { - "line": 252, - "lineCount": 4, - "argCount": 3, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 3, - "N2": 7, - "programLength": 10, - "programVocabulary": 6, - "volume": 25.84962500721156, - "difficulty": 1.75, - "effort": 45.23684376262023, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStart" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodEnd": { - "line": 257, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 5, - "programLength": 7, - "programVocabulary": 5, - "volume": 16.253496664211536, - "difficulty": 1.6666666666666667, - "effort": 27.089161107019226, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodEnd" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStatement": { - "line": 262, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 5, - "programLength": 7, - "programVocabulary": 5, - "volume": 16.253496664211536, - "difficulty": 1.6666666666666667, - "effort": 27.089161107019226, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStatement" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isStatementCovered": { - "line": 267, - "lineCount": 5, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 4, - "N1": 3, - "N2": 6, - "programLength": 9, - "programVocabulary": 7, - "volume": 25.26619429851844, - "difficulty": 2.25, - "effort": 56.848937171666485, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isStatementCovered" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getLineCoverage": { - "line": 20, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 9, - "volume": 44.37895002019237, - "difficulty": 2.5, - "effort": 110.94737505048093, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getLineCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getBranchCoverage": { - "line": 34, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 9, - "volume": 44.37895002019237, - "difficulty": 2.5, - "effort": 110.94737505048093, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getBranchCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getComplexity": { - "line": 48, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 9, - "volume": 44.37895002019237, - "difficulty": 2.5, - "effort": 110.94737505048093, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getComplexity" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getCoverageDetails": { - "line": 62, - "lineCount": 13, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 8, - "N1": 7, - "N2": 16, - "programLength": 23, - "programVocabulary": 9, - "volume": 72.90827503317318, - "difficulty": 1, - "effort": 72.90827503317318, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getCoverageDetails" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::extractMethodsCoverage": { - "line": 81, - "lineCount": 23, - "argCount": 1, - "returnCount": 2, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 11, - "N1": 10, - "N2": 23, - "programLength": 33, - "programVocabulary": 14, - "volume": 125.64271242790093, - "difficulty": 3.1363636363636362, - "effort": 394.061234432962, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::extractMethodsCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CodeCoverageFactory::createFromName": { - "line": 14, - "lineCount": 8, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 4, - "N1": 1, - "N2": 8, - "programLength": 9, - "programVocabulary": 5, - "volume": 20.89735285398626, - "difficulty": 1, - "effort": 20.89735285398626, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CodeCoverageFactory::createFromName" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::__construct": { - "line": 28, - "lineCount": 15, - "argCount": 6, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 6, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 7, - "N1": 6, - "N2": 18, - "programLength": 24, - "programVocabulary": 8, - "volume": 72, - "difficulty": 1.2857142857142858, - "effort": 92.57142857142858, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getName": { - "line": 44, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getName" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getFilename": { - "line": 49, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getFilename" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getLineRate": { - "line": 54, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getLineRate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getBranchRate": { - "line": 59, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getBranchRate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getComplexity": { - "line": 64, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getComplexity" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getMethods": { - "line": 72, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getMethods" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::__construct": { - "line": 17, - "lineCount": 11, - "argCount": 4, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 4, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 5, - "N1": 4, - "N2": 12, - "programLength": 16, - "programVocabulary": 6, - "volume": 41.3594000115385, - "difficulty": 1.2, - "effort": 49.631280013846194, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getName": { - "line": 29, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getName" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getLineRate": { - "line": 34, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getLineRate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getBranchRate": { - "line": 39, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getBranchRate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getComplexity": { - "line": 44, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getComplexity" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::calculateDeltas": { - "line": 19, - "lineCount": 14, - "argCount": 2, - "returnCount": 0, - "variableCount": 6, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 9, - "N1": 4, - "N2": 18, - "programLength": 22, - "programVocabulary": 11, - "volume": 76.10749561002054, - "difficulty": 2, - "effort": 152.21499122004107, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::calculateDeltas" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::loadBaseline": { - "line": 41, - "lineCount": 13, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 5, - "N2": 9, - "programLength": 14, - "programVocabulary": 8, - "volume": 42, - "difficulty": 2.7, - "effort": 113.4, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::loadBaseline" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::__construct": { - "line": 72, - "lineCount": 21, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 6, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 9, - "N1": 12, - "N2": 34, - "programLength": 46, - "programVocabulary": 12, - "volume": 164.90827503317317, - "difficulty": 5.666666666666666, - "effort": 934.4802251879812, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setRequiredMetricProperties": { - "line": 98, - "lineCount": 30, - "argCount": 1, - "returnCount": 0, - "variableCount": 6, - "propertyCallCount": 9, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 21, - "N1": 21, - "N2": 51, - "programLength": 72, - "programVocabulary": 24, - "volume": 330.1173000519232, - "difficulty": 3.6428571428571423, - "effort": 1202.570164474863, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setRequiredMetricProperties" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setOptionalMetricProperties": { - "line": 133, - "lineCount": 12, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 8, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 11, - "N1": 16, - "N2": 33, - "programLength": 49, - "programVocabulary": 13, - "volume": 181.32154618891352, - "difficulty": 3, - "effort": 543.9646385667405, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setOptionalMetricProperties" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setTimesChanged": { - "line": 146, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setTimesChanged" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertSame": { - "line": 151, - "lineCount": 14, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 6, - "N2": 8, - "programLength": 14, - "programVocabulary": 5, - "volume": 32.50699332842307, - "difficulty": 2.6666666666666665, - "effort": 86.68531554246152, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertSame" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::calculateDeltas": { - "line": 169, - "lineCount": 13, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 16, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 17, - "N2": 27, - "programLength": 44, - "programVocabulary": 4, - "volume": 88, - "difficulty": 13.5, - "effort": 1188, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::calculateDeltas" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::fromArray": { - "line": 187, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::fromArray" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertArrayKeyIsPresent": { - "line": 197, - "lineCount": 6, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 5, - "programLength": 5, - "programVocabulary": 2, - "volume": 5, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertArrayKeyIsPresent" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getClass": { - "line": 204, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getMethod": { - "line": 209, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getMethod" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCount": { - "line": 214, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCount": { - "line": 219, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCount": { - "line": 224, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCount": { - "line": 229, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCount": { - "line": 234, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCount": { - "line": 239, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevel": { - "line": 244, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevel" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCount": { - "line": 249, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeight": { - "line": 254, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setLineCountWeight": { - "line": 259, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setLineCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeight": { - "line": 264, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setArgCountWeight": { - "line": 269, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setArgCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeight": { - "line": 274, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setReturnCountWeight": { - "line": 279, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setReturnCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeight": { - "line": 284, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setVariableCountWeight": { - "line": 289, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setVariableCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeight": { - "line": 294, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setPropertyCallCountWeight": { - "line": 299, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setPropertyCallCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeight": { - "line": 304, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfCountWeight": { - "line": 309, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeight": { - "line": 314, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfNestingLevelWeight": { - "line": 319, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfNestingLevelWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeight": { - "line": 324, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setElseCountWeight": { - "line": 329, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setElseCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setScore": { - "line": 334, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setScore" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getScore": { - "line": 339, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getScore" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setCoverage": { - "line": 344, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCoverage": { - "line": 349, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeightDelta": { - "line": 354, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeightDelta": { - "line": 359, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeightDelta": { - "line": 364, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeightDelta": { - "line": 369, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeightDelta": { - "line": 374, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeightDelta": { - "line": 379, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeightDelta": { - "line": 384, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeightDelta": { - "line": 389, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getTimesChanged": { - "line": 394, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 2, - "programLength": 3, - "programVocabulary": 3, - "volume": 4.754887502163468, - "difficulty": 0.5, - "effort": 2.377443751081734, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getTimesChanged" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getFileName": { - "line": 399, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getFileName" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLine": { - "line": 404, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLine" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::equals": { - "line": 409, - "lineCount": 5, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 2, - "N1": 5, - "N2": 5, - "programLength": 10, - "programVocabulary": 5, - "volume": 23.21928094887362, - "difficulty": 3.75, - "effort": 87.07230355827608, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::equals" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::toArray": { - "line": 418, - "lineCount": 34, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 29, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 30, - "N1": 0, - "N2": 58, - "programLength": 58, - "programVocabulary": 30, - "volume": 284.5996545452941, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::toArray" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::jsonSerialize": { - "line": 456, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::jsonSerialize" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getHalstead": { - "line": 464, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getHalstead" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCyclomatic": { - "line": 472, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCyclomatic" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::add": { - "line": 30, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 5, - "N2": 6, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 3, - "effort": 85.30376252379816, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::add" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filter": { - "line": 40, - "lineCount": 11, - "argCount": 1, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 8, - "volume": 42, - "difficulty": 3, - "effort": 126, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filter" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getIterator": { - "line": 57, - "lineCount": 5, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getIterator" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::count": { - "line": 66, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::count" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterWithScoreGreaterThan": { - "line": 71, - "lineCount": 6, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 3, - "N2": 6, - "programLength": 9, - "programVocabulary": 5, - "volume": 20.89735285398626, - "difficulty": 2, - "effort": 41.79470570797252, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterWithScoreGreaterThan" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::contains": { - "line": 78, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 4, - "N2": 5, - "programLength": 9, - "programVocabulary": 5, - "volume": 20.89735285398626, - "difficulty": 1.6666666666666667, - "effort": 34.82892142331043, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::contains" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getClassWithMethod": { - "line": 83, - "lineCount": 9, - "argCount": 2, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 3, - "N2": 10, - "programLength": 13, - "programVocabulary": 7, - "volume": 36.49561398674886, - "difficulty": 2, - "effort": 72.99122797349771, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getClassWithMethod" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterByClassName": { - "line": 93, - "lineCount": 6, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 3, - "N2": 6, - "programLength": 9, - "programVocabulary": 5, - "volume": 20.89735285398626, - "difficulty": 2, - "effort": 41.79470570797252, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterByClassName" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::assertMetricHasGetter": { - "line": 100, - "lineCount": 9, - "argCount": 3, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 6, - "programLength": 7, - "programVocabulary": 4, - "volume": 14, - "difficulty": 1, - "effort": 14, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::assertMetricHasGetter" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::groupBy": { - "line": 117, - "lineCount": 20, - "argCount": 1, - "returnCount": 1, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 10, - "N2": 23, - "programLength": 33, - "programVocabulary": 11, - "volume": 114.16124341503081, - "difficulty": 6.571428571428571, - "effort": 750.2024567273453, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::groupBy" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::jsonSerialize": { - "line": 141, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::jsonSerialize" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::__construct": { - "line": 32, - "lineCount": 8, - "argCount": 5, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 5, - "N1": 0, - "N2": 5, - "programLength": 5, - "programVocabulary": 5, - "volume": 11.60964047443681, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collect": { - "line": 49, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 5, - "programLength": 6, - "programVocabulary": 4, - "volume": 12, - "difficulty": 0.8333333333333334, - "effort": 10, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collect" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collectFromPaths": { - "line": 62, - "lineCount": 13, - "argCount": 2, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 8, - "N2": 16, - "programLength": 24, - "programVocabulary": 9, - "volume": 76.07820003461549, - "difficulty": 4, - "effort": 304.31280013846197, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collectFromPaths" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCodeFromFile": { - "line": 79, - "lineCount": 10, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 2, - "N1": 5, - "N2": 6, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 6, - "effort": 170.6075250475963, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCodeFromFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findMetrics": { - "line": 98, - "lineCount": 31, - "argCount": 1, - "returnCount": 1, - "variableCount": 9, - "propertyCallCount": 2, - "ifNestingLevel": 2, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 13, - "N1": 18, - "N2": 38, - "programLength": 56, - "programVocabulary": 16, - "volume": 224, - "difficulty": 4.384615384615384, - "effort": 982.1538461538461, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findMetrics" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processMethodMetrics": { - "line": 136, - "lineCount": 29, - "argCount": 3, - "returnCount": 1, - "variableCount": 7, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 14, - "N1": 8, - "N2": 27, - "programLength": 35, - "programVocabulary": 17, - "volume": 143.06119944376186, - "difficulty": 2.892857142857143, - "effort": 413.8556126765968, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processMethodMetrics" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::isExcluded": { - "line": 166, - "lineCount": 12, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 5, - "N1": 5, - "N2": 9, - "programLength": 14, - "programVocabulary": 9, - "volume": 44.37895002019237, - "difficulty": 3.6, - "effort": 159.76422007269252, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::isExcluded" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findSourceFiles": { - "line": 187, - "lineCount": 7, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 2, - "N2": 6, - "programLength": 8, - "programVocabulary": 6, - "volume": 20.67970000576925, - "difficulty": 1.5, - "effort": 31.019550008653873, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findSourceFiles" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getProjectRoot": { - "line": 202, - "lineCount": 13, - "argCount": 0, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 2, - "N1": 8, - "N2": 8, - "programLength": 16, - "programVocabulary": 6, - "volume": 41.3594000115385, - "difficulty": 8, - "effort": 330.875200092308, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getProjectRoot" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateCacheKey": { - "line": 219, - "lineCount": 7, - "argCount": 2, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 6, - "N1": 10, - "N2": 12, - "programLength": 22, - "programVocabulary": 10, - "volume": 73.08241808752197, - "difficulty": 4, - "effort": 292.3296723500879, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateCacheKey" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateConfigHash": { - "line": 230, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 1, - "N1": 3, - "N2": 2, - "programLength": 5, - "programVocabulary": 3, - "volume": 7.92481250360578, - "difficulty": 2, - "effort": 15.84962500721156, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateConfigHash" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::cacheResult": { - "line": 239, - "lineCount": 14, - "argCount": 4, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 13, - "N1": 5, - "N2": 20, - "programLength": 25, - "programVocabulary": 15, - "volume": 97.67226489021297, - "difficulty": 1.5384615384615385, - "effort": 150.26502290801997, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::cacheResult" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::clearCache": { - "line": 254, - "lineCount": 4, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::clearCache" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::normalizeFilename": { - "line": 264, - "lineCount": 15, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 6, - "n2": 7, - "N1": 12, - "N2": 16, - "programLength": 28, - "programVocabulary": 13, - "volume": 103.61231210795059, - "difficulty": 6.857142857142857, - "effort": 710.4844258830897, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::normalizeFilename" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCachedMetrics": { - "line": 286, - "lineCount": 19, - "argCount": 3, - "returnCount": 3, - "variableCount": 4, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 11, - "N1": 10, - "N2": 29, - "programLength": 39, - "programVocabulary": 14, - "volume": 148.48684196024655, - "difficulty": 3.954545454545454, - "effort": 587.1979659337022, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCachedMetrics" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processFile": { - "line": 312, - "lineCount": 37, - "argCount": 5, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 7, - "n2": 10, - "N1": 12, - "N2": 28, - "programLength": 40, - "programVocabulary": 17, - "volume": 163.49851365001356, - "difficulty": 9.799999999999999, - "effort": 1602.2854337701328, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::sort": { - "line": 51, - "lineCount": 41, - "argCount": 3, - "returnCount": 2, - "variableCount": 10, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 18, - "N1": 20, - "N2": 43, - "programLength": 63, - "programVocabulary": 22, - "volume": 280.9441919741497, - "difficulty": 4.777777777777778, - "effort": 1342.2889172098264, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::sort" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getFieldValue": { - "line": 100, - "lineCount": 28, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 25, - "N1": 24, - "N2": 50, - "programLength": 74, - "programVocabulary": 27, - "volume": 351.86167516009664, - "difficulty": 2, - "effort": 703.7233503201933, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getFieldValue" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::compareValues": { - "line": 136, - "lineCount": 13, - "argCount": 2, - "returnCount": 3, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 2, - "N1": 9, - "N2": 12, - "programLength": 21, - "programVocabulary": 5, - "volume": 48.760489992634604, - "difficulty": 9, - "effort": 438.8444099337114, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::compareValues" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getSortableFields": { - "line": 155, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 0, - "N1": 0, - "N2": 0, - "programLength": 0, - "programVocabulary": 0, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getSortableFields" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__construct": { - "line": 15, - "lineCount": 11, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 7, - "N2": 12, - "programLength": 19, - "programVocabulary": 6, - "volume": 49.11428751370197, - "difficulty": 6, - "effort": 294.6857250822118, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::getValue": { - "line": 27, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::getValue" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasIncreased": { - "line": 32, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasIncreased" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__toString": { - "line": 37, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__toString" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasNotChanged": { - "line": 42, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 2, - "programLength": 3, - "programVocabulary": 3, - "volume": 4.754887502163468, - "difficulty": 0.5, - "effort": 2.377443751081734, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasNotChanged" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\FileProcessed::__construct": { - "line": 14, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\FileProcessed::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\ParserFailed::__construct": { - "line": 15, - "lineCount": 5, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\ParserFailed::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\SourceFilesFound::__construct": { - "line": 17, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\SourceFilesFound::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::__construct": { - "line": 15, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::create": { - "line": 27, - "lineCount": 10, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 6, - "N1": 0, - "N2": 8, - "programLength": 8, - "programVocabulary": 6, - "volume": 20.67970000576925, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::create" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::getSupportedTypes": { - "line": 43, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 4, - "N1": 0, - "N2": 4, - "programLength": 4, - "programVocabulary": 4, - "volume": 8, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::getSupportedTypes" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::isSupported": { - "line": 54, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 2, - "N2": 3, - "programLength": 5, - "programVocabulary": 4, - "volume": 10, - "difficulty": 1.5, - "effort": 15, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::isSupported" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CsvExporter::export": { - "line": 46, - "lineCount": 57, - "argCount": 2, - "returnCount": 0, - "variableCount": 6, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 15, - "N1": 37, - "N2": 54, - "programLength": 91, - "programVocabulary": 19, - "volume": 386.56140372336625, - "difficulty": 7.2, - "effort": 2783.242106808237, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CsvExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::export": { - "line": 40, - "lineCount": 8, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 5, - "N1": 4, - "N2": 8, - "programLength": 12, - "programVocabulary": 9, - "volume": 38.039100017307746, - "difficulty": 3.2, - "effort": 121.72512005538479, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::escape": { - "line": 49, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::escape" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::formatNumber": { - "line": 54, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::formatNumber" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::generateMetricRow": { - "line": 59, - "lineCount": 12, - "argCount": 3, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 16, - "N1": 19, - "N2": 27, - "programLength": 46, - "programVocabulary": 21, - "volume": 202.04660144782298, - "difficulty": 4.21875, - "effort": 852.3840998580032, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::generateMetricRow" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::generateHtml": { - "line": 78, - "lineCount": 64, - "argCount": 1, - "returnCount": 1, - "variableCount": 7, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 11, - "N1": 46, - "N2": 57, - "programLength": 103, - "programVocabulary": 15, - "volume": 402.40973134767745, - "difficulty": 10.363636363636363, - "effort": 4170.42812487593, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::generateHtml" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\JsonExporter::export": { - "line": 19, - "lineCount": 38, - "argCount": 2, - "returnCount": 0, - "variableCount": 5, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 27, - "N1": 29, - "N2": 58, - "programLength": 87, - "programVocabulary": 32, - "volume": 435, - "difficulty": 5.370370370370371, - "effort": 2336.1111111111113, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\JsonExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::__construct": { - "line": 24, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::export": { - "line": 36, - "lineCount": 8, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 5, - "N1": 4, - "N2": 8, - "programLength": 12, - "programVocabulary": 9, - "volume": 38.039100017307746, - "difficulty": 3.2, - "effort": 121.72512005538479, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::escape": { - "line": 48, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::escape" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateMetricCell": { - "line": 56, - "lineCount": 12, - "argCount": 3, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 12, - "N1": 16, - "N2": 24, - "programLength": 40, - "programVocabulary": 17, - "volume": 163.49851365001356, - "difficulty": 5, - "effort": 817.4925682500678, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateMetricCell" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::filterMetrics": { - "line": 75, - "lineCount": 15, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 4, - "N1": 4, - "N2": 11, - "programLength": 15, - "programVocabulary": 7, - "volume": 42.11032383086406, - "difficulty": 4.125, - "effort": 173.70508580231424, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::filterMetrics" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableHeader": { - "line": 94, - "lineCount": 33, - "argCount": 0, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 4, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 19, - "N1": 10, - "N2": 28, - "programLength": 38, - "programVocabulary": 22, - "volume": 169.4584015082173, - "difficulty": 2.2105263157894735, - "effort": 374.5922559655329, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableHeader" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableHeaderWithClass": { - "line": 131, - "lineCount": 33, - "argCount": 0, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 4, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 20, - "N1": 10, - "N2": 29, - "programLength": 39, - "programVocabulary": 23, - "volume": 176.41891628622352, - "difficulty": 2.175, - "effort": 383.7111429225361, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableHeaderWithClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableSeparator": { - "line": 168, - "lineCount": 20, - "argCount": 0, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 4, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 7, - "N1": 3, - "N2": 16, - "programLength": 19, - "programVocabulary": 10, - "volume": 63.11663380285988, - "difficulty": 3.4285714285714284, - "effort": 216.399887324091, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableSeparator" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableSeparatorWithClass": { - "line": 192, - "lineCount": 20, - "argCount": 0, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 4, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 8, - "N1": 3, - "N2": 16, - "programLength": 19, - "programVocabulary": 11, - "volume": 65.72920075410865, - "difficulty": 3, - "effort": 197.18760226232592, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableSeparatorWithClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableRow": { - "line": 216, - "lineCount": 22, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 6, - "N1": 53, - "N2": 60, - "programLength": 113, - "programVocabulary": 10, - "volume": 375.37787472227194, - "difficulty": 20, - "effort": 7507.557494445438, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableRow" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableRowWithClass": { - "line": 242, - "lineCount": 25, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 6, - "N1": 55, - "N2": 62, - "programLength": 117, - "programVocabulary": 10, - "volume": 388.66558710182136, - "difficulty": 20.666666666666668, - "effort": 8032.422133437642, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableRowWithClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::addHalsteadCells": { - "line": 274, - "lineCount": 20, - "argCount": 2, - "returnCount": 3, - "variableCount": 2, - "propertyCallCount": 5, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 12, - "N2": 24, - "programLength": 36, - "programVocabulary": 8, - "volume": 108, - "difficulty": 7.199999999999999, - "effort": 777.5999999999999, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::addHalsteadCells" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::addCyclomaticCell": { - "line": 301, - "lineCount": 16, - "argCount": 2, - "returnCount": 3, - "variableCount": 2, - "propertyCallCount": 4, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 8, - "N2": 16, - "programLength": 24, - "programVocabulary": 11, - "volume": 83.02635884729514, - "difficulty": 4.571428571428571, - "effort": 379.5490690162063, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::addCyclomaticCell" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateMarkdown": { - "line": 325, - "lineCount": 8, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 2, - "N2": 6, - "programLength": 8, - "programVocabulary": 3, - "volume": 12.679700005769249, - "difficulty": 1.5, - "effort": 19.019550008653873, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateMarkdown" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateGroupedMarkdown": { - "line": 337, - "lineCount": 49, - "argCount": 1, - "returnCount": 1, - "variableCount": 10, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 8, - "n2": 23, - "N1": 33, - "N2": 65, - "programLength": 98, - "programVocabulary": 31, - "volume": 485.5112384179137, - "difficulty": 11.304347826086957, - "effort": 5488.387912550329, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateGroupedMarkdown" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateSingleTableMarkdown": { - "line": 390, - "lineCount": 28, - "argCount": 1, - "returnCount": 1, - "variableCount": 6, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 6, - "n2": 13, - "N1": 19, - "N2": 37, - "programLength": 56, - "programVocabulary": 19, - "volume": 237.88394075284077, - "difficulty": 8.538461538461538, - "effort": 2031.1628787357943, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateSingleTableMarkdown" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::__construct": { - "line": 32, - "lineCount": 26, - "argCount": 2, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 7, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 14, - "N2": 22, - "programLength": 36, - "programVocabulary": 5, - "volume": 83.58941141594504, - "difficulty": 7.333333333333333, - "effort": 612.9890170502636, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::parse": { - "line": 63, - "lineCount": 37, - "argCount": 1, - "returnCount": 1, - "variableCount": 9, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 14, - "N1": 16, - "N2": 43, - "programLength": 59, - "programVocabulary": 17, - "volume": 241.16030763377, - "difficulty": 4.607142857142858, - "effort": 1111.0599887412977, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::parse" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::scanForAnnotations": { - "line": 104, - "lineCount": 20, - "argCount": 1, - "returnCount": 0, - "variableCount": 4, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 7, - "N1": 8, - "N2": 16, - "programLength": 24, - "programVocabulary": 10, - "volume": 79.7262742772967, - "difficulty": 3.4285714285714284, - "effort": 273.34722609358863, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::scanForAnnotations" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::traverseAbstractSyntaxTreeWithCombinedVisitor": { - "line": 129, - "lineCount": 17, - "argCount": 1, - "returnCount": 0, - "variableCount": 4, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 7, - "N1": 7, - "N2": 15, - "programLength": 22, - "programVocabulary": 10, - "volume": 73.08241808752197, - "difficulty": 3.2142857142857144, - "effort": 234.90777242417778, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::traverseAbstractSyntaxTreeWithCombinedVisitor" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getIgnored": { - "line": 153, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getIgnored" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getIgnoredClasses": { - "line": 163, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getIgnoredClasses" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getIgnoredMethods": { - "line": 173, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getIgnoredMethods" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::clearStaticCaches": { - "line": 181, - "lineCount": 15, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 9, - "N1": 7, - "N2": 19, - "programLength": 26, - "programVocabulary": 10, - "volume": 86.37013046707142, - "difficulty": 1.0555555555555556, - "effort": 91.16847104857538, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::clearStaticCaches" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::clearStaticProperty": { - "line": 200, - "lineCount": 14, - "argCount": 2, - "returnCount": 0, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 6, - "N2": 12, - "programLength": 18, - "programVocabulary": 7, - "volume": 50.53238859703688, - "difficulty": 2.4, - "effort": 121.2777326328885, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::clearStaticProperty" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getRiskLevel": { - "line": 218, - "lineCount": 9, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 8, - "N1": 3, - "N2": 11, - "programLength": 14, - "programVocabulary": 9, - "volume": 44.37895002019237, - "difficulty": 0.6875, - "effort": 30.510528138882254, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getRiskLevel" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculate": { - "line": 47, - "lineCount": 5, - "argCount": 2, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 2, - "N2": 8, - "programLength": 10, - "programVocabulary": 4, - "volume": 20, - "difficulty": 1.3333333333333333, - "effort": 26.666666666666664, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculateScore": { - "line": 53, - "lineCount": 10, - "argCount": 1, - "returnCount": 0, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 9, - "N1": 7, - "N2": 15, - "programLength": 22, - "programVocabulary": 13, - "volume": 81.40967379910403, - "difficulty": 3.3333333333333335, - "effort": 271.36557933034675, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculateScore" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculateMetricWeights": { - "line": 70, - "lineCount": 17, - "argCount": 3, - "returnCount": 0, - "variableCount": 6, - "propertyCallCount": 3, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 12, - "N1": 9, - "N2": 24, - "programLength": 33, - "programVocabulary": 15, - "volume": 128.92738965508113, - "difficulty": 3, - "effort": 386.7821689652434, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculateMetricWeights" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculateLogWeight": { - "line": 132, - "lineCount": 8, - "argCount": 3, - "returnCount": 2, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 5, - "N1": 5, - "N2": 11, - "programLength": 16, - "programVocabulary": 10, - "volume": 53.150849518197795, - "difficulty": 5.5, - "effort": 292.3296723500879, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculateLogWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cyclomatic\\CyclomaticMetrics::__construct": { - "line": 129, - "lineCount": 23, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 19, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 43, - "N1": 56, - "N2": 130, - "programLength": 186, - "programVocabulary": 45, - "volume": 1021.4846759173195, - "difficulty": 3.0232558139534884, - "effort": 3088.209485331431, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cyclomatic\\CyclomaticMetrics::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::escapeMarkdown": { - "line": 18, - "lineCount": 6, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 1, - "n2": 5, - "N1": 1, - "N2": 6, - "programLength": 7, - "programVocabulary": 6, - "volume": 18.094737505048094, - "difficulty": 0.6, - "effort": 10.856842503028856, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::escapeMarkdown" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::formatNumber": { - "line": 32, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 5, - "programLength": 6, - "programVocabulary": 4, - "volume": 12, - "difficulty": 0.8333333333333334, - "effort": 10, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::formatNumber" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::buildTableHeader": { - "line": 43, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 3, - "N2": 5, - "programLength": 8, - "programVocabulary": 6, - "volume": 20.67970000576925, - "difficulty": 1.25, - "effort": 25.84962500721156, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::buildTableHeader" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::buildTableSeparator": { - "line": 54, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 4, - "programLength": 6, - "programVocabulary": 5, - "volume": 13.931568569324174, - "difficulty": 1.3333333333333333, - "effort": 18.575424759098897, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::buildTableSeparator" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::buildTableRow": { - "line": 65, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 3, - "N2": 5, - "programLength": 8, - "programVocabulary": 6, - "volume": 20.67970000576925, - "difficulty": 1.25, - "effort": 25.84962500721156, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::buildTableRow" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::formatPercentage": { - "line": 77, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 2, - "N2": 6, - "programLength": 8, - "programVocabulary": 6, - "volume": 20.67970000576925, - "difficulty": 1.5, - "effort": 31.019550008653873, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::formatPercentage" - } - } - }, - "ignored_items": [], - "cached_at": 1759967601 -} \ No newline at end of file diff --git a/.phpcca.cache/19/198de61574362eaedc78c9eae4c78ac3.cache b/.phpcca.cache/19/198de61574362eaedc78c9eae4c78ac3.cache deleted file mode 100644 index 2f992fe..0000000 --- a/.phpcca.cache/19/198de61574362eaedc78c9eae4c78ac3.cache +++ /dev/null @@ -1,813 +0,0 @@ -{ - "version": "1.0", - "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/Command\/CognitiveMetricsCommand.php", - "file_mtime": 1759964701, - "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", - "analysis_result": { - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::__construct": { - "line": 26, - "lineCount": 5, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 4, - "N1": 3, - "N2": 6, - "programLength": 9, - "programVocabulary": 7, - "volume": 25.26619429851844, - "difficulty": 2.25, - "effort": 56.848937171666485, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItem": { - "line": 35, - "lineCount": 15, - "argCount": 1, - "returnCount": 3, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 6, - "N2": 13, - "programLength": 19, - "programVocabulary": 8, - "volume": 57, - "difficulty": 6.5, - "effort": 370.5, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItem" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItems": { - "line": 55, - "lineCount": 9, - "argCount": 1, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 3, - "N2": 9, - "programLength": 12, - "programVocabulary": 6, - "volume": 31.019550008653873, - "difficulty": 2.25, - "effort": 69.79398751947122, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItems" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::hasItem": { - "line": 68, - "lineCount": 6, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 5, - "n2": 3, - "N1": 6, - "N2": 7, - "programLength": 13, - "programVocabulary": 8, - "volume": 39, - "difficulty": 5.833333333333334, - "effort": 227.50000000000003, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::hasItem" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::clear": { - "line": 75, - "lineCount": 10, - "argCount": 0, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 2, - "N2": 4, - "programLength": 6, - "programVocabulary": 3, - "volume": 9.509775004326936, - "difficulty": 1, - "effort": 9.509775004326936, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::clear" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItem": { - "line": 89, - "lineCount": 10, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 4, - "N2": 6, - "programLength": 10, - "programVocabulary": 6, - "volume": 25.84962500721156, - "difficulty": 3, - "effort": 77.54887502163469, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItem" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItems": { - "line": 103, - "lineCount": 10, - "argCount": 1, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 3, - "N2": 8, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 2, - "effort": 56.86917501586544, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItems" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::save": { - "line": 117, - "lineCount": 11, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 4, - "N1": 9, - "N2": 12, - "programLength": 21, - "programVocabulary": 7, - "volume": 58.95445336320969, - "difficulty": 4.5, - "effort": 265.2950401344436, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::save" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveDeferred": { - "line": 129, - "lineCount": 6, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveDeferred" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::commit": { - "line": 136, - "lineCount": 11, - "argCount": 0, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 4, - "N2": 8, - "programLength": 12, - "programVocabulary": 5, - "volume": 27.863137138648348, - "difficulty": 2.6666666666666665, - "effort": 74.30169903639559, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::commit" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::ensureCacheDirectory": { - "line": 152, - "lineCount": 9, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 3, - "N2": 4, - "programLength": 7, - "programVocabulary": 4, - "volume": 14, - "difficulty": 2, - "effort": 28, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::ensureCacheDirectory" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getCacheFilePath": { - "line": 168, - "lineCount": 15, - "argCount": 1, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 10, - "N1": 13, - "N2": 19, - "programLength": 32, - "programVocabulary": 14, - "volume": 121.83535750584333, - "difficulty": 3.8, - "effort": 462.9743585222046, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getCacheFilePath" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::loadCacheData": { - "line": 187, - "lineCount": 14, - "argCount": 1, - "returnCount": 3, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 6, - "N2": 8, - "programLength": 14, - "programVocabulary": 6, - "volume": 36.18947501009619, - "difficulty": 4, - "effort": 144.75790004038475, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::loadCacheData" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveCacheData": { - "line": 209, - "lineCount": 21, - "argCount": 2, - "returnCount": 3, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 6, - "n2": 7, - "N1": 13, - "N2": 17, - "programLength": 30, - "programVocabulary": 13, - "volume": 111.01319154423277, - "difficulty": 7.285714285714285, - "effort": 808.810395536553, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveCacheData" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::sanitizeUtf8": { - "line": 234, - "lineCount": 25, - "argCount": 1, - "returnCount": 4, - "variableCount": 6, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 8, - "N1": 13, - "N2": 29, - "programLength": 42, - "programVocabulary": 11, - "volume": 145.29612798276648, - "difficulty": 5.4375, - "effort": 790.0476959062927, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::sanitizeUtf8" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::removeDirectory": { - "line": 260, - "lineCount": 23, - "argCount": 1, - "returnCount": 2, - "variableCount": 5, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 5, - "n2": 9, - "N1": 13, - "N2": 20, - "programLength": 33, - "programVocabulary": 14, - "volume": 125.64271242790093, - "difficulty": 5.555555555555555, - "effort": 698.0150690438941, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::removeDirectory" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::__construct": { - "line": 42, - "lineCount": 7, - "argCount": 3, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 3, - "N1": 0, - "N2": 3, - "programLength": 3, - "programVocabulary": 3, - "volume": 4.754887502163468, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::configure": { - "line": 53, - "lineCount": 57, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 15, - "N1": 9, - "N2": 16, - "programLength": 25, - "programVocabulary": 16, - "volume": 100, - "difficulty": 0.5333333333333333, - "effort": 53.333333333333336, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::configure" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::execute": { - "line": 119, - "lineCount": 43, - "argCount": 2, - "returnCount": 5, - "variableCount": 9, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 4, - "halstead": { - "n1": 7, - "n2": 14, - "N1": 31, - "N2": 45, - "programLength": 76, - "programVocabulary": 21, - "volume": 333.8161241311858, - "difficulty": 11.25, - "effort": 3755.4313964758403, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::execute" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::loadCoverageReader": { - "line": 171, - "lineCount": 32, - "argCount": 3, - "returnCount": 4, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 2, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 4, - "n2": 9, - "N1": 9, - "N2": 21, - "programLength": 30, - "programVocabulary": 13, - "volume": 111.01319154423277, - "difficulty": 4.666666666666667, - "effort": 518.0615605397529, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::loadCoverageReader" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::detectCoverageFormat": { - "line": 207, - "lineCount": 19, - "argCount": 1, - "returnCount": 4, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 9, - "volume": 47.548875021634686, - "difficulty": 2.5, - "effort": 118.87218755408671, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::detectCoverageFormat" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::coverageFileExists": { - "line": 227, - "lineCount": 20, - "argCount": 2, - "returnCount": 3, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 4, - "N2": 7, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 3.5, - "effort": 99.52105627776452, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::coverageFileExists" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::__construct": { - "line": 49, - "lineCount": 10, - "argCount": 6, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 0, - "n2": 6, - "N1": 0, - "N2": 6, - "programLength": 6, - "programVocabulary": 6, - "volume": 15.509775004326936, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::configure": { - "line": 63, - "lineCount": 76, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 1, - "n2": 20, - "N1": 13, - "N2": 20, - "programLength": 33, - "programVocabulary": 21, - "volume": 144.94647495169912, - "difficulty": 0.5, - "effort": 72.47323747584956, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::configure" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::execute": { - "line": 150, - "lineCount": 52, - "argCount": 2, - "returnCount": 5, - "variableCount": 11, - "propertyCallCount": 6, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 7, - "cyclomatic_complexity": { - "complexity": 8, - "risk_level": "medium" - }, - "halstead": { - "n1": 6, - "n2": 15, - "N1": 43, - "N2": 61, - "programLength": 104, - "programVocabulary": 21, - "volume": 456.80101196899113, - "difficulty": 12.2, - "effort": 5572.972346021692, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::execute" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::parsePaths": { - "line": 209, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 4, - "N2": 8, - "programLength": 12, - "programVocabulary": 7, - "volume": 33.68825906469125, - "difficulty": 1.6, - "effort": 53.901214503506004, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::parsePaths" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleBaseLine": { - "line": 224, - "lineCount": 8, - "argCount": 2, - "returnCount": 0, - "variableCount": 3, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "cyclomatic_complexity": { - "complexity": 2, - "risk_level": "low" - }, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 5, - "N2": 11, - "programLength": 16, - "programVocabulary": 7, - "volume": 44.91767875292167, - "difficulty": 2.2, - "effort": 98.81889325642767, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleBaseLine" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleCoverageOptions": { - "line": 238, - "lineCount": 20, - "argCount": 2, - "returnCount": 3, - "variableCount": 5, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "cyclomatic_complexity": { - "complexity": 5, - "risk_level": "low" - }, - "halstead": { - "n1": 5, - "n2": 10, - "N1": 15, - "N2": 25, - "programLength": 40, - "programVocabulary": 15, - "volume": 156.27562382434076, - "difficulty": 6.25, - "effort": 976.7226489021298, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleCoverageOptions" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::applySorting": { - "line": 264, - "lineCount": 21, - "argCount": 3, - "returnCount": 3, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "cyclomatic_complexity": { - "complexity": 3, - "risk_level": "low" - }, - "halstead": { - "n1": 5, - "n2": 15, - "N1": 16, - "N2": 32, - "programLength": 48, - "programVocabulary": 20, - "volume": 207.45254855459342, - "difficulty": 5.333333333333333, - "effort": 1106.4135922911648, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::applySorting" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadConfiguration": { - "line": 293, - "lineCount": 10, - "argCount": 2, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 2, - "risk_level": "low" - }, - "halstead": { - "n1": 2, - "n2": 6, - "N1": 5, - "N2": 9, - "programLength": 14, - "programVocabulary": 8, - "volume": 42, - "difficulty": 1.5, - "effort": 63, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadConfiguration" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadCoverageReader": { - "line": 313, - "lineCount": 28, - "argCount": 3, - "returnCount": 4, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 2, - "elseCount": 0, - "ifCount": 3, - "cyclomatic_complexity": { - "complexity": 5, - "risk_level": "low" - }, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 10, - "N2": 18, - "programLength": 28, - "programVocabulary": 11, - "volume": 96.86408532184433, - "difficulty": 5.142857142857143, - "effort": 498.15815308377086, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadCoverageReader" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::detectCoverageFormat": { - "line": 345, - "lineCount": 19, - "argCount": 1, - "returnCount": 4, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "cyclomatic_complexity": { - "complexity": 4, - "risk_level": "low" - }, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 9, - "volume": 47.548875021634686, - "difficulty": 2.5, - "effort": 118.87218755408671, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::detectCoverageFormat" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::coverageFileExists": { - "line": 365, - "lineCount": 20, - "argCount": 2, - "returnCount": 3, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "cyclomatic_complexity": { - "complexity": 3, - "risk_level": "low" - }, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 4, - "N2": 7, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 3.5, - "effort": 99.52105627776452, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::coverageFileExists" - } - } - }, - "ignored_items": [], - "cached_at": 1759967601 -} \ No newline at end of file diff --git a/.phpcca.cache/1b/1b5d2a0265f17399a1e7fccd66f984d9.cache b/.phpcca.cache/1b/1b5d2a0265f17399a1e7fccd66f984d9.cache deleted file mode 100644 index 6a0dac2..0000000 --- a/.phpcca.cache/1b/1b5d2a0265f17399a1e7fccd66f984d9.cache +++ /dev/null @@ -1,2479 +0,0 @@ -{ - "version": "1.0", - "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/Config\/ConfigLoader.php", - "file_mtime": 1759965497, - "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", - "analysis_result": { - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::__construct": { - "line": 26, - "lineCount": 5, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 4, - "N1": 3, - "N2": 6, - "programLength": 9, - "programVocabulary": 7, - "volume": 25.26619429851844, - "difficulty": 2.25, - "effort": 56.848937171666485, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItem": { - "line": 35, - "lineCount": 15, - "argCount": 1, - "returnCount": 3, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 6, - "N2": 13, - "programLength": 19, - "programVocabulary": 8, - "volume": 57, - "difficulty": 6.5, - "effort": 370.5, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItem" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItems": { - "line": 55, - "lineCount": 9, - "argCount": 1, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 3, - "N2": 9, - "programLength": 12, - "programVocabulary": 6, - "volume": 31.019550008653873, - "difficulty": 2.25, - "effort": 69.79398751947122, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItems" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::hasItem": { - "line": 68, - "lineCount": 6, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 5, - "n2": 3, - "N1": 6, - "N2": 7, - "programLength": 13, - "programVocabulary": 8, - "volume": 39, - "difficulty": 5.833333333333334, - "effort": 227.50000000000003, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::hasItem" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::clear": { - "line": 75, - "lineCount": 10, - "argCount": 0, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 2, - "N2": 4, - "programLength": 6, - "programVocabulary": 3, - "volume": 9.509775004326936, - "difficulty": 1, - "effort": 9.509775004326936, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::clear" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItem": { - "line": 89, - "lineCount": 10, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 4, - "N2": 6, - "programLength": 10, - "programVocabulary": 6, - "volume": 25.84962500721156, - "difficulty": 3, - "effort": 77.54887502163469, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItem" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItems": { - "line": 103, - "lineCount": 10, - "argCount": 1, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 3, - "N2": 8, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 2, - "effort": 56.86917501586544, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItems" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::save": { - "line": 117, - "lineCount": 11, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 4, - "N1": 9, - "N2": 12, - "programLength": 21, - "programVocabulary": 7, - "volume": 58.95445336320969, - "difficulty": 4.5, - "effort": 265.2950401344436, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::save" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveDeferred": { - "line": 129, - "lineCount": 6, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveDeferred" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::commit": { - "line": 136, - "lineCount": 11, - "argCount": 0, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 4, - "N2": 8, - "programLength": 12, - "programVocabulary": 5, - "volume": 27.863137138648348, - "difficulty": 2.6666666666666665, - "effort": 74.30169903639559, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::commit" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::ensureCacheDirectory": { - "line": 152, - "lineCount": 9, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 3, - "N2": 4, - "programLength": 7, - "programVocabulary": 4, - "volume": 14, - "difficulty": 2, - "effort": 28, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::ensureCacheDirectory" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getCacheFilePath": { - "line": 168, - "lineCount": 15, - "argCount": 1, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 10, - "N1": 13, - "N2": 19, - "programLength": 32, - "programVocabulary": 14, - "volume": 121.83535750584333, - "difficulty": 3.8, - "effort": 462.9743585222046, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getCacheFilePath" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::loadCacheData": { - "line": 187, - "lineCount": 14, - "argCount": 1, - "returnCount": 3, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 6, - "N2": 8, - "programLength": 14, - "programVocabulary": 6, - "volume": 36.18947501009619, - "difficulty": 4, - "effort": 144.75790004038475, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::loadCacheData" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveCacheData": { - "line": 209, - "lineCount": 21, - "argCount": 2, - "returnCount": 3, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 6, - "n2": 7, - "N1": 13, - "N2": 17, - "programLength": 30, - "programVocabulary": 13, - "volume": 111.01319154423277, - "difficulty": 7.285714285714285, - "effort": 808.810395536553, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveCacheData" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::sanitizeUtf8": { - "line": 234, - "lineCount": 25, - "argCount": 1, - "returnCount": 4, - "variableCount": 6, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 8, - "N1": 13, - "N2": 29, - "programLength": 42, - "programVocabulary": 11, - "volume": 145.29612798276648, - "difficulty": 5.4375, - "effort": 790.0476959062927, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::sanitizeUtf8" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::removeDirectory": { - "line": 260, - "lineCount": 23, - "argCount": 1, - "returnCount": 2, - "variableCount": 5, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 5, - "n2": 9, - "N1": 13, - "N2": 20, - "programLength": 33, - "programVocabulary": 14, - "volume": 125.64271242790093, - "difficulty": 5.555555555555555, - "effort": 698.0150690438941, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::removeDirectory" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::__construct": { - "line": 42, - "lineCount": 7, - "argCount": 3, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 3, - "N1": 0, - "N2": 3, - "programLength": 3, - "programVocabulary": 3, - "volume": 4.754887502163468, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::configure": { - "line": 53, - "lineCount": 57, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 15, - "N1": 9, - "N2": 16, - "programLength": 25, - "programVocabulary": 16, - "volume": 100, - "difficulty": 0.5333333333333333, - "effort": 53.333333333333336, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::configure" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::execute": { - "line": 119, - "lineCount": 43, - "argCount": 2, - "returnCount": 5, - "variableCount": 9, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 4, - "halstead": { - "n1": 7, - "n2": 14, - "N1": 31, - "N2": 45, - "programLength": 76, - "programVocabulary": 21, - "volume": 333.8161241311858, - "difficulty": 11.25, - "effort": 3755.4313964758403, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::execute" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::loadCoverageReader": { - "line": 171, - "lineCount": 32, - "argCount": 3, - "returnCount": 4, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 2, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 4, - "n2": 9, - "N1": 9, - "N2": 21, - "programLength": 30, - "programVocabulary": 13, - "volume": 111.01319154423277, - "difficulty": 4.666666666666667, - "effort": 518.0615605397529, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::loadCoverageReader" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::detectCoverageFormat": { - "line": 207, - "lineCount": 19, - "argCount": 1, - "returnCount": 4, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 9, - "volume": 47.548875021634686, - "difficulty": 2.5, - "effort": 118.87218755408671, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::detectCoverageFormat" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::coverageFileExists": { - "line": 227, - "lineCount": 20, - "argCount": 2, - "returnCount": 3, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 4, - "N2": 7, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 3.5, - "effort": 99.52105627776452, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::coverageFileExists" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::__construct": { - "line": 49, - "lineCount": 10, - "argCount": 6, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 6, - "N1": 0, - "N2": 6, - "programLength": 6, - "programVocabulary": 6, - "volume": 15.509775004326936, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::configure": { - "line": 63, - "lineCount": 76, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 20, - "N1": 13, - "N2": 20, - "programLength": 33, - "programVocabulary": 21, - "volume": 144.94647495169912, - "difficulty": 0.5, - "effort": 72.47323747584956, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::configure" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::execute": { - "line": 150, - "lineCount": 52, - "argCount": 2, - "returnCount": 5, - "variableCount": 11, - "propertyCallCount": 6, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 7, - "halstead": { - "n1": 6, - "n2": 15, - "N1": 43, - "N2": 61, - "programLength": 104, - "programVocabulary": 21, - "volume": 456.80101196899113, - "difficulty": 12.2, - "effort": 5572.972346021692, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::execute" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::parsePaths": { - "line": 209, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 4, - "N2": 8, - "programLength": 12, - "programVocabulary": 7, - "volume": 33.68825906469125, - "difficulty": 1.6, - "effort": 53.901214503506004, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::parsePaths" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleBaseLine": { - "line": 224, - "lineCount": 8, - "argCount": 2, - "returnCount": 0, - "variableCount": 3, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 5, - "N2": 11, - "programLength": 16, - "programVocabulary": 7, - "volume": 44.91767875292167, - "difficulty": 2.2, - "effort": 98.81889325642767, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleBaseLine" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleCoverageOptions": { - "line": 238, - "lineCount": 20, - "argCount": 2, - "returnCount": 3, - "variableCount": 5, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 5, - "n2": 10, - "N1": 15, - "N2": 25, - "programLength": 40, - "programVocabulary": 15, - "volume": 156.27562382434076, - "difficulty": 6.25, - "effort": 976.7226489021298, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleCoverageOptions" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::applySorting": { - "line": 264, - "lineCount": 21, - "argCount": 3, - "returnCount": 3, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 15, - "N1": 16, - "N2": 32, - "programLength": 48, - "programVocabulary": 20, - "volume": 207.45254855459342, - "difficulty": 5.333333333333333, - "effort": 1106.4135922911648, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::applySorting" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadConfiguration": { - "line": 293, - "lineCount": 10, - "argCount": 2, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 6, - "N1": 5, - "N2": 9, - "programLength": 14, - "programVocabulary": 8, - "volume": 42, - "difficulty": 1.5, - "effort": 63, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadConfiguration" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadCoverageReader": { - "line": 313, - "lineCount": 28, - "argCount": 3, - "returnCount": 4, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 2, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 10, - "N2": 18, - "programLength": 28, - "programVocabulary": 11, - "volume": 96.86408532184433, - "difficulty": 5.142857142857143, - "effort": 498.15815308377086, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadCoverageReader" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::detectCoverageFormat": { - "line": 345, - "lineCount": 19, - "argCount": 1, - "returnCount": 4, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 9, - "volume": 47.548875021634686, - "difficulty": 2.5, - "effort": 118.87218755408671, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::detectCoverageFormat" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::coverageFileExists": { - "line": 365, - "lineCount": 20, - "argCount": 2, - "returnCount": 3, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 4, - "N2": 7, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 3.5, - "effort": 99.52105627776452, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::coverageFileExists" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__construct": { - "line": 12, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__invoke": { - "line": 17, - "lineCount": 22, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 3, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 10, - "N2": 11, - "programLength": 21, - "programVocabulary": 7, - "volume": 58.95445336320969, - "difficulty": 2.2, - "effort": 129.6997973990613, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__invoke" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__construct": { - "line": 21, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__invoke": { - "line": 26, - "lineCount": 11, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 4, - "N2": 9, - "programLength": 13, - "programVocabulary": 4, - "volume": 26, - "difficulty": 4.5, - "effort": 117, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__invoke" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleSourceFilesFound": { - "line": 38, - "lineCount": 6, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 4, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 6, - "N2": 10, - "programLength": 16, - "programVocabulary": 8, - "volume": 48, - "difficulty": 5, - "effort": 240, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleSourceFilesFound" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleFileProcessed": { - "line": 45, - "lineCount": 5, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleFileProcessed" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleAllFilesProcessed": { - "line": 51, - "lineCount": 6, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 3, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 3, - "N2": 5, - "programLength": 8, - "programVocabulary": 5, - "volume": 18.575424759098897, - "difficulty": 1.6666666666666667, - "effort": 30.95904126516483, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleAllFilesProcessed" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__construct": { - "line": 20, - "lineCount": 5, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__invoke": { - "line": 26, - "lineCount": 17, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 5, - "n2": 8, - "N1": 17, - "N2": 17, - "programLength": 34, - "programVocabulary": 13, - "volume": 125.81495041679713, - "difficulty": 5.3125, - "effort": 668.3919240892347, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__invoke" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::formatBytes": { - "line": 50, - "lineCount": 12, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 7, - "n2": 13, - "N1": 10, - "N2": 22, - "programLength": 32, - "programVocabulary": 20, - "volume": 138.3016990363956, - "difficulty": 5.923076923076923, - "effort": 819.1716019848047, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::formatBytes" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::isDebugEnabled": { - "line": 66, - "lineCount": 5, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 1, - "N1": 4, - "N2": 2, - "programLength": 6, - "programVocabulary": 4, - "volume": 12, - "difficulty": 3, - "effort": 36, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::isDebugEnabled" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::__construct": { - "line": 20, - "lineCount": 6, - "argCount": 2, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 4, - "volume": 8, - "difficulty": 0.5, - "effort": 4, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::exportToFile": { - "line": 32, - "lineCount": 27, - "argCount": 3, - "returnCount": 4, - "variableCount": 2, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 1, - "n2": 6, - "N1": 6, - "N2": 19, - "programLength": 25, - "programVocabulary": 7, - "volume": 70.1838730514401, - "difficulty": 1.5833333333333333, - "effort": 111.12446566478016, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::exportToFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::hasIncompleteReportOptions": { - "line": 60, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 2, - "N1": 7, - "N2": 6, - "programLength": 13, - "programVocabulary": 6, - "volume": 33.60451250937503, - "difficulty": 6, - "effort": 201.62707505625016, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::hasIncompleteReportOptions" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::isValidReportType": { - "line": 65, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 2, - "N2": 4, - "programLength": 6, - "programVocabulary": 4, - "volume": 12, - "difficulty": 2, - "effort": 24, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::isValidReportType" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleExceptions": { - "line": 77, - "lineCount": 9, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 3, - "N2": 4, - "programLength": 7, - "programVocabulary": 5, - "volume": 16.253496664211536, - "difficulty": 1.3333333333333333, - "effort": 21.67132888561538, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleExceptions" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleInvalidReportType": { - "line": 91, - "lineCount": 11, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 5, - "N2": 8, - "programLength": 13, - "programVocabulary": 8, - "volume": 39, - "difficulty": 2.4000000000000004, - "effort": 93.60000000000001, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleInvalidReportType" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::__construct": { - "line": 15, - "lineCount": 5, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handle": { - "line": 24, - "lineCount": 27, - "argCount": 3, - "returnCount": 4, - "variableCount": 2, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 1, - "n2": 6, - "N1": 6, - "N2": 19, - "programLength": 25, - "programVocabulary": 7, - "volume": 70.1838730514401, - "difficulty": 1.5833333333333333, - "effort": 111.12446566478016, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handle" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::hasIncompleteReportOptions": { - "line": 52, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 2, - "N1": 7, - "N2": 6, - "programLength": 13, - "programVocabulary": 6, - "volume": 33.60451250937503, - "difficulty": 6, - "effort": 201.62707505625016, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::hasIncompleteReportOptions" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::isValidReportType": { - "line": 57, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 5, - "N1": 1, - "N2": 6, - "programLength": 7, - "programVocabulary": 6, - "volume": 18.094737505048094, - "difficulty": 0.6, - "effort": 10.856842503028856, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::isValidReportType" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handleExceptions": { - "line": 66, - "lineCount": 9, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 3, - "N2": 4, - "programLength": 7, - "programVocabulary": 5, - "volume": 16.253496664211536, - "difficulty": 1.3333333333333333, - "effort": 21.67132888561538, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handleExceptions" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handleInvalidReporType": { - "line": 80, - "lineCount": 9, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 4, - "programLength": 6, - "programVocabulary": 5, - "volume": 13.931568569324174, - "difficulty": 1.3333333333333333, - "effort": 18.575424759098897, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handleInvalidReporType" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::__construct": { - "line": 42, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::reportWritten": { - "line": 47, - "lineCount": 7, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 4, - "programLength": 6, - "programVocabulary": 5, - "volume": 13.931568569324174, - "difficulty": 1.3333333333333333, - "effort": 18.575424759098897, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::reportWritten" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::renderChurnTable": { - "line": 59, - "lineCount": 35, - "argCount": 1, - "returnCount": 0, - "variableCount": 6, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 8, - "n2": 18, - "N1": 21, - "N2": 53, - "programLength": 74, - "programVocabulary": 26, - "volume": 347.8325391424408, - "difficulty": 11.777777777777779, - "effort": 4096.694349899859, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::renderChurnTable" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricSummaryTextRenderer::__construct": { - "line": 18, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricSummaryTextRenderer::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricSummaryTextRenderer::render": { - "line": 23, - "lineCount": 32, - "argCount": 2, - "returnCount": 0, - "variableCount": 6, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 6, - "n2": 16, - "N1": 27, - "N2": 38, - "programLength": 65, - "programVocabulary": 22, - "volume": 289.86305521142435, - "difficulty": 7.125, - "effort": 2065.2742683813985, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricSummaryTextRenderer::render" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::__construct": { - "line": 27, - "lineCount": 5, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::metricExceedsThreshold": { - "line": 33, - "lineCount": 6, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 2, - "N1": 3, - "N2": 5, - "programLength": 8, - "programVocabulary": 5, - "volume": 18.575424759098897, - "difficulty": 3.75, - "effort": 69.65784284662087, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::metricExceedsThreshold" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::hasCoverageInCollection": { - "line": 43, - "lineCount": 10, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 2, - "N2": 4, - "programLength": 6, - "programVocabulary": 4, - "volume": 12, - "difficulty": 2, - "effort": 24, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::hasCoverageInCollection" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::render": { - "line": 58, - "lineCount": 17, - "argCount": 2, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 6, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 9, - "N2": 25, - "programLength": 34, - "programVocabulary": 6, - "volume": 87.8887250245193, - "difficulty": 6.25, - "effort": 549.3045314032456, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::render" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderGroupedByClass": { - "line": 81, - "lineCount": 19, - "argCount": 3, - "returnCount": 0, - "variableCount": 6, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 5, - "n2": 11, - "N1": 11, - "N2": 25, - "programLength": 36, - "programVocabulary": 16, - "volume": 144, - "difficulty": 5.6818181818181825, - "effort": 818.1818181818182, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderGroupedByClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::buildRowsForClass": { - "line": 106, - "lineCount": 13, - "argCount": 2, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 4, - "N2": 12, - "programLength": 16, - "programVocabulary": 7, - "volume": 44.91767875292167, - "difficulty": 2.4, - "effort": 107.802429007012, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::buildRowsForClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::getFilenameFromMetrics": { - "line": 123, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 5, - "programLength": 6, - "programVocabulary": 4, - "volume": 12, - "difficulty": 0.8333333333333334, - "effort": 10, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::getFilenameFromMetrics" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderAllMethodsInSingleTable": { - "line": 136, - "lineCount": 12, - "argCount": 3, - "returnCount": 0, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 6, - "N2": 15, - "programLength": 21, - "programVocabulary": 11, - "volume": 72.64806399138324, - "difficulty": 4.285714285714286, - "effort": 311.34884567735673, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderAllMethodsInSingleTable" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::buildRowsForSingleTable": { - "line": 154, - "lineCount": 13, - "argCount": 2, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 4, - "N2": 12, - "programLength": 16, - "programVocabulary": 7, - "volume": 44.91767875292167, - "difficulty": 2.4, - "effort": 107.802429007012, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::buildRowsForSingleTable" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderTableCommon": { - "line": 173, - "lineCount": 19, - "argCount": 4, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 8, - "N1": 7, - "N2": 19, - "programLength": 26, - "programVocabulary": 10, - "volume": 86.37013046707142, - "difficulty": 2.375, - "effort": 205.1290598592946, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderTableCommon" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderTable": { - "line": 196, - "lineCount": 13, - "argCount": 4, - "returnCount": 0, - "variableCount": 3, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 7, - "N1": 4, - "N2": 14, - "programLength": 18, - "programVocabulary": 9, - "volume": 57.05865002596162, - "difficulty": 2, - "effort": 114.11730005192324, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderTable" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderSingleTable": { - "line": 213, - "lineCount": 11, - "argCount": 3, - "returnCount": 0, - "variableCount": 3, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 6, - "N1": 4, - "N2": 12, - "programLength": 16, - "programVocabulary": 8, - "volume": 48, - "difficulty": 2, - "effort": 96, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderSingleTable" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::__construct": { - "line": 16, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatScore": { - "line": 21, - "lineCount": 6, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 6, - "N1": 5, - "N2": 9, - "programLength": 14, - "programVocabulary": 8, - "volume": 42, - "difficulty": 1.5, - "effort": 63, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatScore" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadVolume": { - "line": 28, - "lineCount": 14, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 10, - "N1": 9, - "N2": 17, - "programLength": 26, - "programVocabulary": 15, - "volume": 101.57915548582149, - "difficulty": 4.25, - "effort": 431.7114108147413, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadVolume" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadDifficulty": { - "line": 43, - "lineCount": 13, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 10, - "N1": 8, - "N2": 17, - "programLength": 25, - "programVocabulary": 14, - "volume": 95.1838730514401, - "difficulty": 3.4, - "effort": 323.62516837489636, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadDifficulty" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadEffort": { - "line": 57, - "lineCount": 13, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 10, - "N1": 8, - "N2": 17, - "programLength": 25, - "programVocabulary": 14, - "volume": 95.1838730514401, - "difficulty": 3.4, - "effort": 323.62516837489636, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadEffort" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatCyclomaticComplexity": { - "line": 71, - "lineCount": 13, - "argCount": 1, - "returnCount": 3, - "variableCount": 4, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 5, - "n2": 9, - "N1": 9, - "N2": 18, - "programLength": 27, - "programVocabulary": 14, - "volume": 102.79858289555531, - "difficulty": 5, - "effort": 513.9929144777766, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatCyclomaticComplexity" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::colorCyclomaticRisk": { - "line": 85, - "lineCount": 8, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 7, - "N1": 5, - "N2": 11, - "programLength": 16, - "programVocabulary": 9, - "volume": 50.718800023076994, - "difficulty": 1.5714285714285714, - "effort": 79.70097146483528, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::colorCyclomaticRisk" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::__construct": { - "line": 17, - "lineCount": 5, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::getGroupedTableHeaders": { - "line": 28, - "lineCount": 16, - "argCount": 0, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 10, - "N2": 17, - "programLength": 27, - "programVocabulary": 6, - "volume": 69.79398751947122, - "difficulty": 4.25, - "effort": 296.62444695775264, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::getGroupedTableHeaders" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCoverageHeader": { - "line": 49, - "lineCount": 10, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 6, - "programLength": 7, - "programVocabulary": 4, - "volume": 14, - "difficulty": 1, - "effort": 14, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCoverageHeader" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::getSingleTableHeaders": { - "line": 65, - "lineCount": 20, - "argCount": 0, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 6, - "N1": 9, - "N2": 18, - "programLength": 27, - "programVocabulary": 8, - "volume": 81, - "difficulty": 3, - "effort": 243, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::getSingleTableHeaders" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addHalsteadHeaders": { - "line": 92, - "lineCount": 10, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 1, - "n2": 5, - "N1": 3, - "N2": 9, - "programLength": 12, - "programVocabulary": 6, - "volume": 31.019550008653873, - "difficulty": 0.9, - "effort": 27.917595007788485, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addHalsteadHeaders" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCyclomaticHeaders": { - "line": 109, - "lineCount": 8, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 5, - "programLength": 6, - "programVocabulary": 4, - "volume": 12, - "difficulty": 0.8333333333333334, - "effort": 10, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCyclomaticHeaders" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCognitiveMetricDetails": { - "line": 122, - "lineCount": 16, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 10, - "N1": 2, - "N2": 13, - "programLength": 15, - "programVocabulary": 12, - "volume": 53.77443751081734, - "difficulty": 1.3, - "effort": 69.90676876406255, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCognitiveMetricDetails" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::__construct": { - "line": 21, - "lineCount": 6, - "argCount": 3, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 3, - "N1": 0, - "N2": 3, - "programLength": 3, - "programVocabulary": 3, - "volume": 4.754887502163468, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::buildRow": { - "line": 34, - "lineCount": 16, - "argCount": 1, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 10, - "N2": 24, - "programLength": 34, - "programVocabulary": 7, - "volume": 95.45006734995854, - "difficulty": 4.8, - "effort": 458.160323279801, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::buildRow" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::buildRowWithClassInfo": { - "line": 57, - "lineCount": 16, - "argCount": 1, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 10, - "N2": 24, - "programLength": 34, - "programVocabulary": 7, - "volume": 95.45006734995854, - "difficulty": 4.8, - "effort": 458.160323279801, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::buildRowWithClassInfo" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::metricsToArray": { - "line": 79, - "lineCount": 8, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 3, - "N2": 7, - "programLength": 10, - "programVocabulary": 6, - "volume": 25.84962500721156, - "difficulty": 1.75, - "effort": 45.23684376262023, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::metricsToArray" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::metricsToArrayWithClassInfo": { - "line": 93, - "lineCount": 9, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 4, - "N2": 9, - "programLength": 13, - "programVocabulary": 7, - "volume": 36.49561398674886, - "difficulty": 1.8, - "effort": 65.69210517614795, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::metricsToArrayWithClassInfo" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addHalsteadFields": { - "line": 109, - "lineCount": 10, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 6, - "N1": 6, - "N2": 16, - "programLength": 22, - "programVocabulary": 8, - "volume": 66, - "difficulty": 2.6666666666666665, - "effort": 176, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addHalsteadFields" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addCyclomaticFields": { - "line": 126, - "lineCount": 8, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 2, - "N2": 8, - "programLength": 10, - "programVocabulary": 6, - "volume": 25.84962500721156, - "difficulty": 2, - "effort": 51.69925001442312, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addCyclomaticFields" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addWeightedValue": { - "line": 141, - "lineCount": 10, - "argCount": 3, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 11, - "N1": 13, - "N2": 22, - "programLength": 35, - "programVocabulary": 15, - "volume": 136.74117084629816, - "difficulty": 4, - "effort": 546.9646833851926, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addWeightedValue" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addDelta": { - "line": 158, - "lineCount": 20, - "argCount": 3, - "returnCount": 3, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 6, - "n2": 13, - "N1": 19, - "N2": 30, - "programLength": 49, - "programVocabulary": 19, - "volume": 208.14844815873568, - "difficulty": 6.9230769230769225, - "effort": 1441.0277180220162, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::getKeys": { - "line": 184, - "lineCount": 17, - "argCount": 0, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 0, - "n2": 9, - "N1": 0, - "N2": 9, - "programLength": 9, - "programVocabulary": 9, - "volume": 28.52932501298081, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::getKeys" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::assertDeltaMethodExists": { - "line": 205, - "lineCount": 6, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 6, - "programLength": 8, - "programVocabulary": 5, - "volume": 18.575424759098897, - "difficulty": 2, - "effort": 37.150849518197795, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::assertDeltaMethodExists" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addCoverageValue": { - "line": 216, - "lineCount": 11, - "argCount": 2, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 7, - "N1": 7, - "N2": 15, - "programLength": 22, - "programVocabulary": 12, - "volume": 78.86917501586544, - "difficulty": 5.357142857142857, - "effort": 422.51343758499337, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addCoverageValue" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::extracted": { - "line": 233, - "lineCount": 22, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 12, - "N1": 19, - "N2": 34, - "programLength": 53, - "programVocabulary": 15, - "volume": 207.06520156725148, - "difficulty": 4.25, - "effort": 880.0271066608187, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::extracted" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CacheConfig::__construct": { - "line": 12, - "lineCount": 5, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CacheConfig::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CacheConfig::toArray": { - "line": 23, - "lineCount": 7, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 3, - "N1": 0, - "N2": 4, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CacheConfig::toArray" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CognitiveConfig::__construct": { - "line": 20, - "lineCount": 13, - "argCount": 10, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 10, - "N1": 0, - "N2": 10, - "programLength": 10, - "programVocabulary": 10, - "volume": 33.219280948873624, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CognitiveConfig::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CognitiveConfig::toArray": { - "line": 39, - "lineCount": 20, - "argCount": 0, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 10, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 14, - "N1": 3, - "N2": 27, - "programLength": 30, - "programVocabulary": 16, - "volume": 120, - "difficulty": 1.9285714285714286, - "effort": 231.42857142857144, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CognitiveConfig::toArray" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigFactory::fromArray": { - "line": 16, - "lineCount": 31, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 20, - "N1": 10, - "N2": 52, - "programLength": 62, - "programVocabulary": 23, - "volume": 280.4608412755348, - "difficulty": 3.9000000000000004, - "effort": 1093.7972809745859, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigFactory::fromArray" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigLoader::getCognitiveMetricDefaults": { - "line": 27, - "lineCount": 45, - "argCount": 0, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 0, - "n2": 8, - "N1": 0, - "N2": 16, - "programLength": 16, - "programVocabulary": 8, - "volume": 48, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigLoader::getCognitiveMetricDefaults" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigLoader::getConfigTreeBuilder": { - "line": 73, - "lineCount": 75, - "argCount": 0, - "returnCount": 2, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 3, - "n2": 24, - "N1": 68, - "N2": 29, - "programLength": 97, - "programVocabulary": 27, - "volume": 461.2240877098564, - "difficulty": 1.8125, - "effort": 835.9686589741148, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigLoader::getConfigTreeBuilder" - } - } - }, - "ignored_items": [], - "cached_at": 1759967602 -} \ No newline at end of file diff --git a/.phpcca.cache/20/20354a0f5515882fd2fd95c6dd153bbf.cache b/.phpcca.cache/20/20354a0f5515882fd2fd95c6dd153bbf.cache deleted file mode 100644 index f62578e..0000000 --- a/.phpcca.cache/20/20354a0f5515882fd2fd95c6dd153bbf.cache +++ /dev/null @@ -1,5041 +0,0 @@ -{ - "version": "1.0", - "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/Business\/Cognitive\/Parser.php", - "file_mtime": 1759964701, - "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", - "analysis_result": { - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct": { - "line": 60, - "lineCount": 5, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 1, - "N1": 2, - "N2": 2, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 2, - "effort": 12.679700005769249, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices": { - "line": 66, - "lineCount": 95, - "argCount": 0, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 5, - "N1": 58, - "N2": 32, - "programLength": 90, - "programVocabulary": 9, - "volume": 285.2932501298081, - "difficulty": 12.8, - "effort": 3651.7536016615436, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap": { - "line": 162, - "lineCount": 10, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 7, - "N2": 7, - "programLength": 14, - "programVocabulary": 2, - "volume": 14, - "difficulty": 3.5, - "effort": 49, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors": { - "line": 173, - "lineCount": 12, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 3, - "N2": 1, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0.5, - "effort": 2, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus": { - "line": 186, - "lineCount": 19, - "argCount": 0, - "returnCount": 0, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 9, - "N2": 13, - "programLength": 22, - "programVocabulary": 7, - "volume": 61.76180828526729, - "difficulty": 2.6, - "effort": 160.58070154169496, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService": { - "line": 206, - "lineCount": 9, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 3, - "N2": 1, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0.5, - "effort": 2, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade": { - "line": 216, - "lineCount": 13, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 3, - "N2": 1, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0.5, - "effort": 2, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands": { - "line": 230, - "lineCount": 21, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 6, - "N2": 2, - "programLength": 8, - "programVocabulary": 2, - "volume": 8, - "difficulty": 1, - "effort": 8, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication": { - "line": 252, - "lineCount": 11, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 5, - "N2": 4, - "programLength": 9, - "programVocabulary": 4, - "volume": 18, - "difficulty": 0.6666666666666666, - "effort": 12, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run": { - "line": 264, - "lineCount": 9, - "argCount": 0, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 5, - "N2": 5, - "programLength": 10, - "programVocabulary": 4, - "volume": 20, - "difficulty": 2.5, - "effort": 50, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get": { - "line": 274, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer": { - "line": 279, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator": { - "line": 289, - "lineCount": 16, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 7, - "programLength": 8, - "programVocabulary": 4, - "volume": 16, - "difficulty": 1.1666666666666667, - "effort": 18.666666666666668, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create": { - "line": 18, - "lineCount": 7, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 4, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile": { - "line": 17, - "lineCount": 17, - "argCount": 2, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 8, - "N1": 11, - "N2": 19, - "programLength": 30, - "programVocabulary": 11, - "volume": 103.78294855911892, - "difficulty": 3.5625, - "effort": 369.72675424186116, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode": { - "line": 42, - "lineCount": 8, - "argCount": 3, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 3, - "N2": 8, - "programLength": 11, - "programVocabulary": 8, - "volume": 33, - "difficulty": 2.4000000000000004, - "effort": 79.20000000000002, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate": { - "line": 22, - "lineCount": 10, - "argCount": 2, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 6, - "N2": 13, - "programLength": 19, - "programVocabulary": 6, - "volume": 49.11428751370197, - "difficulty": 3.25, - "effort": 159.6214344195314, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending": { - "line": 37, - "lineCount": 8, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 2, - "N2": 9, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 2.25, - "effort": 63.97782189284862, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn": { - "line": 51, - "lineCount": 24, - "argCount": 2, - "returnCount": 1, - "variableCount": 6, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 15, - "N1": 17, - "N2": 46, - "programLength": 63, - "programVocabulary": 20, - "volume": 272.28146997790384, - "difficulty": 7.666666666666667, - "effort": 2087.491269830596, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses": { - "line": 81, - "lineCount": 20, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 2, - "n2": 7, - "N1": 10, - "N2": 24, - "programLength": 34, - "programVocabulary": 9, - "volume": 107.7774500490386, - "difficulty": 3.4285714285714284, - "effort": 369.52268588241805, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass": { - "line": 109, - "lineCount": 9, - "argCount": 2, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 6, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 10, - "volume": 49.82892142331043, - "difficulty": 3.3333333333333335, - "effort": 166.09640474436813, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel": { - "line": 126, - "lineCount": 16, - "argCount": 2, - "returnCount": 4, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 12, - "N1": 9, - "N2": 18, - "programLength": 27, - "programVocabulary": 15, - "volume": 105.48604608143, - "difficulty": 2.25, - "effort": 237.3436036832175, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile": { - "line": 14, - "lineCount": 6, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 2, - "N2": 5, - "programLength": 7, - "programVocabulary": 4, - "volume": 14, - "difficulty": 2.5, - "effort": 35, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable": { - "line": 24, - "lineCount": 11, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 10, - "N2": 12, - "programLength": 22, - "programVocabulary": 8, - "volume": 66, - "difficulty": 6, - "effort": 396, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create": { - "line": 21, - "lineCount": 11, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 7, - "N1": 0, - "N2": 9, - "programLength": 9, - "programVocabulary": 7, - "volume": 25.26619429851844, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes": { - "line": 38, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 6, - "N1": 0, - "N2": 6, - "programLength": 6, - "programVocabulary": 6, - "volume": 15.509775004326936, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported": { - "line": 49, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 2, - "N2": 3, - "programLength": 5, - "programVocabulary": 4, - "volume": 10, - "difficulty": 1.5, - "effort": 15, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export": { - "line": 30, - "lineCount": 23, - "argCount": 2, - "returnCount": 0, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 16, - "N1": 10, - "N2": 33, - "programLength": 43, - "programVocabulary": 20, - "volume": 185.8429080801566, - "difficulty": 4.125, - "effort": 766.601995830646, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export": { - "line": 28, - "lineCount": 8, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 6, - "volume": 36.18947501009619, - "difficulty": 2.5, - "effort": 90.47368752524048, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape": { - "line": 37, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber": { - "line": 42, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml": { - "line": 52, - "lineCount": 50, - "argCount": 1, - "returnCount": 1, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 12, - "N1": 11, - "N2": 25, - "programLength": 36, - "programVocabulary": 17, - "volume": 147.14866228501222, - "difficulty": 5.208333333333334, - "effort": 766.3992827344388, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export": { - "line": 17, - "lineCount": 13, - "argCount": 2, - "returnCount": 0, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 8, - "N1": 7, - "N2": 14, - "programLength": 21, - "programVocabulary": 12, - "volume": 75.28421251514428, - "difficulty": 3.5, - "effort": 263.49474380300495, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export": { - "line": 48, - "lineCount": 8, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 6, - "volume": 36.18947501009619, - "difficulty": 2.5, - "effort": 90.47368752524048, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown": { - "line": 61, - "lineCount": 24, - "argCount": 1, - "returnCount": 1, - "variableCount": 6, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 6, - "n2": 16, - "N1": 19, - "N2": 41, - "programLength": 60, - "programVocabulary": 22, - "volume": 267.56589711823784, - "difficulty": 7.6875, - "effort": 2056.9128340964535, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow": { - "line": 94, - "lineCount": 21, - "argCount": 3, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 7, - "n2": 18, - "N1": 16, - "N2": 39, - "programLength": 55, - "programVocabulary": 25, - "volume": 255.41209043760983, - "difficulty": 7.583333333333333, - "effort": 1936.8750191518745, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::__construct": { - "line": 26, - "lineCount": 4, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::export": { - "line": 36, - "lineCount": 10, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 8, - "volume": 45, - "difficulty": 5, - "effort": 225, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::generateSvgTreemap": { - "line": 53, - "lineCount": 20, - "argCount": 1, - "returnCount": 1, - "variableCount": 6, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 8, - "N1": 9, - "N2": 20, - "programLength": 29, - "programVocabulary": 10, - "volume": 96.3359147517335, - "difficulty": 2.5, - "effort": 240.83978687933376, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::generateSvgTreemap" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRects": { - "line": 82, - "lineCount": 10, - "argCount": 3, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 9, - "N1": 6, - "N2": 18, - "programLength": 24, - "programVocabulary": 12, - "volume": 86.03910001730775, - "difficulty": 3, - "effort": 258.1173000519232, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRects" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRect": { - "line": 100, - "lineCount": 29, - "argCount": 2, - "returnCount": 1, - "variableCount": 12, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 6, - "n2": 28, - "N1": 26, - "N2": 54, - "programLength": 80, - "programVocabulary": 34, - "volume": 406.9970273000271, - "difficulty": 5.785714285714286, - "effort": 2354.7685150930142, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRect" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::wrapSvg": { - "line": 136, - "lineCount": 21, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 2, - "N2": 8, - "programLength": 10, - "programVocabulary": 4, - "volume": 20, - "difficulty": 1.3333333333333333, - "effort": 26.666666666666664, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::wrapSvg" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::prepareItems": { - "line": 28, - "lineCount": 18, - "argCount": 1, - "returnCount": 1, - "variableCount": 7, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 12, - "N1": 9, - "N2": 30, - "programLength": 39, - "programVocabulary": 17, - "volume": 159.41105080876324, - "difficulty": 6.25, - "effort": 996.3190675547702, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::prepareItems" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findScoreRange": { - "line": 53, - "lineCount": 16, - "argCount": 1, - "returnCount": 3, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 7, - "N2": 13, - "programLength": 20, - "programVocabulary": 8, - "volume": 60, - "difficulty": 3.9000000000000004, - "effort": 234.00000000000003, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findScoreRange" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::normalizeScore": { - "line": 78, - "lineCount": 8, - "argCount": 3, - "returnCount": 2, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 8, - "volume": 45, - "difficulty": 5, - "effort": 225, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::normalizeScore" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::scoreToColor": { - "line": 93, - "lineCount": 9, - "argCount": 1, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 5, - "n2": 9, - "N1": 12, - "N2": 16, - "programLength": 28, - "programVocabulary": 14, - "volume": 106.60593781761291, - "difficulty": 4.444444444444445, - "effort": 473.80416807827964, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::scoreToColor" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::calculateTreemapLayout": { - "line": 115, - "lineCount": 23, - "argCount": 7, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 9, - "N1": 2, - "N2": 18, - "programLength": 20, - "programVocabulary": 11, - "volume": 69.18863237274594, - "difficulty": 2, - "effort": 138.37726474549189, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::calculateTreemapLayout" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::layoutTreemap": { - "line": 152, - "lineCount": 89, - "argCount": 8, - "returnCount": 3, - "variableCount": 11, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 8, - "n2": 28, - "N1": 32, - "N2": 98, - "programLength": 130, - "programVocabulary": 36, - "volume": 672.0902501875006, - "difficulty": 14, - "effort": 9409.263502625008, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::layoutTreemap" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findSplitIndex": { - "line": 249, - "lineCount": 13, - "argCount": 2, - "returnCount": 2, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 7, - "n2": 10, - "N1": 9, - "N2": 23, - "programLength": 32, - "programVocabulary": 17, - "volume": 130.79881092001085, - "difficulty": 8.049999999999999, - "effort": 1052.9304279060873, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findSplitIndex" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::__construct": { - "line": 23, - "lineCount": 18, - "argCount": 1, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 7, - "N2": 11, - "programLength": 18, - "programVocabulary": 6, - "volume": 46.529325012980806, - "difficulty": 5.5, - "effort": 255.91128757139444, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::getAllClasses": { - "line": 47, - "lineCount": 17, - "argCount": 0, - "returnCount": 2, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 6, - "N2": 12, - "programLength": 18, - "programVocabulary": 9, - "volume": 57.05865002596162, - "difficulty": 3, - "effort": 171.17595007788486, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::getAllClasses" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::withClassNode": { - "line": 73, - "lineCount": 8, - "argCount": 2, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 4, - "N2": 8, - "programLength": 12, - "programVocabulary": 8, - "volume": 36, - "difficulty": 4, - "effort": 144, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::withClassNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::findClassNode": { - "line": 85, - "lineCount": 25, - "argCount": 1, - "returnCount": 4, - "variableCount": 5, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 13, - "N2": 29, - "programLength": 42, - "programVocabulary": 11, - "volume": 145.29612798276648, - "difficulty": 8.285714285714286, - "effort": 1203.8822032857795, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::findClassNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::escapeXPathValue": { - "line": 114, - "lineCount": 16, - "argCount": 1, - "returnCount": 3, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 9, - "N1": 11, - "N2": 18, - "programLength": 29, - "programVocabulary": 13, - "volume": 107.31275182609167, - "difficulty": 4, - "effort": 429.2510073043667, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::escapeXPathValue" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getLineCoverage": { - "line": 22, - "lineCount": 18, - "argCount": 1, - "returnCount": 4, - "variableCount": 5, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 9, - "N1": 10, - "N2": 19, - "programLength": 29, - "programVocabulary": 13, - "volume": 107.31275182609167, - "difficulty": 4.222222222222222, - "effort": 453.09828548794263, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getLineCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getBranchCoverage": { - "line": 48, - "lineCount": 18, - "argCount": 1, - "returnCount": 4, - "variableCount": 5, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 9, - "N1": 10, - "N2": 19, - "programLength": 29, - "programVocabulary": 13, - "volume": 107.31275182609167, - "difficulty": 4.222222222222222, - "effort": 453.09828548794263, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getBranchCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getComplexity": { - "line": 73, - "lineCount": 13, - "argCount": 1, - "returnCount": 3, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 7, - "N2": 14, - "programLength": 21, - "programVocabulary": 11, - "volume": 72.64806399138324, - "difficulty": 4, - "effort": 290.59225596553296, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getComplexity" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getCoverageDetails": { - "line": 93, - "lineCount": 26, - "argCount": 1, - "returnCount": 3, - "variableCount": 9, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 17, - "N1": 22, - "N2": 42, - "programLength": 64, - "programVocabulary": 22, - "volume": 285.403623592787, - "difficulty": 6.176470588235294, - "effort": 1762.7870868966259, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getCoverageDetails" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getMetricsNode": { - "line": 123, - "lineCount": 12, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 6, - "N1": 7, - "N2": 13, - "programLength": 20, - "programVocabulary": 10, - "volume": 66.43856189774725, - "difficulty": 4.333333333333333, - "effort": 287.90043489023805, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getMetricsNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getFilenameForClass": { - "line": 139, - "lineCount": 9, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 5, - "N1": 4, - "N2": 9, - "programLength": 13, - "programVocabulary": 9, - "volume": 41.209025018750054, - "difficulty": 3.6, - "effort": 148.3524900675002, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getFilenameForClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodsCoverage": { - "line": 154, - "lineCount": 36, - "argCount": 1, - "returnCount": 3, - "variableCount": 8, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 13, - "N1": 12, - "N2": 30, - "programLength": 42, - "programVocabulary": 16, - "volume": 168, - "difficulty": 3.4615384615384612, - "effort": 581.5384615384614, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodsCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::calculateMethodCoverage": { - "line": 194, - "lineCount": 15, - "argCount": 2, - "returnCount": 2, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 11, - "N1": 9, - "N2": 23, - "programLength": 32, - "programVocabulary": 16, - "volume": 128, - "difficulty": 5.227272727272727, - "effort": 669.090909090909, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::calculateMethodCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodCoverageFromLines": { - "line": 215, - "lineCount": 36, - "argCount": 2, - "returnCount": 1, - "variableCount": 7, - "propertyCallCount": 0, - "ifNestingLevel": 2, - "elseCount": 0, - "ifCount": 5, - "halstead": { - "n1": 2, - "n2": 14, - "N1": 12, - "N2": 35, - "programLength": 47, - "programVocabulary": 16, - "volume": 188, - "difficulty": 2.5, - "effort": 470, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodCoverageFromLines" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStart": { - "line": 252, - "lineCount": 4, - "argCount": 3, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 3, - "N2": 7, - "programLength": 10, - "programVocabulary": 6, - "volume": 25.84962500721156, - "difficulty": 1.75, - "effort": 45.23684376262023, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStart" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodEnd": { - "line": 257, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 5, - "programLength": 7, - "programVocabulary": 5, - "volume": 16.253496664211536, - "difficulty": 1.6666666666666667, - "effort": 27.089161107019226, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodEnd" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStatement": { - "line": 262, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 5, - "programLength": 7, - "programVocabulary": 5, - "volume": 16.253496664211536, - "difficulty": 1.6666666666666667, - "effort": 27.089161107019226, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStatement" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isStatementCovered": { - "line": 267, - "lineCount": 5, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 4, - "N1": 3, - "N2": 6, - "programLength": 9, - "programVocabulary": 7, - "volume": 25.26619429851844, - "difficulty": 2.25, - "effort": 56.848937171666485, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isStatementCovered" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getLineCoverage": { - "line": 20, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 9, - "volume": 44.37895002019237, - "difficulty": 2.5, - "effort": 110.94737505048093, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getLineCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getBranchCoverage": { - "line": 34, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 9, - "volume": 44.37895002019237, - "difficulty": 2.5, - "effort": 110.94737505048093, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getBranchCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getComplexity": { - "line": 48, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 9, - "volume": 44.37895002019237, - "difficulty": 2.5, - "effort": 110.94737505048093, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getComplexity" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getCoverageDetails": { - "line": 62, - "lineCount": 13, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 8, - "N1": 7, - "N2": 16, - "programLength": 23, - "programVocabulary": 9, - "volume": 72.90827503317318, - "difficulty": 1, - "effort": 72.90827503317318, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getCoverageDetails" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::extractMethodsCoverage": { - "line": 81, - "lineCount": 23, - "argCount": 1, - "returnCount": 2, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 11, - "N1": 10, - "N2": 23, - "programLength": 33, - "programVocabulary": 14, - "volume": 125.64271242790093, - "difficulty": 3.1363636363636362, - "effort": 394.061234432962, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::extractMethodsCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CodeCoverageFactory::createFromName": { - "line": 14, - "lineCount": 8, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 4, - "N1": 1, - "N2": 8, - "programLength": 9, - "programVocabulary": 5, - "volume": 20.89735285398626, - "difficulty": 1, - "effort": 20.89735285398626, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CodeCoverageFactory::createFromName" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::__construct": { - "line": 28, - "lineCount": 15, - "argCount": 6, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 6, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 7, - "N1": 6, - "N2": 18, - "programLength": 24, - "programVocabulary": 8, - "volume": 72, - "difficulty": 1.2857142857142858, - "effort": 92.57142857142858, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getName": { - "line": 44, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getName" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getFilename": { - "line": 49, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getFilename" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getLineRate": { - "line": 54, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getLineRate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getBranchRate": { - "line": 59, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getBranchRate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getComplexity": { - "line": 64, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getComplexity" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getMethods": { - "line": 72, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getMethods" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::__construct": { - "line": 17, - "lineCount": 11, - "argCount": 4, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 4, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 5, - "N1": 4, - "N2": 12, - "programLength": 16, - "programVocabulary": 6, - "volume": 41.3594000115385, - "difficulty": 1.2, - "effort": 49.631280013846194, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getName": { - "line": 29, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getName" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getLineRate": { - "line": 34, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getLineRate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getBranchRate": { - "line": 39, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getBranchRate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getComplexity": { - "line": 44, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getComplexity" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::calculateDeltas": { - "line": 19, - "lineCount": 14, - "argCount": 2, - "returnCount": 0, - "variableCount": 6, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 9, - "N1": 4, - "N2": 18, - "programLength": 22, - "programVocabulary": 11, - "volume": 76.10749561002054, - "difficulty": 2, - "effort": 152.21499122004107, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::calculateDeltas" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::loadBaseline": { - "line": 41, - "lineCount": 13, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 5, - "N2": 9, - "programLength": 14, - "programVocabulary": 8, - "volume": 42, - "difficulty": 2.7, - "effort": 113.4, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::loadBaseline" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::__construct": { - "line": 72, - "lineCount": 21, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 6, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 9, - "N1": 12, - "N2": 34, - "programLength": 46, - "programVocabulary": 12, - "volume": 164.90827503317317, - "difficulty": 5.666666666666666, - "effort": 934.4802251879812, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setRequiredMetricProperties": { - "line": 98, - "lineCount": 30, - "argCount": 1, - "returnCount": 0, - "variableCount": 6, - "propertyCallCount": 9, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 21, - "N1": 21, - "N2": 51, - "programLength": 72, - "programVocabulary": 24, - "volume": 330.1173000519232, - "difficulty": 3.6428571428571423, - "effort": 1202.570164474863, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setRequiredMetricProperties" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setOptionalMetricProperties": { - "line": 133, - "lineCount": 12, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 8, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 11, - "N1": 16, - "N2": 33, - "programLength": 49, - "programVocabulary": 13, - "volume": 181.32154618891352, - "difficulty": 3, - "effort": 543.9646385667405, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setOptionalMetricProperties" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setTimesChanged": { - "line": 146, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setTimesChanged" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertSame": { - "line": 151, - "lineCount": 14, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 6, - "N2": 8, - "programLength": 14, - "programVocabulary": 5, - "volume": 32.50699332842307, - "difficulty": 2.6666666666666665, - "effort": 86.68531554246152, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertSame" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::calculateDeltas": { - "line": 169, - "lineCount": 13, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 16, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 17, - "N2": 27, - "programLength": 44, - "programVocabulary": 4, - "volume": 88, - "difficulty": 13.5, - "effort": 1188, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::calculateDeltas" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::fromArray": { - "line": 187, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::fromArray" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertArrayKeyIsPresent": { - "line": 197, - "lineCount": 6, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 5, - "programLength": 5, - "programVocabulary": 2, - "volume": 5, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertArrayKeyIsPresent" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getClass": { - "line": 204, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getMethod": { - "line": 209, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getMethod" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCount": { - "line": 214, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCount": { - "line": 219, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCount": { - "line": 224, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCount": { - "line": 229, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCount": { - "line": 234, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCount": { - "line": 239, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevel": { - "line": 244, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevel" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCount": { - "line": 249, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeight": { - "line": 254, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setLineCountWeight": { - "line": 259, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setLineCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeight": { - "line": 264, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setArgCountWeight": { - "line": 269, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setArgCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeight": { - "line": 274, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setReturnCountWeight": { - "line": 279, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setReturnCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeight": { - "line": 284, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setVariableCountWeight": { - "line": 289, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setVariableCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeight": { - "line": 294, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setPropertyCallCountWeight": { - "line": 299, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setPropertyCallCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeight": { - "line": 304, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfCountWeight": { - "line": 309, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeight": { - "line": 314, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfNestingLevelWeight": { - "line": 319, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfNestingLevelWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeight": { - "line": 324, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setElseCountWeight": { - "line": 329, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setElseCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setScore": { - "line": 334, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setScore" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getScore": { - "line": 339, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getScore" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setCoverage": { - "line": 344, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCoverage": { - "line": 349, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeightDelta": { - "line": 354, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeightDelta": { - "line": 359, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeightDelta": { - "line": 364, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeightDelta": { - "line": 369, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeightDelta": { - "line": 374, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeightDelta": { - "line": 379, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeightDelta": { - "line": 384, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeightDelta": { - "line": 389, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getTimesChanged": { - "line": 394, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 2, - "programLength": 3, - "programVocabulary": 3, - "volume": 4.754887502163468, - "difficulty": 0.5, - "effort": 2.377443751081734, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getTimesChanged" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getFileName": { - "line": 399, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getFileName" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLine": { - "line": 404, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLine" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::equals": { - "line": 409, - "lineCount": 5, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 2, - "N1": 5, - "N2": 5, - "programLength": 10, - "programVocabulary": 5, - "volume": 23.21928094887362, - "difficulty": 3.75, - "effort": 87.07230355827608, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::equals" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::toArray": { - "line": 418, - "lineCount": 34, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 29, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 30, - "N1": 0, - "N2": 58, - "programLength": 58, - "programVocabulary": 30, - "volume": 284.5996545452941, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::toArray" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::jsonSerialize": { - "line": 456, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::jsonSerialize" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getHalstead": { - "line": 464, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getHalstead" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCyclomatic": { - "line": 472, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCyclomatic" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::add": { - "line": 30, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 5, - "N2": 6, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 3, - "effort": 85.30376252379816, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::add" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filter": { - "line": 40, - "lineCount": 11, - "argCount": 1, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 8, - "volume": 42, - "difficulty": 3, - "effort": 126, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filter" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getIterator": { - "line": 57, - "lineCount": 5, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getIterator" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::count": { - "line": 66, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::count" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterWithScoreGreaterThan": { - "line": 71, - "lineCount": 6, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 3, - "N2": 6, - "programLength": 9, - "programVocabulary": 5, - "volume": 20.89735285398626, - "difficulty": 2, - "effort": 41.79470570797252, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterWithScoreGreaterThan" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::contains": { - "line": 78, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 4, - "N2": 5, - "programLength": 9, - "programVocabulary": 5, - "volume": 20.89735285398626, - "difficulty": 1.6666666666666667, - "effort": 34.82892142331043, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::contains" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getClassWithMethod": { - "line": 83, - "lineCount": 9, - "argCount": 2, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 3, - "N2": 10, - "programLength": 13, - "programVocabulary": 7, - "volume": 36.49561398674886, - "difficulty": 2, - "effort": 72.99122797349771, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getClassWithMethod" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterByClassName": { - "line": 93, - "lineCount": 6, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 3, - "N2": 6, - "programLength": 9, - "programVocabulary": 5, - "volume": 20.89735285398626, - "difficulty": 2, - "effort": 41.79470570797252, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterByClassName" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::assertMetricHasGetter": { - "line": 100, - "lineCount": 9, - "argCount": 3, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 6, - "programLength": 7, - "programVocabulary": 4, - "volume": 14, - "difficulty": 1, - "effort": 14, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::assertMetricHasGetter" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::groupBy": { - "line": 117, - "lineCount": 20, - "argCount": 1, - "returnCount": 1, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 10, - "N2": 23, - "programLength": 33, - "programVocabulary": 11, - "volume": 114.16124341503081, - "difficulty": 6.571428571428571, - "effort": 750.2024567273453, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::groupBy" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::jsonSerialize": { - "line": 141, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::jsonSerialize" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::__construct": { - "line": 32, - "lineCount": 8, - "argCount": 5, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 5, - "N1": 0, - "N2": 5, - "programLength": 5, - "programVocabulary": 5, - "volume": 11.60964047443681, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collect": { - "line": 49, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 5, - "programLength": 6, - "programVocabulary": 4, - "volume": 12, - "difficulty": 0.8333333333333334, - "effort": 10, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collect" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collectFromPaths": { - "line": 62, - "lineCount": 13, - "argCount": 2, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 8, - "N2": 16, - "programLength": 24, - "programVocabulary": 9, - "volume": 76.07820003461549, - "difficulty": 4, - "effort": 304.31280013846197, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collectFromPaths" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCodeFromFile": { - "line": 79, - "lineCount": 10, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 2, - "N1": 5, - "N2": 6, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 6, - "effort": 170.6075250475963, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCodeFromFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findMetrics": { - "line": 98, - "lineCount": 31, - "argCount": 1, - "returnCount": 1, - "variableCount": 9, - "propertyCallCount": 2, - "ifNestingLevel": 2, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 13, - "N1": 18, - "N2": 38, - "programLength": 56, - "programVocabulary": 16, - "volume": 224, - "difficulty": 4.384615384615384, - "effort": 982.1538461538461, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findMetrics" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processMethodMetrics": { - "line": 136, - "lineCount": 29, - "argCount": 3, - "returnCount": 1, - "variableCount": 7, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 14, - "N1": 8, - "N2": 27, - "programLength": 35, - "programVocabulary": 17, - "volume": 143.06119944376186, - "difficulty": 2.892857142857143, - "effort": 413.8556126765968, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processMethodMetrics" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::isExcluded": { - "line": 166, - "lineCount": 12, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 5, - "N1": 5, - "N2": 9, - "programLength": 14, - "programVocabulary": 9, - "volume": 44.37895002019237, - "difficulty": 3.6, - "effort": 159.76422007269252, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::isExcluded" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findSourceFiles": { - "line": 187, - "lineCount": 7, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 2, - "N2": 6, - "programLength": 8, - "programVocabulary": 6, - "volume": 20.67970000576925, - "difficulty": 1.5, - "effort": 31.019550008653873, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findSourceFiles" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getProjectRoot": { - "line": 202, - "lineCount": 13, - "argCount": 0, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 2, - "N1": 8, - "N2": 8, - "programLength": 16, - "programVocabulary": 6, - "volume": 41.3594000115385, - "difficulty": 8, - "effort": 330.875200092308, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getProjectRoot" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateCacheKey": { - "line": 219, - "lineCount": 7, - "argCount": 2, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 6, - "N1": 10, - "N2": 12, - "programLength": 22, - "programVocabulary": 10, - "volume": 73.08241808752197, - "difficulty": 4, - "effort": 292.3296723500879, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateCacheKey" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateConfigHash": { - "line": 230, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 1, - "N1": 3, - "N2": 2, - "programLength": 5, - "programVocabulary": 3, - "volume": 7.92481250360578, - "difficulty": 2, - "effort": 15.84962500721156, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateConfigHash" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::cacheResult": { - "line": 239, - "lineCount": 14, - "argCount": 4, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 13, - "N1": 5, - "N2": 20, - "programLength": 25, - "programVocabulary": 15, - "volume": 97.67226489021297, - "difficulty": 1.5384615384615385, - "effort": 150.26502290801997, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::cacheResult" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::clearCache": { - "line": 254, - "lineCount": 4, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::clearCache" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::normalizeFilename": { - "line": 264, - "lineCount": 15, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 6, - "n2": 7, - "N1": 12, - "N2": 16, - "programLength": 28, - "programVocabulary": 13, - "volume": 103.61231210795059, - "difficulty": 6.857142857142857, - "effort": 710.4844258830897, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::normalizeFilename" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCachedMetrics": { - "line": 286, - "lineCount": 19, - "argCount": 3, - "returnCount": 3, - "variableCount": 4, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 11, - "N1": 10, - "N2": 29, - "programLength": 39, - "programVocabulary": 14, - "volume": 148.48684196024655, - "difficulty": 3.954545454545454, - "effort": 587.1979659337022, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCachedMetrics" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processFile": { - "line": 312, - "lineCount": 37, - "argCount": 5, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 7, - "n2": 10, - "N1": 12, - "N2": 28, - "programLength": 40, - "programVocabulary": 17, - "volume": 163.49851365001356, - "difficulty": 9.799999999999999, - "effort": 1602.2854337701328, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::sort": { - "line": 51, - "lineCount": 41, - "argCount": 3, - "returnCount": 2, - "variableCount": 10, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 18, - "N1": 20, - "N2": 43, - "programLength": 63, - "programVocabulary": 22, - "volume": 280.9441919741497, - "difficulty": 4.777777777777778, - "effort": 1342.2889172098264, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::sort" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getFieldValue": { - "line": 100, - "lineCount": 28, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 25, - "N1": 24, - "N2": 50, - "programLength": 74, - "programVocabulary": 27, - "volume": 351.86167516009664, - "difficulty": 2, - "effort": 703.7233503201933, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getFieldValue" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::compareValues": { - "line": 136, - "lineCount": 13, - "argCount": 2, - "returnCount": 3, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 2, - "N1": 9, - "N2": 12, - "programLength": 21, - "programVocabulary": 5, - "volume": 48.760489992634604, - "difficulty": 9, - "effort": 438.8444099337114, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::compareValues" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getSortableFields": { - "line": 155, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 0, - "N1": 0, - "N2": 0, - "programLength": 0, - "programVocabulary": 0, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getSortableFields" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__construct": { - "line": 15, - "lineCount": 11, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 7, - "N2": 12, - "programLength": 19, - "programVocabulary": 6, - "volume": 49.11428751370197, - "difficulty": 6, - "effort": 294.6857250822118, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::getValue": { - "line": 27, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::getValue" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasIncreased": { - "line": 32, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasIncreased" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__toString": { - "line": 37, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__toString" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasNotChanged": { - "line": 42, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 2, - "programLength": 3, - "programVocabulary": 3, - "volume": 4.754887502163468, - "difficulty": 0.5, - "effort": 2.377443751081734, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasNotChanged" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\FileProcessed::__construct": { - "line": 14, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\FileProcessed::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\ParserFailed::__construct": { - "line": 15, - "lineCount": 5, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\ParserFailed::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\SourceFilesFound::__construct": { - "line": 17, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\SourceFilesFound::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::__construct": { - "line": 15, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::create": { - "line": 27, - "lineCount": 10, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 6, - "N1": 0, - "N2": 8, - "programLength": 8, - "programVocabulary": 6, - "volume": 20.67970000576925, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::create" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::getSupportedTypes": { - "line": 43, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 4, - "N1": 0, - "N2": 4, - "programLength": 4, - "programVocabulary": 4, - "volume": 8, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::getSupportedTypes" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::isSupported": { - "line": 54, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 2, - "N2": 3, - "programLength": 5, - "programVocabulary": 4, - "volume": 10, - "difficulty": 1.5, - "effort": 15, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::isSupported" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CsvExporter::export": { - "line": 46, - "lineCount": 57, - "argCount": 2, - "returnCount": 0, - "variableCount": 6, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 15, - "N1": 37, - "N2": 54, - "programLength": 91, - "programVocabulary": 19, - "volume": 386.56140372336625, - "difficulty": 7.2, - "effort": 2783.242106808237, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CsvExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::export": { - "line": 40, - "lineCount": 8, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 5, - "N1": 4, - "N2": 8, - "programLength": 12, - "programVocabulary": 9, - "volume": 38.039100017307746, - "difficulty": 3.2, - "effort": 121.72512005538479, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::escape": { - "line": 49, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::escape" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::formatNumber": { - "line": 54, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::formatNumber" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::generateMetricRow": { - "line": 59, - "lineCount": 12, - "argCount": 3, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 16, - "N1": 19, - "N2": 27, - "programLength": 46, - "programVocabulary": 21, - "volume": 202.04660144782298, - "difficulty": 4.21875, - "effort": 852.3840998580032, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::generateMetricRow" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::generateHtml": { - "line": 78, - "lineCount": 64, - "argCount": 1, - "returnCount": 1, - "variableCount": 7, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 11, - "N1": 46, - "N2": 57, - "programLength": 103, - "programVocabulary": 15, - "volume": 402.40973134767745, - "difficulty": 10.363636363636363, - "effort": 4170.42812487593, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::generateHtml" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\JsonExporter::export": { - "line": 19, - "lineCount": 38, - "argCount": 2, - "returnCount": 0, - "variableCount": 5, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 27, - "N1": 29, - "N2": 58, - "programLength": 87, - "programVocabulary": 32, - "volume": 435, - "difficulty": 5.370370370370371, - "effort": 2336.1111111111113, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\JsonExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::__construct": { - "line": 24, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::export": { - "line": 36, - "lineCount": 8, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 5, - "N1": 4, - "N2": 8, - "programLength": 12, - "programVocabulary": 9, - "volume": 38.039100017307746, - "difficulty": 3.2, - "effort": 121.72512005538479, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::escape": { - "line": 48, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::escape" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateMetricCell": { - "line": 56, - "lineCount": 12, - "argCount": 3, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 12, - "N1": 16, - "N2": 24, - "programLength": 40, - "programVocabulary": 17, - "volume": 163.49851365001356, - "difficulty": 5, - "effort": 817.4925682500678, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateMetricCell" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::filterMetrics": { - "line": 75, - "lineCount": 15, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 4, - "N1": 4, - "N2": 11, - "programLength": 15, - "programVocabulary": 7, - "volume": 42.11032383086406, - "difficulty": 4.125, - "effort": 173.70508580231424, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::filterMetrics" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableHeader": { - "line": 94, - "lineCount": 33, - "argCount": 0, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 4, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 19, - "N1": 10, - "N2": 28, - "programLength": 38, - "programVocabulary": 22, - "volume": 169.4584015082173, - "difficulty": 2.2105263157894735, - "effort": 374.5922559655329, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableHeader" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableHeaderWithClass": { - "line": 131, - "lineCount": 33, - "argCount": 0, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 4, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 20, - "N1": 10, - "N2": 29, - "programLength": 39, - "programVocabulary": 23, - "volume": 176.41891628622352, - "difficulty": 2.175, - "effort": 383.7111429225361, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableHeaderWithClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableSeparator": { - "line": 168, - "lineCount": 20, - "argCount": 0, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 4, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 7, - "N1": 3, - "N2": 16, - "programLength": 19, - "programVocabulary": 10, - "volume": 63.11663380285988, - "difficulty": 3.4285714285714284, - "effort": 216.399887324091, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableSeparator" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableSeparatorWithClass": { - "line": 192, - "lineCount": 20, - "argCount": 0, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 4, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 8, - "N1": 3, - "N2": 16, - "programLength": 19, - "programVocabulary": 11, - "volume": 65.72920075410865, - "difficulty": 3, - "effort": 197.18760226232592, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableSeparatorWithClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableRow": { - "line": 216, - "lineCount": 22, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 6, - "N1": 53, - "N2": 60, - "programLength": 113, - "programVocabulary": 10, - "volume": 375.37787472227194, - "difficulty": 20, - "effort": 7507.557494445438, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableRow" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableRowWithClass": { - "line": 242, - "lineCount": 25, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 6, - "N1": 55, - "N2": 62, - "programLength": 117, - "programVocabulary": 10, - "volume": 388.66558710182136, - "difficulty": 20.666666666666668, - "effort": 8032.422133437642, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableRowWithClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::addHalsteadCells": { - "line": 274, - "lineCount": 20, - "argCount": 2, - "returnCount": 3, - "variableCount": 2, - "propertyCallCount": 5, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 12, - "N2": 24, - "programLength": 36, - "programVocabulary": 8, - "volume": 108, - "difficulty": 7.199999999999999, - "effort": 777.5999999999999, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::addHalsteadCells" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::addCyclomaticCell": { - "line": 301, - "lineCount": 16, - "argCount": 2, - "returnCount": 3, - "variableCount": 2, - "propertyCallCount": 4, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 8, - "N2": 16, - "programLength": 24, - "programVocabulary": 11, - "volume": 83.02635884729514, - "difficulty": 4.571428571428571, - "effort": 379.5490690162063, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::addCyclomaticCell" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateMarkdown": { - "line": 325, - "lineCount": 8, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 2, - "N2": 6, - "programLength": 8, - "programVocabulary": 3, - "volume": 12.679700005769249, - "difficulty": 1.5, - "effort": 19.019550008653873, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateMarkdown" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateGroupedMarkdown": { - "line": 337, - "lineCount": 49, - "argCount": 1, - "returnCount": 1, - "variableCount": 10, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 8, - "n2": 23, - "N1": 33, - "N2": 65, - "programLength": 98, - "programVocabulary": 31, - "volume": 485.5112384179137, - "difficulty": 11.304347826086957, - "effort": 5488.387912550329, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateGroupedMarkdown" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateSingleTableMarkdown": { - "line": 390, - "lineCount": 28, - "argCount": 1, - "returnCount": 1, - "variableCount": 6, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 6, - "n2": 13, - "N1": 19, - "N2": 37, - "programLength": 56, - "programVocabulary": 19, - "volume": 237.88394075284077, - "difficulty": 8.538461538461538, - "effort": 2031.1628787357943, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateSingleTableMarkdown" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::__construct": { - "line": 32, - "lineCount": 26, - "argCount": 2, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 7, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 14, - "N2": 22, - "programLength": 36, - "programVocabulary": 5, - "volume": 83.58941141594504, - "difficulty": 7.333333333333333, - "effort": 612.9890170502636, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::parse": { - "line": 63, - "lineCount": 37, - "argCount": 1, - "returnCount": 1, - "variableCount": 9, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "cyclomatic_complexity": { - "complexity": 5, - "risk_level": "low" - }, - "halstead": { - "n1": 3, - "n2": 14, - "N1": 16, - "N2": 43, - "programLength": 59, - "programVocabulary": 17, - "volume": 241.16030763377, - "difficulty": 4.607142857142858, - "effort": 1111.0599887412977, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::parse" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::scanForAnnotations": { - "line": 104, - "lineCount": 20, - "argCount": 1, - "returnCount": 0, - "variableCount": 4, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "cyclomatic_complexity": { - "complexity": 3, - "risk_level": "low" - }, - "halstead": { - "n1": 3, - "n2": 7, - "N1": 8, - "N2": 16, - "programLength": 24, - "programVocabulary": 10, - "volume": 79.7262742772967, - "difficulty": 3.4285714285714284, - "effort": 273.34722609358863, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::scanForAnnotations" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::traverseAbstractSyntaxTreeWithCombinedVisitor": { - "line": 129, - "lineCount": 17, - "argCount": 1, - "returnCount": 0, - "variableCount": 4, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "cyclomatic_complexity": { - "complexity": 3, - "risk_level": "low" - }, - "halstead": { - "n1": 3, - "n2": 7, - "N1": 7, - "N2": 15, - "programLength": 22, - "programVocabulary": 10, - "volume": 73.08241808752197, - "difficulty": 3.2142857142857144, - "effort": 234.90777242417778, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::traverseAbstractSyntaxTreeWithCombinedVisitor" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getIgnored": { - "line": 153, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getIgnored" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getIgnoredClasses": { - "line": 163, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getIgnoredClasses" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getIgnoredMethods": { - "line": 173, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getIgnoredMethods" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::clearStaticCaches": { - "line": 181, - "lineCount": 15, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 1, - "n2": 9, - "N1": 7, - "N2": 19, - "programLength": 26, - "programVocabulary": 10, - "volume": 86.37013046707142, - "difficulty": 1.0555555555555556, - "effort": 91.16847104857538, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::clearStaticCaches" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::clearStaticProperty": { - "line": 200, - "lineCount": 14, - "argCount": 2, - "returnCount": 0, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "cyclomatic_complexity": { - "complexity": 3, - "risk_level": "low" - }, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 6, - "N2": 12, - "programLength": 18, - "programVocabulary": 7, - "volume": 50.53238859703688, - "difficulty": 2.4, - "effort": 121.2777326328885, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::clearStaticProperty" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getRiskLevel": { - "line": 218, - "lineCount": 9, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 1, - "n2": 8, - "N1": 3, - "N2": 11, - "programLength": 14, - "programVocabulary": 9, - "volume": 44.37895002019237, - "difficulty": 0.6875, - "effort": 30.510528138882254, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getRiskLevel" - } - } - }, - "ignored_items": [], - "cached_at": 1759967601 -} \ No newline at end of file diff --git a/.phpcca.cache/26/264c7c0fed41077dc1a80464cfc674b3.cache b/.phpcca.cache/26/264c7c0fed41077dc1a80464cfc674b3.cache deleted file mode 100644 index 1f43803..0000000 --- a/.phpcca.cache/26/264c7c0fed41077dc1a80464cfc674b3.cache +++ /dev/null @@ -1,1686 +0,0 @@ -{ - "version": "1.0", - "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/Business\/CodeCoverage\/CoberturaReader.php", - "file_mtime": 1759784766, - "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", - "analysis_result": { - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct": { - "line": 60, - "lineCount": 5, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 1, - "N1": 2, - "N2": 2, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 2, - "effort": 12.679700005769249, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices": { - "line": 66, - "lineCount": 95, - "argCount": 0, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 5, - "N1": 58, - "N2": 32, - "programLength": 90, - "programVocabulary": 9, - "volume": 285.2932501298081, - "difficulty": 12.8, - "effort": 3651.7536016615436, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap": { - "line": 162, - "lineCount": 10, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 7, - "N2": 7, - "programLength": 14, - "programVocabulary": 2, - "volume": 14, - "difficulty": 3.5, - "effort": 49, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors": { - "line": 173, - "lineCount": 12, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 3, - "N2": 1, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0.5, - "effort": 2, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus": { - "line": 186, - "lineCount": 19, - "argCount": 0, - "returnCount": 0, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 9, - "N2": 13, - "programLength": 22, - "programVocabulary": 7, - "volume": 61.76180828526729, - "difficulty": 2.6, - "effort": 160.58070154169496, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService": { - "line": 206, - "lineCount": 9, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 3, - "N2": 1, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0.5, - "effort": 2, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade": { - "line": 216, - "lineCount": 13, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 3, - "N2": 1, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0.5, - "effort": 2, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands": { - "line": 230, - "lineCount": 21, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 6, - "N2": 2, - "programLength": 8, - "programVocabulary": 2, - "volume": 8, - "difficulty": 1, - "effort": 8, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication": { - "line": 252, - "lineCount": 11, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 5, - "N2": 4, - "programLength": 9, - "programVocabulary": 4, - "volume": 18, - "difficulty": 0.6666666666666666, - "effort": 12, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run": { - "line": 264, - "lineCount": 9, - "argCount": 0, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 5, - "N2": 5, - "programLength": 10, - "programVocabulary": 4, - "volume": 20, - "difficulty": 2.5, - "effort": 50, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get": { - "line": 274, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer": { - "line": 279, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator": { - "line": 289, - "lineCount": 16, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 7, - "programLength": 8, - "programVocabulary": 4, - "volume": 16, - "difficulty": 1.1666666666666667, - "effort": 18.666666666666668, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create": { - "line": 18, - "lineCount": 7, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 4, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile": { - "line": 17, - "lineCount": 17, - "argCount": 2, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 8, - "N1": 11, - "N2": 19, - "programLength": 30, - "programVocabulary": 11, - "volume": 103.78294855911892, - "difficulty": 3.5625, - "effort": 369.72675424186116, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode": { - "line": 42, - "lineCount": 8, - "argCount": 3, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 3, - "N2": 8, - "programLength": 11, - "programVocabulary": 8, - "volume": 33, - "difficulty": 2.4000000000000004, - "effort": 79.20000000000002, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate": { - "line": 22, - "lineCount": 10, - "argCount": 2, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 6, - "N2": 13, - "programLength": 19, - "programVocabulary": 6, - "volume": 49.11428751370197, - "difficulty": 3.25, - "effort": 159.6214344195314, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending": { - "line": 37, - "lineCount": 8, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 2, - "N2": 9, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 2.25, - "effort": 63.97782189284862, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn": { - "line": 51, - "lineCount": 24, - "argCount": 2, - "returnCount": 1, - "variableCount": 6, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 15, - "N1": 17, - "N2": 46, - "programLength": 63, - "programVocabulary": 20, - "volume": 272.28146997790384, - "difficulty": 7.666666666666667, - "effort": 2087.491269830596, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses": { - "line": 81, - "lineCount": 20, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 2, - "n2": 7, - "N1": 10, - "N2": 24, - "programLength": 34, - "programVocabulary": 9, - "volume": 107.7774500490386, - "difficulty": 3.4285714285714284, - "effort": 369.52268588241805, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass": { - "line": 109, - "lineCount": 9, - "argCount": 2, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 6, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 10, - "volume": 49.82892142331043, - "difficulty": 3.3333333333333335, - "effort": 166.09640474436813, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel": { - "line": 126, - "lineCount": 16, - "argCount": 2, - "returnCount": 4, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 12, - "N1": 9, - "N2": 18, - "programLength": 27, - "programVocabulary": 15, - "volume": 105.48604608143, - "difficulty": 2.25, - "effort": 237.3436036832175, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile": { - "line": 14, - "lineCount": 6, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 2, - "N2": 5, - "programLength": 7, - "programVocabulary": 4, - "volume": 14, - "difficulty": 2.5, - "effort": 35, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable": { - "line": 24, - "lineCount": 11, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 10, - "N2": 12, - "programLength": 22, - "programVocabulary": 8, - "volume": 66, - "difficulty": 6, - "effort": 396, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create": { - "line": 21, - "lineCount": 11, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 7, - "N1": 0, - "N2": 9, - "programLength": 9, - "programVocabulary": 7, - "volume": 25.26619429851844, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes": { - "line": 38, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 6, - "N1": 0, - "N2": 6, - "programLength": 6, - "programVocabulary": 6, - "volume": 15.509775004326936, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported": { - "line": 49, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 2, - "N2": 3, - "programLength": 5, - "programVocabulary": 4, - "volume": 10, - "difficulty": 1.5, - "effort": 15, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export": { - "line": 30, - "lineCount": 23, - "argCount": 2, - "returnCount": 0, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 16, - "N1": 10, - "N2": 33, - "programLength": 43, - "programVocabulary": 20, - "volume": 185.8429080801566, - "difficulty": 4.125, - "effort": 766.601995830646, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export": { - "line": 28, - "lineCount": 8, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 6, - "volume": 36.18947501009619, - "difficulty": 2.5, - "effort": 90.47368752524048, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape": { - "line": 37, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber": { - "line": 42, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml": { - "line": 52, - "lineCount": 50, - "argCount": 1, - "returnCount": 1, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 12, - "N1": 11, - "N2": 25, - "programLength": 36, - "programVocabulary": 17, - "volume": 147.14866228501222, - "difficulty": 5.208333333333334, - "effort": 766.3992827344388, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export": { - "line": 17, - "lineCount": 13, - "argCount": 2, - "returnCount": 0, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 8, - "N1": 7, - "N2": 14, - "programLength": 21, - "programVocabulary": 12, - "volume": 75.28421251514428, - "difficulty": 3.5, - "effort": 263.49474380300495, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export": { - "line": 48, - "lineCount": 8, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 6, - "volume": 36.18947501009619, - "difficulty": 2.5, - "effort": 90.47368752524048, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown": { - "line": 61, - "lineCount": 24, - "argCount": 1, - "returnCount": 1, - "variableCount": 6, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 6, - "n2": 16, - "N1": 19, - "N2": 41, - "programLength": 60, - "programVocabulary": 22, - "volume": 267.56589711823784, - "difficulty": 7.6875, - "effort": 2056.9128340964535, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow": { - "line": 94, - "lineCount": 21, - "argCount": 3, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 7, - "n2": 18, - "N1": 16, - "N2": 39, - "programLength": 55, - "programVocabulary": 25, - "volume": 255.41209043760983, - "difficulty": 7.583333333333333, - "effort": 1936.8750191518745, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::__construct": { - "line": 26, - "lineCount": 4, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::export": { - "line": 36, - "lineCount": 10, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 8, - "volume": 45, - "difficulty": 5, - "effort": 225, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::generateSvgTreemap": { - "line": 53, - "lineCount": 20, - "argCount": 1, - "returnCount": 1, - "variableCount": 6, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 8, - "N1": 9, - "N2": 20, - "programLength": 29, - "programVocabulary": 10, - "volume": 96.3359147517335, - "difficulty": 2.5, - "effort": 240.83978687933376, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::generateSvgTreemap" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRects": { - "line": 82, - "lineCount": 10, - "argCount": 3, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 9, - "N1": 6, - "N2": 18, - "programLength": 24, - "programVocabulary": 12, - "volume": 86.03910001730775, - "difficulty": 3, - "effort": 258.1173000519232, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRects" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRect": { - "line": 100, - "lineCount": 29, - "argCount": 2, - "returnCount": 1, - "variableCount": 12, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 6, - "n2": 28, - "N1": 26, - "N2": 54, - "programLength": 80, - "programVocabulary": 34, - "volume": 406.9970273000271, - "difficulty": 5.785714285714286, - "effort": 2354.7685150930142, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRect" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::wrapSvg": { - "line": 136, - "lineCount": 21, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 2, - "N2": 8, - "programLength": 10, - "programVocabulary": 4, - "volume": 20, - "difficulty": 1.3333333333333333, - "effort": 26.666666666666664, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::wrapSvg" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::prepareItems": { - "line": 28, - "lineCount": 18, - "argCount": 1, - "returnCount": 1, - "variableCount": 7, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 12, - "N1": 9, - "N2": 30, - "programLength": 39, - "programVocabulary": 17, - "volume": 159.41105080876324, - "difficulty": 6.25, - "effort": 996.3190675547702, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::prepareItems" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findScoreRange": { - "line": 53, - "lineCount": 16, - "argCount": 1, - "returnCount": 3, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 7, - "N2": 13, - "programLength": 20, - "programVocabulary": 8, - "volume": 60, - "difficulty": 3.9000000000000004, - "effort": 234.00000000000003, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findScoreRange" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::normalizeScore": { - "line": 78, - "lineCount": 8, - "argCount": 3, - "returnCount": 2, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 8, - "volume": 45, - "difficulty": 5, - "effort": 225, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::normalizeScore" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::scoreToColor": { - "line": 93, - "lineCount": 9, - "argCount": 1, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 5, - "n2": 9, - "N1": 12, - "N2": 16, - "programLength": 28, - "programVocabulary": 14, - "volume": 106.60593781761291, - "difficulty": 4.444444444444445, - "effort": 473.80416807827964, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::scoreToColor" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::calculateTreemapLayout": { - "line": 115, - "lineCount": 23, - "argCount": 7, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 9, - "N1": 2, - "N2": 18, - "programLength": 20, - "programVocabulary": 11, - "volume": 69.18863237274594, - "difficulty": 2, - "effort": 138.37726474549189, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::calculateTreemapLayout" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::layoutTreemap": { - "line": 152, - "lineCount": 89, - "argCount": 8, - "returnCount": 3, - "variableCount": 11, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 8, - "n2": 28, - "N1": 32, - "N2": 98, - "programLength": 130, - "programVocabulary": 36, - "volume": 672.0902501875006, - "difficulty": 14, - "effort": 9409.263502625008, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::layoutTreemap" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findSplitIndex": { - "line": 249, - "lineCount": 13, - "argCount": 2, - "returnCount": 2, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 7, - "n2": 10, - "N1": 9, - "N2": 23, - "programLength": 32, - "programVocabulary": 17, - "volume": 130.79881092001085, - "difficulty": 8.049999999999999, - "effort": 1052.9304279060873, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findSplitIndex" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::__construct": { - "line": 23, - "lineCount": 18, - "argCount": 1, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 7, - "N2": 11, - "programLength": 18, - "programVocabulary": 6, - "volume": 46.529325012980806, - "difficulty": 5.5, - "effort": 255.91128757139444, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::getAllClasses": { - "line": 47, - "lineCount": 17, - "argCount": 0, - "returnCount": 2, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 6, - "N2": 12, - "programLength": 18, - "programVocabulary": 9, - "volume": 57.05865002596162, - "difficulty": 3, - "effort": 171.17595007788486, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::getAllClasses" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::withClassNode": { - "line": 73, - "lineCount": 8, - "argCount": 2, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 4, - "N2": 8, - "programLength": 12, - "programVocabulary": 8, - "volume": 36, - "difficulty": 4, - "effort": 144, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::withClassNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::findClassNode": { - "line": 85, - "lineCount": 25, - "argCount": 1, - "returnCount": 4, - "variableCount": 5, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 13, - "N2": 29, - "programLength": 42, - "programVocabulary": 11, - "volume": 145.29612798276648, - "difficulty": 8.285714285714286, - "effort": 1203.8822032857795, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::findClassNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::escapeXPathValue": { - "line": 114, - "lineCount": 16, - "argCount": 1, - "returnCount": 3, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 9, - "N1": 11, - "N2": 18, - "programLength": 29, - "programVocabulary": 13, - "volume": 107.31275182609167, - "difficulty": 4, - "effort": 429.2510073043667, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::escapeXPathValue" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getLineCoverage": { - "line": 22, - "lineCount": 18, - "argCount": 1, - "returnCount": 4, - "variableCount": 5, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 9, - "N1": 10, - "N2": 19, - "programLength": 29, - "programVocabulary": 13, - "volume": 107.31275182609167, - "difficulty": 4.222222222222222, - "effort": 453.09828548794263, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getLineCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getBranchCoverage": { - "line": 48, - "lineCount": 18, - "argCount": 1, - "returnCount": 4, - "variableCount": 5, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 9, - "N1": 10, - "N2": 19, - "programLength": 29, - "programVocabulary": 13, - "volume": 107.31275182609167, - "difficulty": 4.222222222222222, - "effort": 453.09828548794263, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getBranchCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getComplexity": { - "line": 73, - "lineCount": 13, - "argCount": 1, - "returnCount": 3, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 7, - "N2": 14, - "programLength": 21, - "programVocabulary": 11, - "volume": 72.64806399138324, - "difficulty": 4, - "effort": 290.59225596553296, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getComplexity" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getCoverageDetails": { - "line": 93, - "lineCount": 26, - "argCount": 1, - "returnCount": 3, - "variableCount": 9, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 17, - "N1": 22, - "N2": 42, - "programLength": 64, - "programVocabulary": 22, - "volume": 285.403623592787, - "difficulty": 6.176470588235294, - "effort": 1762.7870868966259, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getCoverageDetails" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getMetricsNode": { - "line": 123, - "lineCount": 12, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 6, - "N1": 7, - "N2": 13, - "programLength": 20, - "programVocabulary": 10, - "volume": 66.43856189774725, - "difficulty": 4.333333333333333, - "effort": 287.90043489023805, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getMetricsNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getFilenameForClass": { - "line": 139, - "lineCount": 9, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 5, - "N1": 4, - "N2": 9, - "programLength": 13, - "programVocabulary": 9, - "volume": 41.209025018750054, - "difficulty": 3.6, - "effort": 148.3524900675002, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getFilenameForClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodsCoverage": { - "line": 154, - "lineCount": 36, - "argCount": 1, - "returnCount": 3, - "variableCount": 8, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 13, - "N1": 12, - "N2": 30, - "programLength": 42, - "programVocabulary": 16, - "volume": 168, - "difficulty": 3.4615384615384612, - "effort": 581.5384615384614, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodsCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::calculateMethodCoverage": { - "line": 194, - "lineCount": 15, - "argCount": 2, - "returnCount": 2, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 11, - "N1": 9, - "N2": 23, - "programLength": 32, - "programVocabulary": 16, - "volume": 128, - "difficulty": 5.227272727272727, - "effort": 669.090909090909, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::calculateMethodCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodCoverageFromLines": { - "line": 215, - "lineCount": 36, - "argCount": 2, - "returnCount": 1, - "variableCount": 7, - "propertyCallCount": 0, - "ifNestingLevel": 2, - "elseCount": 0, - "ifCount": 5, - "halstead": { - "n1": 2, - "n2": 14, - "N1": 12, - "N2": 35, - "programLength": 47, - "programVocabulary": 16, - "volume": 188, - "difficulty": 2.5, - "effort": 470, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodCoverageFromLines" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStart": { - "line": 252, - "lineCount": 4, - "argCount": 3, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 3, - "N2": 7, - "programLength": 10, - "programVocabulary": 6, - "volume": 25.84962500721156, - "difficulty": 1.75, - "effort": 45.23684376262023, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStart" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodEnd": { - "line": 257, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 5, - "programLength": 7, - "programVocabulary": 5, - "volume": 16.253496664211536, - "difficulty": 1.6666666666666667, - "effort": 27.089161107019226, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodEnd" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStatement": { - "line": 262, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 5, - "programLength": 7, - "programVocabulary": 5, - "volume": 16.253496664211536, - "difficulty": 1.6666666666666667, - "effort": 27.089161107019226, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStatement" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isStatementCovered": { - "line": 267, - "lineCount": 5, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 4, - "N1": 3, - "N2": 6, - "programLength": 9, - "programVocabulary": 7, - "volume": 25.26619429851844, - "difficulty": 2.25, - "effort": 56.848937171666485, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isStatementCovered" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getLineCoverage": { - "line": 20, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 2, - "risk_level": "low" - }, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 9, - "volume": 44.37895002019237, - "difficulty": 2.5, - "effort": 110.94737505048093, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getLineCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getBranchCoverage": { - "line": 34, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 2, - "risk_level": "low" - }, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 9, - "volume": 44.37895002019237, - "difficulty": 2.5, - "effort": 110.94737505048093, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getBranchCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getComplexity": { - "line": 48, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 2, - "risk_level": "low" - }, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 9, - "volume": 44.37895002019237, - "difficulty": 2.5, - "effort": 110.94737505048093, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getComplexity" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getCoverageDetails": { - "line": 62, - "lineCount": 13, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 1, - "n2": 8, - "N1": 7, - "N2": 16, - "programLength": 23, - "programVocabulary": 9, - "volume": 72.90827503317318, - "difficulty": 1, - "effort": 72.90827503317318, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getCoverageDetails" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::extractMethodsCoverage": { - "line": 81, - "lineCount": 23, - "argCount": 1, - "returnCount": 2, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "cyclomatic_complexity": { - "complexity": 4, - "risk_level": "low" - }, - "halstead": { - "n1": 3, - "n2": 11, - "N1": 10, - "N2": 23, - "programLength": 33, - "programVocabulary": 14, - "volume": 125.64271242790093, - "difficulty": 3.1363636363636362, - "effort": 394.061234432962, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::extractMethodsCoverage" - } - } - }, - "ignored_items": [], - "cached_at": 1759967600 -} \ No newline at end of file diff --git a/.phpcca.cache/2a/2af046cbb18ad9280bffb28b7072b164.cache b/.phpcca.cache/2a/2af046cbb18ad9280bffb28b7072b164.cache deleted file mode 100644 index 47e7d3d..0000000 --- a/.phpcca.cache/2a/2af046cbb18ad9280bffb28b7072b164.cache +++ /dev/null @@ -1,1165 +0,0 @@ -{ - "version": "1.0", - "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/Business\/Churn\/Exporter\/TreemapMath.php", - "file_mtime": 1752612112, - "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", - "analysis_result": { - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct": { - "line": 60, - "lineCount": 5, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 1, - "N1": 2, - "N2": 2, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 2, - "effort": 12.679700005769249, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices": { - "line": 66, - "lineCount": 95, - "argCount": 0, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 5, - "N1": 58, - "N2": 32, - "programLength": 90, - "programVocabulary": 9, - "volume": 285.2932501298081, - "difficulty": 12.8, - "effort": 3651.7536016615436, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap": { - "line": 162, - "lineCount": 10, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 7, - "N2": 7, - "programLength": 14, - "programVocabulary": 2, - "volume": 14, - "difficulty": 3.5, - "effort": 49, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors": { - "line": 173, - "lineCount": 12, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 3, - "N2": 1, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0.5, - "effort": 2, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus": { - "line": 186, - "lineCount": 19, - "argCount": 0, - "returnCount": 0, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 9, - "N2": 13, - "programLength": 22, - "programVocabulary": 7, - "volume": 61.76180828526729, - "difficulty": 2.6, - "effort": 160.58070154169496, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService": { - "line": 206, - "lineCount": 9, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 3, - "N2": 1, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0.5, - "effort": 2, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade": { - "line": 216, - "lineCount": 13, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 3, - "N2": 1, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0.5, - "effort": 2, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands": { - "line": 230, - "lineCount": 21, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 6, - "N2": 2, - "programLength": 8, - "programVocabulary": 2, - "volume": 8, - "difficulty": 1, - "effort": 8, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication": { - "line": 252, - "lineCount": 11, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 5, - "N2": 4, - "programLength": 9, - "programVocabulary": 4, - "volume": 18, - "difficulty": 0.6666666666666666, - "effort": 12, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run": { - "line": 264, - "lineCount": 9, - "argCount": 0, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 5, - "N2": 5, - "programLength": 10, - "programVocabulary": 4, - "volume": 20, - "difficulty": 2.5, - "effort": 50, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get": { - "line": 274, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer": { - "line": 279, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator": { - "line": 289, - "lineCount": 16, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 7, - "programLength": 8, - "programVocabulary": 4, - "volume": 16, - "difficulty": 1.1666666666666667, - "effort": 18.666666666666668, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create": { - "line": 18, - "lineCount": 7, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 4, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile": { - "line": 17, - "lineCount": 17, - "argCount": 2, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 8, - "N1": 11, - "N2": 19, - "programLength": 30, - "programVocabulary": 11, - "volume": 103.78294855911892, - "difficulty": 3.5625, - "effort": 369.72675424186116, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode": { - "line": 42, - "lineCount": 8, - "argCount": 3, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 3, - "N2": 8, - "programLength": 11, - "programVocabulary": 8, - "volume": 33, - "difficulty": 2.4000000000000004, - "effort": 79.20000000000002, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate": { - "line": 22, - "lineCount": 10, - "argCount": 2, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 6, - "N2": 13, - "programLength": 19, - "programVocabulary": 6, - "volume": 49.11428751370197, - "difficulty": 3.25, - "effort": 159.6214344195314, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending": { - "line": 37, - "lineCount": 8, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 2, - "N2": 9, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 2.25, - "effort": 63.97782189284862, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn": { - "line": 51, - "lineCount": 24, - "argCount": 2, - "returnCount": 1, - "variableCount": 6, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 15, - "N1": 17, - "N2": 46, - "programLength": 63, - "programVocabulary": 20, - "volume": 272.28146997790384, - "difficulty": 7.666666666666667, - "effort": 2087.491269830596, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses": { - "line": 81, - "lineCount": 20, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 2, - "n2": 7, - "N1": 10, - "N2": 24, - "programLength": 34, - "programVocabulary": 9, - "volume": 107.7774500490386, - "difficulty": 3.4285714285714284, - "effort": 369.52268588241805, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass": { - "line": 109, - "lineCount": 9, - "argCount": 2, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 6, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 10, - "volume": 49.82892142331043, - "difficulty": 3.3333333333333335, - "effort": 166.09640474436813, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel": { - "line": 126, - "lineCount": 16, - "argCount": 2, - "returnCount": 4, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 12, - "N1": 9, - "N2": 18, - "programLength": 27, - "programVocabulary": 15, - "volume": 105.48604608143, - "difficulty": 2.25, - "effort": 237.3436036832175, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile": { - "line": 14, - "lineCount": 6, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 2, - "N2": 5, - "programLength": 7, - "programVocabulary": 4, - "volume": 14, - "difficulty": 2.5, - "effort": 35, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable": { - "line": 24, - "lineCount": 11, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 10, - "N2": 12, - "programLength": 22, - "programVocabulary": 8, - "volume": 66, - "difficulty": 6, - "effort": 396, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create": { - "line": 21, - "lineCount": 11, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 7, - "N1": 0, - "N2": 9, - "programLength": 9, - "programVocabulary": 7, - "volume": 25.26619429851844, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes": { - "line": 38, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 6, - "N1": 0, - "N2": 6, - "programLength": 6, - "programVocabulary": 6, - "volume": 15.509775004326936, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported": { - "line": 49, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 2, - "N2": 3, - "programLength": 5, - "programVocabulary": 4, - "volume": 10, - "difficulty": 1.5, - "effort": 15, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export": { - "line": 30, - "lineCount": 23, - "argCount": 2, - "returnCount": 0, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 16, - "N1": 10, - "N2": 33, - "programLength": 43, - "programVocabulary": 20, - "volume": 185.8429080801566, - "difficulty": 4.125, - "effort": 766.601995830646, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export": { - "line": 28, - "lineCount": 8, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 6, - "volume": 36.18947501009619, - "difficulty": 2.5, - "effort": 90.47368752524048, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape": { - "line": 37, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber": { - "line": 42, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml": { - "line": 52, - "lineCount": 50, - "argCount": 1, - "returnCount": 1, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 12, - "N1": 11, - "N2": 25, - "programLength": 36, - "programVocabulary": 17, - "volume": 147.14866228501222, - "difficulty": 5.208333333333334, - "effort": 766.3992827344388, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export": { - "line": 17, - "lineCount": 13, - "argCount": 2, - "returnCount": 0, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 8, - "N1": 7, - "N2": 14, - "programLength": 21, - "programVocabulary": 12, - "volume": 75.28421251514428, - "difficulty": 3.5, - "effort": 263.49474380300495, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export": { - "line": 48, - "lineCount": 8, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 6, - "volume": 36.18947501009619, - "difficulty": 2.5, - "effort": 90.47368752524048, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown": { - "line": 61, - "lineCount": 24, - "argCount": 1, - "returnCount": 1, - "variableCount": 6, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 6, - "n2": 16, - "N1": 19, - "N2": 41, - "programLength": 60, - "programVocabulary": 22, - "volume": 267.56589711823784, - "difficulty": 7.6875, - "effort": 2056.9128340964535, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow": { - "line": 94, - "lineCount": 21, - "argCount": 3, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 7, - "n2": 18, - "N1": 16, - "N2": 39, - "programLength": 55, - "programVocabulary": 25, - "volume": 255.41209043760983, - "difficulty": 7.583333333333333, - "effort": 1936.8750191518745, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::__construct": { - "line": 26, - "lineCount": 4, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::export": { - "line": 36, - "lineCount": 10, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 8, - "volume": 45, - "difficulty": 5, - "effort": 225, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::generateSvgTreemap": { - "line": 53, - "lineCount": 20, - "argCount": 1, - "returnCount": 1, - "variableCount": 6, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 8, - "N1": 9, - "N2": 20, - "programLength": 29, - "programVocabulary": 10, - "volume": 96.3359147517335, - "difficulty": 2.5, - "effort": 240.83978687933376, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::generateSvgTreemap" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRects": { - "line": 82, - "lineCount": 10, - "argCount": 3, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 9, - "N1": 6, - "N2": 18, - "programLength": 24, - "programVocabulary": 12, - "volume": 86.03910001730775, - "difficulty": 3, - "effort": 258.1173000519232, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRects" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRect": { - "line": 100, - "lineCount": 29, - "argCount": 2, - "returnCount": 1, - "variableCount": 12, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 6, - "n2": 28, - "N1": 26, - "N2": 54, - "programLength": 80, - "programVocabulary": 34, - "volume": 406.9970273000271, - "difficulty": 5.785714285714286, - "effort": 2354.7685150930142, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRect" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::wrapSvg": { - "line": 136, - "lineCount": 21, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 2, - "N2": 8, - "programLength": 10, - "programVocabulary": 4, - "volume": 20, - "difficulty": 1.3333333333333333, - "effort": 26.666666666666664, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::wrapSvg" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::prepareItems": { - "line": 28, - "lineCount": 18, - "argCount": 1, - "returnCount": 1, - "variableCount": 7, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "cyclomatic_complexity": { - "complexity": 3, - "risk_level": "low" - }, - "halstead": { - "n1": 5, - "n2": 12, - "N1": 9, - "N2": 30, - "programLength": 39, - "programVocabulary": 17, - "volume": 159.41105080876324, - "difficulty": 6.25, - "effort": 996.3190675547702, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::prepareItems" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findScoreRange": { - "line": 53, - "lineCount": 16, - "argCount": 1, - "returnCount": 3, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "cyclomatic_complexity": { - "complexity": 3, - "risk_level": "low" - }, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 7, - "N2": 13, - "programLength": 20, - "programVocabulary": 8, - "volume": 60, - "difficulty": 3.9000000000000004, - "effort": 234.00000000000003, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findScoreRange" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::normalizeScore": { - "line": 78, - "lineCount": 8, - "argCount": 3, - "returnCount": 2, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "cyclomatic_complexity": { - "complexity": 2, - "risk_level": "low" - }, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 8, - "volume": 45, - "difficulty": 5, - "effort": 225, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::normalizeScore" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::scoreToColor": { - "line": 93, - "lineCount": 9, - "argCount": 1, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 5, - "n2": 9, - "N1": 12, - "N2": 16, - "programLength": 28, - "programVocabulary": 14, - "volume": 106.60593781761291, - "difficulty": 4.444444444444445, - "effort": 473.80416807827964, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::scoreToColor" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::calculateTreemapLayout": { - "line": 115, - "lineCount": 23, - "argCount": 7, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 2, - "n2": 9, - "N1": 2, - "N2": 18, - "programLength": 20, - "programVocabulary": 11, - "volume": 69.18863237274594, - "difficulty": 2, - "effort": 138.37726474549189, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::calculateTreemapLayout" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::layoutTreemap": { - "line": 152, - "lineCount": 89, - "argCount": 8, - "returnCount": 3, - "variableCount": 11, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "cyclomatic_complexity": { - "complexity": 4, - "risk_level": "low" - }, - "halstead": { - "n1": 8, - "n2": 28, - "N1": 32, - "N2": 98, - "programLength": 130, - "programVocabulary": 36, - "volume": 672.0902501875006, - "difficulty": 14, - "effort": 9409.263502625008, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::layoutTreemap" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findSplitIndex": { - "line": 249, - "lineCount": 13, - "argCount": 2, - "returnCount": 2, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "cyclomatic_complexity": { - "complexity": 4, - "risk_level": "low" - }, - "halstead": { - "n1": 7, - "n2": 10, - "N1": 9, - "N2": 23, - "programLength": 32, - "programVocabulary": 17, - "volume": 130.79881092001085, - "difficulty": 8.049999999999999, - "effort": 1052.9304279060873, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findSplitIndex" - } - } - }, - "ignored_items": [], - "cached_at": 1759967600 -} \ No newline at end of file diff --git a/.phpcca.cache/2e/2ec59b6747e6d8a65229481336ee3977.cache b/.phpcca.cache/2e/2ec59b6747e6d8a65229481336ee3977.cache deleted file mode 100644 index d3b6c2a..0000000 --- a/.phpcca.cache/2e/2ec59b6747e6d8a65229481336ee3977.cache +++ /dev/null @@ -1,540 +0,0 @@ -{ - "version": "1.0", - "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/Business\/Churn\/ChurnCalculator.php", - "file_mtime": 1759784766, - "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", - "analysis_result": { - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct": { - "line": 60, - "lineCount": 5, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 1, - "N1": 2, - "N2": 2, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 2, - "effort": 12.679700005769249, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices": { - "line": 66, - "lineCount": 95, - "argCount": 0, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 5, - "N1": 58, - "N2": 32, - "programLength": 90, - "programVocabulary": 9, - "volume": 285.2932501298081, - "difficulty": 12.8, - "effort": 3651.7536016615436, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap": { - "line": 162, - "lineCount": 10, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 7, - "N2": 7, - "programLength": 14, - "programVocabulary": 2, - "volume": 14, - "difficulty": 3.5, - "effort": 49, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors": { - "line": 173, - "lineCount": 12, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 3, - "N2": 1, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0.5, - "effort": 2, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus": { - "line": 186, - "lineCount": 19, - "argCount": 0, - "returnCount": 0, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 9, - "N2": 13, - "programLength": 22, - "programVocabulary": 7, - "volume": 61.76180828526729, - "difficulty": 2.6, - "effort": 160.58070154169496, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService": { - "line": 206, - "lineCount": 9, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 3, - "N2": 1, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0.5, - "effort": 2, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade": { - "line": 216, - "lineCount": 13, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 3, - "N2": 1, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0.5, - "effort": 2, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands": { - "line": 230, - "lineCount": 21, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 6, - "N2": 2, - "programLength": 8, - "programVocabulary": 2, - "volume": 8, - "difficulty": 1, - "effort": 8, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication": { - "line": 252, - "lineCount": 11, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 5, - "N2": 4, - "programLength": 9, - "programVocabulary": 4, - "volume": 18, - "difficulty": 0.6666666666666666, - "effort": 12, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run": { - "line": 264, - "lineCount": 9, - "argCount": 0, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 5, - "N2": 5, - "programLength": 10, - "programVocabulary": 4, - "volume": 20, - "difficulty": 2.5, - "effort": 50, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get": { - "line": 274, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer": { - "line": 279, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator": { - "line": 289, - "lineCount": 16, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 7, - "programLength": 8, - "programVocabulary": 4, - "volume": 16, - "difficulty": 1.1666666666666667, - "effort": 18.666666666666668, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create": { - "line": 18, - "lineCount": 7, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 4, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile": { - "line": 17, - "lineCount": 17, - "argCount": 2, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 8, - "N1": 11, - "N2": 19, - "programLength": 30, - "programVocabulary": 11, - "volume": 103.78294855911892, - "difficulty": 3.5625, - "effort": 369.72675424186116, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode": { - "line": 42, - "lineCount": 8, - "argCount": 3, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 3, - "N2": 8, - "programLength": 11, - "programVocabulary": 8, - "volume": 33, - "difficulty": 2.4000000000000004, - "effort": 79.20000000000002, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate": { - "line": 22, - "lineCount": 10, - "argCount": 2, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 6, - "N2": 13, - "programLength": 19, - "programVocabulary": 6, - "volume": 49.11428751370197, - "difficulty": 3.25, - "effort": 159.6214344195314, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending": { - "line": 37, - "lineCount": 8, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 2, - "N2": 9, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 2.25, - "effort": 63.97782189284862, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn": { - "line": 51, - "lineCount": 24, - "argCount": 2, - "returnCount": 1, - "variableCount": 6, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "cyclomatic_complexity": { - "complexity": 3, - "risk_level": "low" - }, - "halstead": { - "n1": 5, - "n2": 15, - "N1": 17, - "N2": 46, - "programLength": 63, - "programVocabulary": 20, - "volume": 272.28146997790384, - "difficulty": 7.666666666666667, - "effort": 2087.491269830596, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses": { - "line": 81, - "lineCount": 20, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "cyclomatic_complexity": { - "complexity": 4, - "risk_level": "low" - }, - "halstead": { - "n1": 2, - "n2": 7, - "N1": 10, - "N2": 24, - "programLength": 34, - "programVocabulary": 9, - "volume": 107.7774500490386, - "difficulty": 3.4285714285714284, - "effort": 369.52268588241805, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass": { - "line": 109, - "lineCount": 9, - "argCount": 2, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 4, - "n2": 6, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 10, - "volume": 49.82892142331043, - "difficulty": 3.3333333333333335, - "effort": 166.09640474436813, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel": { - "line": 126, - "lineCount": 16, - "argCount": 2, - "returnCount": 4, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "cyclomatic_complexity": { - "complexity": 4, - "risk_level": "low" - }, - "halstead": { - "n1": 3, - "n2": 12, - "N1": 9, - "N2": 18, - "programLength": 27, - "programVocabulary": 15, - "volume": 105.48604608143, - "difficulty": 2.25, - "effort": 237.3436036832175, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel" - } - } - }, - "ignored_items": [], - "cached_at": 1759967600 -} \ No newline at end of file diff --git a/.phpcca.cache/2f/2fcde32ca958b21f6b2fc80ba238f0de.cache b/.phpcca.cache/2f/2fcde32ca958b21f6b2fc80ba238f0de.cache deleted file mode 100644 index af60632..0000000 --- a/.phpcca.cache/2f/2fcde32ca958b21f6b2fc80ba238f0de.cache +++ /dev/null @@ -1,1000 +0,0 @@ -{ - "version": "1.0", - "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/Business\/Churn\/Exporter\/SvgTreemapExporter.php", - "file_mtime": 1759784766, - "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", - "analysis_result": { - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct": { - "line": 60, - "lineCount": 5, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 1, - "N1": 2, - "N2": 2, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 2, - "effort": 12.679700005769249, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices": { - "line": 66, - "lineCount": 95, - "argCount": 0, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 5, - "N1": 58, - "N2": 32, - "programLength": 90, - "programVocabulary": 9, - "volume": 285.2932501298081, - "difficulty": 12.8, - "effort": 3651.7536016615436, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap": { - "line": 162, - "lineCount": 10, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 7, - "N2": 7, - "programLength": 14, - "programVocabulary": 2, - "volume": 14, - "difficulty": 3.5, - "effort": 49, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors": { - "line": 173, - "lineCount": 12, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 3, - "N2": 1, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0.5, - "effort": 2, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus": { - "line": 186, - "lineCount": 19, - "argCount": 0, - "returnCount": 0, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 9, - "N2": 13, - "programLength": 22, - "programVocabulary": 7, - "volume": 61.76180828526729, - "difficulty": 2.6, - "effort": 160.58070154169496, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService": { - "line": 206, - "lineCount": 9, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 3, - "N2": 1, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0.5, - "effort": 2, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade": { - "line": 216, - "lineCount": 13, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 3, - "N2": 1, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0.5, - "effort": 2, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands": { - "line": 230, - "lineCount": 21, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 6, - "N2": 2, - "programLength": 8, - "programVocabulary": 2, - "volume": 8, - "difficulty": 1, - "effort": 8, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication": { - "line": 252, - "lineCount": 11, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 5, - "N2": 4, - "programLength": 9, - "programVocabulary": 4, - "volume": 18, - "difficulty": 0.6666666666666666, - "effort": 12, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run": { - "line": 264, - "lineCount": 9, - "argCount": 0, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 5, - "N2": 5, - "programLength": 10, - "programVocabulary": 4, - "volume": 20, - "difficulty": 2.5, - "effort": 50, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get": { - "line": 274, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer": { - "line": 279, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator": { - "line": 289, - "lineCount": 16, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 7, - "programLength": 8, - "programVocabulary": 4, - "volume": 16, - "difficulty": 1.1666666666666667, - "effort": 18.666666666666668, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create": { - "line": 18, - "lineCount": 7, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 4, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile": { - "line": 17, - "lineCount": 17, - "argCount": 2, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 8, - "N1": 11, - "N2": 19, - "programLength": 30, - "programVocabulary": 11, - "volume": 103.78294855911892, - "difficulty": 3.5625, - "effort": 369.72675424186116, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode": { - "line": 42, - "lineCount": 8, - "argCount": 3, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 3, - "N2": 8, - "programLength": 11, - "programVocabulary": 8, - "volume": 33, - "difficulty": 2.4000000000000004, - "effort": 79.20000000000002, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate": { - "line": 22, - "lineCount": 10, - "argCount": 2, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 6, - "N2": 13, - "programLength": 19, - "programVocabulary": 6, - "volume": 49.11428751370197, - "difficulty": 3.25, - "effort": 159.6214344195314, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending": { - "line": 37, - "lineCount": 8, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 2, - "N2": 9, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 2.25, - "effort": 63.97782189284862, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn": { - "line": 51, - "lineCount": 24, - "argCount": 2, - "returnCount": 1, - "variableCount": 6, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 15, - "N1": 17, - "N2": 46, - "programLength": 63, - "programVocabulary": 20, - "volume": 272.28146997790384, - "difficulty": 7.666666666666667, - "effort": 2087.491269830596, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses": { - "line": 81, - "lineCount": 20, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 2, - "n2": 7, - "N1": 10, - "N2": 24, - "programLength": 34, - "programVocabulary": 9, - "volume": 107.7774500490386, - "difficulty": 3.4285714285714284, - "effort": 369.52268588241805, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass": { - "line": 109, - "lineCount": 9, - "argCount": 2, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 6, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 10, - "volume": 49.82892142331043, - "difficulty": 3.3333333333333335, - "effort": 166.09640474436813, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel": { - "line": 126, - "lineCount": 16, - "argCount": 2, - "returnCount": 4, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 12, - "N1": 9, - "N2": 18, - "programLength": 27, - "programVocabulary": 15, - "volume": 105.48604608143, - "difficulty": 2.25, - "effort": 237.3436036832175, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile": { - "line": 14, - "lineCount": 6, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 2, - "N2": 5, - "programLength": 7, - "programVocabulary": 4, - "volume": 14, - "difficulty": 2.5, - "effort": 35, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable": { - "line": 24, - "lineCount": 11, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 10, - "N2": 12, - "programLength": 22, - "programVocabulary": 8, - "volume": 66, - "difficulty": 6, - "effort": 396, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create": { - "line": 21, - "lineCount": 11, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 7, - "N1": 0, - "N2": 9, - "programLength": 9, - "programVocabulary": 7, - "volume": 25.26619429851844, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes": { - "line": 38, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 6, - "N1": 0, - "N2": 6, - "programLength": 6, - "programVocabulary": 6, - "volume": 15.509775004326936, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported": { - "line": 49, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 2, - "N2": 3, - "programLength": 5, - "programVocabulary": 4, - "volume": 10, - "difficulty": 1.5, - "effort": 15, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export": { - "line": 30, - "lineCount": 23, - "argCount": 2, - "returnCount": 0, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 16, - "N1": 10, - "N2": 33, - "programLength": 43, - "programVocabulary": 20, - "volume": 185.8429080801566, - "difficulty": 4.125, - "effort": 766.601995830646, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export": { - "line": 28, - "lineCount": 8, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 6, - "volume": 36.18947501009619, - "difficulty": 2.5, - "effort": 90.47368752524048, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape": { - "line": 37, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber": { - "line": 42, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml": { - "line": 52, - "lineCount": 50, - "argCount": 1, - "returnCount": 1, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 12, - "N1": 11, - "N2": 25, - "programLength": 36, - "programVocabulary": 17, - "volume": 147.14866228501222, - "difficulty": 5.208333333333334, - "effort": 766.3992827344388, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export": { - "line": 17, - "lineCount": 13, - "argCount": 2, - "returnCount": 0, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 8, - "N1": 7, - "N2": 14, - "programLength": 21, - "programVocabulary": 12, - "volume": 75.28421251514428, - "difficulty": 3.5, - "effort": 263.49474380300495, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export": { - "line": 48, - "lineCount": 8, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 6, - "volume": 36.18947501009619, - "difficulty": 2.5, - "effort": 90.47368752524048, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown": { - "line": 61, - "lineCount": 24, - "argCount": 1, - "returnCount": 1, - "variableCount": 6, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 6, - "n2": 16, - "N1": 19, - "N2": 41, - "programLength": 60, - "programVocabulary": 22, - "volume": 267.56589711823784, - "difficulty": 7.6875, - "effort": 2056.9128340964535, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow": { - "line": 94, - "lineCount": 21, - "argCount": 3, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 7, - "n2": 18, - "N1": 16, - "N2": 39, - "programLength": 55, - "programVocabulary": 25, - "volume": 255.41209043760983, - "difficulty": 7.583333333333333, - "effort": 1936.8750191518745, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::__construct": { - "line": 26, - "lineCount": 4, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::export": { - "line": 36, - "lineCount": 10, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "cyclomatic_complexity": { - "complexity": 2, - "risk_level": "low" - }, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 8, - "volume": 45, - "difficulty": 5, - "effort": 225, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::generateSvgTreemap": { - "line": 53, - "lineCount": 20, - "argCount": 1, - "returnCount": 1, - "variableCount": 6, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 2, - "n2": 8, - "N1": 9, - "N2": 20, - "programLength": 29, - "programVocabulary": 10, - "volume": 96.3359147517335, - "difficulty": 2.5, - "effort": 240.83978687933376, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::generateSvgTreemap" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRects": { - "line": 82, - "lineCount": 10, - "argCount": 3, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 2, - "risk_level": "low" - }, - "halstead": { - "n1": 3, - "n2": 9, - "N1": 6, - "N2": 18, - "programLength": 24, - "programVocabulary": 12, - "volume": 86.03910001730775, - "difficulty": 3, - "effort": 258.1173000519232, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRects" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRect": { - "line": 100, - "lineCount": 29, - "argCount": 2, - "returnCount": 1, - "variableCount": 12, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 6, - "n2": 28, - "N1": 26, - "N2": 54, - "programLength": 80, - "programVocabulary": 34, - "volume": 406.9970273000271, - "difficulty": 5.785714285714286, - "effort": 2354.7685150930142, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRect" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::wrapSvg": { - "line": 136, - "lineCount": 21, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 2, - "N2": 8, - "programLength": 10, - "programVocabulary": 4, - "volume": 20, - "difficulty": 1.3333333333333333, - "effort": 26.666666666666664, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::wrapSvg" - } - } - }, - "ignored_items": [], - "cached_at": 1759967600 -} \ No newline at end of file diff --git a/.phpcca.cache/30/30b5d0cd6f7c4c612b704dc87ffa4b8b.cache b/.phpcca.cache/30/30b5d0cd6f7c4c612b704dc87ffa4b8b.cache deleted file mode 100644 index b6e1f60..0000000 --- a/.phpcca.cache/30/30b5d0cd6f7c4c612b704dc87ffa4b8b.cache +++ /dev/null @@ -1,654 +0,0 @@ -{ - "version": "1.0", - "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/Business\/Churn\/Exporter\/DataExporterInterface.php", - "file_mtime": 1752612112, - "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", - "analysis_result": { - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct": { - "line": 60, - "lineCount": 5, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 1, - "N1": 2, - "N2": 2, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 2, - "effort": 12.679700005769249, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices": { - "line": 66, - "lineCount": 95, - "argCount": 0, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 5, - "N1": 58, - "N2": 32, - "programLength": 90, - "programVocabulary": 9, - "volume": 285.2932501298081, - "difficulty": 12.8, - "effort": 3651.7536016615436, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap": { - "line": 162, - "lineCount": 10, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 7, - "N2": 7, - "programLength": 14, - "programVocabulary": 2, - "volume": 14, - "difficulty": 3.5, - "effort": 49, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors": { - "line": 173, - "lineCount": 12, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 3, - "N2": 1, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0.5, - "effort": 2, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus": { - "line": 186, - "lineCount": 19, - "argCount": 0, - "returnCount": 0, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 9, - "N2": 13, - "programLength": 22, - "programVocabulary": 7, - "volume": 61.76180828526729, - "difficulty": 2.6, - "effort": 160.58070154169496, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService": { - "line": 206, - "lineCount": 9, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 3, - "N2": 1, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0.5, - "effort": 2, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade": { - "line": 216, - "lineCount": 13, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 3, - "N2": 1, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0.5, - "effort": 2, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands": { - "line": 230, - "lineCount": 21, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 6, - "N2": 2, - "programLength": 8, - "programVocabulary": 2, - "volume": 8, - "difficulty": 1, - "effort": 8, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication": { - "line": 252, - "lineCount": 11, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 5, - "N2": 4, - "programLength": 9, - "programVocabulary": 4, - "volume": 18, - "difficulty": 0.6666666666666666, - "effort": 12, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run": { - "line": 264, - "lineCount": 9, - "argCount": 0, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 5, - "N2": 5, - "programLength": 10, - "programVocabulary": 4, - "volume": 20, - "difficulty": 2.5, - "effort": 50, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get": { - "line": 274, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer": { - "line": 279, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator": { - "line": 289, - "lineCount": 16, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 7, - "programLength": 8, - "programVocabulary": 4, - "volume": 16, - "difficulty": 1.1666666666666667, - "effort": 18.666666666666668, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create": { - "line": 18, - "lineCount": 7, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 4, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile": { - "line": 17, - "lineCount": 17, - "argCount": 2, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 8, - "N1": 11, - "N2": 19, - "programLength": 30, - "programVocabulary": 11, - "volume": 103.78294855911892, - "difficulty": 3.5625, - "effort": 369.72675424186116, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode": { - "line": 42, - "lineCount": 8, - "argCount": 3, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 3, - "N2": 8, - "programLength": 11, - "programVocabulary": 8, - "volume": 33, - "difficulty": 2.4000000000000004, - "effort": 79.20000000000002, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate": { - "line": 22, - "lineCount": 10, - "argCount": 2, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 6, - "N2": 13, - "programLength": 19, - "programVocabulary": 6, - "volume": 49.11428751370197, - "difficulty": 3.25, - "effort": 159.6214344195314, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending": { - "line": 37, - "lineCount": 8, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 2, - "N2": 9, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 2.25, - "effort": 63.97782189284862, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn": { - "line": 51, - "lineCount": 24, - "argCount": 2, - "returnCount": 1, - "variableCount": 6, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 15, - "N1": 17, - "N2": 46, - "programLength": 63, - "programVocabulary": 20, - "volume": 272.28146997790384, - "difficulty": 7.666666666666667, - "effort": 2087.491269830596, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses": { - "line": 81, - "lineCount": 20, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 2, - "n2": 7, - "N1": 10, - "N2": 24, - "programLength": 34, - "programVocabulary": 9, - "volume": 107.7774500490386, - "difficulty": 3.4285714285714284, - "effort": 369.52268588241805, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass": { - "line": 109, - "lineCount": 9, - "argCount": 2, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 6, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 10, - "volume": 49.82892142331043, - "difficulty": 3.3333333333333335, - "effort": 166.09640474436813, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel": { - "line": 126, - "lineCount": 16, - "argCount": 2, - "returnCount": 4, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 12, - "N1": 9, - "N2": 18, - "programLength": 27, - "programVocabulary": 15, - "volume": 105.48604608143, - "difficulty": 2.25, - "effort": 237.3436036832175, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile": { - "line": 14, - "lineCount": 6, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 2, - "N2": 5, - "programLength": 7, - "programVocabulary": 4, - "volume": 14, - "difficulty": 2.5, - "effort": 35, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable": { - "line": 24, - "lineCount": 11, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 10, - "N2": 12, - "programLength": 22, - "programVocabulary": 8, - "volume": 66, - "difficulty": 6, - "effort": 396, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create": { - "line": 21, - "lineCount": 11, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 7, - "N1": 0, - "N2": 9, - "programLength": 9, - "programVocabulary": 7, - "volume": 25.26619429851844, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes": { - "line": 38, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 6, - "N1": 0, - "N2": 6, - "programLength": 6, - "programVocabulary": 6, - "volume": 15.509775004326936, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported": { - "line": 49, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 2, - "N2": 3, - "programLength": 5, - "programVocabulary": 4, - "volume": 10, - "difficulty": 1.5, - "effort": 15, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export": { - "line": 30, - "lineCount": 23, - "argCount": 2, - "returnCount": 0, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 16, - "N1": 10, - "N2": 33, - "programLength": 43, - "programVocabulary": 20, - "volume": 185.8429080801566, - "difficulty": 4.125, - "effort": 766.601995830646, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export" - } - } - }, - "ignored_items": [], - "cached_at": 1759967600 -} \ No newline at end of file diff --git a/.phpcca.cache/31/31bcaf288d8031eaa49efc922940cf36.cache b/.phpcca.cache/31/31bcaf288d8031eaa49efc922940cf36.cache deleted file mode 100644 index 3eb6e31..0000000 --- a/.phpcca.cache/31/31bcaf288d8031eaa49efc922940cf36.cache +++ /dev/null @@ -1,1693 +0,0 @@ -{ - "version": "1.0", - "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/Business\/CodeCoverage\/CodeCoverageFactory.php", - "file_mtime": 1759870485, - "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", - "analysis_result": { - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct": { - "line": 60, - "lineCount": 5, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 1, - "N1": 2, - "N2": 2, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 2, - "effort": 12.679700005769249, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices": { - "line": 66, - "lineCount": 95, - "argCount": 0, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 5, - "N1": 58, - "N2": 32, - "programLength": 90, - "programVocabulary": 9, - "volume": 285.2932501298081, - "difficulty": 12.8, - "effort": 3651.7536016615436, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap": { - "line": 162, - "lineCount": 10, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 7, - "N2": 7, - "programLength": 14, - "programVocabulary": 2, - "volume": 14, - "difficulty": 3.5, - "effort": 49, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors": { - "line": 173, - "lineCount": 12, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 3, - "N2": 1, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0.5, - "effort": 2, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus": { - "line": 186, - "lineCount": 19, - "argCount": 0, - "returnCount": 0, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 9, - "N2": 13, - "programLength": 22, - "programVocabulary": 7, - "volume": 61.76180828526729, - "difficulty": 2.6, - "effort": 160.58070154169496, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService": { - "line": 206, - "lineCount": 9, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 3, - "N2": 1, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0.5, - "effort": 2, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade": { - "line": 216, - "lineCount": 13, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 3, - "N2": 1, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0.5, - "effort": 2, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands": { - "line": 230, - "lineCount": 21, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 6, - "N2": 2, - "programLength": 8, - "programVocabulary": 2, - "volume": 8, - "difficulty": 1, - "effort": 8, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication": { - "line": 252, - "lineCount": 11, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 5, - "N2": 4, - "programLength": 9, - "programVocabulary": 4, - "volume": 18, - "difficulty": 0.6666666666666666, - "effort": 12, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run": { - "line": 264, - "lineCount": 9, - "argCount": 0, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 5, - "N2": 5, - "programLength": 10, - "programVocabulary": 4, - "volume": 20, - "difficulty": 2.5, - "effort": 50, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get": { - "line": 274, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer": { - "line": 279, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator": { - "line": 289, - "lineCount": 16, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 7, - "programLength": 8, - "programVocabulary": 4, - "volume": 16, - "difficulty": 1.1666666666666667, - "effort": 18.666666666666668, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create": { - "line": 18, - "lineCount": 7, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 4, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile": { - "line": 17, - "lineCount": 17, - "argCount": 2, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 8, - "N1": 11, - "N2": 19, - "programLength": 30, - "programVocabulary": 11, - "volume": 103.78294855911892, - "difficulty": 3.5625, - "effort": 369.72675424186116, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode": { - "line": 42, - "lineCount": 8, - "argCount": 3, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 3, - "N2": 8, - "programLength": 11, - "programVocabulary": 8, - "volume": 33, - "difficulty": 2.4000000000000004, - "effort": 79.20000000000002, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate": { - "line": 22, - "lineCount": 10, - "argCount": 2, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 6, - "N2": 13, - "programLength": 19, - "programVocabulary": 6, - "volume": 49.11428751370197, - "difficulty": 3.25, - "effort": 159.6214344195314, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending": { - "line": 37, - "lineCount": 8, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 2, - "N2": 9, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 2.25, - "effort": 63.97782189284862, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn": { - "line": 51, - "lineCount": 24, - "argCount": 2, - "returnCount": 1, - "variableCount": 6, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 15, - "N1": 17, - "N2": 46, - "programLength": 63, - "programVocabulary": 20, - "volume": 272.28146997790384, - "difficulty": 7.666666666666667, - "effort": 2087.491269830596, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses": { - "line": 81, - "lineCount": 20, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 2, - "n2": 7, - "N1": 10, - "N2": 24, - "programLength": 34, - "programVocabulary": 9, - "volume": 107.7774500490386, - "difficulty": 3.4285714285714284, - "effort": 369.52268588241805, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass": { - "line": 109, - "lineCount": 9, - "argCount": 2, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 6, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 10, - "volume": 49.82892142331043, - "difficulty": 3.3333333333333335, - "effort": 166.09640474436813, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel": { - "line": 126, - "lineCount": 16, - "argCount": 2, - "returnCount": 4, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 12, - "N1": 9, - "N2": 18, - "programLength": 27, - "programVocabulary": 15, - "volume": 105.48604608143, - "difficulty": 2.25, - "effort": 237.3436036832175, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile": { - "line": 14, - "lineCount": 6, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 2, - "N2": 5, - "programLength": 7, - "programVocabulary": 4, - "volume": 14, - "difficulty": 2.5, - "effort": 35, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable": { - "line": 24, - "lineCount": 11, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 10, - "N2": 12, - "programLength": 22, - "programVocabulary": 8, - "volume": 66, - "difficulty": 6, - "effort": 396, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create": { - "line": 21, - "lineCount": 11, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 7, - "N1": 0, - "N2": 9, - "programLength": 9, - "programVocabulary": 7, - "volume": 25.26619429851844, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes": { - "line": 38, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 6, - "N1": 0, - "N2": 6, - "programLength": 6, - "programVocabulary": 6, - "volume": 15.509775004326936, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported": { - "line": 49, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 2, - "N2": 3, - "programLength": 5, - "programVocabulary": 4, - "volume": 10, - "difficulty": 1.5, - "effort": 15, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export": { - "line": 30, - "lineCount": 23, - "argCount": 2, - "returnCount": 0, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 16, - "N1": 10, - "N2": 33, - "programLength": 43, - "programVocabulary": 20, - "volume": 185.8429080801566, - "difficulty": 4.125, - "effort": 766.601995830646, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export": { - "line": 28, - "lineCount": 8, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 6, - "volume": 36.18947501009619, - "difficulty": 2.5, - "effort": 90.47368752524048, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape": { - "line": 37, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber": { - "line": 42, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml": { - "line": 52, - "lineCount": 50, - "argCount": 1, - "returnCount": 1, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 12, - "N1": 11, - "N2": 25, - "programLength": 36, - "programVocabulary": 17, - "volume": 147.14866228501222, - "difficulty": 5.208333333333334, - "effort": 766.3992827344388, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export": { - "line": 17, - "lineCount": 13, - "argCount": 2, - "returnCount": 0, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 8, - "N1": 7, - "N2": 14, - "programLength": 21, - "programVocabulary": 12, - "volume": 75.28421251514428, - "difficulty": 3.5, - "effort": 263.49474380300495, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export": { - "line": 48, - "lineCount": 8, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 6, - "volume": 36.18947501009619, - "difficulty": 2.5, - "effort": 90.47368752524048, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown": { - "line": 61, - "lineCount": 24, - "argCount": 1, - "returnCount": 1, - "variableCount": 6, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 6, - "n2": 16, - "N1": 19, - "N2": 41, - "programLength": 60, - "programVocabulary": 22, - "volume": 267.56589711823784, - "difficulty": 7.6875, - "effort": 2056.9128340964535, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow": { - "line": 94, - "lineCount": 21, - "argCount": 3, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 7, - "n2": 18, - "N1": 16, - "N2": 39, - "programLength": 55, - "programVocabulary": 25, - "volume": 255.41209043760983, - "difficulty": 7.583333333333333, - "effort": 1936.8750191518745, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::__construct": { - "line": 26, - "lineCount": 4, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::export": { - "line": 36, - "lineCount": 10, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 8, - "volume": 45, - "difficulty": 5, - "effort": 225, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::generateSvgTreemap": { - "line": 53, - "lineCount": 20, - "argCount": 1, - "returnCount": 1, - "variableCount": 6, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 8, - "N1": 9, - "N2": 20, - "programLength": 29, - "programVocabulary": 10, - "volume": 96.3359147517335, - "difficulty": 2.5, - "effort": 240.83978687933376, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::generateSvgTreemap" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRects": { - "line": 82, - "lineCount": 10, - "argCount": 3, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 9, - "N1": 6, - "N2": 18, - "programLength": 24, - "programVocabulary": 12, - "volume": 86.03910001730775, - "difficulty": 3, - "effort": 258.1173000519232, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRects" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRect": { - "line": 100, - "lineCount": 29, - "argCount": 2, - "returnCount": 1, - "variableCount": 12, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 6, - "n2": 28, - "N1": 26, - "N2": 54, - "programLength": 80, - "programVocabulary": 34, - "volume": 406.9970273000271, - "difficulty": 5.785714285714286, - "effort": 2354.7685150930142, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRect" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::wrapSvg": { - "line": 136, - "lineCount": 21, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 2, - "N2": 8, - "programLength": 10, - "programVocabulary": 4, - "volume": 20, - "difficulty": 1.3333333333333333, - "effort": 26.666666666666664, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::wrapSvg" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::prepareItems": { - "line": 28, - "lineCount": 18, - "argCount": 1, - "returnCount": 1, - "variableCount": 7, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 12, - "N1": 9, - "N2": 30, - "programLength": 39, - "programVocabulary": 17, - "volume": 159.41105080876324, - "difficulty": 6.25, - "effort": 996.3190675547702, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::prepareItems" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findScoreRange": { - "line": 53, - "lineCount": 16, - "argCount": 1, - "returnCount": 3, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 7, - "N2": 13, - "programLength": 20, - "programVocabulary": 8, - "volume": 60, - "difficulty": 3.9000000000000004, - "effort": 234.00000000000003, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findScoreRange" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::normalizeScore": { - "line": 78, - "lineCount": 8, - "argCount": 3, - "returnCount": 2, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 8, - "volume": 45, - "difficulty": 5, - "effort": 225, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::normalizeScore" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::scoreToColor": { - "line": 93, - "lineCount": 9, - "argCount": 1, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 5, - "n2": 9, - "N1": 12, - "N2": 16, - "programLength": 28, - "programVocabulary": 14, - "volume": 106.60593781761291, - "difficulty": 4.444444444444445, - "effort": 473.80416807827964, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::scoreToColor" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::calculateTreemapLayout": { - "line": 115, - "lineCount": 23, - "argCount": 7, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 9, - "N1": 2, - "N2": 18, - "programLength": 20, - "programVocabulary": 11, - "volume": 69.18863237274594, - "difficulty": 2, - "effort": 138.37726474549189, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::calculateTreemapLayout" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::layoutTreemap": { - "line": 152, - "lineCount": 89, - "argCount": 8, - "returnCount": 3, - "variableCount": 11, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 8, - "n2": 28, - "N1": 32, - "N2": 98, - "programLength": 130, - "programVocabulary": 36, - "volume": 672.0902501875006, - "difficulty": 14, - "effort": 9409.263502625008, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::layoutTreemap" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findSplitIndex": { - "line": 249, - "lineCount": 13, - "argCount": 2, - "returnCount": 2, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 7, - "n2": 10, - "N1": 9, - "N2": 23, - "programLength": 32, - "programVocabulary": 17, - "volume": 130.79881092001085, - "difficulty": 8.049999999999999, - "effort": 1052.9304279060873, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findSplitIndex" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::__construct": { - "line": 23, - "lineCount": 18, - "argCount": 1, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 7, - "N2": 11, - "programLength": 18, - "programVocabulary": 6, - "volume": 46.529325012980806, - "difficulty": 5.5, - "effort": 255.91128757139444, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::getAllClasses": { - "line": 47, - "lineCount": 17, - "argCount": 0, - "returnCount": 2, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 6, - "N2": 12, - "programLength": 18, - "programVocabulary": 9, - "volume": 57.05865002596162, - "difficulty": 3, - "effort": 171.17595007788486, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::getAllClasses" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::withClassNode": { - "line": 73, - "lineCount": 8, - "argCount": 2, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 4, - "N2": 8, - "programLength": 12, - "programVocabulary": 8, - "volume": 36, - "difficulty": 4, - "effort": 144, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::withClassNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::findClassNode": { - "line": 85, - "lineCount": 25, - "argCount": 1, - "returnCount": 4, - "variableCount": 5, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 13, - "N2": 29, - "programLength": 42, - "programVocabulary": 11, - "volume": 145.29612798276648, - "difficulty": 8.285714285714286, - "effort": 1203.8822032857795, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::findClassNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::escapeXPathValue": { - "line": 114, - "lineCount": 16, - "argCount": 1, - "returnCount": 3, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 9, - "N1": 11, - "N2": 18, - "programLength": 29, - "programVocabulary": 13, - "volume": 107.31275182609167, - "difficulty": 4, - "effort": 429.2510073043667, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::escapeXPathValue" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getLineCoverage": { - "line": 22, - "lineCount": 18, - "argCount": 1, - "returnCount": 4, - "variableCount": 5, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 9, - "N1": 10, - "N2": 19, - "programLength": 29, - "programVocabulary": 13, - "volume": 107.31275182609167, - "difficulty": 4.222222222222222, - "effort": 453.09828548794263, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getLineCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getBranchCoverage": { - "line": 48, - "lineCount": 18, - "argCount": 1, - "returnCount": 4, - "variableCount": 5, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 9, - "N1": 10, - "N2": 19, - "programLength": 29, - "programVocabulary": 13, - "volume": 107.31275182609167, - "difficulty": 4.222222222222222, - "effort": 453.09828548794263, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getBranchCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getComplexity": { - "line": 73, - "lineCount": 13, - "argCount": 1, - "returnCount": 3, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 7, - "N2": 14, - "programLength": 21, - "programVocabulary": 11, - "volume": 72.64806399138324, - "difficulty": 4, - "effort": 290.59225596553296, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getComplexity" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getCoverageDetails": { - "line": 93, - "lineCount": 26, - "argCount": 1, - "returnCount": 3, - "variableCount": 9, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 17, - "N1": 22, - "N2": 42, - "programLength": 64, - "programVocabulary": 22, - "volume": 285.403623592787, - "difficulty": 6.176470588235294, - "effort": 1762.7870868966259, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getCoverageDetails" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getMetricsNode": { - "line": 123, - "lineCount": 12, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 6, - "N1": 7, - "N2": 13, - "programLength": 20, - "programVocabulary": 10, - "volume": 66.43856189774725, - "difficulty": 4.333333333333333, - "effort": 287.90043489023805, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getMetricsNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getFilenameForClass": { - "line": 139, - "lineCount": 9, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 5, - "N1": 4, - "N2": 9, - "programLength": 13, - "programVocabulary": 9, - "volume": 41.209025018750054, - "difficulty": 3.6, - "effort": 148.3524900675002, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getFilenameForClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodsCoverage": { - "line": 154, - "lineCount": 36, - "argCount": 1, - "returnCount": 3, - "variableCount": 8, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 13, - "N1": 12, - "N2": 30, - "programLength": 42, - "programVocabulary": 16, - "volume": 168, - "difficulty": 3.4615384615384612, - "effort": 581.5384615384614, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodsCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::calculateMethodCoverage": { - "line": 194, - "lineCount": 15, - "argCount": 2, - "returnCount": 2, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 11, - "N1": 9, - "N2": 23, - "programLength": 32, - "programVocabulary": 16, - "volume": 128, - "difficulty": 5.227272727272727, - "effort": 669.090909090909, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::calculateMethodCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodCoverageFromLines": { - "line": 215, - "lineCount": 36, - "argCount": 2, - "returnCount": 1, - "variableCount": 7, - "propertyCallCount": 0, - "ifNestingLevel": 2, - "elseCount": 0, - "ifCount": 5, - "halstead": { - "n1": 2, - "n2": 14, - "N1": 12, - "N2": 35, - "programLength": 47, - "programVocabulary": 16, - "volume": 188, - "difficulty": 2.5, - "effort": 470, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodCoverageFromLines" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStart": { - "line": 252, - "lineCount": 4, - "argCount": 3, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 3, - "N2": 7, - "programLength": 10, - "programVocabulary": 6, - "volume": 25.84962500721156, - "difficulty": 1.75, - "effort": 45.23684376262023, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStart" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodEnd": { - "line": 257, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 5, - "programLength": 7, - "programVocabulary": 5, - "volume": 16.253496664211536, - "difficulty": 1.6666666666666667, - "effort": 27.089161107019226, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodEnd" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStatement": { - "line": 262, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 5, - "programLength": 7, - "programVocabulary": 5, - "volume": 16.253496664211536, - "difficulty": 1.6666666666666667, - "effort": 27.089161107019226, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStatement" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isStatementCovered": { - "line": 267, - "lineCount": 5, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 4, - "N1": 3, - "N2": 6, - "programLength": 9, - "programVocabulary": 7, - "volume": 25.26619429851844, - "difficulty": 2.25, - "effort": 56.848937171666485, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isStatementCovered" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getLineCoverage": { - "line": 20, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 9, - "volume": 44.37895002019237, - "difficulty": 2.5, - "effort": 110.94737505048093, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getLineCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getBranchCoverage": { - "line": 34, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 9, - "volume": 44.37895002019237, - "difficulty": 2.5, - "effort": 110.94737505048093, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getBranchCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getComplexity": { - "line": 48, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 9, - "volume": 44.37895002019237, - "difficulty": 2.5, - "effort": 110.94737505048093, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getComplexity" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getCoverageDetails": { - "line": 62, - "lineCount": 13, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 8, - "N1": 7, - "N2": 16, - "programLength": 23, - "programVocabulary": 9, - "volume": 72.90827503317318, - "difficulty": 1, - "effort": 72.90827503317318, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getCoverageDetails" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::extractMethodsCoverage": { - "line": 81, - "lineCount": 23, - "argCount": 1, - "returnCount": 2, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 11, - "N1": 10, - "N2": 23, - "programLength": 33, - "programVocabulary": 14, - "volume": 125.64271242790093, - "difficulty": 3.1363636363636362, - "effort": 394.061234432962, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::extractMethodsCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CodeCoverageFactory::createFromName": { - "line": 14, - "lineCount": 8, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 1, - "n2": 4, - "N1": 1, - "N2": 8, - "programLength": 9, - "programVocabulary": 5, - "volume": 20.89735285398626, - "difficulty": 1, - "effort": 20.89735285398626, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CodeCoverageFactory::createFromName" - } - } - }, - "ignored_items": [], - "cached_at": 1759967600 -} \ No newline at end of file diff --git a/.phpcca.cache/35/357653c8cf6b33b4448aadd9f6d43fef.cache b/.phpcca.cache/35/357653c8cf6b33b4448aadd9f6d43fef.cache deleted file mode 100644 index 0d15d8c..0000000 --- a/.phpcca.cache/35/357653c8cf6b33b4448aadd9f6d43fef.cache +++ /dev/null @@ -1,1737 +0,0 @@ -{ - "version": "1.0", - "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/Command\/Presentation\/CognitiveMetricTextRenderer.php", - "file_mtime": 1759870485, - "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", - "analysis_result": { - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::__construct": { - "line": 26, - "lineCount": 5, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 4, - "N1": 3, - "N2": 6, - "programLength": 9, - "programVocabulary": 7, - "volume": 25.26619429851844, - "difficulty": 2.25, - "effort": 56.848937171666485, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItem": { - "line": 35, - "lineCount": 15, - "argCount": 1, - "returnCount": 3, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 6, - "N2": 13, - "programLength": 19, - "programVocabulary": 8, - "volume": 57, - "difficulty": 6.5, - "effort": 370.5, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItem" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItems": { - "line": 55, - "lineCount": 9, - "argCount": 1, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 3, - "N2": 9, - "programLength": 12, - "programVocabulary": 6, - "volume": 31.019550008653873, - "difficulty": 2.25, - "effort": 69.79398751947122, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItems" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::hasItem": { - "line": 68, - "lineCount": 6, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 5, - "n2": 3, - "N1": 6, - "N2": 7, - "programLength": 13, - "programVocabulary": 8, - "volume": 39, - "difficulty": 5.833333333333334, - "effort": 227.50000000000003, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::hasItem" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::clear": { - "line": 75, - "lineCount": 10, - "argCount": 0, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 2, - "N2": 4, - "programLength": 6, - "programVocabulary": 3, - "volume": 9.509775004326936, - "difficulty": 1, - "effort": 9.509775004326936, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::clear" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItem": { - "line": 89, - "lineCount": 10, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 4, - "N2": 6, - "programLength": 10, - "programVocabulary": 6, - "volume": 25.84962500721156, - "difficulty": 3, - "effort": 77.54887502163469, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItem" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItems": { - "line": 103, - "lineCount": 10, - "argCount": 1, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 3, - "N2": 8, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 2, - "effort": 56.86917501586544, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItems" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::save": { - "line": 117, - "lineCount": 11, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 4, - "N1": 9, - "N2": 12, - "programLength": 21, - "programVocabulary": 7, - "volume": 58.95445336320969, - "difficulty": 4.5, - "effort": 265.2950401344436, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::save" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveDeferred": { - "line": 129, - "lineCount": 6, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveDeferred" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::commit": { - "line": 136, - "lineCount": 11, - "argCount": 0, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 4, - "N2": 8, - "programLength": 12, - "programVocabulary": 5, - "volume": 27.863137138648348, - "difficulty": 2.6666666666666665, - "effort": 74.30169903639559, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::commit" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::ensureCacheDirectory": { - "line": 152, - "lineCount": 9, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 3, - "N2": 4, - "programLength": 7, - "programVocabulary": 4, - "volume": 14, - "difficulty": 2, - "effort": 28, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::ensureCacheDirectory" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getCacheFilePath": { - "line": 168, - "lineCount": 15, - "argCount": 1, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 10, - "N1": 13, - "N2": 19, - "programLength": 32, - "programVocabulary": 14, - "volume": 121.83535750584333, - "difficulty": 3.8, - "effort": 462.9743585222046, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getCacheFilePath" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::loadCacheData": { - "line": 187, - "lineCount": 14, - "argCount": 1, - "returnCount": 3, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 6, - "N2": 8, - "programLength": 14, - "programVocabulary": 6, - "volume": 36.18947501009619, - "difficulty": 4, - "effort": 144.75790004038475, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::loadCacheData" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveCacheData": { - "line": 209, - "lineCount": 21, - "argCount": 2, - "returnCount": 3, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 6, - "n2": 7, - "N1": 13, - "N2": 17, - "programLength": 30, - "programVocabulary": 13, - "volume": 111.01319154423277, - "difficulty": 7.285714285714285, - "effort": 808.810395536553, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveCacheData" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::sanitizeUtf8": { - "line": 234, - "lineCount": 25, - "argCount": 1, - "returnCount": 4, - "variableCount": 6, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 8, - "N1": 13, - "N2": 29, - "programLength": 42, - "programVocabulary": 11, - "volume": 145.29612798276648, - "difficulty": 5.4375, - "effort": 790.0476959062927, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::sanitizeUtf8" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::removeDirectory": { - "line": 260, - "lineCount": 23, - "argCount": 1, - "returnCount": 2, - "variableCount": 5, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 5, - "n2": 9, - "N1": 13, - "N2": 20, - "programLength": 33, - "programVocabulary": 14, - "volume": 125.64271242790093, - "difficulty": 5.555555555555555, - "effort": 698.0150690438941, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::removeDirectory" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::__construct": { - "line": 42, - "lineCount": 7, - "argCount": 3, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 3, - "N1": 0, - "N2": 3, - "programLength": 3, - "programVocabulary": 3, - "volume": 4.754887502163468, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::configure": { - "line": 53, - "lineCount": 57, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 15, - "N1": 9, - "N2": 16, - "programLength": 25, - "programVocabulary": 16, - "volume": 100, - "difficulty": 0.5333333333333333, - "effort": 53.333333333333336, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::configure" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::execute": { - "line": 119, - "lineCount": 43, - "argCount": 2, - "returnCount": 5, - "variableCount": 9, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 4, - "halstead": { - "n1": 7, - "n2": 14, - "N1": 31, - "N2": 45, - "programLength": 76, - "programVocabulary": 21, - "volume": 333.8161241311858, - "difficulty": 11.25, - "effort": 3755.4313964758403, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::execute" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::loadCoverageReader": { - "line": 171, - "lineCount": 32, - "argCount": 3, - "returnCount": 4, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 2, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 4, - "n2": 9, - "N1": 9, - "N2": 21, - "programLength": 30, - "programVocabulary": 13, - "volume": 111.01319154423277, - "difficulty": 4.666666666666667, - "effort": 518.0615605397529, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::loadCoverageReader" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::detectCoverageFormat": { - "line": 207, - "lineCount": 19, - "argCount": 1, - "returnCount": 4, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 9, - "volume": 47.548875021634686, - "difficulty": 2.5, - "effort": 118.87218755408671, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::detectCoverageFormat" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::coverageFileExists": { - "line": 227, - "lineCount": 20, - "argCount": 2, - "returnCount": 3, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 4, - "N2": 7, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 3.5, - "effort": 99.52105627776452, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::coverageFileExists" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::__construct": { - "line": 49, - "lineCount": 10, - "argCount": 6, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 6, - "N1": 0, - "N2": 6, - "programLength": 6, - "programVocabulary": 6, - "volume": 15.509775004326936, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::configure": { - "line": 63, - "lineCount": 76, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 20, - "N1": 13, - "N2": 20, - "programLength": 33, - "programVocabulary": 21, - "volume": 144.94647495169912, - "difficulty": 0.5, - "effort": 72.47323747584956, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::configure" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::execute": { - "line": 150, - "lineCount": 52, - "argCount": 2, - "returnCount": 5, - "variableCount": 11, - "propertyCallCount": 6, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 7, - "halstead": { - "n1": 6, - "n2": 15, - "N1": 43, - "N2": 61, - "programLength": 104, - "programVocabulary": 21, - "volume": 456.80101196899113, - "difficulty": 12.2, - "effort": 5572.972346021692, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::execute" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::parsePaths": { - "line": 209, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 4, - "N2": 8, - "programLength": 12, - "programVocabulary": 7, - "volume": 33.68825906469125, - "difficulty": 1.6, - "effort": 53.901214503506004, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::parsePaths" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleBaseLine": { - "line": 224, - "lineCount": 8, - "argCount": 2, - "returnCount": 0, - "variableCount": 3, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 5, - "N2": 11, - "programLength": 16, - "programVocabulary": 7, - "volume": 44.91767875292167, - "difficulty": 2.2, - "effort": 98.81889325642767, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleBaseLine" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleCoverageOptions": { - "line": 238, - "lineCount": 20, - "argCount": 2, - "returnCount": 3, - "variableCount": 5, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 5, - "n2": 10, - "N1": 15, - "N2": 25, - "programLength": 40, - "programVocabulary": 15, - "volume": 156.27562382434076, - "difficulty": 6.25, - "effort": 976.7226489021298, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleCoverageOptions" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::applySorting": { - "line": 264, - "lineCount": 21, - "argCount": 3, - "returnCount": 3, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 15, - "N1": 16, - "N2": 32, - "programLength": 48, - "programVocabulary": 20, - "volume": 207.45254855459342, - "difficulty": 5.333333333333333, - "effort": 1106.4135922911648, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::applySorting" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadConfiguration": { - "line": 293, - "lineCount": 10, - "argCount": 2, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 6, - "N1": 5, - "N2": 9, - "programLength": 14, - "programVocabulary": 8, - "volume": 42, - "difficulty": 1.5, - "effort": 63, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadConfiguration" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadCoverageReader": { - "line": 313, - "lineCount": 28, - "argCount": 3, - "returnCount": 4, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 2, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 10, - "N2": 18, - "programLength": 28, - "programVocabulary": 11, - "volume": 96.86408532184433, - "difficulty": 5.142857142857143, - "effort": 498.15815308377086, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadCoverageReader" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::detectCoverageFormat": { - "line": 345, - "lineCount": 19, - "argCount": 1, - "returnCount": 4, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 9, - "volume": 47.548875021634686, - "difficulty": 2.5, - "effort": 118.87218755408671, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::detectCoverageFormat" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::coverageFileExists": { - "line": 365, - "lineCount": 20, - "argCount": 2, - "returnCount": 3, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 4, - "N2": 7, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 3.5, - "effort": 99.52105627776452, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::coverageFileExists" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__construct": { - "line": 12, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__invoke": { - "line": 17, - "lineCount": 22, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 3, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 10, - "N2": 11, - "programLength": 21, - "programVocabulary": 7, - "volume": 58.95445336320969, - "difficulty": 2.2, - "effort": 129.6997973990613, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__invoke" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__construct": { - "line": 21, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__invoke": { - "line": 26, - "lineCount": 11, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 4, - "N2": 9, - "programLength": 13, - "programVocabulary": 4, - "volume": 26, - "difficulty": 4.5, - "effort": 117, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__invoke" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleSourceFilesFound": { - "line": 38, - "lineCount": 6, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 4, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 6, - "N2": 10, - "programLength": 16, - "programVocabulary": 8, - "volume": 48, - "difficulty": 5, - "effort": 240, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleSourceFilesFound" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleFileProcessed": { - "line": 45, - "lineCount": 5, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleFileProcessed" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleAllFilesProcessed": { - "line": 51, - "lineCount": 6, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 3, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 3, - "N2": 5, - "programLength": 8, - "programVocabulary": 5, - "volume": 18.575424759098897, - "difficulty": 1.6666666666666667, - "effort": 30.95904126516483, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleAllFilesProcessed" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__construct": { - "line": 20, - "lineCount": 5, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__invoke": { - "line": 26, - "lineCount": 17, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 5, - "n2": 8, - "N1": 17, - "N2": 17, - "programLength": 34, - "programVocabulary": 13, - "volume": 125.81495041679713, - "difficulty": 5.3125, - "effort": 668.3919240892347, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__invoke" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::formatBytes": { - "line": 50, - "lineCount": 12, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 7, - "n2": 13, - "N1": 10, - "N2": 22, - "programLength": 32, - "programVocabulary": 20, - "volume": 138.3016990363956, - "difficulty": 5.923076923076923, - "effort": 819.1716019848047, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::formatBytes" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::isDebugEnabled": { - "line": 66, - "lineCount": 5, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 1, - "N1": 4, - "N2": 2, - "programLength": 6, - "programVocabulary": 4, - "volume": 12, - "difficulty": 3, - "effort": 36, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::isDebugEnabled" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::__construct": { - "line": 20, - "lineCount": 6, - "argCount": 2, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 4, - "volume": 8, - "difficulty": 0.5, - "effort": 4, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::exportToFile": { - "line": 32, - "lineCount": 27, - "argCount": 3, - "returnCount": 4, - "variableCount": 2, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 1, - "n2": 6, - "N1": 6, - "N2": 19, - "programLength": 25, - "programVocabulary": 7, - "volume": 70.1838730514401, - "difficulty": 1.5833333333333333, - "effort": 111.12446566478016, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::exportToFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::hasIncompleteReportOptions": { - "line": 60, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 2, - "N1": 7, - "N2": 6, - "programLength": 13, - "programVocabulary": 6, - "volume": 33.60451250937503, - "difficulty": 6, - "effort": 201.62707505625016, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::hasIncompleteReportOptions" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::isValidReportType": { - "line": 65, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 2, - "N2": 4, - "programLength": 6, - "programVocabulary": 4, - "volume": 12, - "difficulty": 2, - "effort": 24, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::isValidReportType" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleExceptions": { - "line": 77, - "lineCount": 9, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 3, - "N2": 4, - "programLength": 7, - "programVocabulary": 5, - "volume": 16.253496664211536, - "difficulty": 1.3333333333333333, - "effort": 21.67132888561538, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleExceptions" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleInvalidReportType": { - "line": 91, - "lineCount": 11, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 5, - "N2": 8, - "programLength": 13, - "programVocabulary": 8, - "volume": 39, - "difficulty": 2.4000000000000004, - "effort": 93.60000000000001, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleInvalidReportType" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::__construct": { - "line": 15, - "lineCount": 5, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handle": { - "line": 24, - "lineCount": 27, - "argCount": 3, - "returnCount": 4, - "variableCount": 2, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 1, - "n2": 6, - "N1": 6, - "N2": 19, - "programLength": 25, - "programVocabulary": 7, - "volume": 70.1838730514401, - "difficulty": 1.5833333333333333, - "effort": 111.12446566478016, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handle" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::hasIncompleteReportOptions": { - "line": 52, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 2, - "N1": 7, - "N2": 6, - "programLength": 13, - "programVocabulary": 6, - "volume": 33.60451250937503, - "difficulty": 6, - "effort": 201.62707505625016, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::hasIncompleteReportOptions" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::isValidReportType": { - "line": 57, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 5, - "N1": 1, - "N2": 6, - "programLength": 7, - "programVocabulary": 6, - "volume": 18.094737505048094, - "difficulty": 0.6, - "effort": 10.856842503028856, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::isValidReportType" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handleExceptions": { - "line": 66, - "lineCount": 9, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 3, - "N2": 4, - "programLength": 7, - "programVocabulary": 5, - "volume": 16.253496664211536, - "difficulty": 1.3333333333333333, - "effort": 21.67132888561538, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handleExceptions" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handleInvalidReporType": { - "line": 80, - "lineCount": 9, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 4, - "programLength": 6, - "programVocabulary": 5, - "volume": 13.931568569324174, - "difficulty": 1.3333333333333333, - "effort": 18.575424759098897, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handleInvalidReporType" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::__construct": { - "line": 42, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::reportWritten": { - "line": 47, - "lineCount": 7, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 4, - "programLength": 6, - "programVocabulary": 5, - "volume": 13.931568569324174, - "difficulty": 1.3333333333333333, - "effort": 18.575424759098897, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::reportWritten" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::renderChurnTable": { - "line": 59, - "lineCount": 35, - "argCount": 1, - "returnCount": 0, - "variableCount": 6, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 8, - "n2": 18, - "N1": 21, - "N2": 53, - "programLength": 74, - "programVocabulary": 26, - "volume": 347.8325391424408, - "difficulty": 11.777777777777779, - "effort": 4096.694349899859, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::renderChurnTable" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricSummaryTextRenderer::__construct": { - "line": 18, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricSummaryTextRenderer::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricSummaryTextRenderer::render": { - "line": 23, - "lineCount": 32, - "argCount": 2, - "returnCount": 0, - "variableCount": 6, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 6, - "n2": 16, - "N1": 27, - "N2": 38, - "programLength": 65, - "programVocabulary": 22, - "volume": 289.86305521142435, - "difficulty": 7.125, - "effort": 2065.2742683813985, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricSummaryTextRenderer::render" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::__construct": { - "line": 27, - "lineCount": 5, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::metricExceedsThreshold": { - "line": 33, - "lineCount": 6, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 3, - "n2": 2, - "N1": 3, - "N2": 5, - "programLength": 8, - "programVocabulary": 5, - "volume": 18.575424759098897, - "difficulty": 3.75, - "effort": 69.65784284662087, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::metricExceedsThreshold" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::hasCoverageInCollection": { - "line": 43, - "lineCount": 10, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "cyclomatic_complexity": { - "complexity": 3, - "risk_level": "low" - }, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 2, - "N2": 4, - "programLength": 6, - "programVocabulary": 4, - "volume": 12, - "difficulty": 2, - "effort": 24, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::hasCoverageInCollection" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::render": { - "line": 58, - "lineCount": 17, - "argCount": 2, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 6, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "cyclomatic_complexity": { - "complexity": 2, - "risk_level": "low" - }, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 9, - "N2": 25, - "programLength": 34, - "programVocabulary": 6, - "volume": 87.8887250245193, - "difficulty": 6.25, - "effort": 549.3045314032456, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::render" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderGroupedByClass": { - "line": 81, - "lineCount": 19, - "argCount": 3, - "returnCount": 0, - "variableCount": 6, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "cyclomatic_complexity": { - "complexity": 4, - "risk_level": "low" - }, - "halstead": { - "n1": 5, - "n2": 11, - "N1": 11, - "N2": 25, - "programLength": 36, - "programVocabulary": 16, - "volume": 144, - "difficulty": 5.6818181818181825, - "effort": 818.1818181818182, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderGroupedByClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::buildRowsForClass": { - "line": 106, - "lineCount": 13, - "argCount": 2, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "cyclomatic_complexity": { - "complexity": 3, - "risk_level": "low" - }, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 4, - "N2": 12, - "programLength": 16, - "programVocabulary": 7, - "volume": 44.91767875292167, - "difficulty": 2.4, - "effort": 107.802429007012, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::buildRowsForClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::getFilenameFromMetrics": { - "line": 123, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 2, - "risk_level": "low" - }, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 5, - "programLength": 6, - "programVocabulary": 4, - "volume": 12, - "difficulty": 0.8333333333333334, - "effort": 10, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::getFilenameFromMetrics" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderAllMethodsInSingleTable": { - "line": 136, - "lineCount": 12, - "argCount": 3, - "returnCount": 0, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "cyclomatic_complexity": { - "complexity": 2, - "risk_level": "low" - }, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 6, - "N2": 15, - "programLength": 21, - "programVocabulary": 11, - "volume": 72.64806399138324, - "difficulty": 4.285714285714286, - "effort": 311.34884567735673, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderAllMethodsInSingleTable" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::buildRowsForSingleTable": { - "line": 154, - "lineCount": 13, - "argCount": 2, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "cyclomatic_complexity": { - "complexity": 3, - "risk_level": "low" - }, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 4, - "N2": 12, - "programLength": 16, - "programVocabulary": 7, - "volume": 44.91767875292167, - "difficulty": 2.4, - "effort": 107.802429007012, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::buildRowsForSingleTable" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderTableCommon": { - "line": 173, - "lineCount": 19, - "argCount": 4, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 2, - "risk_level": "low" - }, - "halstead": { - "n1": 2, - "n2": 8, - "N1": 7, - "N2": 19, - "programLength": 26, - "programVocabulary": 10, - "volume": 86.37013046707142, - "difficulty": 2.375, - "effort": 205.1290598592946, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderTableCommon" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderTable": { - "line": 196, - "lineCount": 13, - "argCount": 4, - "returnCount": 0, - "variableCount": 3, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 2, - "n2": 7, - "N1": 4, - "N2": 14, - "programLength": 18, - "programVocabulary": 9, - "volume": 57.05865002596162, - "difficulty": 2, - "effort": 114.11730005192324, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderTable" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderSingleTable": { - "line": 213, - "lineCount": 11, - "argCount": 3, - "returnCount": 0, - "variableCount": 3, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 2, - "n2": 6, - "N1": 4, - "N2": 12, - "programLength": 16, - "programVocabulary": 8, - "volume": 48, - "difficulty": 2, - "effort": 96, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderSingleTable" - } - } - }, - "ignored_items": [], - "cached_at": 1759967602 -} \ No newline at end of file diff --git a/.phpcca.cache/3f/3f391f1fde299423c2de6a261b97073f.cache b/.phpcca.cache/3f/3f391f1fde299423c2de6a261b97073f.cache deleted file mode 100644 index d2b5db7..0000000 --- a/.phpcca.cache/3f/3f391f1fde299423c2de6a261b97073f.cache +++ /dev/null @@ -1,5416 +0,0 @@ -{ - "version": "1.0", - "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/Business\/Exporter\/MarkdownFormatterTrait.php", - "file_mtime": 1759784766, - "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", - "analysis_result": { - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct": { - "line": 60, - "lineCount": 5, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 1, - "N1": 2, - "N2": 2, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 2, - "effort": 12.679700005769249, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices": { - "line": 66, - "lineCount": 95, - "argCount": 0, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 5, - "N1": 58, - "N2": 32, - "programLength": 90, - "programVocabulary": 9, - "volume": 285.2932501298081, - "difficulty": 12.8, - "effort": 3651.7536016615436, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap": { - "line": 162, - "lineCount": 10, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 7, - "N2": 7, - "programLength": 14, - "programVocabulary": 2, - "volume": 14, - "difficulty": 3.5, - "effort": 49, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors": { - "line": 173, - "lineCount": 12, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 3, - "N2": 1, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0.5, - "effort": 2, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus": { - "line": 186, - "lineCount": 19, - "argCount": 0, - "returnCount": 0, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 9, - "N2": 13, - "programLength": 22, - "programVocabulary": 7, - "volume": 61.76180828526729, - "difficulty": 2.6, - "effort": 160.58070154169496, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService": { - "line": 206, - "lineCount": 9, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 3, - "N2": 1, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0.5, - "effort": 2, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade": { - "line": 216, - "lineCount": 13, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 3, - "N2": 1, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0.5, - "effort": 2, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands": { - "line": 230, - "lineCount": 21, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 6, - "N2": 2, - "programLength": 8, - "programVocabulary": 2, - "volume": 8, - "difficulty": 1, - "effort": 8, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication": { - "line": 252, - "lineCount": 11, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 5, - "N2": 4, - "programLength": 9, - "programVocabulary": 4, - "volume": 18, - "difficulty": 0.6666666666666666, - "effort": 12, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run": { - "line": 264, - "lineCount": 9, - "argCount": 0, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 5, - "N2": 5, - "programLength": 10, - "programVocabulary": 4, - "volume": 20, - "difficulty": 2.5, - "effort": 50, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get": { - "line": 274, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer": { - "line": 279, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator": { - "line": 289, - "lineCount": 16, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 7, - "programLength": 8, - "programVocabulary": 4, - "volume": 16, - "difficulty": 1.1666666666666667, - "effort": 18.666666666666668, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create": { - "line": 18, - "lineCount": 7, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 4, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile": { - "line": 17, - "lineCount": 17, - "argCount": 2, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 8, - "N1": 11, - "N2": 19, - "programLength": 30, - "programVocabulary": 11, - "volume": 103.78294855911892, - "difficulty": 3.5625, - "effort": 369.72675424186116, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode": { - "line": 42, - "lineCount": 8, - "argCount": 3, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 3, - "N2": 8, - "programLength": 11, - "programVocabulary": 8, - "volume": 33, - "difficulty": 2.4000000000000004, - "effort": 79.20000000000002, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate": { - "line": 22, - "lineCount": 10, - "argCount": 2, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 6, - "N2": 13, - "programLength": 19, - "programVocabulary": 6, - "volume": 49.11428751370197, - "difficulty": 3.25, - "effort": 159.6214344195314, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending": { - "line": 37, - "lineCount": 8, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 2, - "N2": 9, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 2.25, - "effort": 63.97782189284862, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn": { - "line": 51, - "lineCount": 24, - "argCount": 2, - "returnCount": 1, - "variableCount": 6, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 15, - "N1": 17, - "N2": 46, - "programLength": 63, - "programVocabulary": 20, - "volume": 272.28146997790384, - "difficulty": 7.666666666666667, - "effort": 2087.491269830596, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses": { - "line": 81, - "lineCount": 20, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 2, - "n2": 7, - "N1": 10, - "N2": 24, - "programLength": 34, - "programVocabulary": 9, - "volume": 107.7774500490386, - "difficulty": 3.4285714285714284, - "effort": 369.52268588241805, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass": { - "line": 109, - "lineCount": 9, - "argCount": 2, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 6, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 10, - "volume": 49.82892142331043, - "difficulty": 3.3333333333333335, - "effort": 166.09640474436813, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel": { - "line": 126, - "lineCount": 16, - "argCount": 2, - "returnCount": 4, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 12, - "N1": 9, - "N2": 18, - "programLength": 27, - "programVocabulary": 15, - "volume": 105.48604608143, - "difficulty": 2.25, - "effort": 237.3436036832175, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile": { - "line": 14, - "lineCount": 6, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 2, - "N2": 5, - "programLength": 7, - "programVocabulary": 4, - "volume": 14, - "difficulty": 2.5, - "effort": 35, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable": { - "line": 24, - "lineCount": 11, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 10, - "N2": 12, - "programLength": 22, - "programVocabulary": 8, - "volume": 66, - "difficulty": 6, - "effort": 396, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create": { - "line": 21, - "lineCount": 11, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 7, - "N1": 0, - "N2": 9, - "programLength": 9, - "programVocabulary": 7, - "volume": 25.26619429851844, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes": { - "line": 38, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 6, - "N1": 0, - "N2": 6, - "programLength": 6, - "programVocabulary": 6, - "volume": 15.509775004326936, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported": { - "line": 49, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 2, - "N2": 3, - "programLength": 5, - "programVocabulary": 4, - "volume": 10, - "difficulty": 1.5, - "effort": 15, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export": { - "line": 30, - "lineCount": 23, - "argCount": 2, - "returnCount": 0, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 16, - "N1": 10, - "N2": 33, - "programLength": 43, - "programVocabulary": 20, - "volume": 185.8429080801566, - "difficulty": 4.125, - "effort": 766.601995830646, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export": { - "line": 28, - "lineCount": 8, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 6, - "volume": 36.18947501009619, - "difficulty": 2.5, - "effort": 90.47368752524048, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape": { - "line": 37, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber": { - "line": 42, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml": { - "line": 52, - "lineCount": 50, - "argCount": 1, - "returnCount": 1, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 12, - "N1": 11, - "N2": 25, - "programLength": 36, - "programVocabulary": 17, - "volume": 147.14866228501222, - "difficulty": 5.208333333333334, - "effort": 766.3992827344388, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export": { - "line": 17, - "lineCount": 13, - "argCount": 2, - "returnCount": 0, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 8, - "N1": 7, - "N2": 14, - "programLength": 21, - "programVocabulary": 12, - "volume": 75.28421251514428, - "difficulty": 3.5, - "effort": 263.49474380300495, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export": { - "line": 48, - "lineCount": 8, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 6, - "volume": 36.18947501009619, - "difficulty": 2.5, - "effort": 90.47368752524048, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown": { - "line": 61, - "lineCount": 24, - "argCount": 1, - "returnCount": 1, - "variableCount": 6, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 6, - "n2": 16, - "N1": 19, - "N2": 41, - "programLength": 60, - "programVocabulary": 22, - "volume": 267.56589711823784, - "difficulty": 7.6875, - "effort": 2056.9128340964535, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow": { - "line": 94, - "lineCount": 21, - "argCount": 3, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 7, - "n2": 18, - "N1": 16, - "N2": 39, - "programLength": 55, - "programVocabulary": 25, - "volume": 255.41209043760983, - "difficulty": 7.583333333333333, - "effort": 1936.8750191518745, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::__construct": { - "line": 26, - "lineCount": 4, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::export": { - "line": 36, - "lineCount": 10, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 8, - "volume": 45, - "difficulty": 5, - "effort": 225, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::generateSvgTreemap": { - "line": 53, - "lineCount": 20, - "argCount": 1, - "returnCount": 1, - "variableCount": 6, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 8, - "N1": 9, - "N2": 20, - "programLength": 29, - "programVocabulary": 10, - "volume": 96.3359147517335, - "difficulty": 2.5, - "effort": 240.83978687933376, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::generateSvgTreemap" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRects": { - "line": 82, - "lineCount": 10, - "argCount": 3, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 9, - "N1": 6, - "N2": 18, - "programLength": 24, - "programVocabulary": 12, - "volume": 86.03910001730775, - "difficulty": 3, - "effort": 258.1173000519232, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRects" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRect": { - "line": 100, - "lineCount": 29, - "argCount": 2, - "returnCount": 1, - "variableCount": 12, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 6, - "n2": 28, - "N1": 26, - "N2": 54, - "programLength": 80, - "programVocabulary": 34, - "volume": 406.9970273000271, - "difficulty": 5.785714285714286, - "effort": 2354.7685150930142, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRect" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::wrapSvg": { - "line": 136, - "lineCount": 21, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 2, - "N2": 8, - "programLength": 10, - "programVocabulary": 4, - "volume": 20, - "difficulty": 1.3333333333333333, - "effort": 26.666666666666664, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::wrapSvg" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::prepareItems": { - "line": 28, - "lineCount": 18, - "argCount": 1, - "returnCount": 1, - "variableCount": 7, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 12, - "N1": 9, - "N2": 30, - "programLength": 39, - "programVocabulary": 17, - "volume": 159.41105080876324, - "difficulty": 6.25, - "effort": 996.3190675547702, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::prepareItems" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findScoreRange": { - "line": 53, - "lineCount": 16, - "argCount": 1, - "returnCount": 3, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 7, - "N2": 13, - "programLength": 20, - "programVocabulary": 8, - "volume": 60, - "difficulty": 3.9000000000000004, - "effort": 234.00000000000003, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findScoreRange" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::normalizeScore": { - "line": 78, - "lineCount": 8, - "argCount": 3, - "returnCount": 2, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 8, - "volume": 45, - "difficulty": 5, - "effort": 225, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::normalizeScore" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::scoreToColor": { - "line": 93, - "lineCount": 9, - "argCount": 1, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 5, - "n2": 9, - "N1": 12, - "N2": 16, - "programLength": 28, - "programVocabulary": 14, - "volume": 106.60593781761291, - "difficulty": 4.444444444444445, - "effort": 473.80416807827964, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::scoreToColor" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::calculateTreemapLayout": { - "line": 115, - "lineCount": 23, - "argCount": 7, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 9, - "N1": 2, - "N2": 18, - "programLength": 20, - "programVocabulary": 11, - "volume": 69.18863237274594, - "difficulty": 2, - "effort": 138.37726474549189, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::calculateTreemapLayout" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::layoutTreemap": { - "line": 152, - "lineCount": 89, - "argCount": 8, - "returnCount": 3, - "variableCount": 11, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 8, - "n2": 28, - "N1": 32, - "N2": 98, - "programLength": 130, - "programVocabulary": 36, - "volume": 672.0902501875006, - "difficulty": 14, - "effort": 9409.263502625008, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::layoutTreemap" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findSplitIndex": { - "line": 249, - "lineCount": 13, - "argCount": 2, - "returnCount": 2, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 7, - "n2": 10, - "N1": 9, - "N2": 23, - "programLength": 32, - "programVocabulary": 17, - "volume": 130.79881092001085, - "difficulty": 8.049999999999999, - "effort": 1052.9304279060873, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findSplitIndex" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::__construct": { - "line": 23, - "lineCount": 18, - "argCount": 1, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 7, - "N2": 11, - "programLength": 18, - "programVocabulary": 6, - "volume": 46.529325012980806, - "difficulty": 5.5, - "effort": 255.91128757139444, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::getAllClasses": { - "line": 47, - "lineCount": 17, - "argCount": 0, - "returnCount": 2, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 6, - "N2": 12, - "programLength": 18, - "programVocabulary": 9, - "volume": 57.05865002596162, - "difficulty": 3, - "effort": 171.17595007788486, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::getAllClasses" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::withClassNode": { - "line": 73, - "lineCount": 8, - "argCount": 2, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 4, - "N2": 8, - "programLength": 12, - "programVocabulary": 8, - "volume": 36, - "difficulty": 4, - "effort": 144, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::withClassNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::findClassNode": { - "line": 85, - "lineCount": 25, - "argCount": 1, - "returnCount": 4, - "variableCount": 5, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 13, - "N2": 29, - "programLength": 42, - "programVocabulary": 11, - "volume": 145.29612798276648, - "difficulty": 8.285714285714286, - "effort": 1203.8822032857795, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::findClassNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::escapeXPathValue": { - "line": 114, - "lineCount": 16, - "argCount": 1, - "returnCount": 3, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 9, - "N1": 11, - "N2": 18, - "programLength": 29, - "programVocabulary": 13, - "volume": 107.31275182609167, - "difficulty": 4, - "effort": 429.2510073043667, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::escapeXPathValue" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getLineCoverage": { - "line": 22, - "lineCount": 18, - "argCount": 1, - "returnCount": 4, - "variableCount": 5, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 9, - "N1": 10, - "N2": 19, - "programLength": 29, - "programVocabulary": 13, - "volume": 107.31275182609167, - "difficulty": 4.222222222222222, - "effort": 453.09828548794263, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getLineCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getBranchCoverage": { - "line": 48, - "lineCount": 18, - "argCount": 1, - "returnCount": 4, - "variableCount": 5, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 9, - "N1": 10, - "N2": 19, - "programLength": 29, - "programVocabulary": 13, - "volume": 107.31275182609167, - "difficulty": 4.222222222222222, - "effort": 453.09828548794263, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getBranchCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getComplexity": { - "line": 73, - "lineCount": 13, - "argCount": 1, - "returnCount": 3, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 7, - "N2": 14, - "programLength": 21, - "programVocabulary": 11, - "volume": 72.64806399138324, - "difficulty": 4, - "effort": 290.59225596553296, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getComplexity" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getCoverageDetails": { - "line": 93, - "lineCount": 26, - "argCount": 1, - "returnCount": 3, - "variableCount": 9, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 17, - "N1": 22, - "N2": 42, - "programLength": 64, - "programVocabulary": 22, - "volume": 285.403623592787, - "difficulty": 6.176470588235294, - "effort": 1762.7870868966259, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getCoverageDetails" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getMetricsNode": { - "line": 123, - "lineCount": 12, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 6, - "N1": 7, - "N2": 13, - "programLength": 20, - "programVocabulary": 10, - "volume": 66.43856189774725, - "difficulty": 4.333333333333333, - "effort": 287.90043489023805, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getMetricsNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getFilenameForClass": { - "line": 139, - "lineCount": 9, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 5, - "N1": 4, - "N2": 9, - "programLength": 13, - "programVocabulary": 9, - "volume": 41.209025018750054, - "difficulty": 3.6, - "effort": 148.3524900675002, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getFilenameForClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodsCoverage": { - "line": 154, - "lineCount": 36, - "argCount": 1, - "returnCount": 3, - "variableCount": 8, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 13, - "N1": 12, - "N2": 30, - "programLength": 42, - "programVocabulary": 16, - "volume": 168, - "difficulty": 3.4615384615384612, - "effort": 581.5384615384614, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodsCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::calculateMethodCoverage": { - "line": 194, - "lineCount": 15, - "argCount": 2, - "returnCount": 2, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 11, - "N1": 9, - "N2": 23, - "programLength": 32, - "programVocabulary": 16, - "volume": 128, - "difficulty": 5.227272727272727, - "effort": 669.090909090909, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::calculateMethodCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodCoverageFromLines": { - "line": 215, - "lineCount": 36, - "argCount": 2, - "returnCount": 1, - "variableCount": 7, - "propertyCallCount": 0, - "ifNestingLevel": 2, - "elseCount": 0, - "ifCount": 5, - "halstead": { - "n1": 2, - "n2": 14, - "N1": 12, - "N2": 35, - "programLength": 47, - "programVocabulary": 16, - "volume": 188, - "difficulty": 2.5, - "effort": 470, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodCoverageFromLines" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStart": { - "line": 252, - "lineCount": 4, - "argCount": 3, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 3, - "N2": 7, - "programLength": 10, - "programVocabulary": 6, - "volume": 25.84962500721156, - "difficulty": 1.75, - "effort": 45.23684376262023, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStart" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodEnd": { - "line": 257, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 5, - "programLength": 7, - "programVocabulary": 5, - "volume": 16.253496664211536, - "difficulty": 1.6666666666666667, - "effort": 27.089161107019226, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodEnd" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStatement": { - "line": 262, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 5, - "programLength": 7, - "programVocabulary": 5, - "volume": 16.253496664211536, - "difficulty": 1.6666666666666667, - "effort": 27.089161107019226, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStatement" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isStatementCovered": { - "line": 267, - "lineCount": 5, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 4, - "N1": 3, - "N2": 6, - "programLength": 9, - "programVocabulary": 7, - "volume": 25.26619429851844, - "difficulty": 2.25, - "effort": 56.848937171666485, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isStatementCovered" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getLineCoverage": { - "line": 20, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 9, - "volume": 44.37895002019237, - "difficulty": 2.5, - "effort": 110.94737505048093, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getLineCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getBranchCoverage": { - "line": 34, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 9, - "volume": 44.37895002019237, - "difficulty": 2.5, - "effort": 110.94737505048093, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getBranchCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getComplexity": { - "line": 48, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 9, - "volume": 44.37895002019237, - "difficulty": 2.5, - "effort": 110.94737505048093, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getComplexity" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getCoverageDetails": { - "line": 62, - "lineCount": 13, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 8, - "N1": 7, - "N2": 16, - "programLength": 23, - "programVocabulary": 9, - "volume": 72.90827503317318, - "difficulty": 1, - "effort": 72.90827503317318, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getCoverageDetails" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::extractMethodsCoverage": { - "line": 81, - "lineCount": 23, - "argCount": 1, - "returnCount": 2, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 11, - "N1": 10, - "N2": 23, - "programLength": 33, - "programVocabulary": 14, - "volume": 125.64271242790093, - "difficulty": 3.1363636363636362, - "effort": 394.061234432962, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::extractMethodsCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CodeCoverageFactory::createFromName": { - "line": 14, - "lineCount": 8, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 4, - "N1": 1, - "N2": 8, - "programLength": 9, - "programVocabulary": 5, - "volume": 20.89735285398626, - "difficulty": 1, - "effort": 20.89735285398626, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CodeCoverageFactory::createFromName" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::__construct": { - "line": 28, - "lineCount": 15, - "argCount": 6, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 6, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 7, - "N1": 6, - "N2": 18, - "programLength": 24, - "programVocabulary": 8, - "volume": 72, - "difficulty": 1.2857142857142858, - "effort": 92.57142857142858, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getName": { - "line": 44, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getName" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getFilename": { - "line": 49, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getFilename" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getLineRate": { - "line": 54, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getLineRate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getBranchRate": { - "line": 59, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getBranchRate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getComplexity": { - "line": 64, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getComplexity" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getMethods": { - "line": 72, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getMethods" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::__construct": { - "line": 17, - "lineCount": 11, - "argCount": 4, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 4, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 5, - "N1": 4, - "N2": 12, - "programLength": 16, - "programVocabulary": 6, - "volume": 41.3594000115385, - "difficulty": 1.2, - "effort": 49.631280013846194, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getName": { - "line": 29, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getName" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getLineRate": { - "line": 34, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getLineRate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getBranchRate": { - "line": 39, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getBranchRate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getComplexity": { - "line": 44, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getComplexity" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::calculateDeltas": { - "line": 19, - "lineCount": 14, - "argCount": 2, - "returnCount": 0, - "variableCount": 6, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 9, - "N1": 4, - "N2": 18, - "programLength": 22, - "programVocabulary": 11, - "volume": 76.10749561002054, - "difficulty": 2, - "effort": 152.21499122004107, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::calculateDeltas" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::loadBaseline": { - "line": 41, - "lineCount": 13, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 5, - "N2": 9, - "programLength": 14, - "programVocabulary": 8, - "volume": 42, - "difficulty": 2.7, - "effort": 113.4, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::loadBaseline" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::__construct": { - "line": 72, - "lineCount": 21, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 6, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 9, - "N1": 12, - "N2": 34, - "programLength": 46, - "programVocabulary": 12, - "volume": 164.90827503317317, - "difficulty": 5.666666666666666, - "effort": 934.4802251879812, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setRequiredMetricProperties": { - "line": 98, - "lineCount": 30, - "argCount": 1, - "returnCount": 0, - "variableCount": 6, - "propertyCallCount": 9, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 21, - "N1": 21, - "N2": 51, - "programLength": 72, - "programVocabulary": 24, - "volume": 330.1173000519232, - "difficulty": 3.6428571428571423, - "effort": 1202.570164474863, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setRequiredMetricProperties" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setOptionalMetricProperties": { - "line": 133, - "lineCount": 12, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 8, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 11, - "N1": 16, - "N2": 33, - "programLength": 49, - "programVocabulary": 13, - "volume": 181.32154618891352, - "difficulty": 3, - "effort": 543.9646385667405, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setOptionalMetricProperties" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setTimesChanged": { - "line": 146, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setTimesChanged" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertSame": { - "line": 151, - "lineCount": 14, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 6, - "N2": 8, - "programLength": 14, - "programVocabulary": 5, - "volume": 32.50699332842307, - "difficulty": 2.6666666666666665, - "effort": 86.68531554246152, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertSame" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::calculateDeltas": { - "line": 169, - "lineCount": 13, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 16, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 17, - "N2": 27, - "programLength": 44, - "programVocabulary": 4, - "volume": 88, - "difficulty": 13.5, - "effort": 1188, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::calculateDeltas" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::fromArray": { - "line": 187, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::fromArray" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertArrayKeyIsPresent": { - "line": 197, - "lineCount": 6, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 5, - "programLength": 5, - "programVocabulary": 2, - "volume": 5, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertArrayKeyIsPresent" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getClass": { - "line": 204, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getMethod": { - "line": 209, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getMethod" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCount": { - "line": 214, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCount": { - "line": 219, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCount": { - "line": 224, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCount": { - "line": 229, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCount": { - "line": 234, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCount": { - "line": 239, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevel": { - "line": 244, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevel" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCount": { - "line": 249, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeight": { - "line": 254, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setLineCountWeight": { - "line": 259, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setLineCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeight": { - "line": 264, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setArgCountWeight": { - "line": 269, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setArgCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeight": { - "line": 274, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setReturnCountWeight": { - "line": 279, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setReturnCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeight": { - "line": 284, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setVariableCountWeight": { - "line": 289, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setVariableCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeight": { - "line": 294, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setPropertyCallCountWeight": { - "line": 299, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setPropertyCallCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeight": { - "line": 304, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfCountWeight": { - "line": 309, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeight": { - "line": 314, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfNestingLevelWeight": { - "line": 319, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfNestingLevelWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeight": { - "line": 324, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setElseCountWeight": { - "line": 329, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setElseCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setScore": { - "line": 334, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setScore" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getScore": { - "line": 339, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getScore" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setCoverage": { - "line": 344, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCoverage": { - "line": 349, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeightDelta": { - "line": 354, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeightDelta": { - "line": 359, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeightDelta": { - "line": 364, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeightDelta": { - "line": 369, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeightDelta": { - "line": 374, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeightDelta": { - "line": 379, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeightDelta": { - "line": 384, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeightDelta": { - "line": 389, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getTimesChanged": { - "line": 394, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 2, - "programLength": 3, - "programVocabulary": 3, - "volume": 4.754887502163468, - "difficulty": 0.5, - "effort": 2.377443751081734, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getTimesChanged" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getFileName": { - "line": 399, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getFileName" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLine": { - "line": 404, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLine" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::equals": { - "line": 409, - "lineCount": 5, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 2, - "N1": 5, - "N2": 5, - "programLength": 10, - "programVocabulary": 5, - "volume": 23.21928094887362, - "difficulty": 3.75, - "effort": 87.07230355827608, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::equals" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::toArray": { - "line": 418, - "lineCount": 34, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 29, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 30, - "N1": 0, - "N2": 58, - "programLength": 58, - "programVocabulary": 30, - "volume": 284.5996545452941, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::toArray" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::jsonSerialize": { - "line": 456, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::jsonSerialize" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getHalstead": { - "line": 464, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getHalstead" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCyclomatic": { - "line": 472, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCyclomatic" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::add": { - "line": 30, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 5, - "N2": 6, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 3, - "effort": 85.30376252379816, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::add" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filter": { - "line": 40, - "lineCount": 11, - "argCount": 1, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 8, - "volume": 42, - "difficulty": 3, - "effort": 126, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filter" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getIterator": { - "line": 57, - "lineCount": 5, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getIterator" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::count": { - "line": 66, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::count" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterWithScoreGreaterThan": { - "line": 71, - "lineCount": 6, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 3, - "N2": 6, - "programLength": 9, - "programVocabulary": 5, - "volume": 20.89735285398626, - "difficulty": 2, - "effort": 41.79470570797252, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterWithScoreGreaterThan" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::contains": { - "line": 78, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 4, - "N2": 5, - "programLength": 9, - "programVocabulary": 5, - "volume": 20.89735285398626, - "difficulty": 1.6666666666666667, - "effort": 34.82892142331043, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::contains" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getClassWithMethod": { - "line": 83, - "lineCount": 9, - "argCount": 2, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 3, - "N2": 10, - "programLength": 13, - "programVocabulary": 7, - "volume": 36.49561398674886, - "difficulty": 2, - "effort": 72.99122797349771, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getClassWithMethod" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterByClassName": { - "line": 93, - "lineCount": 6, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 3, - "N2": 6, - "programLength": 9, - "programVocabulary": 5, - "volume": 20.89735285398626, - "difficulty": 2, - "effort": 41.79470570797252, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterByClassName" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::assertMetricHasGetter": { - "line": 100, - "lineCount": 9, - "argCount": 3, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 6, - "programLength": 7, - "programVocabulary": 4, - "volume": 14, - "difficulty": 1, - "effort": 14, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::assertMetricHasGetter" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::groupBy": { - "line": 117, - "lineCount": 20, - "argCount": 1, - "returnCount": 1, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 10, - "N2": 23, - "programLength": 33, - "programVocabulary": 11, - "volume": 114.16124341503081, - "difficulty": 6.571428571428571, - "effort": 750.2024567273453, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::groupBy" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::jsonSerialize": { - "line": 141, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::jsonSerialize" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::__construct": { - "line": 32, - "lineCount": 8, - "argCount": 5, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 5, - "N1": 0, - "N2": 5, - "programLength": 5, - "programVocabulary": 5, - "volume": 11.60964047443681, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collect": { - "line": 49, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 5, - "programLength": 6, - "programVocabulary": 4, - "volume": 12, - "difficulty": 0.8333333333333334, - "effort": 10, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collect" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collectFromPaths": { - "line": 62, - "lineCount": 13, - "argCount": 2, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 8, - "N2": 16, - "programLength": 24, - "programVocabulary": 9, - "volume": 76.07820003461549, - "difficulty": 4, - "effort": 304.31280013846197, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collectFromPaths" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCodeFromFile": { - "line": 79, - "lineCount": 10, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 2, - "N1": 5, - "N2": 6, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 6, - "effort": 170.6075250475963, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCodeFromFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findMetrics": { - "line": 98, - "lineCount": 31, - "argCount": 1, - "returnCount": 1, - "variableCount": 9, - "propertyCallCount": 2, - "ifNestingLevel": 2, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 13, - "N1": 18, - "N2": 38, - "programLength": 56, - "programVocabulary": 16, - "volume": 224, - "difficulty": 4.384615384615384, - "effort": 982.1538461538461, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findMetrics" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processMethodMetrics": { - "line": 136, - "lineCount": 29, - "argCount": 3, - "returnCount": 1, - "variableCount": 7, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 14, - "N1": 8, - "N2": 27, - "programLength": 35, - "programVocabulary": 17, - "volume": 143.06119944376186, - "difficulty": 2.892857142857143, - "effort": 413.8556126765968, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processMethodMetrics" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::isExcluded": { - "line": 166, - "lineCount": 12, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 5, - "N1": 5, - "N2": 9, - "programLength": 14, - "programVocabulary": 9, - "volume": 44.37895002019237, - "difficulty": 3.6, - "effort": 159.76422007269252, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::isExcluded" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findSourceFiles": { - "line": 187, - "lineCount": 7, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 2, - "N2": 6, - "programLength": 8, - "programVocabulary": 6, - "volume": 20.67970000576925, - "difficulty": 1.5, - "effort": 31.019550008653873, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findSourceFiles" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getProjectRoot": { - "line": 202, - "lineCount": 13, - "argCount": 0, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 2, - "N1": 8, - "N2": 8, - "programLength": 16, - "programVocabulary": 6, - "volume": 41.3594000115385, - "difficulty": 8, - "effort": 330.875200092308, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getProjectRoot" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateCacheKey": { - "line": 219, - "lineCount": 7, - "argCount": 2, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 6, - "N1": 10, - "N2": 12, - "programLength": 22, - "programVocabulary": 10, - "volume": 73.08241808752197, - "difficulty": 4, - "effort": 292.3296723500879, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateCacheKey" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateConfigHash": { - "line": 230, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 1, - "N1": 3, - "N2": 2, - "programLength": 5, - "programVocabulary": 3, - "volume": 7.92481250360578, - "difficulty": 2, - "effort": 15.84962500721156, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateConfigHash" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::cacheResult": { - "line": 239, - "lineCount": 14, - "argCount": 4, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 13, - "N1": 5, - "N2": 20, - "programLength": 25, - "programVocabulary": 15, - "volume": 97.67226489021297, - "difficulty": 1.5384615384615385, - "effort": 150.26502290801997, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::cacheResult" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::clearCache": { - "line": 254, - "lineCount": 4, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::clearCache" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::normalizeFilename": { - "line": 264, - "lineCount": 15, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 6, - "n2": 7, - "N1": 12, - "N2": 16, - "programLength": 28, - "programVocabulary": 13, - "volume": 103.61231210795059, - "difficulty": 6.857142857142857, - "effort": 710.4844258830897, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::normalizeFilename" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCachedMetrics": { - "line": 286, - "lineCount": 19, - "argCount": 3, - "returnCount": 3, - "variableCount": 4, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 11, - "N1": 10, - "N2": 29, - "programLength": 39, - "programVocabulary": 14, - "volume": 148.48684196024655, - "difficulty": 3.954545454545454, - "effort": 587.1979659337022, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCachedMetrics" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processFile": { - "line": 312, - "lineCount": 37, - "argCount": 5, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 7, - "n2": 10, - "N1": 12, - "N2": 28, - "programLength": 40, - "programVocabulary": 17, - "volume": 163.49851365001356, - "difficulty": 9.799999999999999, - "effort": 1602.2854337701328, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::sort": { - "line": 51, - "lineCount": 41, - "argCount": 3, - "returnCount": 2, - "variableCount": 10, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 18, - "N1": 20, - "N2": 43, - "programLength": 63, - "programVocabulary": 22, - "volume": 280.9441919741497, - "difficulty": 4.777777777777778, - "effort": 1342.2889172098264, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::sort" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getFieldValue": { - "line": 100, - "lineCount": 28, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 25, - "N1": 24, - "N2": 50, - "programLength": 74, - "programVocabulary": 27, - "volume": 351.86167516009664, - "difficulty": 2, - "effort": 703.7233503201933, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getFieldValue" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::compareValues": { - "line": 136, - "lineCount": 13, - "argCount": 2, - "returnCount": 3, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 2, - "N1": 9, - "N2": 12, - "programLength": 21, - "programVocabulary": 5, - "volume": 48.760489992634604, - "difficulty": 9, - "effort": 438.8444099337114, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::compareValues" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getSortableFields": { - "line": 155, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 0, - "N1": 0, - "N2": 0, - "programLength": 0, - "programVocabulary": 0, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getSortableFields" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__construct": { - "line": 15, - "lineCount": 11, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 7, - "N2": 12, - "programLength": 19, - "programVocabulary": 6, - "volume": 49.11428751370197, - "difficulty": 6, - "effort": 294.6857250822118, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::getValue": { - "line": 27, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::getValue" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasIncreased": { - "line": 32, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasIncreased" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__toString": { - "line": 37, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__toString" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasNotChanged": { - "line": 42, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 2, - "programLength": 3, - "programVocabulary": 3, - "volume": 4.754887502163468, - "difficulty": 0.5, - "effort": 2.377443751081734, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasNotChanged" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\FileProcessed::__construct": { - "line": 14, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\FileProcessed::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\ParserFailed::__construct": { - "line": 15, - "lineCount": 5, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\ParserFailed::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\SourceFilesFound::__construct": { - "line": 17, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\SourceFilesFound::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::__construct": { - "line": 15, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::create": { - "line": 27, - "lineCount": 10, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 6, - "N1": 0, - "N2": 8, - "programLength": 8, - "programVocabulary": 6, - "volume": 20.67970000576925, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::create" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::getSupportedTypes": { - "line": 43, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 4, - "N1": 0, - "N2": 4, - "programLength": 4, - "programVocabulary": 4, - "volume": 8, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::getSupportedTypes" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::isSupported": { - "line": 54, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 2, - "N2": 3, - "programLength": 5, - "programVocabulary": 4, - "volume": 10, - "difficulty": 1.5, - "effort": 15, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::isSupported" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CsvExporter::export": { - "line": 46, - "lineCount": 57, - "argCount": 2, - "returnCount": 0, - "variableCount": 6, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 15, - "N1": 37, - "N2": 54, - "programLength": 91, - "programVocabulary": 19, - "volume": 386.56140372336625, - "difficulty": 7.2, - "effort": 2783.242106808237, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CsvExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::export": { - "line": 40, - "lineCount": 8, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 5, - "N1": 4, - "N2": 8, - "programLength": 12, - "programVocabulary": 9, - "volume": 38.039100017307746, - "difficulty": 3.2, - "effort": 121.72512005538479, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::escape": { - "line": 49, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::escape" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::formatNumber": { - "line": 54, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::formatNumber" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::generateMetricRow": { - "line": 59, - "lineCount": 12, - "argCount": 3, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 16, - "N1": 19, - "N2": 27, - "programLength": 46, - "programVocabulary": 21, - "volume": 202.04660144782298, - "difficulty": 4.21875, - "effort": 852.3840998580032, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::generateMetricRow" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::generateHtml": { - "line": 78, - "lineCount": 64, - "argCount": 1, - "returnCount": 1, - "variableCount": 7, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 11, - "N1": 46, - "N2": 57, - "programLength": 103, - "programVocabulary": 15, - "volume": 402.40973134767745, - "difficulty": 10.363636363636363, - "effort": 4170.42812487593, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::generateHtml" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\JsonExporter::export": { - "line": 19, - "lineCount": 38, - "argCount": 2, - "returnCount": 0, - "variableCount": 5, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 27, - "N1": 29, - "N2": 58, - "programLength": 87, - "programVocabulary": 32, - "volume": 435, - "difficulty": 5.370370370370371, - "effort": 2336.1111111111113, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\JsonExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::__construct": { - "line": 24, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::export": { - "line": 36, - "lineCount": 8, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 5, - "N1": 4, - "N2": 8, - "programLength": 12, - "programVocabulary": 9, - "volume": 38.039100017307746, - "difficulty": 3.2, - "effort": 121.72512005538479, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::escape": { - "line": 48, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::escape" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateMetricCell": { - "line": 56, - "lineCount": 12, - "argCount": 3, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 12, - "N1": 16, - "N2": 24, - "programLength": 40, - "programVocabulary": 17, - "volume": 163.49851365001356, - "difficulty": 5, - "effort": 817.4925682500678, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateMetricCell" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::filterMetrics": { - "line": 75, - "lineCount": 15, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 4, - "N1": 4, - "N2": 11, - "programLength": 15, - "programVocabulary": 7, - "volume": 42.11032383086406, - "difficulty": 4.125, - "effort": 173.70508580231424, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::filterMetrics" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableHeader": { - "line": 94, - "lineCount": 33, - "argCount": 0, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 4, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 19, - "N1": 10, - "N2": 28, - "programLength": 38, - "programVocabulary": 22, - "volume": 169.4584015082173, - "difficulty": 2.2105263157894735, - "effort": 374.5922559655329, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableHeader" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableHeaderWithClass": { - "line": 131, - "lineCount": 33, - "argCount": 0, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 4, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 20, - "N1": 10, - "N2": 29, - "programLength": 39, - "programVocabulary": 23, - "volume": 176.41891628622352, - "difficulty": 2.175, - "effort": 383.7111429225361, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableHeaderWithClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableSeparator": { - "line": 168, - "lineCount": 20, - "argCount": 0, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 4, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 7, - "N1": 3, - "N2": 16, - "programLength": 19, - "programVocabulary": 10, - "volume": 63.11663380285988, - "difficulty": 3.4285714285714284, - "effort": 216.399887324091, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableSeparator" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableSeparatorWithClass": { - "line": 192, - "lineCount": 20, - "argCount": 0, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 4, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 8, - "N1": 3, - "N2": 16, - "programLength": 19, - "programVocabulary": 11, - "volume": 65.72920075410865, - "difficulty": 3, - "effort": 197.18760226232592, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableSeparatorWithClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableRow": { - "line": 216, - "lineCount": 22, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 6, - "N1": 53, - "N2": 60, - "programLength": 113, - "programVocabulary": 10, - "volume": 375.37787472227194, - "difficulty": 20, - "effort": 7507.557494445438, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableRow" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableRowWithClass": { - "line": 242, - "lineCount": 25, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 6, - "N1": 55, - "N2": 62, - "programLength": 117, - "programVocabulary": 10, - "volume": 388.66558710182136, - "difficulty": 20.666666666666668, - "effort": 8032.422133437642, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableRowWithClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::addHalsteadCells": { - "line": 274, - "lineCount": 20, - "argCount": 2, - "returnCount": 3, - "variableCount": 2, - "propertyCallCount": 5, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 12, - "N2": 24, - "programLength": 36, - "programVocabulary": 8, - "volume": 108, - "difficulty": 7.199999999999999, - "effort": 777.5999999999999, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::addHalsteadCells" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::addCyclomaticCell": { - "line": 301, - "lineCount": 16, - "argCount": 2, - "returnCount": 3, - "variableCount": 2, - "propertyCallCount": 4, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 8, - "N2": 16, - "programLength": 24, - "programVocabulary": 11, - "volume": 83.02635884729514, - "difficulty": 4.571428571428571, - "effort": 379.5490690162063, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::addCyclomaticCell" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateMarkdown": { - "line": 325, - "lineCount": 8, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 2, - "N2": 6, - "programLength": 8, - "programVocabulary": 3, - "volume": 12.679700005769249, - "difficulty": 1.5, - "effort": 19.019550008653873, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateMarkdown" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateGroupedMarkdown": { - "line": 337, - "lineCount": 49, - "argCount": 1, - "returnCount": 1, - "variableCount": 10, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 8, - "n2": 23, - "N1": 33, - "N2": 65, - "programLength": 98, - "programVocabulary": 31, - "volume": 485.5112384179137, - "difficulty": 11.304347826086957, - "effort": 5488.387912550329, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateGroupedMarkdown" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateSingleTableMarkdown": { - "line": 390, - "lineCount": 28, - "argCount": 1, - "returnCount": 1, - "variableCount": 6, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 6, - "n2": 13, - "N1": 19, - "N2": 37, - "programLength": 56, - "programVocabulary": 19, - "volume": 237.88394075284077, - "difficulty": 8.538461538461538, - "effort": 2031.1628787357943, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateSingleTableMarkdown" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::__construct": { - "line": 32, - "lineCount": 26, - "argCount": 2, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 7, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 14, - "N2": 22, - "programLength": 36, - "programVocabulary": 5, - "volume": 83.58941141594504, - "difficulty": 7.333333333333333, - "effort": 612.9890170502636, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::parse": { - "line": 63, - "lineCount": 37, - "argCount": 1, - "returnCount": 1, - "variableCount": 9, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 14, - "N1": 16, - "N2": 43, - "programLength": 59, - "programVocabulary": 17, - "volume": 241.16030763377, - "difficulty": 4.607142857142858, - "effort": 1111.0599887412977, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::parse" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::scanForAnnotations": { - "line": 104, - "lineCount": 20, - "argCount": 1, - "returnCount": 0, - "variableCount": 4, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 7, - "N1": 8, - "N2": 16, - "programLength": 24, - "programVocabulary": 10, - "volume": 79.7262742772967, - "difficulty": 3.4285714285714284, - "effort": 273.34722609358863, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::scanForAnnotations" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::traverseAbstractSyntaxTreeWithCombinedVisitor": { - "line": 129, - "lineCount": 17, - "argCount": 1, - "returnCount": 0, - "variableCount": 4, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 7, - "N1": 7, - "N2": 15, - "programLength": 22, - "programVocabulary": 10, - "volume": 73.08241808752197, - "difficulty": 3.2142857142857144, - "effort": 234.90777242417778, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::traverseAbstractSyntaxTreeWithCombinedVisitor" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getIgnored": { - "line": 153, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getIgnored" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getIgnoredClasses": { - "line": 163, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getIgnoredClasses" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getIgnoredMethods": { - "line": 173, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getIgnoredMethods" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::clearStaticCaches": { - "line": 181, - "lineCount": 15, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 9, - "N1": 7, - "N2": 19, - "programLength": 26, - "programVocabulary": 10, - "volume": 86.37013046707142, - "difficulty": 1.0555555555555556, - "effort": 91.16847104857538, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::clearStaticCaches" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::clearStaticProperty": { - "line": 200, - "lineCount": 14, - "argCount": 2, - "returnCount": 0, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 6, - "N2": 12, - "programLength": 18, - "programVocabulary": 7, - "volume": 50.53238859703688, - "difficulty": 2.4, - "effort": 121.2777326328885, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::clearStaticProperty" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getRiskLevel": { - "line": 218, - "lineCount": 9, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 8, - "N1": 3, - "N2": 11, - "programLength": 14, - "programVocabulary": 9, - "volume": 44.37895002019237, - "difficulty": 0.6875, - "effort": 30.510528138882254, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getRiskLevel" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculate": { - "line": 47, - "lineCount": 5, - "argCount": 2, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 2, - "N2": 8, - "programLength": 10, - "programVocabulary": 4, - "volume": 20, - "difficulty": 1.3333333333333333, - "effort": 26.666666666666664, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculateScore": { - "line": 53, - "lineCount": 10, - "argCount": 1, - "returnCount": 0, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 9, - "N1": 7, - "N2": 15, - "programLength": 22, - "programVocabulary": 13, - "volume": 81.40967379910403, - "difficulty": 3.3333333333333335, - "effort": 271.36557933034675, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculateScore" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculateMetricWeights": { - "line": 70, - "lineCount": 17, - "argCount": 3, - "returnCount": 0, - "variableCount": 6, - "propertyCallCount": 3, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 12, - "N1": 9, - "N2": 24, - "programLength": 33, - "programVocabulary": 15, - "volume": 128.92738965508113, - "difficulty": 3, - "effort": 386.7821689652434, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculateMetricWeights" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculateLogWeight": { - "line": 132, - "lineCount": 8, - "argCount": 3, - "returnCount": 2, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 5, - "N1": 5, - "N2": 11, - "programLength": 16, - "programVocabulary": 10, - "volume": 53.150849518197795, - "difficulty": 5.5, - "effort": 292.3296723500879, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculateLogWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cyclomatic\\CyclomaticMetrics::__construct": { - "line": 129, - "lineCount": 23, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 19, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 43, - "N1": 56, - "N2": 130, - "programLength": 186, - "programVocabulary": 45, - "volume": 1021.4846759173195, - "difficulty": 3.0232558139534884, - "effort": 3088.209485331431, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cyclomatic\\CyclomaticMetrics::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::escapeMarkdown": { - "line": 18, - "lineCount": 6, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 5, - "N1": 1, - "N2": 6, - "programLength": 7, - "programVocabulary": 6, - "volume": 18.094737505048094, - "difficulty": 0.6, - "effort": 10.856842503028856, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::escapeMarkdown" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::formatNumber": { - "line": 32, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 5, - "programLength": 6, - "programVocabulary": 4, - "volume": 12, - "difficulty": 0.8333333333333334, - "effort": 10, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::formatNumber" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::buildTableHeader": { - "line": 43, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 3, - "N2": 5, - "programLength": 8, - "programVocabulary": 6, - "volume": 20.67970000576925, - "difficulty": 1.25, - "effort": 25.84962500721156, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::buildTableHeader" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::buildTableSeparator": { - "line": 54, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 4, - "programLength": 6, - "programVocabulary": 5, - "volume": 13.931568569324174, - "difficulty": 1.3333333333333333, - "effort": 18.575424759098897, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::buildTableSeparator" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::buildTableRow": { - "line": 65, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 3, - "N2": 5, - "programLength": 8, - "programVocabulary": 6, - "volume": 20.67970000576925, - "difficulty": 1.25, - "effort": 25.84962500721156, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::buildTableRow" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::formatPercentage": { - "line": 77, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 2, - "N2": 6, - "programLength": 8, - "programVocabulary": 6, - "volume": 20.67970000576925, - "difficulty": 1.5, - "effort": 31.019550008653873, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::formatPercentage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::escapeMarkdown": { - "line": 18, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 1, - "n2": 5, - "N1": 1, - "N2": 6, - "programLength": 7, - "programVocabulary": 6, - "volume": 18.094737505048094, - "difficulty": 0.6, - "effort": 10.856842503028856, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::escapeMarkdown" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::formatNumber": { - "line": 30, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 5, - "programLength": 6, - "programVocabulary": 4, - "volume": 12, - "difficulty": 0.8333333333333334, - "effort": 10, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::formatNumber" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::buildMarkdownTableHeader": { - "line": 41, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 3, - "N2": 5, - "programLength": 8, - "programVocabulary": 6, - "volume": 20.67970000576925, - "difficulty": 1.25, - "effort": 25.84962500721156, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::buildMarkdownTableHeader" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::buildMarkdownTableSeparator": { - "line": 52, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 4, - "programLength": 6, - "programVocabulary": 5, - "volume": 13.931568569324174, - "difficulty": 1.3333333333333333, - "effort": 18.575424759098897, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::buildMarkdownTableSeparator" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::buildMarkdownTableRow": { - "line": 63, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 3, - "N2": 5, - "programLength": 8, - "programVocabulary": 6, - "volume": 20.67970000576925, - "difficulty": 1.25, - "effort": 25.84962500721156, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::buildMarkdownTableRow" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::formatMarkdownPercentage": { - "line": 75, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 2, - "N2": 6, - "programLength": 8, - "programVocabulary": 6, - "volume": 20.67970000576925, - "difficulty": 1.5, - "effort": 31.019550008653873, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::formatMarkdownPercentage" - } - } - }, - "ignored_items": [], - "cached_at": 1759967601 -} \ No newline at end of file diff --git a/.phpcca.cache/46/465e8d6583b75d9445904e1a30209a1b.cache b/.phpcca.cache/46/465e8d6583b75d9445904e1a30209a1b.cache deleted file mode 100644 index 08a9aa6..0000000 --- a/.phpcca.cache/46/465e8d6583b75d9445904e1a30209a1b.cache +++ /dev/null @@ -1,850 +0,0 @@ -{ - "version": "1.0", - "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/Business\/Churn\/Exporter\/MarkdownExporter.php", - "file_mtime": 1759784766, - "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", - "analysis_result": { - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct": { - "line": 60, - "lineCount": 5, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 1, - "N1": 2, - "N2": 2, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 2, - "effort": 12.679700005769249, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices": { - "line": 66, - "lineCount": 95, - "argCount": 0, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 5, - "N1": 58, - "N2": 32, - "programLength": 90, - "programVocabulary": 9, - "volume": 285.2932501298081, - "difficulty": 12.8, - "effort": 3651.7536016615436, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap": { - "line": 162, - "lineCount": 10, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 7, - "N2": 7, - "programLength": 14, - "programVocabulary": 2, - "volume": 14, - "difficulty": 3.5, - "effort": 49, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors": { - "line": 173, - "lineCount": 12, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 3, - "N2": 1, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0.5, - "effort": 2, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus": { - "line": 186, - "lineCount": 19, - "argCount": 0, - "returnCount": 0, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 9, - "N2": 13, - "programLength": 22, - "programVocabulary": 7, - "volume": 61.76180828526729, - "difficulty": 2.6, - "effort": 160.58070154169496, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService": { - "line": 206, - "lineCount": 9, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 3, - "N2": 1, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0.5, - "effort": 2, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade": { - "line": 216, - "lineCount": 13, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 3, - "N2": 1, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0.5, - "effort": 2, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands": { - "line": 230, - "lineCount": 21, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 6, - "N2": 2, - "programLength": 8, - "programVocabulary": 2, - "volume": 8, - "difficulty": 1, - "effort": 8, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication": { - "line": 252, - "lineCount": 11, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 5, - "N2": 4, - "programLength": 9, - "programVocabulary": 4, - "volume": 18, - "difficulty": 0.6666666666666666, - "effort": 12, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run": { - "line": 264, - "lineCount": 9, - "argCount": 0, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 5, - "N2": 5, - "programLength": 10, - "programVocabulary": 4, - "volume": 20, - "difficulty": 2.5, - "effort": 50, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get": { - "line": 274, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer": { - "line": 279, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator": { - "line": 289, - "lineCount": 16, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 7, - "programLength": 8, - "programVocabulary": 4, - "volume": 16, - "difficulty": 1.1666666666666667, - "effort": 18.666666666666668, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create": { - "line": 18, - "lineCount": 7, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 4, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile": { - "line": 17, - "lineCount": 17, - "argCount": 2, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 8, - "N1": 11, - "N2": 19, - "programLength": 30, - "programVocabulary": 11, - "volume": 103.78294855911892, - "difficulty": 3.5625, - "effort": 369.72675424186116, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode": { - "line": 42, - "lineCount": 8, - "argCount": 3, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 3, - "N2": 8, - "programLength": 11, - "programVocabulary": 8, - "volume": 33, - "difficulty": 2.4000000000000004, - "effort": 79.20000000000002, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate": { - "line": 22, - "lineCount": 10, - "argCount": 2, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 6, - "N2": 13, - "programLength": 19, - "programVocabulary": 6, - "volume": 49.11428751370197, - "difficulty": 3.25, - "effort": 159.6214344195314, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending": { - "line": 37, - "lineCount": 8, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 2, - "N2": 9, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 2.25, - "effort": 63.97782189284862, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn": { - "line": 51, - "lineCount": 24, - "argCount": 2, - "returnCount": 1, - "variableCount": 6, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 15, - "N1": 17, - "N2": 46, - "programLength": 63, - "programVocabulary": 20, - "volume": 272.28146997790384, - "difficulty": 7.666666666666667, - "effort": 2087.491269830596, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses": { - "line": 81, - "lineCount": 20, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 2, - "n2": 7, - "N1": 10, - "N2": 24, - "programLength": 34, - "programVocabulary": 9, - "volume": 107.7774500490386, - "difficulty": 3.4285714285714284, - "effort": 369.52268588241805, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass": { - "line": 109, - "lineCount": 9, - "argCount": 2, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 6, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 10, - "volume": 49.82892142331043, - "difficulty": 3.3333333333333335, - "effort": 166.09640474436813, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel": { - "line": 126, - "lineCount": 16, - "argCount": 2, - "returnCount": 4, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 12, - "N1": 9, - "N2": 18, - "programLength": 27, - "programVocabulary": 15, - "volume": 105.48604608143, - "difficulty": 2.25, - "effort": 237.3436036832175, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile": { - "line": 14, - "lineCount": 6, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 2, - "N2": 5, - "programLength": 7, - "programVocabulary": 4, - "volume": 14, - "difficulty": 2.5, - "effort": 35, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable": { - "line": 24, - "lineCount": 11, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 10, - "N2": 12, - "programLength": 22, - "programVocabulary": 8, - "volume": 66, - "difficulty": 6, - "effort": 396, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create": { - "line": 21, - "lineCount": 11, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 7, - "N1": 0, - "N2": 9, - "programLength": 9, - "programVocabulary": 7, - "volume": 25.26619429851844, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes": { - "line": 38, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 6, - "N1": 0, - "N2": 6, - "programLength": 6, - "programVocabulary": 6, - "volume": 15.509775004326936, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported": { - "line": 49, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 2, - "N2": 3, - "programLength": 5, - "programVocabulary": 4, - "volume": 10, - "difficulty": 1.5, - "effort": 15, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export": { - "line": 30, - "lineCount": 23, - "argCount": 2, - "returnCount": 0, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 16, - "N1": 10, - "N2": 33, - "programLength": 43, - "programVocabulary": 20, - "volume": 185.8429080801566, - "difficulty": 4.125, - "effort": 766.601995830646, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export": { - "line": 28, - "lineCount": 8, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 6, - "volume": 36.18947501009619, - "difficulty": 2.5, - "effort": 90.47368752524048, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape": { - "line": 37, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber": { - "line": 42, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml": { - "line": 52, - "lineCount": 50, - "argCount": 1, - "returnCount": 1, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 12, - "N1": 11, - "N2": 25, - "programLength": 36, - "programVocabulary": 17, - "volume": 147.14866228501222, - "difficulty": 5.208333333333334, - "effort": 766.3992827344388, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export": { - "line": 17, - "lineCount": 13, - "argCount": 2, - "returnCount": 0, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 8, - "N1": 7, - "N2": 14, - "programLength": 21, - "programVocabulary": 12, - "volume": 75.28421251514428, - "difficulty": 3.5, - "effort": 263.49474380300495, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export": { - "line": 48, - "lineCount": 8, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 6, - "volume": 36.18947501009619, - "difficulty": 2.5, - "effort": 90.47368752524048, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown": { - "line": 61, - "lineCount": 24, - "argCount": 1, - "returnCount": 1, - "variableCount": 6, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "cyclomatic_complexity": { - "complexity": 4, - "risk_level": "low" - }, - "halstead": { - "n1": 6, - "n2": 16, - "N1": 19, - "N2": 41, - "programLength": 60, - "programVocabulary": 22, - "volume": 267.56589711823784, - "difficulty": 7.6875, - "effort": 2056.9128340964535, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow": { - "line": 94, - "lineCount": 21, - "argCount": 3, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "cyclomatic_complexity": { - "complexity": 5, - "risk_level": "low" - }, - "halstead": { - "n1": 7, - "n2": 18, - "N1": 16, - "N2": 39, - "programLength": 55, - "programVocabulary": 25, - "volume": 255.41209043760983, - "difficulty": 7.583333333333333, - "effort": 1936.8750191518745, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow" - } - } - }, - "ignored_items": [], - "cached_at": 1759967600 -} \ No newline at end of file diff --git a/.phpcca.cache/4f/4f548467659a2d8b1b63950d505ee752.cache b/.phpcca.cache/4f/4f548467659a2d8b1b63950d505ee752.cache deleted file mode 100644 index b44e0bf..0000000 --- a/.phpcca.cache/4f/4f548467659a2d8b1b63950d505ee752.cache +++ /dev/null @@ -1,1878 +0,0 @@ -{ - "version": "1.0", - "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/Command\/Presentation\/MetricFormatter.php", - "file_mtime": 1759791861, - "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", - "analysis_result": { - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::__construct": { - "line": 26, - "lineCount": 5, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 4, - "N1": 3, - "N2": 6, - "programLength": 9, - "programVocabulary": 7, - "volume": 25.26619429851844, - "difficulty": 2.25, - "effort": 56.848937171666485, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItem": { - "line": 35, - "lineCount": 15, - "argCount": 1, - "returnCount": 3, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 6, - "N2": 13, - "programLength": 19, - "programVocabulary": 8, - "volume": 57, - "difficulty": 6.5, - "effort": 370.5, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItem" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItems": { - "line": 55, - "lineCount": 9, - "argCount": 1, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 3, - "N2": 9, - "programLength": 12, - "programVocabulary": 6, - "volume": 31.019550008653873, - "difficulty": 2.25, - "effort": 69.79398751947122, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItems" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::hasItem": { - "line": 68, - "lineCount": 6, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 5, - "n2": 3, - "N1": 6, - "N2": 7, - "programLength": 13, - "programVocabulary": 8, - "volume": 39, - "difficulty": 5.833333333333334, - "effort": 227.50000000000003, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::hasItem" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::clear": { - "line": 75, - "lineCount": 10, - "argCount": 0, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 2, - "N2": 4, - "programLength": 6, - "programVocabulary": 3, - "volume": 9.509775004326936, - "difficulty": 1, - "effort": 9.509775004326936, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::clear" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItem": { - "line": 89, - "lineCount": 10, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 4, - "N2": 6, - "programLength": 10, - "programVocabulary": 6, - "volume": 25.84962500721156, - "difficulty": 3, - "effort": 77.54887502163469, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItem" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItems": { - "line": 103, - "lineCount": 10, - "argCount": 1, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 3, - "N2": 8, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 2, - "effort": 56.86917501586544, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItems" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::save": { - "line": 117, - "lineCount": 11, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 4, - "N1": 9, - "N2": 12, - "programLength": 21, - "programVocabulary": 7, - "volume": 58.95445336320969, - "difficulty": 4.5, - "effort": 265.2950401344436, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::save" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveDeferred": { - "line": 129, - "lineCount": 6, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveDeferred" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::commit": { - "line": 136, - "lineCount": 11, - "argCount": 0, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 4, - "N2": 8, - "programLength": 12, - "programVocabulary": 5, - "volume": 27.863137138648348, - "difficulty": 2.6666666666666665, - "effort": 74.30169903639559, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::commit" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::ensureCacheDirectory": { - "line": 152, - "lineCount": 9, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 3, - "N2": 4, - "programLength": 7, - "programVocabulary": 4, - "volume": 14, - "difficulty": 2, - "effort": 28, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::ensureCacheDirectory" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getCacheFilePath": { - "line": 168, - "lineCount": 15, - "argCount": 1, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 10, - "N1": 13, - "N2": 19, - "programLength": 32, - "programVocabulary": 14, - "volume": 121.83535750584333, - "difficulty": 3.8, - "effort": 462.9743585222046, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getCacheFilePath" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::loadCacheData": { - "line": 187, - "lineCount": 14, - "argCount": 1, - "returnCount": 3, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 6, - "N2": 8, - "programLength": 14, - "programVocabulary": 6, - "volume": 36.18947501009619, - "difficulty": 4, - "effort": 144.75790004038475, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::loadCacheData" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveCacheData": { - "line": 209, - "lineCount": 21, - "argCount": 2, - "returnCount": 3, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 6, - "n2": 7, - "N1": 13, - "N2": 17, - "programLength": 30, - "programVocabulary": 13, - "volume": 111.01319154423277, - "difficulty": 7.285714285714285, - "effort": 808.810395536553, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveCacheData" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::sanitizeUtf8": { - "line": 234, - "lineCount": 25, - "argCount": 1, - "returnCount": 4, - "variableCount": 6, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 8, - "N1": 13, - "N2": 29, - "programLength": 42, - "programVocabulary": 11, - "volume": 145.29612798276648, - "difficulty": 5.4375, - "effort": 790.0476959062927, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::sanitizeUtf8" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::removeDirectory": { - "line": 260, - "lineCount": 23, - "argCount": 1, - "returnCount": 2, - "variableCount": 5, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 5, - "n2": 9, - "N1": 13, - "N2": 20, - "programLength": 33, - "programVocabulary": 14, - "volume": 125.64271242790093, - "difficulty": 5.555555555555555, - "effort": 698.0150690438941, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::removeDirectory" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::__construct": { - "line": 42, - "lineCount": 7, - "argCount": 3, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 3, - "N1": 0, - "N2": 3, - "programLength": 3, - "programVocabulary": 3, - "volume": 4.754887502163468, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::configure": { - "line": 53, - "lineCount": 57, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 15, - "N1": 9, - "N2": 16, - "programLength": 25, - "programVocabulary": 16, - "volume": 100, - "difficulty": 0.5333333333333333, - "effort": 53.333333333333336, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::configure" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::execute": { - "line": 119, - "lineCount": 43, - "argCount": 2, - "returnCount": 5, - "variableCount": 9, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 4, - "halstead": { - "n1": 7, - "n2": 14, - "N1": 31, - "N2": 45, - "programLength": 76, - "programVocabulary": 21, - "volume": 333.8161241311858, - "difficulty": 11.25, - "effort": 3755.4313964758403, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::execute" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::loadCoverageReader": { - "line": 171, - "lineCount": 32, - "argCount": 3, - "returnCount": 4, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 2, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 4, - "n2": 9, - "N1": 9, - "N2": 21, - "programLength": 30, - "programVocabulary": 13, - "volume": 111.01319154423277, - "difficulty": 4.666666666666667, - "effort": 518.0615605397529, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::loadCoverageReader" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::detectCoverageFormat": { - "line": 207, - "lineCount": 19, - "argCount": 1, - "returnCount": 4, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 9, - "volume": 47.548875021634686, - "difficulty": 2.5, - "effort": 118.87218755408671, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::detectCoverageFormat" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::coverageFileExists": { - "line": 227, - "lineCount": 20, - "argCount": 2, - "returnCount": 3, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 4, - "N2": 7, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 3.5, - "effort": 99.52105627776452, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::coverageFileExists" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::__construct": { - "line": 49, - "lineCount": 10, - "argCount": 6, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 6, - "N1": 0, - "N2": 6, - "programLength": 6, - "programVocabulary": 6, - "volume": 15.509775004326936, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::configure": { - "line": 63, - "lineCount": 76, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 20, - "N1": 13, - "N2": 20, - "programLength": 33, - "programVocabulary": 21, - "volume": 144.94647495169912, - "difficulty": 0.5, - "effort": 72.47323747584956, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::configure" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::execute": { - "line": 150, - "lineCount": 52, - "argCount": 2, - "returnCount": 5, - "variableCount": 11, - "propertyCallCount": 6, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 7, - "halstead": { - "n1": 6, - "n2": 15, - "N1": 43, - "N2": 61, - "programLength": 104, - "programVocabulary": 21, - "volume": 456.80101196899113, - "difficulty": 12.2, - "effort": 5572.972346021692, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::execute" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::parsePaths": { - "line": 209, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 4, - "N2": 8, - "programLength": 12, - "programVocabulary": 7, - "volume": 33.68825906469125, - "difficulty": 1.6, - "effort": 53.901214503506004, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::parsePaths" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleBaseLine": { - "line": 224, - "lineCount": 8, - "argCount": 2, - "returnCount": 0, - "variableCount": 3, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 5, - "N2": 11, - "programLength": 16, - "programVocabulary": 7, - "volume": 44.91767875292167, - "difficulty": 2.2, - "effort": 98.81889325642767, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleBaseLine" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleCoverageOptions": { - "line": 238, - "lineCount": 20, - "argCount": 2, - "returnCount": 3, - "variableCount": 5, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 5, - "n2": 10, - "N1": 15, - "N2": 25, - "programLength": 40, - "programVocabulary": 15, - "volume": 156.27562382434076, - "difficulty": 6.25, - "effort": 976.7226489021298, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleCoverageOptions" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::applySorting": { - "line": 264, - "lineCount": 21, - "argCount": 3, - "returnCount": 3, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 15, - "N1": 16, - "N2": 32, - "programLength": 48, - "programVocabulary": 20, - "volume": 207.45254855459342, - "difficulty": 5.333333333333333, - "effort": 1106.4135922911648, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::applySorting" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadConfiguration": { - "line": 293, - "lineCount": 10, - "argCount": 2, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 6, - "N1": 5, - "N2": 9, - "programLength": 14, - "programVocabulary": 8, - "volume": 42, - "difficulty": 1.5, - "effort": 63, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadConfiguration" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadCoverageReader": { - "line": 313, - "lineCount": 28, - "argCount": 3, - "returnCount": 4, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 2, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 10, - "N2": 18, - "programLength": 28, - "programVocabulary": 11, - "volume": 96.86408532184433, - "difficulty": 5.142857142857143, - "effort": 498.15815308377086, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadCoverageReader" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::detectCoverageFormat": { - "line": 345, - "lineCount": 19, - "argCount": 1, - "returnCount": 4, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 9, - "volume": 47.548875021634686, - "difficulty": 2.5, - "effort": 118.87218755408671, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::detectCoverageFormat" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::coverageFileExists": { - "line": 365, - "lineCount": 20, - "argCount": 2, - "returnCount": 3, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 4, - "N2": 7, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 3.5, - "effort": 99.52105627776452, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::coverageFileExists" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__construct": { - "line": 12, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__invoke": { - "line": 17, - "lineCount": 22, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 3, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 10, - "N2": 11, - "programLength": 21, - "programVocabulary": 7, - "volume": 58.95445336320969, - "difficulty": 2.2, - "effort": 129.6997973990613, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__invoke" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__construct": { - "line": 21, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__invoke": { - "line": 26, - "lineCount": 11, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 4, - "N2": 9, - "programLength": 13, - "programVocabulary": 4, - "volume": 26, - "difficulty": 4.5, - "effort": 117, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__invoke" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleSourceFilesFound": { - "line": 38, - "lineCount": 6, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 4, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 6, - "N2": 10, - "programLength": 16, - "programVocabulary": 8, - "volume": 48, - "difficulty": 5, - "effort": 240, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleSourceFilesFound" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleFileProcessed": { - "line": 45, - "lineCount": 5, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleFileProcessed" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleAllFilesProcessed": { - "line": 51, - "lineCount": 6, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 3, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 3, - "N2": 5, - "programLength": 8, - "programVocabulary": 5, - "volume": 18.575424759098897, - "difficulty": 1.6666666666666667, - "effort": 30.95904126516483, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleAllFilesProcessed" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__construct": { - "line": 20, - "lineCount": 5, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__invoke": { - "line": 26, - "lineCount": 17, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 5, - "n2": 8, - "N1": 17, - "N2": 17, - "programLength": 34, - "programVocabulary": 13, - "volume": 125.81495041679713, - "difficulty": 5.3125, - "effort": 668.3919240892347, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__invoke" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::formatBytes": { - "line": 50, - "lineCount": 12, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 7, - "n2": 13, - "N1": 10, - "N2": 22, - "programLength": 32, - "programVocabulary": 20, - "volume": 138.3016990363956, - "difficulty": 5.923076923076923, - "effort": 819.1716019848047, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::formatBytes" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::isDebugEnabled": { - "line": 66, - "lineCount": 5, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 1, - "N1": 4, - "N2": 2, - "programLength": 6, - "programVocabulary": 4, - "volume": 12, - "difficulty": 3, - "effort": 36, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::isDebugEnabled" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::__construct": { - "line": 20, - "lineCount": 6, - "argCount": 2, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 4, - "volume": 8, - "difficulty": 0.5, - "effort": 4, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::exportToFile": { - "line": 32, - "lineCount": 27, - "argCount": 3, - "returnCount": 4, - "variableCount": 2, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 1, - "n2": 6, - "N1": 6, - "N2": 19, - "programLength": 25, - "programVocabulary": 7, - "volume": 70.1838730514401, - "difficulty": 1.5833333333333333, - "effort": 111.12446566478016, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::exportToFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::hasIncompleteReportOptions": { - "line": 60, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 2, - "N1": 7, - "N2": 6, - "programLength": 13, - "programVocabulary": 6, - "volume": 33.60451250937503, - "difficulty": 6, - "effort": 201.62707505625016, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::hasIncompleteReportOptions" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::isValidReportType": { - "line": 65, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 2, - "N2": 4, - "programLength": 6, - "programVocabulary": 4, - "volume": 12, - "difficulty": 2, - "effort": 24, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::isValidReportType" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleExceptions": { - "line": 77, - "lineCount": 9, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 3, - "N2": 4, - "programLength": 7, - "programVocabulary": 5, - "volume": 16.253496664211536, - "difficulty": 1.3333333333333333, - "effort": 21.67132888561538, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleExceptions" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleInvalidReportType": { - "line": 91, - "lineCount": 11, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 5, - "N2": 8, - "programLength": 13, - "programVocabulary": 8, - "volume": 39, - "difficulty": 2.4000000000000004, - "effort": 93.60000000000001, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleInvalidReportType" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::__construct": { - "line": 15, - "lineCount": 5, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handle": { - "line": 24, - "lineCount": 27, - "argCount": 3, - "returnCount": 4, - "variableCount": 2, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 1, - "n2": 6, - "N1": 6, - "N2": 19, - "programLength": 25, - "programVocabulary": 7, - "volume": 70.1838730514401, - "difficulty": 1.5833333333333333, - "effort": 111.12446566478016, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handle" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::hasIncompleteReportOptions": { - "line": 52, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 2, - "N1": 7, - "N2": 6, - "programLength": 13, - "programVocabulary": 6, - "volume": 33.60451250937503, - "difficulty": 6, - "effort": 201.62707505625016, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::hasIncompleteReportOptions" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::isValidReportType": { - "line": 57, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 5, - "N1": 1, - "N2": 6, - "programLength": 7, - "programVocabulary": 6, - "volume": 18.094737505048094, - "difficulty": 0.6, - "effort": 10.856842503028856, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::isValidReportType" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handleExceptions": { - "line": 66, - "lineCount": 9, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 3, - "N2": 4, - "programLength": 7, - "programVocabulary": 5, - "volume": 16.253496664211536, - "difficulty": 1.3333333333333333, - "effort": 21.67132888561538, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handleExceptions" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handleInvalidReporType": { - "line": 80, - "lineCount": 9, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 4, - "programLength": 6, - "programVocabulary": 5, - "volume": 13.931568569324174, - "difficulty": 1.3333333333333333, - "effort": 18.575424759098897, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handleInvalidReporType" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::__construct": { - "line": 42, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::reportWritten": { - "line": 47, - "lineCount": 7, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 4, - "programLength": 6, - "programVocabulary": 5, - "volume": 13.931568569324174, - "difficulty": 1.3333333333333333, - "effort": 18.575424759098897, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::reportWritten" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::renderChurnTable": { - "line": 59, - "lineCount": 35, - "argCount": 1, - "returnCount": 0, - "variableCount": 6, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 8, - "n2": 18, - "N1": 21, - "N2": 53, - "programLength": 74, - "programVocabulary": 26, - "volume": 347.8325391424408, - "difficulty": 11.777777777777779, - "effort": 4096.694349899859, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::renderChurnTable" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricSummaryTextRenderer::__construct": { - "line": 18, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricSummaryTextRenderer::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricSummaryTextRenderer::render": { - "line": 23, - "lineCount": 32, - "argCount": 2, - "returnCount": 0, - "variableCount": 6, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 6, - "n2": 16, - "N1": 27, - "N2": 38, - "programLength": 65, - "programVocabulary": 22, - "volume": 289.86305521142435, - "difficulty": 7.125, - "effort": 2065.2742683813985, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricSummaryTextRenderer::render" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::__construct": { - "line": 27, - "lineCount": 5, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::metricExceedsThreshold": { - "line": 33, - "lineCount": 6, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 2, - "N1": 3, - "N2": 5, - "programLength": 8, - "programVocabulary": 5, - "volume": 18.575424759098897, - "difficulty": 3.75, - "effort": 69.65784284662087, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::metricExceedsThreshold" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::hasCoverageInCollection": { - "line": 43, - "lineCount": 10, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 2, - "N2": 4, - "programLength": 6, - "programVocabulary": 4, - "volume": 12, - "difficulty": 2, - "effort": 24, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::hasCoverageInCollection" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::render": { - "line": 58, - "lineCount": 17, - "argCount": 2, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 6, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 9, - "N2": 25, - "programLength": 34, - "programVocabulary": 6, - "volume": 87.8887250245193, - "difficulty": 6.25, - "effort": 549.3045314032456, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::render" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderGroupedByClass": { - "line": 81, - "lineCount": 19, - "argCount": 3, - "returnCount": 0, - "variableCount": 6, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 5, - "n2": 11, - "N1": 11, - "N2": 25, - "programLength": 36, - "programVocabulary": 16, - "volume": 144, - "difficulty": 5.6818181818181825, - "effort": 818.1818181818182, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderGroupedByClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::buildRowsForClass": { - "line": 106, - "lineCount": 13, - "argCount": 2, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 4, - "N2": 12, - "programLength": 16, - "programVocabulary": 7, - "volume": 44.91767875292167, - "difficulty": 2.4, - "effort": 107.802429007012, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::buildRowsForClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::getFilenameFromMetrics": { - "line": 123, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 5, - "programLength": 6, - "programVocabulary": 4, - "volume": 12, - "difficulty": 0.8333333333333334, - "effort": 10, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::getFilenameFromMetrics" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderAllMethodsInSingleTable": { - "line": 136, - "lineCount": 12, - "argCount": 3, - "returnCount": 0, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 6, - "N2": 15, - "programLength": 21, - "programVocabulary": 11, - "volume": 72.64806399138324, - "difficulty": 4.285714285714286, - "effort": 311.34884567735673, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderAllMethodsInSingleTable" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::buildRowsForSingleTable": { - "line": 154, - "lineCount": 13, - "argCount": 2, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 4, - "N2": 12, - "programLength": 16, - "programVocabulary": 7, - "volume": 44.91767875292167, - "difficulty": 2.4, - "effort": 107.802429007012, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::buildRowsForSingleTable" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderTableCommon": { - "line": 173, - "lineCount": 19, - "argCount": 4, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 8, - "N1": 7, - "N2": 19, - "programLength": 26, - "programVocabulary": 10, - "volume": 86.37013046707142, - "difficulty": 2.375, - "effort": 205.1290598592946, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderTableCommon" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderTable": { - "line": 196, - "lineCount": 13, - "argCount": 4, - "returnCount": 0, - "variableCount": 3, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 7, - "N1": 4, - "N2": 14, - "programLength": 18, - "programVocabulary": 9, - "volume": 57.05865002596162, - "difficulty": 2, - "effort": 114.11730005192324, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderTable" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderSingleTable": { - "line": 213, - "lineCount": 11, - "argCount": 3, - "returnCount": 0, - "variableCount": 3, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 6, - "N1": 4, - "N2": 12, - "programLength": 16, - "programVocabulary": 8, - "volume": 48, - "difficulty": 2, - "effort": 96, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderSingleTable" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::__construct": { - "line": 16, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatScore": { - "line": 21, - "lineCount": 6, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 2, - "risk_level": "low" - }, - "halstead": { - "n1": 2, - "n2": 6, - "N1": 5, - "N2": 9, - "programLength": 14, - "programVocabulary": 8, - "volume": 42, - "difficulty": 1.5, - "effort": 63, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatScore" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadVolume": { - "line": 28, - "lineCount": 14, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "cyclomatic_complexity": { - "complexity": 2, - "risk_level": "low" - }, - "halstead": { - "n1": 5, - "n2": 10, - "N1": 9, - "N2": 17, - "programLength": 26, - "programVocabulary": 15, - "volume": 101.57915548582149, - "difficulty": 4.25, - "effort": 431.7114108147413, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadVolume" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadDifficulty": { - "line": 43, - "lineCount": 13, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "cyclomatic_complexity": { - "complexity": 2, - "risk_level": "low" - }, - "halstead": { - "n1": 4, - "n2": 10, - "N1": 8, - "N2": 17, - "programLength": 25, - "programVocabulary": 14, - "volume": 95.1838730514401, - "difficulty": 3.4, - "effort": 323.62516837489636, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadDifficulty" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadEffort": { - "line": 57, - "lineCount": 13, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "cyclomatic_complexity": { - "complexity": 2, - "risk_level": "low" - }, - "halstead": { - "n1": 4, - "n2": 10, - "N1": 8, - "N2": 17, - "programLength": 25, - "programVocabulary": 14, - "volume": 95.1838730514401, - "difficulty": 3.4, - "effort": 323.62516837489636, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadEffort" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatCyclomaticComplexity": { - "line": 71, - "lineCount": 13, - "argCount": 1, - "returnCount": 3, - "variableCount": 4, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "cyclomatic_complexity": { - "complexity": 3, - "risk_level": "low" - }, - "halstead": { - "n1": 5, - "n2": 9, - "N1": 9, - "N2": 18, - "programLength": 27, - "programVocabulary": 14, - "volume": 102.79858289555531, - "difficulty": 5, - "effort": 513.9929144777766, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatCyclomaticComplexity" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::colorCyclomaticRisk": { - "line": 85, - "lineCount": 8, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 2, - "n2": 7, - "N1": 5, - "N2": 11, - "programLength": 16, - "programVocabulary": 9, - "volume": 50.718800023076994, - "difficulty": 1.5714285714285714, - "effort": 79.70097146483528, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::colorCyclomaticRisk" - } - } - }, - "ignored_items": [], - "cached_at": 1759967602 -} \ No newline at end of file diff --git a/.phpcca.cache/5b/5b560a306921608ad02568abcf7b1284.cache b/.phpcca.cache/5b/5b560a306921608ad02568abcf7b1284.cache deleted file mode 100644 index b8817a9..0000000 --- a/.phpcca.cache/5b/5b560a306921608ad02568abcf7b1284.cache +++ /dev/null @@ -1,540 +0,0 @@ -{ - "version": "1.0", - "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/Command\/ChurnCommand.php", - "file_mtime": 1759964699, - "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", - "analysis_result": { - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::__construct": { - "line": 26, - "lineCount": 5, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 4, - "N1": 3, - "N2": 6, - "programLength": 9, - "programVocabulary": 7, - "volume": 25.26619429851844, - "difficulty": 2.25, - "effort": 56.848937171666485, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItem": { - "line": 35, - "lineCount": 15, - "argCount": 1, - "returnCount": 3, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 6, - "N2": 13, - "programLength": 19, - "programVocabulary": 8, - "volume": 57, - "difficulty": 6.5, - "effort": 370.5, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItem" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItems": { - "line": 55, - "lineCount": 9, - "argCount": 1, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 3, - "N2": 9, - "programLength": 12, - "programVocabulary": 6, - "volume": 31.019550008653873, - "difficulty": 2.25, - "effort": 69.79398751947122, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItems" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::hasItem": { - "line": 68, - "lineCount": 6, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 5, - "n2": 3, - "N1": 6, - "N2": 7, - "programLength": 13, - "programVocabulary": 8, - "volume": 39, - "difficulty": 5.833333333333334, - "effort": 227.50000000000003, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::hasItem" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::clear": { - "line": 75, - "lineCount": 10, - "argCount": 0, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 2, - "N2": 4, - "programLength": 6, - "programVocabulary": 3, - "volume": 9.509775004326936, - "difficulty": 1, - "effort": 9.509775004326936, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::clear" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItem": { - "line": 89, - "lineCount": 10, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 4, - "N2": 6, - "programLength": 10, - "programVocabulary": 6, - "volume": 25.84962500721156, - "difficulty": 3, - "effort": 77.54887502163469, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItem" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItems": { - "line": 103, - "lineCount": 10, - "argCount": 1, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 3, - "N2": 8, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 2, - "effort": 56.86917501586544, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItems" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::save": { - "line": 117, - "lineCount": 11, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 4, - "N1": 9, - "N2": 12, - "programLength": 21, - "programVocabulary": 7, - "volume": 58.95445336320969, - "difficulty": 4.5, - "effort": 265.2950401344436, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::save" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveDeferred": { - "line": 129, - "lineCount": 6, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveDeferred" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::commit": { - "line": 136, - "lineCount": 11, - "argCount": 0, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 4, - "N2": 8, - "programLength": 12, - "programVocabulary": 5, - "volume": 27.863137138648348, - "difficulty": 2.6666666666666665, - "effort": 74.30169903639559, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::commit" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::ensureCacheDirectory": { - "line": 152, - "lineCount": 9, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 3, - "N2": 4, - "programLength": 7, - "programVocabulary": 4, - "volume": 14, - "difficulty": 2, - "effort": 28, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::ensureCacheDirectory" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getCacheFilePath": { - "line": 168, - "lineCount": 15, - "argCount": 1, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 10, - "N1": 13, - "N2": 19, - "programLength": 32, - "programVocabulary": 14, - "volume": 121.83535750584333, - "difficulty": 3.8, - "effort": 462.9743585222046, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getCacheFilePath" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::loadCacheData": { - "line": 187, - "lineCount": 14, - "argCount": 1, - "returnCount": 3, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 6, - "N2": 8, - "programLength": 14, - "programVocabulary": 6, - "volume": 36.18947501009619, - "difficulty": 4, - "effort": 144.75790004038475, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::loadCacheData" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveCacheData": { - "line": 209, - "lineCount": 21, - "argCount": 2, - "returnCount": 3, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 6, - "n2": 7, - "N1": 13, - "N2": 17, - "programLength": 30, - "programVocabulary": 13, - "volume": 111.01319154423277, - "difficulty": 7.285714285714285, - "effort": 808.810395536553, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveCacheData" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::sanitizeUtf8": { - "line": 234, - "lineCount": 25, - "argCount": 1, - "returnCount": 4, - "variableCount": 6, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 8, - "N1": 13, - "N2": 29, - "programLength": 42, - "programVocabulary": 11, - "volume": 145.29612798276648, - "difficulty": 5.4375, - "effort": 790.0476959062927, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::sanitizeUtf8" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::removeDirectory": { - "line": 260, - "lineCount": 23, - "argCount": 1, - "returnCount": 2, - "variableCount": 5, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 5, - "n2": 9, - "N1": 13, - "N2": 20, - "programLength": 33, - "programVocabulary": 14, - "volume": 125.64271242790093, - "difficulty": 5.555555555555555, - "effort": 698.0150690438941, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::removeDirectory" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::__construct": { - "line": 42, - "lineCount": 7, - "argCount": 3, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 0, - "n2": 3, - "N1": 0, - "N2": 3, - "programLength": 3, - "programVocabulary": 3, - "volume": 4.754887502163468, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::configure": { - "line": 53, - "lineCount": 57, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 1, - "n2": 15, - "N1": 9, - "N2": 16, - "programLength": 25, - "programVocabulary": 16, - "volume": 100, - "difficulty": 0.5333333333333333, - "effort": 53.333333333333336, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::configure" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::execute": { - "line": 119, - "lineCount": 43, - "argCount": 2, - "returnCount": 5, - "variableCount": 9, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 4, - "cyclomatic_complexity": { - "complexity": 7, - "risk_level": "medium" - }, - "halstead": { - "n1": 7, - "n2": 14, - "N1": 31, - "N2": 45, - "programLength": 76, - "programVocabulary": 21, - "volume": 333.8161241311858, - "difficulty": 11.25, - "effort": 3755.4313964758403, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::execute" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::loadCoverageReader": { - "line": 171, - "lineCount": 32, - "argCount": 3, - "returnCount": 4, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 2, - "elseCount": 0, - "ifCount": 3, - "cyclomatic_complexity": { - "complexity": 5, - "risk_level": "low" - }, - "halstead": { - "n1": 4, - "n2": 9, - "N1": 9, - "N2": 21, - "programLength": 30, - "programVocabulary": 13, - "volume": 111.01319154423277, - "difficulty": 4.666666666666667, - "effort": 518.0615605397529, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::loadCoverageReader" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::detectCoverageFormat": { - "line": 207, - "lineCount": 19, - "argCount": 1, - "returnCount": 4, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "cyclomatic_complexity": { - "complexity": 4, - "risk_level": "low" - }, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 9, - "volume": 47.548875021634686, - "difficulty": 2.5, - "effort": 118.87218755408671, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::detectCoverageFormat" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::coverageFileExists": { - "line": 227, - "lineCount": 20, - "argCount": 2, - "returnCount": 3, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "cyclomatic_complexity": { - "complexity": 3, - "risk_level": "low" - }, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 4, - "N2": 7, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 3.5, - "effort": 99.52105627776452, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::coverageFileExists" - } - } - }, - "ignored_items": [], - "cached_at": 1759967601 -} \ No newline at end of file diff --git a/.phpcca.cache/5b/5bd450eec023f6a341a0ce32a3d7f089.cache b/.phpcca.cache/5b/5bd450eec023f6a341a0ce32a3d7f089.cache deleted file mode 100644 index c86a642..0000000 --- a/.phpcca.cache/5b/5bd450eec023f6a341a0ce32a3d7f089.cache +++ /dev/null @@ -1,2362 +0,0 @@ -{ - "version": "1.0", - "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/Command\/Presentation\/TableRowBuilder.php", - "file_mtime": 1759870485, - "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", - "analysis_result": { - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::__construct": { - "line": 26, - "lineCount": 5, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 4, - "N1": 3, - "N2": 6, - "programLength": 9, - "programVocabulary": 7, - "volume": 25.26619429851844, - "difficulty": 2.25, - "effort": 56.848937171666485, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItem": { - "line": 35, - "lineCount": 15, - "argCount": 1, - "returnCount": 3, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 6, - "N2": 13, - "programLength": 19, - "programVocabulary": 8, - "volume": 57, - "difficulty": 6.5, - "effort": 370.5, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItem" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItems": { - "line": 55, - "lineCount": 9, - "argCount": 1, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 3, - "N2": 9, - "programLength": 12, - "programVocabulary": 6, - "volume": 31.019550008653873, - "difficulty": 2.25, - "effort": 69.79398751947122, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItems" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::hasItem": { - "line": 68, - "lineCount": 6, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 5, - "n2": 3, - "N1": 6, - "N2": 7, - "programLength": 13, - "programVocabulary": 8, - "volume": 39, - "difficulty": 5.833333333333334, - "effort": 227.50000000000003, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::hasItem" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::clear": { - "line": 75, - "lineCount": 10, - "argCount": 0, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 2, - "N2": 4, - "programLength": 6, - "programVocabulary": 3, - "volume": 9.509775004326936, - "difficulty": 1, - "effort": 9.509775004326936, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::clear" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItem": { - "line": 89, - "lineCount": 10, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 4, - "N2": 6, - "programLength": 10, - "programVocabulary": 6, - "volume": 25.84962500721156, - "difficulty": 3, - "effort": 77.54887502163469, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItem" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItems": { - "line": 103, - "lineCount": 10, - "argCount": 1, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 3, - "N2": 8, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 2, - "effort": 56.86917501586544, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItems" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::save": { - "line": 117, - "lineCount": 11, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 4, - "N1": 9, - "N2": 12, - "programLength": 21, - "programVocabulary": 7, - "volume": 58.95445336320969, - "difficulty": 4.5, - "effort": 265.2950401344436, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::save" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveDeferred": { - "line": 129, - "lineCount": 6, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveDeferred" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::commit": { - "line": 136, - "lineCount": 11, - "argCount": 0, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 4, - "N2": 8, - "programLength": 12, - "programVocabulary": 5, - "volume": 27.863137138648348, - "difficulty": 2.6666666666666665, - "effort": 74.30169903639559, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::commit" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::ensureCacheDirectory": { - "line": 152, - "lineCount": 9, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 3, - "N2": 4, - "programLength": 7, - "programVocabulary": 4, - "volume": 14, - "difficulty": 2, - "effort": 28, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::ensureCacheDirectory" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getCacheFilePath": { - "line": 168, - "lineCount": 15, - "argCount": 1, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 10, - "N1": 13, - "N2": 19, - "programLength": 32, - "programVocabulary": 14, - "volume": 121.83535750584333, - "difficulty": 3.8, - "effort": 462.9743585222046, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getCacheFilePath" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::loadCacheData": { - "line": 187, - "lineCount": 14, - "argCount": 1, - "returnCount": 3, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 6, - "N2": 8, - "programLength": 14, - "programVocabulary": 6, - "volume": 36.18947501009619, - "difficulty": 4, - "effort": 144.75790004038475, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::loadCacheData" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveCacheData": { - "line": 209, - "lineCount": 21, - "argCount": 2, - "returnCount": 3, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 6, - "n2": 7, - "N1": 13, - "N2": 17, - "programLength": 30, - "programVocabulary": 13, - "volume": 111.01319154423277, - "difficulty": 7.285714285714285, - "effort": 808.810395536553, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveCacheData" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::sanitizeUtf8": { - "line": 234, - "lineCount": 25, - "argCount": 1, - "returnCount": 4, - "variableCount": 6, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 8, - "N1": 13, - "N2": 29, - "programLength": 42, - "programVocabulary": 11, - "volume": 145.29612798276648, - "difficulty": 5.4375, - "effort": 790.0476959062927, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::sanitizeUtf8" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::removeDirectory": { - "line": 260, - "lineCount": 23, - "argCount": 1, - "returnCount": 2, - "variableCount": 5, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 5, - "n2": 9, - "N1": 13, - "N2": 20, - "programLength": 33, - "programVocabulary": 14, - "volume": 125.64271242790093, - "difficulty": 5.555555555555555, - "effort": 698.0150690438941, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::removeDirectory" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::__construct": { - "line": 42, - "lineCount": 7, - "argCount": 3, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 3, - "N1": 0, - "N2": 3, - "programLength": 3, - "programVocabulary": 3, - "volume": 4.754887502163468, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::configure": { - "line": 53, - "lineCount": 57, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 15, - "N1": 9, - "N2": 16, - "programLength": 25, - "programVocabulary": 16, - "volume": 100, - "difficulty": 0.5333333333333333, - "effort": 53.333333333333336, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::configure" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::execute": { - "line": 119, - "lineCount": 43, - "argCount": 2, - "returnCount": 5, - "variableCount": 9, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 4, - "halstead": { - "n1": 7, - "n2": 14, - "N1": 31, - "N2": 45, - "programLength": 76, - "programVocabulary": 21, - "volume": 333.8161241311858, - "difficulty": 11.25, - "effort": 3755.4313964758403, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::execute" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::loadCoverageReader": { - "line": 171, - "lineCount": 32, - "argCount": 3, - "returnCount": 4, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 2, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 4, - "n2": 9, - "N1": 9, - "N2": 21, - "programLength": 30, - "programVocabulary": 13, - "volume": 111.01319154423277, - "difficulty": 4.666666666666667, - "effort": 518.0615605397529, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::loadCoverageReader" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::detectCoverageFormat": { - "line": 207, - "lineCount": 19, - "argCount": 1, - "returnCount": 4, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 9, - "volume": 47.548875021634686, - "difficulty": 2.5, - "effort": 118.87218755408671, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::detectCoverageFormat" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::coverageFileExists": { - "line": 227, - "lineCount": 20, - "argCount": 2, - "returnCount": 3, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 4, - "N2": 7, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 3.5, - "effort": 99.52105627776452, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::coverageFileExists" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::__construct": { - "line": 49, - "lineCount": 10, - "argCount": 6, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 6, - "N1": 0, - "N2": 6, - "programLength": 6, - "programVocabulary": 6, - "volume": 15.509775004326936, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::configure": { - "line": 63, - "lineCount": 76, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 20, - "N1": 13, - "N2": 20, - "programLength": 33, - "programVocabulary": 21, - "volume": 144.94647495169912, - "difficulty": 0.5, - "effort": 72.47323747584956, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::configure" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::execute": { - "line": 150, - "lineCount": 52, - "argCount": 2, - "returnCount": 5, - "variableCount": 11, - "propertyCallCount": 6, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 7, - "halstead": { - "n1": 6, - "n2": 15, - "N1": 43, - "N2": 61, - "programLength": 104, - "programVocabulary": 21, - "volume": 456.80101196899113, - "difficulty": 12.2, - "effort": 5572.972346021692, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::execute" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::parsePaths": { - "line": 209, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 4, - "N2": 8, - "programLength": 12, - "programVocabulary": 7, - "volume": 33.68825906469125, - "difficulty": 1.6, - "effort": 53.901214503506004, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::parsePaths" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleBaseLine": { - "line": 224, - "lineCount": 8, - "argCount": 2, - "returnCount": 0, - "variableCount": 3, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 5, - "N2": 11, - "programLength": 16, - "programVocabulary": 7, - "volume": 44.91767875292167, - "difficulty": 2.2, - "effort": 98.81889325642767, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleBaseLine" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleCoverageOptions": { - "line": 238, - "lineCount": 20, - "argCount": 2, - "returnCount": 3, - "variableCount": 5, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 5, - "n2": 10, - "N1": 15, - "N2": 25, - "programLength": 40, - "programVocabulary": 15, - "volume": 156.27562382434076, - "difficulty": 6.25, - "effort": 976.7226489021298, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleCoverageOptions" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::applySorting": { - "line": 264, - "lineCount": 21, - "argCount": 3, - "returnCount": 3, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 15, - "N1": 16, - "N2": 32, - "programLength": 48, - "programVocabulary": 20, - "volume": 207.45254855459342, - "difficulty": 5.333333333333333, - "effort": 1106.4135922911648, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::applySorting" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadConfiguration": { - "line": 293, - "lineCount": 10, - "argCount": 2, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 6, - "N1": 5, - "N2": 9, - "programLength": 14, - "programVocabulary": 8, - "volume": 42, - "difficulty": 1.5, - "effort": 63, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadConfiguration" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadCoverageReader": { - "line": 313, - "lineCount": 28, - "argCount": 3, - "returnCount": 4, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 2, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 10, - "N2": 18, - "programLength": 28, - "programVocabulary": 11, - "volume": 96.86408532184433, - "difficulty": 5.142857142857143, - "effort": 498.15815308377086, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadCoverageReader" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::detectCoverageFormat": { - "line": 345, - "lineCount": 19, - "argCount": 1, - "returnCount": 4, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 9, - "volume": 47.548875021634686, - "difficulty": 2.5, - "effort": 118.87218755408671, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::detectCoverageFormat" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::coverageFileExists": { - "line": 365, - "lineCount": 20, - "argCount": 2, - "returnCount": 3, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 4, - "N2": 7, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 3.5, - "effort": 99.52105627776452, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::coverageFileExists" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__construct": { - "line": 12, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__invoke": { - "line": 17, - "lineCount": 22, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 3, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 10, - "N2": 11, - "programLength": 21, - "programVocabulary": 7, - "volume": 58.95445336320969, - "difficulty": 2.2, - "effort": 129.6997973990613, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__invoke" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__construct": { - "line": 21, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__invoke": { - "line": 26, - "lineCount": 11, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 4, - "N2": 9, - "programLength": 13, - "programVocabulary": 4, - "volume": 26, - "difficulty": 4.5, - "effort": 117, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__invoke" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleSourceFilesFound": { - "line": 38, - "lineCount": 6, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 4, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 6, - "N2": 10, - "programLength": 16, - "programVocabulary": 8, - "volume": 48, - "difficulty": 5, - "effort": 240, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleSourceFilesFound" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleFileProcessed": { - "line": 45, - "lineCount": 5, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleFileProcessed" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleAllFilesProcessed": { - "line": 51, - "lineCount": 6, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 3, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 3, - "N2": 5, - "programLength": 8, - "programVocabulary": 5, - "volume": 18.575424759098897, - "difficulty": 1.6666666666666667, - "effort": 30.95904126516483, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleAllFilesProcessed" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__construct": { - "line": 20, - "lineCount": 5, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__invoke": { - "line": 26, - "lineCount": 17, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 5, - "n2": 8, - "N1": 17, - "N2": 17, - "programLength": 34, - "programVocabulary": 13, - "volume": 125.81495041679713, - "difficulty": 5.3125, - "effort": 668.3919240892347, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__invoke" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::formatBytes": { - "line": 50, - "lineCount": 12, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 7, - "n2": 13, - "N1": 10, - "N2": 22, - "programLength": 32, - "programVocabulary": 20, - "volume": 138.3016990363956, - "difficulty": 5.923076923076923, - "effort": 819.1716019848047, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::formatBytes" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::isDebugEnabled": { - "line": 66, - "lineCount": 5, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 1, - "N1": 4, - "N2": 2, - "programLength": 6, - "programVocabulary": 4, - "volume": 12, - "difficulty": 3, - "effort": 36, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::isDebugEnabled" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::__construct": { - "line": 20, - "lineCount": 6, - "argCount": 2, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 4, - "volume": 8, - "difficulty": 0.5, - "effort": 4, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::exportToFile": { - "line": 32, - "lineCount": 27, - "argCount": 3, - "returnCount": 4, - "variableCount": 2, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 1, - "n2": 6, - "N1": 6, - "N2": 19, - "programLength": 25, - "programVocabulary": 7, - "volume": 70.1838730514401, - "difficulty": 1.5833333333333333, - "effort": 111.12446566478016, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::exportToFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::hasIncompleteReportOptions": { - "line": 60, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 2, - "N1": 7, - "N2": 6, - "programLength": 13, - "programVocabulary": 6, - "volume": 33.60451250937503, - "difficulty": 6, - "effort": 201.62707505625016, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::hasIncompleteReportOptions" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::isValidReportType": { - "line": 65, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 2, - "N2": 4, - "programLength": 6, - "programVocabulary": 4, - "volume": 12, - "difficulty": 2, - "effort": 24, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::isValidReportType" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleExceptions": { - "line": 77, - "lineCount": 9, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 3, - "N2": 4, - "programLength": 7, - "programVocabulary": 5, - "volume": 16.253496664211536, - "difficulty": 1.3333333333333333, - "effort": 21.67132888561538, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleExceptions" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleInvalidReportType": { - "line": 91, - "lineCount": 11, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 5, - "N2": 8, - "programLength": 13, - "programVocabulary": 8, - "volume": 39, - "difficulty": 2.4000000000000004, - "effort": 93.60000000000001, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleInvalidReportType" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::__construct": { - "line": 15, - "lineCount": 5, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handle": { - "line": 24, - "lineCount": 27, - "argCount": 3, - "returnCount": 4, - "variableCount": 2, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 1, - "n2": 6, - "N1": 6, - "N2": 19, - "programLength": 25, - "programVocabulary": 7, - "volume": 70.1838730514401, - "difficulty": 1.5833333333333333, - "effort": 111.12446566478016, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handle" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::hasIncompleteReportOptions": { - "line": 52, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 2, - "N1": 7, - "N2": 6, - "programLength": 13, - "programVocabulary": 6, - "volume": 33.60451250937503, - "difficulty": 6, - "effort": 201.62707505625016, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::hasIncompleteReportOptions" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::isValidReportType": { - "line": 57, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 5, - "N1": 1, - "N2": 6, - "programLength": 7, - "programVocabulary": 6, - "volume": 18.094737505048094, - "difficulty": 0.6, - "effort": 10.856842503028856, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::isValidReportType" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handleExceptions": { - "line": 66, - "lineCount": 9, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 3, - "N2": 4, - "programLength": 7, - "programVocabulary": 5, - "volume": 16.253496664211536, - "difficulty": 1.3333333333333333, - "effort": 21.67132888561538, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handleExceptions" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handleInvalidReporType": { - "line": 80, - "lineCount": 9, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 4, - "programLength": 6, - "programVocabulary": 5, - "volume": 13.931568569324174, - "difficulty": 1.3333333333333333, - "effort": 18.575424759098897, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handleInvalidReporType" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::__construct": { - "line": 42, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::reportWritten": { - "line": 47, - "lineCount": 7, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 4, - "programLength": 6, - "programVocabulary": 5, - "volume": 13.931568569324174, - "difficulty": 1.3333333333333333, - "effort": 18.575424759098897, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::reportWritten" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::renderChurnTable": { - "line": 59, - "lineCount": 35, - "argCount": 1, - "returnCount": 0, - "variableCount": 6, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 8, - "n2": 18, - "N1": 21, - "N2": 53, - "programLength": 74, - "programVocabulary": 26, - "volume": 347.8325391424408, - "difficulty": 11.777777777777779, - "effort": 4096.694349899859, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::renderChurnTable" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricSummaryTextRenderer::__construct": { - "line": 18, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricSummaryTextRenderer::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricSummaryTextRenderer::render": { - "line": 23, - "lineCount": 32, - "argCount": 2, - "returnCount": 0, - "variableCount": 6, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 6, - "n2": 16, - "N1": 27, - "N2": 38, - "programLength": 65, - "programVocabulary": 22, - "volume": 289.86305521142435, - "difficulty": 7.125, - "effort": 2065.2742683813985, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricSummaryTextRenderer::render" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::__construct": { - "line": 27, - "lineCount": 5, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::metricExceedsThreshold": { - "line": 33, - "lineCount": 6, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 2, - "N1": 3, - "N2": 5, - "programLength": 8, - "programVocabulary": 5, - "volume": 18.575424759098897, - "difficulty": 3.75, - "effort": 69.65784284662087, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::metricExceedsThreshold" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::hasCoverageInCollection": { - "line": 43, - "lineCount": 10, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 2, - "N2": 4, - "programLength": 6, - "programVocabulary": 4, - "volume": 12, - "difficulty": 2, - "effort": 24, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::hasCoverageInCollection" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::render": { - "line": 58, - "lineCount": 17, - "argCount": 2, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 6, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 9, - "N2": 25, - "programLength": 34, - "programVocabulary": 6, - "volume": 87.8887250245193, - "difficulty": 6.25, - "effort": 549.3045314032456, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::render" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderGroupedByClass": { - "line": 81, - "lineCount": 19, - "argCount": 3, - "returnCount": 0, - "variableCount": 6, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 5, - "n2": 11, - "N1": 11, - "N2": 25, - "programLength": 36, - "programVocabulary": 16, - "volume": 144, - "difficulty": 5.6818181818181825, - "effort": 818.1818181818182, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderGroupedByClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::buildRowsForClass": { - "line": 106, - "lineCount": 13, - "argCount": 2, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 4, - "N2": 12, - "programLength": 16, - "programVocabulary": 7, - "volume": 44.91767875292167, - "difficulty": 2.4, - "effort": 107.802429007012, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::buildRowsForClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::getFilenameFromMetrics": { - "line": 123, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 5, - "programLength": 6, - "programVocabulary": 4, - "volume": 12, - "difficulty": 0.8333333333333334, - "effort": 10, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::getFilenameFromMetrics" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderAllMethodsInSingleTable": { - "line": 136, - "lineCount": 12, - "argCount": 3, - "returnCount": 0, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 6, - "N2": 15, - "programLength": 21, - "programVocabulary": 11, - "volume": 72.64806399138324, - "difficulty": 4.285714285714286, - "effort": 311.34884567735673, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderAllMethodsInSingleTable" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::buildRowsForSingleTable": { - "line": 154, - "lineCount": 13, - "argCount": 2, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 4, - "N2": 12, - "programLength": 16, - "programVocabulary": 7, - "volume": 44.91767875292167, - "difficulty": 2.4, - "effort": 107.802429007012, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::buildRowsForSingleTable" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderTableCommon": { - "line": 173, - "lineCount": 19, - "argCount": 4, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 8, - "N1": 7, - "N2": 19, - "programLength": 26, - "programVocabulary": 10, - "volume": 86.37013046707142, - "difficulty": 2.375, - "effort": 205.1290598592946, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderTableCommon" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderTable": { - "line": 196, - "lineCount": 13, - "argCount": 4, - "returnCount": 0, - "variableCount": 3, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 7, - "N1": 4, - "N2": 14, - "programLength": 18, - "programVocabulary": 9, - "volume": 57.05865002596162, - "difficulty": 2, - "effort": 114.11730005192324, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderTable" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderSingleTable": { - "line": 213, - "lineCount": 11, - "argCount": 3, - "returnCount": 0, - "variableCount": 3, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 6, - "N1": 4, - "N2": 12, - "programLength": 16, - "programVocabulary": 8, - "volume": 48, - "difficulty": 2, - "effort": 96, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderSingleTable" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::__construct": { - "line": 16, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatScore": { - "line": 21, - "lineCount": 6, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 6, - "N1": 5, - "N2": 9, - "programLength": 14, - "programVocabulary": 8, - "volume": 42, - "difficulty": 1.5, - "effort": 63, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatScore" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadVolume": { - "line": 28, - "lineCount": 14, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 10, - "N1": 9, - "N2": 17, - "programLength": 26, - "programVocabulary": 15, - "volume": 101.57915548582149, - "difficulty": 4.25, - "effort": 431.7114108147413, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadVolume" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadDifficulty": { - "line": 43, - "lineCount": 13, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 10, - "N1": 8, - "N2": 17, - "programLength": 25, - "programVocabulary": 14, - "volume": 95.1838730514401, - "difficulty": 3.4, - "effort": 323.62516837489636, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadDifficulty" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadEffort": { - "line": 57, - "lineCount": 13, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 10, - "N1": 8, - "N2": 17, - "programLength": 25, - "programVocabulary": 14, - "volume": 95.1838730514401, - "difficulty": 3.4, - "effort": 323.62516837489636, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadEffort" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatCyclomaticComplexity": { - "line": 71, - "lineCount": 13, - "argCount": 1, - "returnCount": 3, - "variableCount": 4, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 5, - "n2": 9, - "N1": 9, - "N2": 18, - "programLength": 27, - "programVocabulary": 14, - "volume": 102.79858289555531, - "difficulty": 5, - "effort": 513.9929144777766, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatCyclomaticComplexity" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::colorCyclomaticRisk": { - "line": 85, - "lineCount": 8, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 7, - "N1": 5, - "N2": 11, - "programLength": 16, - "programVocabulary": 9, - "volume": 50.718800023076994, - "difficulty": 1.5714285714285714, - "effort": 79.70097146483528, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::colorCyclomaticRisk" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::__construct": { - "line": 17, - "lineCount": 5, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::getGroupedTableHeaders": { - "line": 28, - "lineCount": 16, - "argCount": 0, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 10, - "N2": 17, - "programLength": 27, - "programVocabulary": 6, - "volume": 69.79398751947122, - "difficulty": 4.25, - "effort": 296.62444695775264, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::getGroupedTableHeaders" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCoverageHeader": { - "line": 49, - "lineCount": 10, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 6, - "programLength": 7, - "programVocabulary": 4, - "volume": 14, - "difficulty": 1, - "effort": 14, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCoverageHeader" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::getSingleTableHeaders": { - "line": 65, - "lineCount": 20, - "argCount": 0, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 6, - "N1": 9, - "N2": 18, - "programLength": 27, - "programVocabulary": 8, - "volume": 81, - "difficulty": 3, - "effort": 243, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::getSingleTableHeaders" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addHalsteadHeaders": { - "line": 92, - "lineCount": 10, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 1, - "n2": 5, - "N1": 3, - "N2": 9, - "programLength": 12, - "programVocabulary": 6, - "volume": 31.019550008653873, - "difficulty": 0.9, - "effort": 27.917595007788485, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addHalsteadHeaders" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCyclomaticHeaders": { - "line": 109, - "lineCount": 8, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 5, - "programLength": 6, - "programVocabulary": 4, - "volume": 12, - "difficulty": 0.8333333333333334, - "effort": 10, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCyclomaticHeaders" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCognitiveMetricDetails": { - "line": 122, - "lineCount": 16, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 10, - "N1": 2, - "N2": 13, - "programLength": 15, - "programVocabulary": 12, - "volume": 53.77443751081734, - "difficulty": 1.3, - "effort": 69.90676876406255, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCognitiveMetricDetails" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::__construct": { - "line": 21, - "lineCount": 6, - "argCount": 3, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 0, - "n2": 3, - "N1": 0, - "N2": 3, - "programLength": 3, - "programVocabulary": 3, - "volume": 4.754887502163468, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::buildRow": { - "line": 34, - "lineCount": 16, - "argCount": 1, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "cyclomatic_complexity": { - "complexity": 3, - "risk_level": "low" - }, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 10, - "N2": 24, - "programLength": 34, - "programVocabulary": 7, - "volume": 95.45006734995854, - "difficulty": 4.8, - "effort": 458.160323279801, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::buildRow" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::buildRowWithClassInfo": { - "line": 57, - "lineCount": 16, - "argCount": 1, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "cyclomatic_complexity": { - "complexity": 3, - "risk_level": "low" - }, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 10, - "N2": 24, - "programLength": 34, - "programVocabulary": 7, - "volume": 95.45006734995854, - "difficulty": 4.8, - "effort": 458.160323279801, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::buildRowWithClassInfo" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::metricsToArray": { - "line": 79, - "lineCount": 8, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 3, - "N2": 7, - "programLength": 10, - "programVocabulary": 6, - "volume": 25.84962500721156, - "difficulty": 1.75, - "effort": 45.23684376262023, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::metricsToArray" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::metricsToArrayWithClassInfo": { - "line": 93, - "lineCount": 9, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 4, - "N2": 9, - "programLength": 13, - "programVocabulary": 7, - "volume": 36.49561398674886, - "difficulty": 1.8, - "effort": 65.69210517614795, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::metricsToArrayWithClassInfo" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addHalsteadFields": { - "line": 109, - "lineCount": 10, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "cyclomatic_complexity": { - "complexity": 2, - "risk_level": "low" - }, - "halstead": { - "n1": 2, - "n2": 6, - "N1": 6, - "N2": 16, - "programLength": 22, - "programVocabulary": 8, - "volume": 66, - "difficulty": 2.6666666666666665, - "effort": 176, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addHalsteadFields" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addCyclomaticFields": { - "line": 126, - "lineCount": 8, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "cyclomatic_complexity": { - "complexity": 2, - "risk_level": "low" - }, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 2, - "N2": 8, - "programLength": 10, - "programVocabulary": 6, - "volume": 25.84962500721156, - "difficulty": 2, - "effort": 51.69925001442312, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addCyclomaticFields" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addWeightedValue": { - "line": 141, - "lineCount": 10, - "argCount": 3, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 4, - "n2": 11, - "N1": 13, - "N2": 22, - "programLength": 35, - "programVocabulary": 15, - "volume": 136.74117084629816, - "difficulty": 4, - "effort": 546.9646833851926, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addWeightedValue" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addDelta": { - "line": 158, - "lineCount": 20, - "argCount": 3, - "returnCount": 3, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "cyclomatic_complexity": { - "complexity": 3, - "risk_level": "low" - }, - "halstead": { - "n1": 6, - "n2": 13, - "N1": 19, - "N2": 30, - "programLength": 49, - "programVocabulary": 19, - "volume": 208.14844815873568, - "difficulty": 6.9230769230769225, - "effort": 1441.0277180220162, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::getKeys": { - "line": 184, - "lineCount": 17, - "argCount": 0, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "cyclomatic_complexity": { - "complexity": 2, - "risk_level": "low" - }, - "halstead": { - "n1": 0, - "n2": 9, - "N1": 0, - "N2": 9, - "programLength": 9, - "programVocabulary": 9, - "volume": 28.52932501298081, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::getKeys" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::assertDeltaMethodExists": { - "line": 205, - "lineCount": 6, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "cyclomatic_complexity": { - "complexity": 2, - "risk_level": "low" - }, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 6, - "programLength": 8, - "programVocabulary": 5, - "volume": 18.575424759098897, - "difficulty": 2, - "effort": 37.150849518197795, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::assertDeltaMethodExists" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addCoverageValue": { - "line": 216, - "lineCount": 11, - "argCount": 2, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "cyclomatic_complexity": { - "complexity": 2, - "risk_level": "low" - }, - "halstead": { - "n1": 5, - "n2": 7, - "N1": 7, - "N2": 15, - "programLength": 22, - "programVocabulary": 12, - "volume": 78.86917501586544, - "difficulty": 5.357142857142857, - "effort": 422.51343758499337, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addCoverageValue" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::extracted": { - "line": 233, - "lineCount": 22, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "cyclomatic_complexity": { - "complexity": 2, - "risk_level": "low" - }, - "halstead": { - "n1": 3, - "n2": 12, - "N1": 19, - "N2": 34, - "programLength": 53, - "programVocabulary": 15, - "volume": 207.06520156725148, - "difficulty": 4.25, - "effort": 880.0271066608187, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::extracted" - } - } - }, - "ignored_items": [], - "cached_at": 1759967602 -} \ No newline at end of file diff --git a/.phpcca.cache/5c/5cf89effda08add59322ab2e2ca1fe25.cache b/.phpcca.cache/5c/5cf89effda08add59322ab2e2ca1fe25.cache deleted file mode 100644 index 993d0fb..0000000 --- a/.phpcca.cache/5c/5cf89effda08add59322ab2e2ca1fe25.cache +++ /dev/null @@ -1,1184 +0,0 @@ -{ - "version": "1.0", - "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/Command\/Handler\/ChurnReportHandler.php", - "file_mtime": 1759791861, - "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", - "analysis_result": { - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::__construct": { - "line": 26, - "lineCount": 5, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 4, - "N1": 3, - "N2": 6, - "programLength": 9, - "programVocabulary": 7, - "volume": 25.26619429851844, - "difficulty": 2.25, - "effort": 56.848937171666485, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItem": { - "line": 35, - "lineCount": 15, - "argCount": 1, - "returnCount": 3, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 6, - "N2": 13, - "programLength": 19, - "programVocabulary": 8, - "volume": 57, - "difficulty": 6.5, - "effort": 370.5, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItem" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItems": { - "line": 55, - "lineCount": 9, - "argCount": 1, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 3, - "N2": 9, - "programLength": 12, - "programVocabulary": 6, - "volume": 31.019550008653873, - "difficulty": 2.25, - "effort": 69.79398751947122, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItems" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::hasItem": { - "line": 68, - "lineCount": 6, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 5, - "n2": 3, - "N1": 6, - "N2": 7, - "programLength": 13, - "programVocabulary": 8, - "volume": 39, - "difficulty": 5.833333333333334, - "effort": 227.50000000000003, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::hasItem" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::clear": { - "line": 75, - "lineCount": 10, - "argCount": 0, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 2, - "N2": 4, - "programLength": 6, - "programVocabulary": 3, - "volume": 9.509775004326936, - "difficulty": 1, - "effort": 9.509775004326936, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::clear" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItem": { - "line": 89, - "lineCount": 10, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 4, - "N2": 6, - "programLength": 10, - "programVocabulary": 6, - "volume": 25.84962500721156, - "difficulty": 3, - "effort": 77.54887502163469, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItem" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItems": { - "line": 103, - "lineCount": 10, - "argCount": 1, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 3, - "N2": 8, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 2, - "effort": 56.86917501586544, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItems" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::save": { - "line": 117, - "lineCount": 11, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 4, - "N1": 9, - "N2": 12, - "programLength": 21, - "programVocabulary": 7, - "volume": 58.95445336320969, - "difficulty": 4.5, - "effort": 265.2950401344436, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::save" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveDeferred": { - "line": 129, - "lineCount": 6, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveDeferred" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::commit": { - "line": 136, - "lineCount": 11, - "argCount": 0, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 4, - "N2": 8, - "programLength": 12, - "programVocabulary": 5, - "volume": 27.863137138648348, - "difficulty": 2.6666666666666665, - "effort": 74.30169903639559, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::commit" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::ensureCacheDirectory": { - "line": 152, - "lineCount": 9, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 3, - "N2": 4, - "programLength": 7, - "programVocabulary": 4, - "volume": 14, - "difficulty": 2, - "effort": 28, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::ensureCacheDirectory" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getCacheFilePath": { - "line": 168, - "lineCount": 15, - "argCount": 1, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 10, - "N1": 13, - "N2": 19, - "programLength": 32, - "programVocabulary": 14, - "volume": 121.83535750584333, - "difficulty": 3.8, - "effort": 462.9743585222046, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getCacheFilePath" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::loadCacheData": { - "line": 187, - "lineCount": 14, - "argCount": 1, - "returnCount": 3, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 6, - "N2": 8, - "programLength": 14, - "programVocabulary": 6, - "volume": 36.18947501009619, - "difficulty": 4, - "effort": 144.75790004038475, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::loadCacheData" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveCacheData": { - "line": 209, - "lineCount": 21, - "argCount": 2, - "returnCount": 3, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 6, - "n2": 7, - "N1": 13, - "N2": 17, - "programLength": 30, - "programVocabulary": 13, - "volume": 111.01319154423277, - "difficulty": 7.285714285714285, - "effort": 808.810395536553, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveCacheData" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::sanitizeUtf8": { - "line": 234, - "lineCount": 25, - "argCount": 1, - "returnCount": 4, - "variableCount": 6, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 8, - "N1": 13, - "N2": 29, - "programLength": 42, - "programVocabulary": 11, - "volume": 145.29612798276648, - "difficulty": 5.4375, - "effort": 790.0476959062927, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::sanitizeUtf8" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::removeDirectory": { - "line": 260, - "lineCount": 23, - "argCount": 1, - "returnCount": 2, - "variableCount": 5, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 5, - "n2": 9, - "N1": 13, - "N2": 20, - "programLength": 33, - "programVocabulary": 14, - "volume": 125.64271242790093, - "difficulty": 5.555555555555555, - "effort": 698.0150690438941, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::removeDirectory" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::__construct": { - "line": 42, - "lineCount": 7, - "argCount": 3, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 3, - "N1": 0, - "N2": 3, - "programLength": 3, - "programVocabulary": 3, - "volume": 4.754887502163468, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::configure": { - "line": 53, - "lineCount": 57, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 15, - "N1": 9, - "N2": 16, - "programLength": 25, - "programVocabulary": 16, - "volume": 100, - "difficulty": 0.5333333333333333, - "effort": 53.333333333333336, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::configure" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::execute": { - "line": 119, - "lineCount": 43, - "argCount": 2, - "returnCount": 5, - "variableCount": 9, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 4, - "halstead": { - "n1": 7, - "n2": 14, - "N1": 31, - "N2": 45, - "programLength": 76, - "programVocabulary": 21, - "volume": 333.8161241311858, - "difficulty": 11.25, - "effort": 3755.4313964758403, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::execute" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::loadCoverageReader": { - "line": 171, - "lineCount": 32, - "argCount": 3, - "returnCount": 4, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 2, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 4, - "n2": 9, - "N1": 9, - "N2": 21, - "programLength": 30, - "programVocabulary": 13, - "volume": 111.01319154423277, - "difficulty": 4.666666666666667, - "effort": 518.0615605397529, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::loadCoverageReader" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::detectCoverageFormat": { - "line": 207, - "lineCount": 19, - "argCount": 1, - "returnCount": 4, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 9, - "volume": 47.548875021634686, - "difficulty": 2.5, - "effort": 118.87218755408671, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::detectCoverageFormat" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::coverageFileExists": { - "line": 227, - "lineCount": 20, - "argCount": 2, - "returnCount": 3, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 4, - "N2": 7, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 3.5, - "effort": 99.52105627776452, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::coverageFileExists" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::__construct": { - "line": 49, - "lineCount": 10, - "argCount": 6, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 6, - "N1": 0, - "N2": 6, - "programLength": 6, - "programVocabulary": 6, - "volume": 15.509775004326936, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::configure": { - "line": 63, - "lineCount": 76, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 20, - "N1": 13, - "N2": 20, - "programLength": 33, - "programVocabulary": 21, - "volume": 144.94647495169912, - "difficulty": 0.5, - "effort": 72.47323747584956, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::configure" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::execute": { - "line": 150, - "lineCount": 52, - "argCount": 2, - "returnCount": 5, - "variableCount": 11, - "propertyCallCount": 6, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 7, - "halstead": { - "n1": 6, - "n2": 15, - "N1": 43, - "N2": 61, - "programLength": 104, - "programVocabulary": 21, - "volume": 456.80101196899113, - "difficulty": 12.2, - "effort": 5572.972346021692, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::execute" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::parsePaths": { - "line": 209, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 4, - "N2": 8, - "programLength": 12, - "programVocabulary": 7, - "volume": 33.68825906469125, - "difficulty": 1.6, - "effort": 53.901214503506004, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::parsePaths" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleBaseLine": { - "line": 224, - "lineCount": 8, - "argCount": 2, - "returnCount": 0, - "variableCount": 3, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 5, - "N2": 11, - "programLength": 16, - "programVocabulary": 7, - "volume": 44.91767875292167, - "difficulty": 2.2, - "effort": 98.81889325642767, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleBaseLine" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleCoverageOptions": { - "line": 238, - "lineCount": 20, - "argCount": 2, - "returnCount": 3, - "variableCount": 5, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 5, - "n2": 10, - "N1": 15, - "N2": 25, - "programLength": 40, - "programVocabulary": 15, - "volume": 156.27562382434076, - "difficulty": 6.25, - "effort": 976.7226489021298, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleCoverageOptions" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::applySorting": { - "line": 264, - "lineCount": 21, - "argCount": 3, - "returnCount": 3, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 15, - "N1": 16, - "N2": 32, - "programLength": 48, - "programVocabulary": 20, - "volume": 207.45254855459342, - "difficulty": 5.333333333333333, - "effort": 1106.4135922911648, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::applySorting" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadConfiguration": { - "line": 293, - "lineCount": 10, - "argCount": 2, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 6, - "N1": 5, - "N2": 9, - "programLength": 14, - "programVocabulary": 8, - "volume": 42, - "difficulty": 1.5, - "effort": 63, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadConfiguration" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadCoverageReader": { - "line": 313, - "lineCount": 28, - "argCount": 3, - "returnCount": 4, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 2, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 10, - "N2": 18, - "programLength": 28, - "programVocabulary": 11, - "volume": 96.86408532184433, - "difficulty": 5.142857142857143, - "effort": 498.15815308377086, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadCoverageReader" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::detectCoverageFormat": { - "line": 345, - "lineCount": 19, - "argCount": 1, - "returnCount": 4, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 9, - "volume": 47.548875021634686, - "difficulty": 2.5, - "effort": 118.87218755408671, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::detectCoverageFormat" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::coverageFileExists": { - "line": 365, - "lineCount": 20, - "argCount": 2, - "returnCount": 3, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 4, - "N2": 7, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 3.5, - "effort": 99.52105627776452, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::coverageFileExists" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__construct": { - "line": 12, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__invoke": { - "line": 17, - "lineCount": 22, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 3, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 10, - "N2": 11, - "programLength": 21, - "programVocabulary": 7, - "volume": 58.95445336320969, - "difficulty": 2.2, - "effort": 129.6997973990613, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__invoke" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__construct": { - "line": 21, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__invoke": { - "line": 26, - "lineCount": 11, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 4, - "N2": 9, - "programLength": 13, - "programVocabulary": 4, - "volume": 26, - "difficulty": 4.5, - "effort": 117, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__invoke" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleSourceFilesFound": { - "line": 38, - "lineCount": 6, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 4, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 6, - "N2": 10, - "programLength": 16, - "programVocabulary": 8, - "volume": 48, - "difficulty": 5, - "effort": 240, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleSourceFilesFound" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleFileProcessed": { - "line": 45, - "lineCount": 5, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleFileProcessed" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleAllFilesProcessed": { - "line": 51, - "lineCount": 6, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 3, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 3, - "N2": 5, - "programLength": 8, - "programVocabulary": 5, - "volume": 18.575424759098897, - "difficulty": 1.6666666666666667, - "effort": 30.95904126516483, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleAllFilesProcessed" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__construct": { - "line": 20, - "lineCount": 5, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__invoke": { - "line": 26, - "lineCount": 17, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 5, - "n2": 8, - "N1": 17, - "N2": 17, - "programLength": 34, - "programVocabulary": 13, - "volume": 125.81495041679713, - "difficulty": 5.3125, - "effort": 668.3919240892347, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__invoke" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::formatBytes": { - "line": 50, - "lineCount": 12, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 7, - "n2": 13, - "N1": 10, - "N2": 22, - "programLength": 32, - "programVocabulary": 20, - "volume": 138.3016990363956, - "difficulty": 5.923076923076923, - "effort": 819.1716019848047, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::formatBytes" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::isDebugEnabled": { - "line": 66, - "lineCount": 5, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 1, - "N1": 4, - "N2": 2, - "programLength": 6, - "programVocabulary": 4, - "volume": 12, - "difficulty": 3, - "effort": 36, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::isDebugEnabled" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::__construct": { - "line": 20, - "lineCount": 6, - "argCount": 2, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 4, - "volume": 8, - "difficulty": 0.5, - "effort": 4, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::exportToFile": { - "line": 32, - "lineCount": 27, - "argCount": 3, - "returnCount": 4, - "variableCount": 2, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "cyclomatic_complexity": { - "complexity": 4, - "risk_level": "low" - }, - "halstead": { - "n1": 1, - "n2": 6, - "N1": 6, - "N2": 19, - "programLength": 25, - "programVocabulary": 7, - "volume": 70.1838730514401, - "difficulty": 1.5833333333333333, - "effort": 111.12446566478016, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::exportToFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::hasIncompleteReportOptions": { - "line": 60, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 4, - "n2": 2, - "N1": 7, - "N2": 6, - "programLength": 13, - "programVocabulary": 6, - "volume": 33.60451250937503, - "difficulty": 6, - "effort": 201.62707505625016, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::hasIncompleteReportOptions" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::isValidReportType": { - "line": 65, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "cyclomatic_complexity": { - "complexity": 2, - "risk_level": "low" - }, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 2, - "N2": 4, - "programLength": 6, - "programVocabulary": 4, - "volume": 12, - "difficulty": 2, - "effort": 24, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::isValidReportType" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleExceptions": { - "line": 77, - "lineCount": 9, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 3, - "N2": 4, - "programLength": 7, - "programVocabulary": 5, - "volume": 16.253496664211536, - "difficulty": 1.3333333333333333, - "effort": 21.67132888561538, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleExceptions" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleInvalidReportType": { - "line": 91, - "lineCount": 11, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 5, - "N2": 8, - "programLength": 13, - "programVocabulary": 8, - "volume": 39, - "difficulty": 2.4000000000000004, - "effort": 93.60000000000001, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleInvalidReportType" - } - } - }, - "ignored_items": [], - "cached_at": 1759967602 -} \ No newline at end of file diff --git a/.phpcca.cache/60/60256edd9d9172b2d39afc6b32cf5a00.cache b/.phpcca.cache/60/60256edd9d9172b2d39afc6b32cf5a00.cache deleted file mode 100644 index 5a2fdeb..0000000 --- a/.phpcca.cache/60/60256edd9d9172b2d39afc6b32cf5a00.cache +++ /dev/null @@ -1,3419 +0,0 @@ -{ - "version": "1.0", - "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/PhpParser\/CognitiveMetricsVisitor.php", - "file_mtime": 1759791861, - "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", - "analysis_result": { - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::__construct": { - "line": 26, - "lineCount": 5, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 4, - "N1": 3, - "N2": 6, - "programLength": 9, - "programVocabulary": 7, - "volume": 25.26619429851844, - "difficulty": 2.25, - "effort": 56.848937171666485, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItem": { - "line": 35, - "lineCount": 15, - "argCount": 1, - "returnCount": 3, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 6, - "N2": 13, - "programLength": 19, - "programVocabulary": 8, - "volume": 57, - "difficulty": 6.5, - "effort": 370.5, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItem" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItems": { - "line": 55, - "lineCount": 9, - "argCount": 1, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 3, - "N2": 9, - "programLength": 12, - "programVocabulary": 6, - "volume": 31.019550008653873, - "difficulty": 2.25, - "effort": 69.79398751947122, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItems" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::hasItem": { - "line": 68, - "lineCount": 6, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 5, - "n2": 3, - "N1": 6, - "N2": 7, - "programLength": 13, - "programVocabulary": 8, - "volume": 39, - "difficulty": 5.833333333333334, - "effort": 227.50000000000003, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::hasItem" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::clear": { - "line": 75, - "lineCount": 10, - "argCount": 0, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 2, - "N2": 4, - "programLength": 6, - "programVocabulary": 3, - "volume": 9.509775004326936, - "difficulty": 1, - "effort": 9.509775004326936, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::clear" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItem": { - "line": 89, - "lineCount": 10, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 4, - "N2": 6, - "programLength": 10, - "programVocabulary": 6, - "volume": 25.84962500721156, - "difficulty": 3, - "effort": 77.54887502163469, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItem" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItems": { - "line": 103, - "lineCount": 10, - "argCount": 1, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 3, - "N2": 8, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 2, - "effort": 56.86917501586544, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItems" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::save": { - "line": 117, - "lineCount": 11, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 4, - "N1": 9, - "N2": 12, - "programLength": 21, - "programVocabulary": 7, - "volume": 58.95445336320969, - "difficulty": 4.5, - "effort": 265.2950401344436, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::save" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveDeferred": { - "line": 129, - "lineCount": 6, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveDeferred" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::commit": { - "line": 136, - "lineCount": 11, - "argCount": 0, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 4, - "N2": 8, - "programLength": 12, - "programVocabulary": 5, - "volume": 27.863137138648348, - "difficulty": 2.6666666666666665, - "effort": 74.30169903639559, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::commit" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::ensureCacheDirectory": { - "line": 152, - "lineCount": 9, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 3, - "N2": 4, - "programLength": 7, - "programVocabulary": 4, - "volume": 14, - "difficulty": 2, - "effort": 28, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::ensureCacheDirectory" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getCacheFilePath": { - "line": 168, - "lineCount": 15, - "argCount": 1, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 10, - "N1": 13, - "N2": 19, - "programLength": 32, - "programVocabulary": 14, - "volume": 121.83535750584333, - "difficulty": 3.8, - "effort": 462.9743585222046, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getCacheFilePath" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::loadCacheData": { - "line": 187, - "lineCount": 14, - "argCount": 1, - "returnCount": 3, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 6, - "N2": 8, - "programLength": 14, - "programVocabulary": 6, - "volume": 36.18947501009619, - "difficulty": 4, - "effort": 144.75790004038475, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::loadCacheData" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveCacheData": { - "line": 209, - "lineCount": 21, - "argCount": 2, - "returnCount": 3, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 6, - "n2": 7, - "N1": 13, - "N2": 17, - "programLength": 30, - "programVocabulary": 13, - "volume": 111.01319154423277, - "difficulty": 7.285714285714285, - "effort": 808.810395536553, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveCacheData" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::sanitizeUtf8": { - "line": 234, - "lineCount": 25, - "argCount": 1, - "returnCount": 4, - "variableCount": 6, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 8, - "N1": 13, - "N2": 29, - "programLength": 42, - "programVocabulary": 11, - "volume": 145.29612798276648, - "difficulty": 5.4375, - "effort": 790.0476959062927, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::sanitizeUtf8" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::removeDirectory": { - "line": 260, - "lineCount": 23, - "argCount": 1, - "returnCount": 2, - "variableCount": 5, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 5, - "n2": 9, - "N1": 13, - "N2": 20, - "programLength": 33, - "programVocabulary": 14, - "volume": 125.64271242790093, - "difficulty": 5.555555555555555, - "effort": 698.0150690438941, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::removeDirectory" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::__construct": { - "line": 42, - "lineCount": 7, - "argCount": 3, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 3, - "N1": 0, - "N2": 3, - "programLength": 3, - "programVocabulary": 3, - "volume": 4.754887502163468, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::configure": { - "line": 53, - "lineCount": 57, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 15, - "N1": 9, - "N2": 16, - "programLength": 25, - "programVocabulary": 16, - "volume": 100, - "difficulty": 0.5333333333333333, - "effort": 53.333333333333336, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::configure" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::execute": { - "line": 119, - "lineCount": 43, - "argCount": 2, - "returnCount": 5, - "variableCount": 9, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 4, - "halstead": { - "n1": 7, - "n2": 14, - "N1": 31, - "N2": 45, - "programLength": 76, - "programVocabulary": 21, - "volume": 333.8161241311858, - "difficulty": 11.25, - "effort": 3755.4313964758403, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::execute" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::loadCoverageReader": { - "line": 171, - "lineCount": 32, - "argCount": 3, - "returnCount": 4, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 2, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 4, - "n2": 9, - "N1": 9, - "N2": 21, - "programLength": 30, - "programVocabulary": 13, - "volume": 111.01319154423277, - "difficulty": 4.666666666666667, - "effort": 518.0615605397529, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::loadCoverageReader" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::detectCoverageFormat": { - "line": 207, - "lineCount": 19, - "argCount": 1, - "returnCount": 4, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 9, - "volume": 47.548875021634686, - "difficulty": 2.5, - "effort": 118.87218755408671, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::detectCoverageFormat" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::coverageFileExists": { - "line": 227, - "lineCount": 20, - "argCount": 2, - "returnCount": 3, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 4, - "N2": 7, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 3.5, - "effort": 99.52105627776452, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::coverageFileExists" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::__construct": { - "line": 49, - "lineCount": 10, - "argCount": 6, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 6, - "N1": 0, - "N2": 6, - "programLength": 6, - "programVocabulary": 6, - "volume": 15.509775004326936, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::configure": { - "line": 63, - "lineCount": 76, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 20, - "N1": 13, - "N2": 20, - "programLength": 33, - "programVocabulary": 21, - "volume": 144.94647495169912, - "difficulty": 0.5, - "effort": 72.47323747584956, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::configure" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::execute": { - "line": 150, - "lineCount": 52, - "argCount": 2, - "returnCount": 5, - "variableCount": 11, - "propertyCallCount": 6, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 7, - "halstead": { - "n1": 6, - "n2": 15, - "N1": 43, - "N2": 61, - "programLength": 104, - "programVocabulary": 21, - "volume": 456.80101196899113, - "difficulty": 12.2, - "effort": 5572.972346021692, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::execute" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::parsePaths": { - "line": 209, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 4, - "N2": 8, - "programLength": 12, - "programVocabulary": 7, - "volume": 33.68825906469125, - "difficulty": 1.6, - "effort": 53.901214503506004, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::parsePaths" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleBaseLine": { - "line": 224, - "lineCount": 8, - "argCount": 2, - "returnCount": 0, - "variableCount": 3, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 5, - "N2": 11, - "programLength": 16, - "programVocabulary": 7, - "volume": 44.91767875292167, - "difficulty": 2.2, - "effort": 98.81889325642767, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleBaseLine" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleCoverageOptions": { - "line": 238, - "lineCount": 20, - "argCount": 2, - "returnCount": 3, - "variableCount": 5, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 5, - "n2": 10, - "N1": 15, - "N2": 25, - "programLength": 40, - "programVocabulary": 15, - "volume": 156.27562382434076, - "difficulty": 6.25, - "effort": 976.7226489021298, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleCoverageOptions" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::applySorting": { - "line": 264, - "lineCount": 21, - "argCount": 3, - "returnCount": 3, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 15, - "N1": 16, - "N2": 32, - "programLength": 48, - "programVocabulary": 20, - "volume": 207.45254855459342, - "difficulty": 5.333333333333333, - "effort": 1106.4135922911648, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::applySorting" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadConfiguration": { - "line": 293, - "lineCount": 10, - "argCount": 2, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 6, - "N1": 5, - "N2": 9, - "programLength": 14, - "programVocabulary": 8, - "volume": 42, - "difficulty": 1.5, - "effort": 63, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadConfiguration" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadCoverageReader": { - "line": 313, - "lineCount": 28, - "argCount": 3, - "returnCount": 4, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 2, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 10, - "N2": 18, - "programLength": 28, - "programVocabulary": 11, - "volume": 96.86408532184433, - "difficulty": 5.142857142857143, - "effort": 498.15815308377086, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadCoverageReader" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::detectCoverageFormat": { - "line": 345, - "lineCount": 19, - "argCount": 1, - "returnCount": 4, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 9, - "volume": 47.548875021634686, - "difficulty": 2.5, - "effort": 118.87218755408671, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::detectCoverageFormat" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::coverageFileExists": { - "line": 365, - "lineCount": 20, - "argCount": 2, - "returnCount": 3, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 4, - "N2": 7, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 3.5, - "effort": 99.52105627776452, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::coverageFileExists" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__construct": { - "line": 12, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__invoke": { - "line": 17, - "lineCount": 22, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 3, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 10, - "N2": 11, - "programLength": 21, - "programVocabulary": 7, - "volume": 58.95445336320969, - "difficulty": 2.2, - "effort": 129.6997973990613, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__invoke" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__construct": { - "line": 21, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__invoke": { - "line": 26, - "lineCount": 11, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 4, - "N2": 9, - "programLength": 13, - "programVocabulary": 4, - "volume": 26, - "difficulty": 4.5, - "effort": 117, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__invoke" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleSourceFilesFound": { - "line": 38, - "lineCount": 6, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 4, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 6, - "N2": 10, - "programLength": 16, - "programVocabulary": 8, - "volume": 48, - "difficulty": 5, - "effort": 240, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleSourceFilesFound" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleFileProcessed": { - "line": 45, - "lineCount": 5, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleFileProcessed" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleAllFilesProcessed": { - "line": 51, - "lineCount": 6, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 3, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 3, - "N2": 5, - "programLength": 8, - "programVocabulary": 5, - "volume": 18.575424759098897, - "difficulty": 1.6666666666666667, - "effort": 30.95904126516483, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleAllFilesProcessed" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__construct": { - "line": 20, - "lineCount": 5, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__invoke": { - "line": 26, - "lineCount": 17, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 5, - "n2": 8, - "N1": 17, - "N2": 17, - "programLength": 34, - "programVocabulary": 13, - "volume": 125.81495041679713, - "difficulty": 5.3125, - "effort": 668.3919240892347, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__invoke" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::formatBytes": { - "line": 50, - "lineCount": 12, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 7, - "n2": 13, - "N1": 10, - "N2": 22, - "programLength": 32, - "programVocabulary": 20, - "volume": 138.3016990363956, - "difficulty": 5.923076923076923, - "effort": 819.1716019848047, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::formatBytes" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::isDebugEnabled": { - "line": 66, - "lineCount": 5, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 1, - "N1": 4, - "N2": 2, - "programLength": 6, - "programVocabulary": 4, - "volume": 12, - "difficulty": 3, - "effort": 36, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::isDebugEnabled" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::__construct": { - "line": 20, - "lineCount": 6, - "argCount": 2, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 4, - "volume": 8, - "difficulty": 0.5, - "effort": 4, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::exportToFile": { - "line": 32, - "lineCount": 27, - "argCount": 3, - "returnCount": 4, - "variableCount": 2, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 1, - "n2": 6, - "N1": 6, - "N2": 19, - "programLength": 25, - "programVocabulary": 7, - "volume": 70.1838730514401, - "difficulty": 1.5833333333333333, - "effort": 111.12446566478016, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::exportToFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::hasIncompleteReportOptions": { - "line": 60, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 2, - "N1": 7, - "N2": 6, - "programLength": 13, - "programVocabulary": 6, - "volume": 33.60451250937503, - "difficulty": 6, - "effort": 201.62707505625016, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::hasIncompleteReportOptions" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::isValidReportType": { - "line": 65, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 2, - "N2": 4, - "programLength": 6, - "programVocabulary": 4, - "volume": 12, - "difficulty": 2, - "effort": 24, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::isValidReportType" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleExceptions": { - "line": 77, - "lineCount": 9, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 3, - "N2": 4, - "programLength": 7, - "programVocabulary": 5, - "volume": 16.253496664211536, - "difficulty": 1.3333333333333333, - "effort": 21.67132888561538, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleExceptions" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleInvalidReportType": { - "line": 91, - "lineCount": 11, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 5, - "N2": 8, - "programLength": 13, - "programVocabulary": 8, - "volume": 39, - "difficulty": 2.4000000000000004, - "effort": 93.60000000000001, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleInvalidReportType" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::__construct": { - "line": 15, - "lineCount": 5, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handle": { - "line": 24, - "lineCount": 27, - "argCount": 3, - "returnCount": 4, - "variableCount": 2, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 1, - "n2": 6, - "N1": 6, - "N2": 19, - "programLength": 25, - "programVocabulary": 7, - "volume": 70.1838730514401, - "difficulty": 1.5833333333333333, - "effort": 111.12446566478016, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handle" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::hasIncompleteReportOptions": { - "line": 52, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 2, - "N1": 7, - "N2": 6, - "programLength": 13, - "programVocabulary": 6, - "volume": 33.60451250937503, - "difficulty": 6, - "effort": 201.62707505625016, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::hasIncompleteReportOptions" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::isValidReportType": { - "line": 57, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 5, - "N1": 1, - "N2": 6, - "programLength": 7, - "programVocabulary": 6, - "volume": 18.094737505048094, - "difficulty": 0.6, - "effort": 10.856842503028856, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::isValidReportType" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handleExceptions": { - "line": 66, - "lineCount": 9, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 3, - "N2": 4, - "programLength": 7, - "programVocabulary": 5, - "volume": 16.253496664211536, - "difficulty": 1.3333333333333333, - "effort": 21.67132888561538, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handleExceptions" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handleInvalidReporType": { - "line": 80, - "lineCount": 9, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 4, - "programLength": 6, - "programVocabulary": 5, - "volume": 13.931568569324174, - "difficulty": 1.3333333333333333, - "effort": 18.575424759098897, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handleInvalidReporType" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::__construct": { - "line": 42, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::reportWritten": { - "line": 47, - "lineCount": 7, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 4, - "programLength": 6, - "programVocabulary": 5, - "volume": 13.931568569324174, - "difficulty": 1.3333333333333333, - "effort": 18.575424759098897, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::reportWritten" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::renderChurnTable": { - "line": 59, - "lineCount": 35, - "argCount": 1, - "returnCount": 0, - "variableCount": 6, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 8, - "n2": 18, - "N1": 21, - "N2": 53, - "programLength": 74, - "programVocabulary": 26, - "volume": 347.8325391424408, - "difficulty": 11.777777777777779, - "effort": 4096.694349899859, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::renderChurnTable" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricSummaryTextRenderer::__construct": { - "line": 18, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricSummaryTextRenderer::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricSummaryTextRenderer::render": { - "line": 23, - "lineCount": 32, - "argCount": 2, - "returnCount": 0, - "variableCount": 6, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 6, - "n2": 16, - "N1": 27, - "N2": 38, - "programLength": 65, - "programVocabulary": 22, - "volume": 289.86305521142435, - "difficulty": 7.125, - "effort": 2065.2742683813985, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricSummaryTextRenderer::render" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::__construct": { - "line": 27, - "lineCount": 5, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::metricExceedsThreshold": { - "line": 33, - "lineCount": 6, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 2, - "N1": 3, - "N2": 5, - "programLength": 8, - "programVocabulary": 5, - "volume": 18.575424759098897, - "difficulty": 3.75, - "effort": 69.65784284662087, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::metricExceedsThreshold" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::hasCoverageInCollection": { - "line": 43, - "lineCount": 10, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 2, - "N2": 4, - "programLength": 6, - "programVocabulary": 4, - "volume": 12, - "difficulty": 2, - "effort": 24, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::hasCoverageInCollection" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::render": { - "line": 58, - "lineCount": 17, - "argCount": 2, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 6, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 9, - "N2": 25, - "programLength": 34, - "programVocabulary": 6, - "volume": 87.8887250245193, - "difficulty": 6.25, - "effort": 549.3045314032456, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::render" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderGroupedByClass": { - "line": 81, - "lineCount": 19, - "argCount": 3, - "returnCount": 0, - "variableCount": 6, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 5, - "n2": 11, - "N1": 11, - "N2": 25, - "programLength": 36, - "programVocabulary": 16, - "volume": 144, - "difficulty": 5.6818181818181825, - "effort": 818.1818181818182, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderGroupedByClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::buildRowsForClass": { - "line": 106, - "lineCount": 13, - "argCount": 2, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 4, - "N2": 12, - "programLength": 16, - "programVocabulary": 7, - "volume": 44.91767875292167, - "difficulty": 2.4, - "effort": 107.802429007012, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::buildRowsForClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::getFilenameFromMetrics": { - "line": 123, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 5, - "programLength": 6, - "programVocabulary": 4, - "volume": 12, - "difficulty": 0.8333333333333334, - "effort": 10, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::getFilenameFromMetrics" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderAllMethodsInSingleTable": { - "line": 136, - "lineCount": 12, - "argCount": 3, - "returnCount": 0, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 6, - "N2": 15, - "programLength": 21, - "programVocabulary": 11, - "volume": 72.64806399138324, - "difficulty": 4.285714285714286, - "effort": 311.34884567735673, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderAllMethodsInSingleTable" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::buildRowsForSingleTable": { - "line": 154, - "lineCount": 13, - "argCount": 2, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 4, - "N2": 12, - "programLength": 16, - "programVocabulary": 7, - "volume": 44.91767875292167, - "difficulty": 2.4, - "effort": 107.802429007012, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::buildRowsForSingleTable" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderTableCommon": { - "line": 173, - "lineCount": 19, - "argCount": 4, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 8, - "N1": 7, - "N2": 19, - "programLength": 26, - "programVocabulary": 10, - "volume": 86.37013046707142, - "difficulty": 2.375, - "effort": 205.1290598592946, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderTableCommon" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderTable": { - "line": 196, - "lineCount": 13, - "argCount": 4, - "returnCount": 0, - "variableCount": 3, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 7, - "N1": 4, - "N2": 14, - "programLength": 18, - "programVocabulary": 9, - "volume": 57.05865002596162, - "difficulty": 2, - "effort": 114.11730005192324, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderTable" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderSingleTable": { - "line": 213, - "lineCount": 11, - "argCount": 3, - "returnCount": 0, - "variableCount": 3, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 6, - "N1": 4, - "N2": 12, - "programLength": 16, - "programVocabulary": 8, - "volume": 48, - "difficulty": 2, - "effort": 96, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderSingleTable" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::__construct": { - "line": 16, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatScore": { - "line": 21, - "lineCount": 6, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 6, - "N1": 5, - "N2": 9, - "programLength": 14, - "programVocabulary": 8, - "volume": 42, - "difficulty": 1.5, - "effort": 63, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatScore" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadVolume": { - "line": 28, - "lineCount": 14, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 10, - "N1": 9, - "N2": 17, - "programLength": 26, - "programVocabulary": 15, - "volume": 101.57915548582149, - "difficulty": 4.25, - "effort": 431.7114108147413, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadVolume" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadDifficulty": { - "line": 43, - "lineCount": 13, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 10, - "N1": 8, - "N2": 17, - "programLength": 25, - "programVocabulary": 14, - "volume": 95.1838730514401, - "difficulty": 3.4, - "effort": 323.62516837489636, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadDifficulty" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadEffort": { - "line": 57, - "lineCount": 13, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 10, - "N1": 8, - "N2": 17, - "programLength": 25, - "programVocabulary": 14, - "volume": 95.1838730514401, - "difficulty": 3.4, - "effort": 323.62516837489636, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadEffort" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatCyclomaticComplexity": { - "line": 71, - "lineCount": 13, - "argCount": 1, - "returnCount": 3, - "variableCount": 4, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 5, - "n2": 9, - "N1": 9, - "N2": 18, - "programLength": 27, - "programVocabulary": 14, - "volume": 102.79858289555531, - "difficulty": 5, - "effort": 513.9929144777766, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatCyclomaticComplexity" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::colorCyclomaticRisk": { - "line": 85, - "lineCount": 8, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 7, - "N1": 5, - "N2": 11, - "programLength": 16, - "programVocabulary": 9, - "volume": 50.718800023076994, - "difficulty": 1.5714285714285714, - "effort": 79.70097146483528, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::colorCyclomaticRisk" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::__construct": { - "line": 17, - "lineCount": 5, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::getGroupedTableHeaders": { - "line": 28, - "lineCount": 16, - "argCount": 0, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 10, - "N2": 17, - "programLength": 27, - "programVocabulary": 6, - "volume": 69.79398751947122, - "difficulty": 4.25, - "effort": 296.62444695775264, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::getGroupedTableHeaders" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCoverageHeader": { - "line": 49, - "lineCount": 10, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 6, - "programLength": 7, - "programVocabulary": 4, - "volume": 14, - "difficulty": 1, - "effort": 14, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCoverageHeader" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::getSingleTableHeaders": { - "line": 65, - "lineCount": 20, - "argCount": 0, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 6, - "N1": 9, - "N2": 18, - "programLength": 27, - "programVocabulary": 8, - "volume": 81, - "difficulty": 3, - "effort": 243, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::getSingleTableHeaders" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addHalsteadHeaders": { - "line": 92, - "lineCount": 10, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 1, - "n2": 5, - "N1": 3, - "N2": 9, - "programLength": 12, - "programVocabulary": 6, - "volume": 31.019550008653873, - "difficulty": 0.9, - "effort": 27.917595007788485, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addHalsteadHeaders" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCyclomaticHeaders": { - "line": 109, - "lineCount": 8, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 5, - "programLength": 6, - "programVocabulary": 4, - "volume": 12, - "difficulty": 0.8333333333333334, - "effort": 10, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCyclomaticHeaders" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCognitiveMetricDetails": { - "line": 122, - "lineCount": 16, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 10, - "N1": 2, - "N2": 13, - "programLength": 15, - "programVocabulary": 12, - "volume": 53.77443751081734, - "difficulty": 1.3, - "effort": 69.90676876406255, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCognitiveMetricDetails" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::__construct": { - "line": 21, - "lineCount": 6, - "argCount": 3, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 3, - "N1": 0, - "N2": 3, - "programLength": 3, - "programVocabulary": 3, - "volume": 4.754887502163468, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::buildRow": { - "line": 34, - "lineCount": 16, - "argCount": 1, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 10, - "N2": 24, - "programLength": 34, - "programVocabulary": 7, - "volume": 95.45006734995854, - "difficulty": 4.8, - "effort": 458.160323279801, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::buildRow" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::buildRowWithClassInfo": { - "line": 57, - "lineCount": 16, - "argCount": 1, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 10, - "N2": 24, - "programLength": 34, - "programVocabulary": 7, - "volume": 95.45006734995854, - "difficulty": 4.8, - "effort": 458.160323279801, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::buildRowWithClassInfo" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::metricsToArray": { - "line": 79, - "lineCount": 8, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 3, - "N2": 7, - "programLength": 10, - "programVocabulary": 6, - "volume": 25.84962500721156, - "difficulty": 1.75, - "effort": 45.23684376262023, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::metricsToArray" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::metricsToArrayWithClassInfo": { - "line": 93, - "lineCount": 9, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 4, - "N2": 9, - "programLength": 13, - "programVocabulary": 7, - "volume": 36.49561398674886, - "difficulty": 1.8, - "effort": 65.69210517614795, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::metricsToArrayWithClassInfo" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addHalsteadFields": { - "line": 109, - "lineCount": 10, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 6, - "N1": 6, - "N2": 16, - "programLength": 22, - "programVocabulary": 8, - "volume": 66, - "difficulty": 2.6666666666666665, - "effort": 176, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addHalsteadFields" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addCyclomaticFields": { - "line": 126, - "lineCount": 8, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 2, - "N2": 8, - "programLength": 10, - "programVocabulary": 6, - "volume": 25.84962500721156, - "difficulty": 2, - "effort": 51.69925001442312, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addCyclomaticFields" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addWeightedValue": { - "line": 141, - "lineCount": 10, - "argCount": 3, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 11, - "N1": 13, - "N2": 22, - "programLength": 35, - "programVocabulary": 15, - "volume": 136.74117084629816, - "difficulty": 4, - "effort": 546.9646833851926, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addWeightedValue" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addDelta": { - "line": 158, - "lineCount": 20, - "argCount": 3, - "returnCount": 3, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 6, - "n2": 13, - "N1": 19, - "N2": 30, - "programLength": 49, - "programVocabulary": 19, - "volume": 208.14844815873568, - "difficulty": 6.9230769230769225, - "effort": 1441.0277180220162, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::getKeys": { - "line": 184, - "lineCount": 17, - "argCount": 0, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 0, - "n2": 9, - "N1": 0, - "N2": 9, - "programLength": 9, - "programVocabulary": 9, - "volume": 28.52932501298081, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::getKeys" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::assertDeltaMethodExists": { - "line": 205, - "lineCount": 6, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 6, - "programLength": 8, - "programVocabulary": 5, - "volume": 18.575424759098897, - "difficulty": 2, - "effort": 37.150849518197795, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::assertDeltaMethodExists" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addCoverageValue": { - "line": 216, - "lineCount": 11, - "argCount": 2, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 7, - "N1": 7, - "N2": 15, - "programLength": 22, - "programVocabulary": 12, - "volume": 78.86917501586544, - "difficulty": 5.357142857142857, - "effort": 422.51343758499337, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addCoverageValue" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::extracted": { - "line": 233, - "lineCount": 22, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 12, - "N1": 19, - "N2": 34, - "programLength": 53, - "programVocabulary": 15, - "volume": 207.06520156725148, - "difficulty": 4.25, - "effort": 880.0271066608187, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::extracted" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CacheConfig::__construct": { - "line": 12, - "lineCount": 5, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CacheConfig::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CacheConfig::toArray": { - "line": 23, - "lineCount": 7, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 3, - "N1": 0, - "N2": 4, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CacheConfig::toArray" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CognitiveConfig::__construct": { - "line": 20, - "lineCount": 13, - "argCount": 10, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 10, - "N1": 0, - "N2": 10, - "programLength": 10, - "programVocabulary": 10, - "volume": 33.219280948873624, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CognitiveConfig::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CognitiveConfig::toArray": { - "line": 39, - "lineCount": 20, - "argCount": 0, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 10, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 14, - "N1": 3, - "N2": 27, - "programLength": 30, - "programVocabulary": 16, - "volume": 120, - "difficulty": 1.9285714285714286, - "effort": 231.42857142857144, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CognitiveConfig::toArray" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigFactory::fromArray": { - "line": 16, - "lineCount": 31, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 20, - "N1": 10, - "N2": 52, - "programLength": 62, - "programVocabulary": 23, - "volume": 280.4608412755348, - "difficulty": 3.9000000000000004, - "effort": 1093.7972809745859, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigFactory::fromArray" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigLoader::getCognitiveMetricDefaults": { - "line": 27, - "lineCount": 45, - "argCount": 0, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 8, - "N1": 0, - "N2": 16, - "programLength": 16, - "programVocabulary": 8, - "volume": 48, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigLoader::getCognitiveMetricDefaults" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigLoader::getConfigTreeBuilder": { - "line": 73, - "lineCount": 75, - "argCount": 0, - "returnCount": 2, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 24, - "N1": 68, - "N2": 29, - "programLength": 97, - "programVocabulary": 27, - "volume": 461.2240877098564, - "difficulty": 1.8125, - "effort": 835.9686589741148, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigLoader::getConfigTreeBuilder" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigService::__construct": { - "line": 20, - "lineCount": 6, - "argCount": 2, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 4, - "volume": 8, - "difficulty": 0.5, - "effort": 4, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigService::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigService::loadDefaultConfig": { - "line": 30, - "lineCount": 8, - "argCount": 0, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 3, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 5, - "N2": 6, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 3, - "effort": 85.30376252379816, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigService::loadDefaultConfig" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigService::loadConfig": { - "line": 42, - "lineCount": 9, - "argCount": 1, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 3, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 4, - "N1": 5, - "N2": 8, - "programLength": 13, - "programVocabulary": 7, - "volume": 36.49561398674886, - "difficulty": 3, - "effort": 109.48684196024658, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigService::loadConfig" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigService::getConfig": { - "line": 52, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigService::getConfig" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\MetricsConfig::__construct": { - "line": 12, - "lineCount": 6, - "argCount": 3, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 3, - "N1": 0, - "N2": 3, - "programLength": 3, - "programVocabulary": 3, - "volume": 4.754887502163468, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\MetricsConfig::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\MetricsConfig::toArray": { - "line": 24, - "lineCount": 8, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 3, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 4, - "N1": 0, - "N2": 6, - "programLength": 6, - "programVocabulary": 4, - "volume": 12, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\MetricsConfig::toArray" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::setAnnotationVisitor": { - "line": 63, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::setAnnotationVisitor" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::resetValues": { - "line": 68, - "lineCount": 12, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 9, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 9, - "N2": 15, - "programLength": 24, - "programVocabulary": 3, - "volume": 38.039100017307746, - "difficulty": 3.75, - "effort": 142.64662506490404, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::resetValues" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::resetAll": { - "line": 84, - "lineCount": 9, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 4, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 5, - "N2": 8, - "programLength": 13, - "programVocabulary": 4, - "volume": 26, - "difficulty": 4, - "effort": 104, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::resetAll" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::createMetricsArray": { - "line": 97, - "lineCount": 14, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 1, - "n2": 12, - "N1": 3, - "N2": 21, - "programLength": 24, - "programVocabulary": 13, - "volume": 88.81055323538621, - "difficulty": 0.875, - "effort": 77.70923408096293, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::createMetricsArray" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::isValidContext": { - "line": 115, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::isValidContext" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::buildMethodKey": { - "line": 123, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::buildMethodKey" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::classMethodOnEnterNode": { - "line": 128, - "lineCount": 20, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 3, - "ifNestingLevel": 2, - "elseCount": 0, - "ifCount": 3, - "cyclomatic_complexity": { - "complexity": 4, - "risk_level": "low" - }, - "halstead": { - "n1": 5, - "n2": 4, - "N1": 12, - "N2": 16, - "programLength": 28, - "programVocabulary": 9, - "volume": 88.75790004038474, - "difficulty": 10, - "effort": 887.5790004038474, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::classMethodOnEnterNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::isClassMethodNode": { - "line": 155, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::isClassMethodNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::initializeMethodContext": { - "line": 166, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 2, - "N2": 3, - "programLength": 5, - "programVocabulary": 4, - "volume": 10, - "difficulty": 1.5, - "effort": 15, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::initializeMethodContext" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::trackMethodArguments": { - "line": 177, - "lineCount": 8, - "argCount": 1, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 4, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "cyclomatic_complexity": { - "complexity": 3, - "risk_level": "low" - }, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 7, - "programLength": 9, - "programVocabulary": 5, - "volume": 20.89735285398626, - "difficulty": 2.3333333333333335, - "effort": 48.76048999263461, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::trackMethodArguments" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::isVariable": { - "line": 192, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::isVariable" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::calculateLineCount": { - "line": 203, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 3, - "n2": 2, - "N1": 4, - "N2": 4, - "programLength": 8, - "programVocabulary": 5, - "volume": 18.575424759098897, - "difficulty": 3, - "effort": 55.726274277296696, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::calculateLineCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::countMethodArguments": { - "line": 214, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 2, - "programLength": 3, - "programVocabulary": 2, - "volume": 3, - "difficulty": 1, - "effort": 3, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::countMethodArguments" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::setCurrentNamespaceOnEnterNode": { - "line": 219, - "lineCount": 6, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "cyclomatic_complexity": { - "complexity": 3, - "risk_level": "low" - }, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 6, - "programLength": 8, - "programVocabulary": 5, - "volume": 18.575424759098897, - "difficulty": 2, - "effort": 37.150849518197795, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::setCurrentNamespaceOnEnterNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::isClassOrTraitNode": { - "line": 229, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 1.5, - "effort": 6, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::isClassOrTraitNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::setCurrentClassOnEnterNode": { - "line": 234, - "lineCount": 22, - "argCount": 1, - "returnCount": 4, - "variableCount": 2, - "propertyCallCount": 4, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "cyclomatic_complexity": { - "complexity": 4, - "risk_level": "low" - }, - "halstead": { - "n1": 6, - "n2": 5, - "N1": 12, - "N2": 16, - "programLength": 28, - "programVocabulary": 11, - "volume": 96.86408532184433, - "difficulty": 9.600000000000001, - "effort": 929.8952190897057, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::setCurrentClassOnEnterNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::normalizeFqcn": { - "line": 261, - "lineCount": 8, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "cyclomatic_complexity": { - "complexity": 3, - "risk_level": "low" - }, - "halstead": { - "n1": 3, - "n2": 2, - "N1": 3, - "N2": 9, - "programLength": 12, - "programVocabulary": 5, - "volume": 27.863137138648348, - "difficulty": 6.75, - "effort": 188.07617568587634, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::normalizeFqcn" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::enterNode": { - "line": 270, - "lineCount": 16, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "cyclomatic_complexity": { - "complexity": 3, - "risk_level": "low" - }, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 3, - "volume": 22.189475010096185, - "difficulty": 2.5, - "effort": 55.473687525240464, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::enterNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::gatherMetrics": { - "line": 287, - "lineCount": 12, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 5, - "N2": 14, - "programLength": 19, - "programVocabulary": 3, - "volume": 30.114287513701967, - "difficulty": 3.5, - "effort": 105.40000629795688, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::gatherMetrics" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::incrementReturnCount": { - "line": 300, - "lineCount": 4, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::incrementReturnCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::countVariablesNotAlreadyTrackedAsArguments": { - "line": 326, - "lineCount": 6, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "cyclomatic_complexity": { - "complexity": 2, - "risk_level": "low" - }, - "halstead": { - "n1": 3, - "n2": 2, - "N1": 3, - "N2": 6, - "programLength": 9, - "programVocabulary": 5, - "volume": 20.89735285398626, - "difficulty": 4.5, - "effort": 94.03808784293817, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::countVariablesNotAlreadyTrackedAsArguments" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::trackPropertyFetch": { - "line": 333, - "lineCount": 15, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "cyclomatic_complexity": { - "complexity": 3, - "risk_level": "low" - }, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 3, - "N2": 9, - "programLength": 12, - "programVocabulary": 5, - "volume": 27.863137138648348, - "difficulty": 3, - "effort": 83.58941141594505, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::trackPropertyFetch" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::trackIfStatement": { - "line": 349, - "lineCount": 9, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "cyclomatic_complexity": { - "complexity": 2, - "risk_level": "low" - }, - "halstead": { - "n1": 2, - "n2": 1, - "N1": 2, - "N2": 6, - "programLength": 8, - "programVocabulary": 3, - "volume": 12.679700005769249, - "difficulty": 6, - "effort": 76.07820003461549, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::trackIfStatement" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::incrementElseCount": { - "line": 359, - "lineCount": 4, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::incrementElseCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::checkNestingLevelOnLeaveNode": { - "line": 364, - "lineCount": 6, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "cyclomatic_complexity": { - "complexity": 2, - "risk_level": "low" - }, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 3, - "programLength": 3, - "programVocabulary": 2, - "volume": 3, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::checkNestingLevelOnLeaveNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::writeMetricsOnLeaveNode": { - "line": 373, - "lineCount": 38, - "argCount": 1, - "returnCount": 3, - "variableCount": 2, - "propertyCallCount": 11, - "ifNestingLevel": 2, - "elseCount": 0, - "ifCount": 5, - "cyclomatic_complexity": { - "complexity": 6, - "risk_level": "medium" - }, - "halstead": { - "n1": 7, - "n2": 14, - "N1": 29, - "N2": 58, - "programLength": 87, - "programVocabulary": 21, - "volume": 382.1316157817522, - "difficulty": 14.500000000000002, - "effort": 5540.908428835408, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::writeMetricsOnLeaveNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::checkNameSpaceOnLeaveNode": { - "line": 412, - "lineCount": 6, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "cyclomatic_complexity": { - "complexity": 2, - "risk_level": "low" - }, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 4, - "programLength": 5, - "programVocabulary": 4, - "volume": 10, - "difficulty": 0.6666666666666666, - "effort": 6.666666666666666, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::checkNameSpaceOnLeaveNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::checkClassOnLeaveNode": { - "line": 419, - "lineCount": 11, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 2, - "elseCount": 0, - "ifCount": 2, - "cyclomatic_complexity": { - "complexity": 3, - "risk_level": "low" - }, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 6, - "programLength": 8, - "programVocabulary": 5, - "volume": 18.575424759098897, - "difficulty": 2, - "effort": 37.150849518197795, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::checkClassOnLeaveNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::leaveNode": { - "line": 431, - "lineCount": 7, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 4, - "N2": 9, - "programLength": 13, - "programVocabulary": 3, - "volume": 20.604512509375027, - "difficulty": 2.25, - "effort": 46.36015314609381, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::leaveNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::getMethodMetrics": { - "line": 439, - "lineCount": 13, - "argCount": 0, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "cyclomatic_complexity": { - "complexity": 3, - "risk_level": "low" - }, - "halstead": { - "n1": 4, - "n2": 6, - "N1": 8, - "N2": 15, - "programLength": 23, - "programVocabulary": 10, - "volume": 76.40434618240933, - "difficulty": 5, - "effort": 382.0217309120466, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::getMethodMetrics" - } - } - }, - "ignored_items": [], - "cached_at": 1759967602 -} \ No newline at end of file diff --git a/.phpcca.cache/60/60f2f9aba13a1c361e78b7850bb2c8f8.cache b/.phpcca.cache/60/60f2f9aba13a1c361e78b7850bb2c8f8.cache deleted file mode 100644 index b335a7d..0000000 --- a/.phpcca.cache/60/60f2f9aba13a1c361e78b7850bb2c8f8.cache +++ /dev/null @@ -1,4400 +0,0 @@ -{ - "version": "1.0", - "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/Business\/Cognitive\/Exporter\/HtmlExporter.php", - "file_mtime": 1759793045, - "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", - "analysis_result": { - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct": { - "line": 60, - "lineCount": 5, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 1, - "N1": 2, - "N2": 2, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 2, - "effort": 12.679700005769249, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices": { - "line": 66, - "lineCount": 95, - "argCount": 0, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 5, - "N1": 58, - "N2": 32, - "programLength": 90, - "programVocabulary": 9, - "volume": 285.2932501298081, - "difficulty": 12.8, - "effort": 3651.7536016615436, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap": { - "line": 162, - "lineCount": 10, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 7, - "N2": 7, - "programLength": 14, - "programVocabulary": 2, - "volume": 14, - "difficulty": 3.5, - "effort": 49, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors": { - "line": 173, - "lineCount": 12, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 3, - "N2": 1, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0.5, - "effort": 2, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus": { - "line": 186, - "lineCount": 19, - "argCount": 0, - "returnCount": 0, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 9, - "N2": 13, - "programLength": 22, - "programVocabulary": 7, - "volume": 61.76180828526729, - "difficulty": 2.6, - "effort": 160.58070154169496, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService": { - "line": 206, - "lineCount": 9, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 3, - "N2": 1, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0.5, - "effort": 2, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade": { - "line": 216, - "lineCount": 13, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 3, - "N2": 1, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0.5, - "effort": 2, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands": { - "line": 230, - "lineCount": 21, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 6, - "N2": 2, - "programLength": 8, - "programVocabulary": 2, - "volume": 8, - "difficulty": 1, - "effort": 8, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication": { - "line": 252, - "lineCount": 11, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 5, - "N2": 4, - "programLength": 9, - "programVocabulary": 4, - "volume": 18, - "difficulty": 0.6666666666666666, - "effort": 12, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run": { - "line": 264, - "lineCount": 9, - "argCount": 0, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 5, - "N2": 5, - "programLength": 10, - "programVocabulary": 4, - "volume": 20, - "difficulty": 2.5, - "effort": 50, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get": { - "line": 274, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer": { - "line": 279, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator": { - "line": 289, - "lineCount": 16, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 7, - "programLength": 8, - "programVocabulary": 4, - "volume": 16, - "difficulty": 1.1666666666666667, - "effort": 18.666666666666668, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create": { - "line": 18, - "lineCount": 7, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 4, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile": { - "line": 17, - "lineCount": 17, - "argCount": 2, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 8, - "N1": 11, - "N2": 19, - "programLength": 30, - "programVocabulary": 11, - "volume": 103.78294855911892, - "difficulty": 3.5625, - "effort": 369.72675424186116, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode": { - "line": 42, - "lineCount": 8, - "argCount": 3, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 3, - "N2": 8, - "programLength": 11, - "programVocabulary": 8, - "volume": 33, - "difficulty": 2.4000000000000004, - "effort": 79.20000000000002, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate": { - "line": 22, - "lineCount": 10, - "argCount": 2, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 6, - "N2": 13, - "programLength": 19, - "programVocabulary": 6, - "volume": 49.11428751370197, - "difficulty": 3.25, - "effort": 159.6214344195314, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending": { - "line": 37, - "lineCount": 8, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 2, - "N2": 9, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 2.25, - "effort": 63.97782189284862, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn": { - "line": 51, - "lineCount": 24, - "argCount": 2, - "returnCount": 1, - "variableCount": 6, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 15, - "N1": 17, - "N2": 46, - "programLength": 63, - "programVocabulary": 20, - "volume": 272.28146997790384, - "difficulty": 7.666666666666667, - "effort": 2087.491269830596, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses": { - "line": 81, - "lineCount": 20, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 2, - "n2": 7, - "N1": 10, - "N2": 24, - "programLength": 34, - "programVocabulary": 9, - "volume": 107.7774500490386, - "difficulty": 3.4285714285714284, - "effort": 369.52268588241805, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass": { - "line": 109, - "lineCount": 9, - "argCount": 2, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 6, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 10, - "volume": 49.82892142331043, - "difficulty": 3.3333333333333335, - "effort": 166.09640474436813, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel": { - "line": 126, - "lineCount": 16, - "argCount": 2, - "returnCount": 4, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 12, - "N1": 9, - "N2": 18, - "programLength": 27, - "programVocabulary": 15, - "volume": 105.48604608143, - "difficulty": 2.25, - "effort": 237.3436036832175, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile": { - "line": 14, - "lineCount": 6, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 2, - "N2": 5, - "programLength": 7, - "programVocabulary": 4, - "volume": 14, - "difficulty": 2.5, - "effort": 35, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable": { - "line": 24, - "lineCount": 11, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 10, - "N2": 12, - "programLength": 22, - "programVocabulary": 8, - "volume": 66, - "difficulty": 6, - "effort": 396, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create": { - "line": 21, - "lineCount": 11, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 7, - "N1": 0, - "N2": 9, - "programLength": 9, - "programVocabulary": 7, - "volume": 25.26619429851844, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes": { - "line": 38, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 6, - "N1": 0, - "N2": 6, - "programLength": 6, - "programVocabulary": 6, - "volume": 15.509775004326936, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported": { - "line": 49, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 2, - "N2": 3, - "programLength": 5, - "programVocabulary": 4, - "volume": 10, - "difficulty": 1.5, - "effort": 15, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export": { - "line": 30, - "lineCount": 23, - "argCount": 2, - "returnCount": 0, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 16, - "N1": 10, - "N2": 33, - "programLength": 43, - "programVocabulary": 20, - "volume": 185.8429080801566, - "difficulty": 4.125, - "effort": 766.601995830646, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export": { - "line": 28, - "lineCount": 8, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 6, - "volume": 36.18947501009619, - "difficulty": 2.5, - "effort": 90.47368752524048, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape": { - "line": 37, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber": { - "line": 42, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml": { - "line": 52, - "lineCount": 50, - "argCount": 1, - "returnCount": 1, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 12, - "N1": 11, - "N2": 25, - "programLength": 36, - "programVocabulary": 17, - "volume": 147.14866228501222, - "difficulty": 5.208333333333334, - "effort": 766.3992827344388, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export": { - "line": 17, - "lineCount": 13, - "argCount": 2, - "returnCount": 0, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 8, - "N1": 7, - "N2": 14, - "programLength": 21, - "programVocabulary": 12, - "volume": 75.28421251514428, - "difficulty": 3.5, - "effort": 263.49474380300495, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export": { - "line": 48, - "lineCount": 8, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 6, - "volume": 36.18947501009619, - "difficulty": 2.5, - "effort": 90.47368752524048, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown": { - "line": 61, - "lineCount": 24, - "argCount": 1, - "returnCount": 1, - "variableCount": 6, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 6, - "n2": 16, - "N1": 19, - "N2": 41, - "programLength": 60, - "programVocabulary": 22, - "volume": 267.56589711823784, - "difficulty": 7.6875, - "effort": 2056.9128340964535, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow": { - "line": 94, - "lineCount": 21, - "argCount": 3, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 7, - "n2": 18, - "N1": 16, - "N2": 39, - "programLength": 55, - "programVocabulary": 25, - "volume": 255.41209043760983, - "difficulty": 7.583333333333333, - "effort": 1936.8750191518745, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::__construct": { - "line": 26, - "lineCount": 4, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::export": { - "line": 36, - "lineCount": 10, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 8, - "volume": 45, - "difficulty": 5, - "effort": 225, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::generateSvgTreemap": { - "line": 53, - "lineCount": 20, - "argCount": 1, - "returnCount": 1, - "variableCount": 6, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 8, - "N1": 9, - "N2": 20, - "programLength": 29, - "programVocabulary": 10, - "volume": 96.3359147517335, - "difficulty": 2.5, - "effort": 240.83978687933376, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::generateSvgTreemap" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRects": { - "line": 82, - "lineCount": 10, - "argCount": 3, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 9, - "N1": 6, - "N2": 18, - "programLength": 24, - "programVocabulary": 12, - "volume": 86.03910001730775, - "difficulty": 3, - "effort": 258.1173000519232, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRects" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRect": { - "line": 100, - "lineCount": 29, - "argCount": 2, - "returnCount": 1, - "variableCount": 12, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 6, - "n2": 28, - "N1": 26, - "N2": 54, - "programLength": 80, - "programVocabulary": 34, - "volume": 406.9970273000271, - "difficulty": 5.785714285714286, - "effort": 2354.7685150930142, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRect" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::wrapSvg": { - "line": 136, - "lineCount": 21, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 2, - "N2": 8, - "programLength": 10, - "programVocabulary": 4, - "volume": 20, - "difficulty": 1.3333333333333333, - "effort": 26.666666666666664, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::wrapSvg" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::prepareItems": { - "line": 28, - "lineCount": 18, - "argCount": 1, - "returnCount": 1, - "variableCount": 7, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 12, - "N1": 9, - "N2": 30, - "programLength": 39, - "programVocabulary": 17, - "volume": 159.41105080876324, - "difficulty": 6.25, - "effort": 996.3190675547702, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::prepareItems" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findScoreRange": { - "line": 53, - "lineCount": 16, - "argCount": 1, - "returnCount": 3, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 7, - "N2": 13, - "programLength": 20, - "programVocabulary": 8, - "volume": 60, - "difficulty": 3.9000000000000004, - "effort": 234.00000000000003, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findScoreRange" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::normalizeScore": { - "line": 78, - "lineCount": 8, - "argCount": 3, - "returnCount": 2, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 8, - "volume": 45, - "difficulty": 5, - "effort": 225, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::normalizeScore" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::scoreToColor": { - "line": 93, - "lineCount": 9, - "argCount": 1, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 5, - "n2": 9, - "N1": 12, - "N2": 16, - "programLength": 28, - "programVocabulary": 14, - "volume": 106.60593781761291, - "difficulty": 4.444444444444445, - "effort": 473.80416807827964, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::scoreToColor" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::calculateTreemapLayout": { - "line": 115, - "lineCount": 23, - "argCount": 7, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 9, - "N1": 2, - "N2": 18, - "programLength": 20, - "programVocabulary": 11, - "volume": 69.18863237274594, - "difficulty": 2, - "effort": 138.37726474549189, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::calculateTreemapLayout" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::layoutTreemap": { - "line": 152, - "lineCount": 89, - "argCount": 8, - "returnCount": 3, - "variableCount": 11, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 8, - "n2": 28, - "N1": 32, - "N2": 98, - "programLength": 130, - "programVocabulary": 36, - "volume": 672.0902501875006, - "difficulty": 14, - "effort": 9409.263502625008, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::layoutTreemap" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findSplitIndex": { - "line": 249, - "lineCount": 13, - "argCount": 2, - "returnCount": 2, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 7, - "n2": 10, - "N1": 9, - "N2": 23, - "programLength": 32, - "programVocabulary": 17, - "volume": 130.79881092001085, - "difficulty": 8.049999999999999, - "effort": 1052.9304279060873, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findSplitIndex" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::__construct": { - "line": 23, - "lineCount": 18, - "argCount": 1, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 7, - "N2": 11, - "programLength": 18, - "programVocabulary": 6, - "volume": 46.529325012980806, - "difficulty": 5.5, - "effort": 255.91128757139444, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::getAllClasses": { - "line": 47, - "lineCount": 17, - "argCount": 0, - "returnCount": 2, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 6, - "N2": 12, - "programLength": 18, - "programVocabulary": 9, - "volume": 57.05865002596162, - "difficulty": 3, - "effort": 171.17595007788486, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::getAllClasses" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::withClassNode": { - "line": 73, - "lineCount": 8, - "argCount": 2, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 4, - "N2": 8, - "programLength": 12, - "programVocabulary": 8, - "volume": 36, - "difficulty": 4, - "effort": 144, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::withClassNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::findClassNode": { - "line": 85, - "lineCount": 25, - "argCount": 1, - "returnCount": 4, - "variableCount": 5, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 13, - "N2": 29, - "programLength": 42, - "programVocabulary": 11, - "volume": 145.29612798276648, - "difficulty": 8.285714285714286, - "effort": 1203.8822032857795, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::findClassNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::escapeXPathValue": { - "line": 114, - "lineCount": 16, - "argCount": 1, - "returnCount": 3, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 9, - "N1": 11, - "N2": 18, - "programLength": 29, - "programVocabulary": 13, - "volume": 107.31275182609167, - "difficulty": 4, - "effort": 429.2510073043667, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::escapeXPathValue" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getLineCoverage": { - "line": 22, - "lineCount": 18, - "argCount": 1, - "returnCount": 4, - "variableCount": 5, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 9, - "N1": 10, - "N2": 19, - "programLength": 29, - "programVocabulary": 13, - "volume": 107.31275182609167, - "difficulty": 4.222222222222222, - "effort": 453.09828548794263, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getLineCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getBranchCoverage": { - "line": 48, - "lineCount": 18, - "argCount": 1, - "returnCount": 4, - "variableCount": 5, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 9, - "N1": 10, - "N2": 19, - "programLength": 29, - "programVocabulary": 13, - "volume": 107.31275182609167, - "difficulty": 4.222222222222222, - "effort": 453.09828548794263, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getBranchCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getComplexity": { - "line": 73, - "lineCount": 13, - "argCount": 1, - "returnCount": 3, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 7, - "N2": 14, - "programLength": 21, - "programVocabulary": 11, - "volume": 72.64806399138324, - "difficulty": 4, - "effort": 290.59225596553296, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getComplexity" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getCoverageDetails": { - "line": 93, - "lineCount": 26, - "argCount": 1, - "returnCount": 3, - "variableCount": 9, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 17, - "N1": 22, - "N2": 42, - "programLength": 64, - "programVocabulary": 22, - "volume": 285.403623592787, - "difficulty": 6.176470588235294, - "effort": 1762.7870868966259, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getCoverageDetails" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getMetricsNode": { - "line": 123, - "lineCount": 12, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 6, - "N1": 7, - "N2": 13, - "programLength": 20, - "programVocabulary": 10, - "volume": 66.43856189774725, - "difficulty": 4.333333333333333, - "effort": 287.90043489023805, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getMetricsNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getFilenameForClass": { - "line": 139, - "lineCount": 9, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 5, - "N1": 4, - "N2": 9, - "programLength": 13, - "programVocabulary": 9, - "volume": 41.209025018750054, - "difficulty": 3.6, - "effort": 148.3524900675002, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getFilenameForClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodsCoverage": { - "line": 154, - "lineCount": 36, - "argCount": 1, - "returnCount": 3, - "variableCount": 8, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 13, - "N1": 12, - "N2": 30, - "programLength": 42, - "programVocabulary": 16, - "volume": 168, - "difficulty": 3.4615384615384612, - "effort": 581.5384615384614, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodsCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::calculateMethodCoverage": { - "line": 194, - "lineCount": 15, - "argCount": 2, - "returnCount": 2, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 11, - "N1": 9, - "N2": 23, - "programLength": 32, - "programVocabulary": 16, - "volume": 128, - "difficulty": 5.227272727272727, - "effort": 669.090909090909, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::calculateMethodCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodCoverageFromLines": { - "line": 215, - "lineCount": 36, - "argCount": 2, - "returnCount": 1, - "variableCount": 7, - "propertyCallCount": 0, - "ifNestingLevel": 2, - "elseCount": 0, - "ifCount": 5, - "halstead": { - "n1": 2, - "n2": 14, - "N1": 12, - "N2": 35, - "programLength": 47, - "programVocabulary": 16, - "volume": 188, - "difficulty": 2.5, - "effort": 470, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodCoverageFromLines" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStart": { - "line": 252, - "lineCount": 4, - "argCount": 3, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 3, - "N2": 7, - "programLength": 10, - "programVocabulary": 6, - "volume": 25.84962500721156, - "difficulty": 1.75, - "effort": 45.23684376262023, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStart" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodEnd": { - "line": 257, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 5, - "programLength": 7, - "programVocabulary": 5, - "volume": 16.253496664211536, - "difficulty": 1.6666666666666667, - "effort": 27.089161107019226, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodEnd" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStatement": { - "line": 262, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 5, - "programLength": 7, - "programVocabulary": 5, - "volume": 16.253496664211536, - "difficulty": 1.6666666666666667, - "effort": 27.089161107019226, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStatement" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isStatementCovered": { - "line": 267, - "lineCount": 5, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 4, - "N1": 3, - "N2": 6, - "programLength": 9, - "programVocabulary": 7, - "volume": 25.26619429851844, - "difficulty": 2.25, - "effort": 56.848937171666485, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isStatementCovered" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getLineCoverage": { - "line": 20, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 9, - "volume": 44.37895002019237, - "difficulty": 2.5, - "effort": 110.94737505048093, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getLineCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getBranchCoverage": { - "line": 34, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 9, - "volume": 44.37895002019237, - "difficulty": 2.5, - "effort": 110.94737505048093, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getBranchCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getComplexity": { - "line": 48, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 9, - "volume": 44.37895002019237, - "difficulty": 2.5, - "effort": 110.94737505048093, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getComplexity" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getCoverageDetails": { - "line": 62, - "lineCount": 13, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 8, - "N1": 7, - "N2": 16, - "programLength": 23, - "programVocabulary": 9, - "volume": 72.90827503317318, - "difficulty": 1, - "effort": 72.90827503317318, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getCoverageDetails" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::extractMethodsCoverage": { - "line": 81, - "lineCount": 23, - "argCount": 1, - "returnCount": 2, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 11, - "N1": 10, - "N2": 23, - "programLength": 33, - "programVocabulary": 14, - "volume": 125.64271242790093, - "difficulty": 3.1363636363636362, - "effort": 394.061234432962, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::extractMethodsCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CodeCoverageFactory::createFromName": { - "line": 14, - "lineCount": 8, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 4, - "N1": 1, - "N2": 8, - "programLength": 9, - "programVocabulary": 5, - "volume": 20.89735285398626, - "difficulty": 1, - "effort": 20.89735285398626, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CodeCoverageFactory::createFromName" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::__construct": { - "line": 28, - "lineCount": 15, - "argCount": 6, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 6, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 7, - "N1": 6, - "N2": 18, - "programLength": 24, - "programVocabulary": 8, - "volume": 72, - "difficulty": 1.2857142857142858, - "effort": 92.57142857142858, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getName": { - "line": 44, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getName" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getFilename": { - "line": 49, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getFilename" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getLineRate": { - "line": 54, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getLineRate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getBranchRate": { - "line": 59, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getBranchRate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getComplexity": { - "line": 64, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getComplexity" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getMethods": { - "line": 72, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getMethods" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::__construct": { - "line": 17, - "lineCount": 11, - "argCount": 4, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 4, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 5, - "N1": 4, - "N2": 12, - "programLength": 16, - "programVocabulary": 6, - "volume": 41.3594000115385, - "difficulty": 1.2, - "effort": 49.631280013846194, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getName": { - "line": 29, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getName" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getLineRate": { - "line": 34, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getLineRate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getBranchRate": { - "line": 39, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getBranchRate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getComplexity": { - "line": 44, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getComplexity" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::calculateDeltas": { - "line": 19, - "lineCount": 14, - "argCount": 2, - "returnCount": 0, - "variableCount": 6, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 9, - "N1": 4, - "N2": 18, - "programLength": 22, - "programVocabulary": 11, - "volume": 76.10749561002054, - "difficulty": 2, - "effort": 152.21499122004107, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::calculateDeltas" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::loadBaseline": { - "line": 41, - "lineCount": 13, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 5, - "N2": 9, - "programLength": 14, - "programVocabulary": 8, - "volume": 42, - "difficulty": 2.7, - "effort": 113.4, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::loadBaseline" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::__construct": { - "line": 72, - "lineCount": 21, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 6, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 9, - "N1": 12, - "N2": 34, - "programLength": 46, - "programVocabulary": 12, - "volume": 164.90827503317317, - "difficulty": 5.666666666666666, - "effort": 934.4802251879812, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setRequiredMetricProperties": { - "line": 98, - "lineCount": 30, - "argCount": 1, - "returnCount": 0, - "variableCount": 6, - "propertyCallCount": 9, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 21, - "N1": 21, - "N2": 51, - "programLength": 72, - "programVocabulary": 24, - "volume": 330.1173000519232, - "difficulty": 3.6428571428571423, - "effort": 1202.570164474863, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setRequiredMetricProperties" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setOptionalMetricProperties": { - "line": 133, - "lineCount": 12, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 8, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 11, - "N1": 16, - "N2": 33, - "programLength": 49, - "programVocabulary": 13, - "volume": 181.32154618891352, - "difficulty": 3, - "effort": 543.9646385667405, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setOptionalMetricProperties" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setTimesChanged": { - "line": 146, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setTimesChanged" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertSame": { - "line": 151, - "lineCount": 14, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 6, - "N2": 8, - "programLength": 14, - "programVocabulary": 5, - "volume": 32.50699332842307, - "difficulty": 2.6666666666666665, - "effort": 86.68531554246152, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertSame" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::calculateDeltas": { - "line": 169, - "lineCount": 13, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 16, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 17, - "N2": 27, - "programLength": 44, - "programVocabulary": 4, - "volume": 88, - "difficulty": 13.5, - "effort": 1188, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::calculateDeltas" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::fromArray": { - "line": 187, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::fromArray" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertArrayKeyIsPresent": { - "line": 197, - "lineCount": 6, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 5, - "programLength": 5, - "programVocabulary": 2, - "volume": 5, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertArrayKeyIsPresent" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getClass": { - "line": 204, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getMethod": { - "line": 209, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getMethod" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCount": { - "line": 214, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCount": { - "line": 219, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCount": { - "line": 224, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCount": { - "line": 229, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCount": { - "line": 234, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCount": { - "line": 239, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevel": { - "line": 244, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevel" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCount": { - "line": 249, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeight": { - "line": 254, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setLineCountWeight": { - "line": 259, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setLineCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeight": { - "line": 264, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setArgCountWeight": { - "line": 269, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setArgCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeight": { - "line": 274, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setReturnCountWeight": { - "line": 279, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setReturnCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeight": { - "line": 284, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setVariableCountWeight": { - "line": 289, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setVariableCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeight": { - "line": 294, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setPropertyCallCountWeight": { - "line": 299, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setPropertyCallCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeight": { - "line": 304, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfCountWeight": { - "line": 309, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeight": { - "line": 314, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfNestingLevelWeight": { - "line": 319, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfNestingLevelWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeight": { - "line": 324, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setElseCountWeight": { - "line": 329, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setElseCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setScore": { - "line": 334, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setScore" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getScore": { - "line": 339, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getScore" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setCoverage": { - "line": 344, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCoverage": { - "line": 349, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeightDelta": { - "line": 354, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeightDelta": { - "line": 359, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeightDelta": { - "line": 364, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeightDelta": { - "line": 369, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeightDelta": { - "line": 374, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeightDelta": { - "line": 379, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeightDelta": { - "line": 384, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeightDelta": { - "line": 389, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getTimesChanged": { - "line": 394, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 2, - "programLength": 3, - "programVocabulary": 3, - "volume": 4.754887502163468, - "difficulty": 0.5, - "effort": 2.377443751081734, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getTimesChanged" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getFileName": { - "line": 399, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getFileName" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLine": { - "line": 404, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLine" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::equals": { - "line": 409, - "lineCount": 5, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 2, - "N1": 5, - "N2": 5, - "programLength": 10, - "programVocabulary": 5, - "volume": 23.21928094887362, - "difficulty": 3.75, - "effort": 87.07230355827608, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::equals" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::toArray": { - "line": 418, - "lineCount": 34, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 29, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 30, - "N1": 0, - "N2": 58, - "programLength": 58, - "programVocabulary": 30, - "volume": 284.5996545452941, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::toArray" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::jsonSerialize": { - "line": 456, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::jsonSerialize" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getHalstead": { - "line": 464, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getHalstead" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCyclomatic": { - "line": 472, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCyclomatic" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::add": { - "line": 30, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 5, - "N2": 6, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 3, - "effort": 85.30376252379816, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::add" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filter": { - "line": 40, - "lineCount": 11, - "argCount": 1, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 8, - "volume": 42, - "difficulty": 3, - "effort": 126, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filter" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getIterator": { - "line": 57, - "lineCount": 5, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getIterator" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::count": { - "line": 66, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::count" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterWithScoreGreaterThan": { - "line": 71, - "lineCount": 6, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 3, - "N2": 6, - "programLength": 9, - "programVocabulary": 5, - "volume": 20.89735285398626, - "difficulty": 2, - "effort": 41.79470570797252, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterWithScoreGreaterThan" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::contains": { - "line": 78, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 4, - "N2": 5, - "programLength": 9, - "programVocabulary": 5, - "volume": 20.89735285398626, - "difficulty": 1.6666666666666667, - "effort": 34.82892142331043, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::contains" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getClassWithMethod": { - "line": 83, - "lineCount": 9, - "argCount": 2, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 3, - "N2": 10, - "programLength": 13, - "programVocabulary": 7, - "volume": 36.49561398674886, - "difficulty": 2, - "effort": 72.99122797349771, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getClassWithMethod" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterByClassName": { - "line": 93, - "lineCount": 6, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 3, - "N2": 6, - "programLength": 9, - "programVocabulary": 5, - "volume": 20.89735285398626, - "difficulty": 2, - "effort": 41.79470570797252, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterByClassName" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::assertMetricHasGetter": { - "line": 100, - "lineCount": 9, - "argCount": 3, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 6, - "programLength": 7, - "programVocabulary": 4, - "volume": 14, - "difficulty": 1, - "effort": 14, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::assertMetricHasGetter" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::groupBy": { - "line": 117, - "lineCount": 20, - "argCount": 1, - "returnCount": 1, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 10, - "N2": 23, - "programLength": 33, - "programVocabulary": 11, - "volume": 114.16124341503081, - "difficulty": 6.571428571428571, - "effort": 750.2024567273453, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::groupBy" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::jsonSerialize": { - "line": 141, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::jsonSerialize" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::__construct": { - "line": 32, - "lineCount": 8, - "argCount": 5, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 5, - "N1": 0, - "N2": 5, - "programLength": 5, - "programVocabulary": 5, - "volume": 11.60964047443681, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collect": { - "line": 49, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 5, - "programLength": 6, - "programVocabulary": 4, - "volume": 12, - "difficulty": 0.8333333333333334, - "effort": 10, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collect" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collectFromPaths": { - "line": 62, - "lineCount": 13, - "argCount": 2, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 8, - "N2": 16, - "programLength": 24, - "programVocabulary": 9, - "volume": 76.07820003461549, - "difficulty": 4, - "effort": 304.31280013846197, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collectFromPaths" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCodeFromFile": { - "line": 79, - "lineCount": 10, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 2, - "N1": 5, - "N2": 6, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 6, - "effort": 170.6075250475963, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCodeFromFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findMetrics": { - "line": 98, - "lineCount": 31, - "argCount": 1, - "returnCount": 1, - "variableCount": 9, - "propertyCallCount": 2, - "ifNestingLevel": 2, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 13, - "N1": 18, - "N2": 38, - "programLength": 56, - "programVocabulary": 16, - "volume": 224, - "difficulty": 4.384615384615384, - "effort": 982.1538461538461, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findMetrics" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processMethodMetrics": { - "line": 136, - "lineCount": 29, - "argCount": 3, - "returnCount": 1, - "variableCount": 7, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 14, - "N1": 8, - "N2": 27, - "programLength": 35, - "programVocabulary": 17, - "volume": 143.06119944376186, - "difficulty": 2.892857142857143, - "effort": 413.8556126765968, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processMethodMetrics" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::isExcluded": { - "line": 166, - "lineCount": 12, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 5, - "N1": 5, - "N2": 9, - "programLength": 14, - "programVocabulary": 9, - "volume": 44.37895002019237, - "difficulty": 3.6, - "effort": 159.76422007269252, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::isExcluded" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findSourceFiles": { - "line": 187, - "lineCount": 7, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 2, - "N2": 6, - "programLength": 8, - "programVocabulary": 6, - "volume": 20.67970000576925, - "difficulty": 1.5, - "effort": 31.019550008653873, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findSourceFiles" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getProjectRoot": { - "line": 202, - "lineCount": 13, - "argCount": 0, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 2, - "N1": 8, - "N2": 8, - "programLength": 16, - "programVocabulary": 6, - "volume": 41.3594000115385, - "difficulty": 8, - "effort": 330.875200092308, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getProjectRoot" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateCacheKey": { - "line": 219, - "lineCount": 7, - "argCount": 2, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 6, - "N1": 10, - "N2": 12, - "programLength": 22, - "programVocabulary": 10, - "volume": 73.08241808752197, - "difficulty": 4, - "effort": 292.3296723500879, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateCacheKey" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateConfigHash": { - "line": 230, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 1, - "N1": 3, - "N2": 2, - "programLength": 5, - "programVocabulary": 3, - "volume": 7.92481250360578, - "difficulty": 2, - "effort": 15.84962500721156, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateConfigHash" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::cacheResult": { - "line": 239, - "lineCount": 14, - "argCount": 4, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 13, - "N1": 5, - "N2": 20, - "programLength": 25, - "programVocabulary": 15, - "volume": 97.67226489021297, - "difficulty": 1.5384615384615385, - "effort": 150.26502290801997, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::cacheResult" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::clearCache": { - "line": 254, - "lineCount": 4, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::clearCache" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::normalizeFilename": { - "line": 264, - "lineCount": 15, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 6, - "n2": 7, - "N1": 12, - "N2": 16, - "programLength": 28, - "programVocabulary": 13, - "volume": 103.61231210795059, - "difficulty": 6.857142857142857, - "effort": 710.4844258830897, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::normalizeFilename" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCachedMetrics": { - "line": 286, - "lineCount": 19, - "argCount": 3, - "returnCount": 3, - "variableCount": 4, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 11, - "N1": 10, - "N2": 29, - "programLength": 39, - "programVocabulary": 14, - "volume": 148.48684196024655, - "difficulty": 3.954545454545454, - "effort": 587.1979659337022, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCachedMetrics" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processFile": { - "line": 312, - "lineCount": 37, - "argCount": 5, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 7, - "n2": 10, - "N1": 12, - "N2": 28, - "programLength": 40, - "programVocabulary": 17, - "volume": 163.49851365001356, - "difficulty": 9.799999999999999, - "effort": 1602.2854337701328, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::sort": { - "line": 51, - "lineCount": 41, - "argCount": 3, - "returnCount": 2, - "variableCount": 10, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 18, - "N1": 20, - "N2": 43, - "programLength": 63, - "programVocabulary": 22, - "volume": 280.9441919741497, - "difficulty": 4.777777777777778, - "effort": 1342.2889172098264, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::sort" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getFieldValue": { - "line": 100, - "lineCount": 28, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 25, - "N1": 24, - "N2": 50, - "programLength": 74, - "programVocabulary": 27, - "volume": 351.86167516009664, - "difficulty": 2, - "effort": 703.7233503201933, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getFieldValue" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::compareValues": { - "line": 136, - "lineCount": 13, - "argCount": 2, - "returnCount": 3, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 2, - "N1": 9, - "N2": 12, - "programLength": 21, - "programVocabulary": 5, - "volume": 48.760489992634604, - "difficulty": 9, - "effort": 438.8444099337114, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::compareValues" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getSortableFields": { - "line": 155, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 0, - "N1": 0, - "N2": 0, - "programLength": 0, - "programVocabulary": 0, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getSortableFields" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__construct": { - "line": 15, - "lineCount": 11, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 7, - "N2": 12, - "programLength": 19, - "programVocabulary": 6, - "volume": 49.11428751370197, - "difficulty": 6, - "effort": 294.6857250822118, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::getValue": { - "line": 27, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::getValue" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasIncreased": { - "line": 32, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasIncreased" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__toString": { - "line": 37, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__toString" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasNotChanged": { - "line": 42, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 2, - "programLength": 3, - "programVocabulary": 3, - "volume": 4.754887502163468, - "difficulty": 0.5, - "effort": 2.377443751081734, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasNotChanged" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\FileProcessed::__construct": { - "line": 14, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\FileProcessed::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\ParserFailed::__construct": { - "line": 15, - "lineCount": 5, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\ParserFailed::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\SourceFilesFound::__construct": { - "line": 17, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\SourceFilesFound::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::__construct": { - "line": 15, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::create": { - "line": 27, - "lineCount": 10, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 6, - "N1": 0, - "N2": 8, - "programLength": 8, - "programVocabulary": 6, - "volume": 20.67970000576925, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::create" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::getSupportedTypes": { - "line": 43, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 4, - "N1": 0, - "N2": 4, - "programLength": 4, - "programVocabulary": 4, - "volume": 8, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::getSupportedTypes" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::isSupported": { - "line": 54, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 2, - "N2": 3, - "programLength": 5, - "programVocabulary": 4, - "volume": 10, - "difficulty": 1.5, - "effort": 15, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::isSupported" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CsvExporter::export": { - "line": 46, - "lineCount": 57, - "argCount": 2, - "returnCount": 0, - "variableCount": 6, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 15, - "N1": 37, - "N2": 54, - "programLength": 91, - "programVocabulary": 19, - "volume": 386.56140372336625, - "difficulty": 7.2, - "effort": 2783.242106808237, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CsvExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::export": { - "line": 40, - "lineCount": 8, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "cyclomatic_complexity": { - "complexity": 2, - "risk_level": "low" - }, - "halstead": { - "n1": 4, - "n2": 5, - "N1": 4, - "N2": 8, - "programLength": 12, - "programVocabulary": 9, - "volume": 38.039100017307746, - "difficulty": 3.2, - "effort": 121.72512005538479, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::escape": { - "line": 49, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::escape" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::formatNumber": { - "line": 54, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::formatNumber" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::generateMetricRow": { - "line": 59, - "lineCount": 12, - "argCount": 3, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "cyclomatic_complexity": { - "complexity": 3, - "risk_level": "low" - }, - "halstead": { - "n1": 5, - "n2": 16, - "N1": 19, - "N2": 27, - "programLength": 46, - "programVocabulary": 21, - "volume": 202.04660144782298, - "difficulty": 4.21875, - "effort": 852.3840998580032, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::generateMetricRow" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::generateHtml": { - "line": 78, - "lineCount": 64, - "argCount": 1, - "returnCount": 1, - "variableCount": 7, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "cyclomatic_complexity": { - "complexity": 5, - "risk_level": "low" - }, - "halstead": { - "n1": 4, - "n2": 11, - "N1": 46, - "N2": 57, - "programLength": 103, - "programVocabulary": 15, - "volume": 402.40973134767745, - "difficulty": 10.363636363636363, - "effort": 4170.42812487593, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::generateHtml" - } - } - }, - "ignored_items": [], - "cached_at": 1759967601 -} \ No newline at end of file diff --git a/.phpcca.cache/61/61ae7eaf2b7441f3ac1ec0a306c52300.cache b/.phpcca.cache/61/61ae7eaf2b7441f3ac1ec0a306c52300.cache deleted file mode 100644 index 29a2ac0..0000000 --- a/.phpcca.cache/61/61ae7eaf2b7441f3ac1ec0a306c52300.cache +++ /dev/null @@ -1,2364 +0,0 @@ -{ - "version": "1.0", - "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/Config\/CacheConfig.php", - "file_mtime": 1759965497, - "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", - "analysis_result": { - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::__construct": { - "line": 26, - "lineCount": 5, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 4, - "N1": 3, - "N2": 6, - "programLength": 9, - "programVocabulary": 7, - "volume": 25.26619429851844, - "difficulty": 2.25, - "effort": 56.848937171666485, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItem": { - "line": 35, - "lineCount": 15, - "argCount": 1, - "returnCount": 3, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 6, - "N2": 13, - "programLength": 19, - "programVocabulary": 8, - "volume": 57, - "difficulty": 6.5, - "effort": 370.5, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItem" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItems": { - "line": 55, - "lineCount": 9, - "argCount": 1, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 3, - "N2": 9, - "programLength": 12, - "programVocabulary": 6, - "volume": 31.019550008653873, - "difficulty": 2.25, - "effort": 69.79398751947122, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItems" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::hasItem": { - "line": 68, - "lineCount": 6, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 5, - "n2": 3, - "N1": 6, - "N2": 7, - "programLength": 13, - "programVocabulary": 8, - "volume": 39, - "difficulty": 5.833333333333334, - "effort": 227.50000000000003, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::hasItem" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::clear": { - "line": 75, - "lineCount": 10, - "argCount": 0, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 2, - "N2": 4, - "programLength": 6, - "programVocabulary": 3, - "volume": 9.509775004326936, - "difficulty": 1, - "effort": 9.509775004326936, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::clear" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItem": { - "line": 89, - "lineCount": 10, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 4, - "N2": 6, - "programLength": 10, - "programVocabulary": 6, - "volume": 25.84962500721156, - "difficulty": 3, - "effort": 77.54887502163469, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItem" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItems": { - "line": 103, - "lineCount": 10, - "argCount": 1, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 3, - "N2": 8, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 2, - "effort": 56.86917501586544, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItems" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::save": { - "line": 117, - "lineCount": 11, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 4, - "N1": 9, - "N2": 12, - "programLength": 21, - "programVocabulary": 7, - "volume": 58.95445336320969, - "difficulty": 4.5, - "effort": 265.2950401344436, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::save" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveDeferred": { - "line": 129, - "lineCount": 6, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveDeferred" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::commit": { - "line": 136, - "lineCount": 11, - "argCount": 0, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 4, - "N2": 8, - "programLength": 12, - "programVocabulary": 5, - "volume": 27.863137138648348, - "difficulty": 2.6666666666666665, - "effort": 74.30169903639559, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::commit" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::ensureCacheDirectory": { - "line": 152, - "lineCount": 9, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 3, - "N2": 4, - "programLength": 7, - "programVocabulary": 4, - "volume": 14, - "difficulty": 2, - "effort": 28, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::ensureCacheDirectory" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getCacheFilePath": { - "line": 168, - "lineCount": 15, - "argCount": 1, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 10, - "N1": 13, - "N2": 19, - "programLength": 32, - "programVocabulary": 14, - "volume": 121.83535750584333, - "difficulty": 3.8, - "effort": 462.9743585222046, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getCacheFilePath" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::loadCacheData": { - "line": 187, - "lineCount": 14, - "argCount": 1, - "returnCount": 3, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 6, - "N2": 8, - "programLength": 14, - "programVocabulary": 6, - "volume": 36.18947501009619, - "difficulty": 4, - "effort": 144.75790004038475, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::loadCacheData" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveCacheData": { - "line": 209, - "lineCount": 21, - "argCount": 2, - "returnCount": 3, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 6, - "n2": 7, - "N1": 13, - "N2": 17, - "programLength": 30, - "programVocabulary": 13, - "volume": 111.01319154423277, - "difficulty": 7.285714285714285, - "effort": 808.810395536553, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveCacheData" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::sanitizeUtf8": { - "line": 234, - "lineCount": 25, - "argCount": 1, - "returnCount": 4, - "variableCount": 6, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 8, - "N1": 13, - "N2": 29, - "programLength": 42, - "programVocabulary": 11, - "volume": 145.29612798276648, - "difficulty": 5.4375, - "effort": 790.0476959062927, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::sanitizeUtf8" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::removeDirectory": { - "line": 260, - "lineCount": 23, - "argCount": 1, - "returnCount": 2, - "variableCount": 5, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 5, - "n2": 9, - "N1": 13, - "N2": 20, - "programLength": 33, - "programVocabulary": 14, - "volume": 125.64271242790093, - "difficulty": 5.555555555555555, - "effort": 698.0150690438941, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::removeDirectory" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::__construct": { - "line": 42, - "lineCount": 7, - "argCount": 3, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 3, - "N1": 0, - "N2": 3, - "programLength": 3, - "programVocabulary": 3, - "volume": 4.754887502163468, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::configure": { - "line": 53, - "lineCount": 57, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 15, - "N1": 9, - "N2": 16, - "programLength": 25, - "programVocabulary": 16, - "volume": 100, - "difficulty": 0.5333333333333333, - "effort": 53.333333333333336, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::configure" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::execute": { - "line": 119, - "lineCount": 43, - "argCount": 2, - "returnCount": 5, - "variableCount": 9, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 4, - "halstead": { - "n1": 7, - "n2": 14, - "N1": 31, - "N2": 45, - "programLength": 76, - "programVocabulary": 21, - "volume": 333.8161241311858, - "difficulty": 11.25, - "effort": 3755.4313964758403, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::execute" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::loadCoverageReader": { - "line": 171, - "lineCount": 32, - "argCount": 3, - "returnCount": 4, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 2, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 4, - "n2": 9, - "N1": 9, - "N2": 21, - "programLength": 30, - "programVocabulary": 13, - "volume": 111.01319154423277, - "difficulty": 4.666666666666667, - "effort": 518.0615605397529, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::loadCoverageReader" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::detectCoverageFormat": { - "line": 207, - "lineCount": 19, - "argCount": 1, - "returnCount": 4, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 9, - "volume": 47.548875021634686, - "difficulty": 2.5, - "effort": 118.87218755408671, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::detectCoverageFormat" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::coverageFileExists": { - "line": 227, - "lineCount": 20, - "argCount": 2, - "returnCount": 3, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 4, - "N2": 7, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 3.5, - "effort": 99.52105627776452, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::coverageFileExists" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::__construct": { - "line": 49, - "lineCount": 10, - "argCount": 6, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 6, - "N1": 0, - "N2": 6, - "programLength": 6, - "programVocabulary": 6, - "volume": 15.509775004326936, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::configure": { - "line": 63, - "lineCount": 76, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 20, - "N1": 13, - "N2": 20, - "programLength": 33, - "programVocabulary": 21, - "volume": 144.94647495169912, - "difficulty": 0.5, - "effort": 72.47323747584956, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::configure" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::execute": { - "line": 150, - "lineCount": 52, - "argCount": 2, - "returnCount": 5, - "variableCount": 11, - "propertyCallCount": 6, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 7, - "halstead": { - "n1": 6, - "n2": 15, - "N1": 43, - "N2": 61, - "programLength": 104, - "programVocabulary": 21, - "volume": 456.80101196899113, - "difficulty": 12.2, - "effort": 5572.972346021692, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::execute" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::parsePaths": { - "line": 209, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 4, - "N2": 8, - "programLength": 12, - "programVocabulary": 7, - "volume": 33.68825906469125, - "difficulty": 1.6, - "effort": 53.901214503506004, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::parsePaths" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleBaseLine": { - "line": 224, - "lineCount": 8, - "argCount": 2, - "returnCount": 0, - "variableCount": 3, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 5, - "N2": 11, - "programLength": 16, - "programVocabulary": 7, - "volume": 44.91767875292167, - "difficulty": 2.2, - "effort": 98.81889325642767, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleBaseLine" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleCoverageOptions": { - "line": 238, - "lineCount": 20, - "argCount": 2, - "returnCount": 3, - "variableCount": 5, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 5, - "n2": 10, - "N1": 15, - "N2": 25, - "programLength": 40, - "programVocabulary": 15, - "volume": 156.27562382434076, - "difficulty": 6.25, - "effort": 976.7226489021298, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleCoverageOptions" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::applySorting": { - "line": 264, - "lineCount": 21, - "argCount": 3, - "returnCount": 3, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 15, - "N1": 16, - "N2": 32, - "programLength": 48, - "programVocabulary": 20, - "volume": 207.45254855459342, - "difficulty": 5.333333333333333, - "effort": 1106.4135922911648, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::applySorting" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadConfiguration": { - "line": 293, - "lineCount": 10, - "argCount": 2, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 6, - "N1": 5, - "N2": 9, - "programLength": 14, - "programVocabulary": 8, - "volume": 42, - "difficulty": 1.5, - "effort": 63, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadConfiguration" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadCoverageReader": { - "line": 313, - "lineCount": 28, - "argCount": 3, - "returnCount": 4, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 2, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 10, - "N2": 18, - "programLength": 28, - "programVocabulary": 11, - "volume": 96.86408532184433, - "difficulty": 5.142857142857143, - "effort": 498.15815308377086, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadCoverageReader" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::detectCoverageFormat": { - "line": 345, - "lineCount": 19, - "argCount": 1, - "returnCount": 4, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 9, - "volume": 47.548875021634686, - "difficulty": 2.5, - "effort": 118.87218755408671, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::detectCoverageFormat" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::coverageFileExists": { - "line": 365, - "lineCount": 20, - "argCount": 2, - "returnCount": 3, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 4, - "N2": 7, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 3.5, - "effort": 99.52105627776452, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::coverageFileExists" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__construct": { - "line": 12, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__invoke": { - "line": 17, - "lineCount": 22, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 3, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 10, - "N2": 11, - "programLength": 21, - "programVocabulary": 7, - "volume": 58.95445336320969, - "difficulty": 2.2, - "effort": 129.6997973990613, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__invoke" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__construct": { - "line": 21, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__invoke": { - "line": 26, - "lineCount": 11, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 4, - "N2": 9, - "programLength": 13, - "programVocabulary": 4, - "volume": 26, - "difficulty": 4.5, - "effort": 117, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__invoke" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleSourceFilesFound": { - "line": 38, - "lineCount": 6, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 4, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 6, - "N2": 10, - "programLength": 16, - "programVocabulary": 8, - "volume": 48, - "difficulty": 5, - "effort": 240, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleSourceFilesFound" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleFileProcessed": { - "line": 45, - "lineCount": 5, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleFileProcessed" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleAllFilesProcessed": { - "line": 51, - "lineCount": 6, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 3, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 3, - "N2": 5, - "programLength": 8, - "programVocabulary": 5, - "volume": 18.575424759098897, - "difficulty": 1.6666666666666667, - "effort": 30.95904126516483, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleAllFilesProcessed" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__construct": { - "line": 20, - "lineCount": 5, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__invoke": { - "line": 26, - "lineCount": 17, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 5, - "n2": 8, - "N1": 17, - "N2": 17, - "programLength": 34, - "programVocabulary": 13, - "volume": 125.81495041679713, - "difficulty": 5.3125, - "effort": 668.3919240892347, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__invoke" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::formatBytes": { - "line": 50, - "lineCount": 12, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 7, - "n2": 13, - "N1": 10, - "N2": 22, - "programLength": 32, - "programVocabulary": 20, - "volume": 138.3016990363956, - "difficulty": 5.923076923076923, - "effort": 819.1716019848047, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::formatBytes" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::isDebugEnabled": { - "line": 66, - "lineCount": 5, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 1, - "N1": 4, - "N2": 2, - "programLength": 6, - "programVocabulary": 4, - "volume": 12, - "difficulty": 3, - "effort": 36, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::isDebugEnabled" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::__construct": { - "line": 20, - "lineCount": 6, - "argCount": 2, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 4, - "volume": 8, - "difficulty": 0.5, - "effort": 4, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::exportToFile": { - "line": 32, - "lineCount": 27, - "argCount": 3, - "returnCount": 4, - "variableCount": 2, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 1, - "n2": 6, - "N1": 6, - "N2": 19, - "programLength": 25, - "programVocabulary": 7, - "volume": 70.1838730514401, - "difficulty": 1.5833333333333333, - "effort": 111.12446566478016, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::exportToFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::hasIncompleteReportOptions": { - "line": 60, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 2, - "N1": 7, - "N2": 6, - "programLength": 13, - "programVocabulary": 6, - "volume": 33.60451250937503, - "difficulty": 6, - "effort": 201.62707505625016, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::hasIncompleteReportOptions" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::isValidReportType": { - "line": 65, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 2, - "N2": 4, - "programLength": 6, - "programVocabulary": 4, - "volume": 12, - "difficulty": 2, - "effort": 24, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::isValidReportType" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleExceptions": { - "line": 77, - "lineCount": 9, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 3, - "N2": 4, - "programLength": 7, - "programVocabulary": 5, - "volume": 16.253496664211536, - "difficulty": 1.3333333333333333, - "effort": 21.67132888561538, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleExceptions" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleInvalidReportType": { - "line": 91, - "lineCount": 11, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 5, - "N2": 8, - "programLength": 13, - "programVocabulary": 8, - "volume": 39, - "difficulty": 2.4000000000000004, - "effort": 93.60000000000001, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleInvalidReportType" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::__construct": { - "line": 15, - "lineCount": 5, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handle": { - "line": 24, - "lineCount": 27, - "argCount": 3, - "returnCount": 4, - "variableCount": 2, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 1, - "n2": 6, - "N1": 6, - "N2": 19, - "programLength": 25, - "programVocabulary": 7, - "volume": 70.1838730514401, - "difficulty": 1.5833333333333333, - "effort": 111.12446566478016, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handle" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::hasIncompleteReportOptions": { - "line": 52, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 2, - "N1": 7, - "N2": 6, - "programLength": 13, - "programVocabulary": 6, - "volume": 33.60451250937503, - "difficulty": 6, - "effort": 201.62707505625016, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::hasIncompleteReportOptions" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::isValidReportType": { - "line": 57, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 5, - "N1": 1, - "N2": 6, - "programLength": 7, - "programVocabulary": 6, - "volume": 18.094737505048094, - "difficulty": 0.6, - "effort": 10.856842503028856, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::isValidReportType" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handleExceptions": { - "line": 66, - "lineCount": 9, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 3, - "N2": 4, - "programLength": 7, - "programVocabulary": 5, - "volume": 16.253496664211536, - "difficulty": 1.3333333333333333, - "effort": 21.67132888561538, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handleExceptions" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handleInvalidReporType": { - "line": 80, - "lineCount": 9, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 4, - "programLength": 6, - "programVocabulary": 5, - "volume": 13.931568569324174, - "difficulty": 1.3333333333333333, - "effort": 18.575424759098897, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handleInvalidReporType" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::__construct": { - "line": 42, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::reportWritten": { - "line": 47, - "lineCount": 7, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 4, - "programLength": 6, - "programVocabulary": 5, - "volume": 13.931568569324174, - "difficulty": 1.3333333333333333, - "effort": 18.575424759098897, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::reportWritten" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::renderChurnTable": { - "line": 59, - "lineCount": 35, - "argCount": 1, - "returnCount": 0, - "variableCount": 6, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 8, - "n2": 18, - "N1": 21, - "N2": 53, - "programLength": 74, - "programVocabulary": 26, - "volume": 347.8325391424408, - "difficulty": 11.777777777777779, - "effort": 4096.694349899859, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::renderChurnTable" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricSummaryTextRenderer::__construct": { - "line": 18, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricSummaryTextRenderer::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricSummaryTextRenderer::render": { - "line": 23, - "lineCount": 32, - "argCount": 2, - "returnCount": 0, - "variableCount": 6, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 6, - "n2": 16, - "N1": 27, - "N2": 38, - "programLength": 65, - "programVocabulary": 22, - "volume": 289.86305521142435, - "difficulty": 7.125, - "effort": 2065.2742683813985, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricSummaryTextRenderer::render" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::__construct": { - "line": 27, - "lineCount": 5, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::metricExceedsThreshold": { - "line": 33, - "lineCount": 6, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 2, - "N1": 3, - "N2": 5, - "programLength": 8, - "programVocabulary": 5, - "volume": 18.575424759098897, - "difficulty": 3.75, - "effort": 69.65784284662087, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::metricExceedsThreshold" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::hasCoverageInCollection": { - "line": 43, - "lineCount": 10, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 2, - "N2": 4, - "programLength": 6, - "programVocabulary": 4, - "volume": 12, - "difficulty": 2, - "effort": 24, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::hasCoverageInCollection" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::render": { - "line": 58, - "lineCount": 17, - "argCount": 2, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 6, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 9, - "N2": 25, - "programLength": 34, - "programVocabulary": 6, - "volume": 87.8887250245193, - "difficulty": 6.25, - "effort": 549.3045314032456, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::render" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderGroupedByClass": { - "line": 81, - "lineCount": 19, - "argCount": 3, - "returnCount": 0, - "variableCount": 6, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 5, - "n2": 11, - "N1": 11, - "N2": 25, - "programLength": 36, - "programVocabulary": 16, - "volume": 144, - "difficulty": 5.6818181818181825, - "effort": 818.1818181818182, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderGroupedByClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::buildRowsForClass": { - "line": 106, - "lineCount": 13, - "argCount": 2, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 4, - "N2": 12, - "programLength": 16, - "programVocabulary": 7, - "volume": 44.91767875292167, - "difficulty": 2.4, - "effort": 107.802429007012, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::buildRowsForClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::getFilenameFromMetrics": { - "line": 123, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 5, - "programLength": 6, - "programVocabulary": 4, - "volume": 12, - "difficulty": 0.8333333333333334, - "effort": 10, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::getFilenameFromMetrics" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderAllMethodsInSingleTable": { - "line": 136, - "lineCount": 12, - "argCount": 3, - "returnCount": 0, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 6, - "N2": 15, - "programLength": 21, - "programVocabulary": 11, - "volume": 72.64806399138324, - "difficulty": 4.285714285714286, - "effort": 311.34884567735673, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderAllMethodsInSingleTable" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::buildRowsForSingleTable": { - "line": 154, - "lineCount": 13, - "argCount": 2, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 4, - "N2": 12, - "programLength": 16, - "programVocabulary": 7, - "volume": 44.91767875292167, - "difficulty": 2.4, - "effort": 107.802429007012, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::buildRowsForSingleTable" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderTableCommon": { - "line": 173, - "lineCount": 19, - "argCount": 4, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 8, - "N1": 7, - "N2": 19, - "programLength": 26, - "programVocabulary": 10, - "volume": 86.37013046707142, - "difficulty": 2.375, - "effort": 205.1290598592946, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderTableCommon" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderTable": { - "line": 196, - "lineCount": 13, - "argCount": 4, - "returnCount": 0, - "variableCount": 3, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 7, - "N1": 4, - "N2": 14, - "programLength": 18, - "programVocabulary": 9, - "volume": 57.05865002596162, - "difficulty": 2, - "effort": 114.11730005192324, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderTable" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderSingleTable": { - "line": 213, - "lineCount": 11, - "argCount": 3, - "returnCount": 0, - "variableCount": 3, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 6, - "N1": 4, - "N2": 12, - "programLength": 16, - "programVocabulary": 8, - "volume": 48, - "difficulty": 2, - "effort": 96, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderSingleTable" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::__construct": { - "line": 16, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatScore": { - "line": 21, - "lineCount": 6, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 6, - "N1": 5, - "N2": 9, - "programLength": 14, - "programVocabulary": 8, - "volume": 42, - "difficulty": 1.5, - "effort": 63, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatScore" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadVolume": { - "line": 28, - "lineCount": 14, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 10, - "N1": 9, - "N2": 17, - "programLength": 26, - "programVocabulary": 15, - "volume": 101.57915548582149, - "difficulty": 4.25, - "effort": 431.7114108147413, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadVolume" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadDifficulty": { - "line": 43, - "lineCount": 13, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 10, - "N1": 8, - "N2": 17, - "programLength": 25, - "programVocabulary": 14, - "volume": 95.1838730514401, - "difficulty": 3.4, - "effort": 323.62516837489636, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadDifficulty" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadEffort": { - "line": 57, - "lineCount": 13, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 10, - "N1": 8, - "N2": 17, - "programLength": 25, - "programVocabulary": 14, - "volume": 95.1838730514401, - "difficulty": 3.4, - "effort": 323.62516837489636, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadEffort" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatCyclomaticComplexity": { - "line": 71, - "lineCount": 13, - "argCount": 1, - "returnCount": 3, - "variableCount": 4, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 5, - "n2": 9, - "N1": 9, - "N2": 18, - "programLength": 27, - "programVocabulary": 14, - "volume": 102.79858289555531, - "difficulty": 5, - "effort": 513.9929144777766, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatCyclomaticComplexity" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::colorCyclomaticRisk": { - "line": 85, - "lineCount": 8, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 7, - "N1": 5, - "N2": 11, - "programLength": 16, - "programVocabulary": 9, - "volume": 50.718800023076994, - "difficulty": 1.5714285714285714, - "effort": 79.70097146483528, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::colorCyclomaticRisk" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::__construct": { - "line": 17, - "lineCount": 5, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::getGroupedTableHeaders": { - "line": 28, - "lineCount": 16, - "argCount": 0, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 10, - "N2": 17, - "programLength": 27, - "programVocabulary": 6, - "volume": 69.79398751947122, - "difficulty": 4.25, - "effort": 296.62444695775264, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::getGroupedTableHeaders" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCoverageHeader": { - "line": 49, - "lineCount": 10, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 6, - "programLength": 7, - "programVocabulary": 4, - "volume": 14, - "difficulty": 1, - "effort": 14, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCoverageHeader" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::getSingleTableHeaders": { - "line": 65, - "lineCount": 20, - "argCount": 0, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 6, - "N1": 9, - "N2": 18, - "programLength": 27, - "programVocabulary": 8, - "volume": 81, - "difficulty": 3, - "effort": 243, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::getSingleTableHeaders" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addHalsteadHeaders": { - "line": 92, - "lineCount": 10, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 1, - "n2": 5, - "N1": 3, - "N2": 9, - "programLength": 12, - "programVocabulary": 6, - "volume": 31.019550008653873, - "difficulty": 0.9, - "effort": 27.917595007788485, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addHalsteadHeaders" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCyclomaticHeaders": { - "line": 109, - "lineCount": 8, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 5, - "programLength": 6, - "programVocabulary": 4, - "volume": 12, - "difficulty": 0.8333333333333334, - "effort": 10, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCyclomaticHeaders" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCognitiveMetricDetails": { - "line": 122, - "lineCount": 16, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 10, - "N1": 2, - "N2": 13, - "programLength": 15, - "programVocabulary": 12, - "volume": 53.77443751081734, - "difficulty": 1.3, - "effort": 69.90676876406255, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCognitiveMetricDetails" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::__construct": { - "line": 21, - "lineCount": 6, - "argCount": 3, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 3, - "N1": 0, - "N2": 3, - "programLength": 3, - "programVocabulary": 3, - "volume": 4.754887502163468, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::buildRow": { - "line": 34, - "lineCount": 16, - "argCount": 1, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 10, - "N2": 24, - "programLength": 34, - "programVocabulary": 7, - "volume": 95.45006734995854, - "difficulty": 4.8, - "effort": 458.160323279801, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::buildRow" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::buildRowWithClassInfo": { - "line": 57, - "lineCount": 16, - "argCount": 1, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 10, - "N2": 24, - "programLength": 34, - "programVocabulary": 7, - "volume": 95.45006734995854, - "difficulty": 4.8, - "effort": 458.160323279801, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::buildRowWithClassInfo" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::metricsToArray": { - "line": 79, - "lineCount": 8, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 3, - "N2": 7, - "programLength": 10, - "programVocabulary": 6, - "volume": 25.84962500721156, - "difficulty": 1.75, - "effort": 45.23684376262023, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::metricsToArray" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::metricsToArrayWithClassInfo": { - "line": 93, - "lineCount": 9, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 4, - "N2": 9, - "programLength": 13, - "programVocabulary": 7, - "volume": 36.49561398674886, - "difficulty": 1.8, - "effort": 65.69210517614795, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::metricsToArrayWithClassInfo" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addHalsteadFields": { - "line": 109, - "lineCount": 10, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 6, - "N1": 6, - "N2": 16, - "programLength": 22, - "programVocabulary": 8, - "volume": 66, - "difficulty": 2.6666666666666665, - "effort": 176, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addHalsteadFields" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addCyclomaticFields": { - "line": 126, - "lineCount": 8, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 2, - "N2": 8, - "programLength": 10, - "programVocabulary": 6, - "volume": 25.84962500721156, - "difficulty": 2, - "effort": 51.69925001442312, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addCyclomaticFields" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addWeightedValue": { - "line": 141, - "lineCount": 10, - "argCount": 3, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 11, - "N1": 13, - "N2": 22, - "programLength": 35, - "programVocabulary": 15, - "volume": 136.74117084629816, - "difficulty": 4, - "effort": 546.9646833851926, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addWeightedValue" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addDelta": { - "line": 158, - "lineCount": 20, - "argCount": 3, - "returnCount": 3, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 6, - "n2": 13, - "N1": 19, - "N2": 30, - "programLength": 49, - "programVocabulary": 19, - "volume": 208.14844815873568, - "difficulty": 6.9230769230769225, - "effort": 1441.0277180220162, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::getKeys": { - "line": 184, - "lineCount": 17, - "argCount": 0, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 0, - "n2": 9, - "N1": 0, - "N2": 9, - "programLength": 9, - "programVocabulary": 9, - "volume": 28.52932501298081, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::getKeys" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::assertDeltaMethodExists": { - "line": 205, - "lineCount": 6, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 6, - "programLength": 8, - "programVocabulary": 5, - "volume": 18.575424759098897, - "difficulty": 2, - "effort": 37.150849518197795, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::assertDeltaMethodExists" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addCoverageValue": { - "line": 216, - "lineCount": 11, - "argCount": 2, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 7, - "N1": 7, - "N2": 15, - "programLength": 22, - "programVocabulary": 12, - "volume": 78.86917501586544, - "difficulty": 5.357142857142857, - "effort": 422.51343758499337, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addCoverageValue" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::extracted": { - "line": 233, - "lineCount": 22, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 12, - "N1": 19, - "N2": 34, - "programLength": 53, - "programVocabulary": 15, - "volume": 207.06520156725148, - "difficulty": 4.25, - "effort": 880.0271066608187, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::extracted" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CacheConfig::__construct": { - "line": 12, - "lineCount": 5, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CacheConfig::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CacheConfig::toArray": { - "line": 23, - "lineCount": 7, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 0, - "n2": 3, - "N1": 0, - "N2": 4, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CacheConfig::toArray" - } - } - }, - "ignored_items": [], - "cached_at": 1759967602 -} \ No newline at end of file diff --git a/.phpcca.cache/61/61d189f2683227c3a63b990e2ec91afa.cache b/.phpcca.cache/61/61d189f2683227c3a63b990e2ec91afa.cache deleted file mode 100644 index 653434c..0000000 --- a/.phpcca.cache/61/61d189f2683227c3a63b990e2ec91afa.cache +++ /dev/null @@ -1,4108 +0,0 @@ -{ - "version": "1.0", - "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/Business\/Cognitive\/Events\/FileProcessed.php", - "file_mtime": 1752612112, - "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", - "analysis_result": { - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct": { - "line": 60, - "lineCount": 5, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 1, - "N1": 2, - "N2": 2, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 2, - "effort": 12.679700005769249, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices": { - "line": 66, - "lineCount": 95, - "argCount": 0, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 5, - "N1": 58, - "N2": 32, - "programLength": 90, - "programVocabulary": 9, - "volume": 285.2932501298081, - "difficulty": 12.8, - "effort": 3651.7536016615436, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap": { - "line": 162, - "lineCount": 10, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 7, - "N2": 7, - "programLength": 14, - "programVocabulary": 2, - "volume": 14, - "difficulty": 3.5, - "effort": 49, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors": { - "line": 173, - "lineCount": 12, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 3, - "N2": 1, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0.5, - "effort": 2, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus": { - "line": 186, - "lineCount": 19, - "argCount": 0, - "returnCount": 0, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 9, - "N2": 13, - "programLength": 22, - "programVocabulary": 7, - "volume": 61.76180828526729, - "difficulty": 2.6, - "effort": 160.58070154169496, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService": { - "line": 206, - "lineCount": 9, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 3, - "N2": 1, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0.5, - "effort": 2, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade": { - "line": 216, - "lineCount": 13, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 3, - "N2": 1, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0.5, - "effort": 2, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands": { - "line": 230, - "lineCount": 21, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 6, - "N2": 2, - "programLength": 8, - "programVocabulary": 2, - "volume": 8, - "difficulty": 1, - "effort": 8, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication": { - "line": 252, - "lineCount": 11, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 5, - "N2": 4, - "programLength": 9, - "programVocabulary": 4, - "volume": 18, - "difficulty": 0.6666666666666666, - "effort": 12, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run": { - "line": 264, - "lineCount": 9, - "argCount": 0, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 5, - "N2": 5, - "programLength": 10, - "programVocabulary": 4, - "volume": 20, - "difficulty": 2.5, - "effort": 50, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get": { - "line": 274, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer": { - "line": 279, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator": { - "line": 289, - "lineCount": 16, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 7, - "programLength": 8, - "programVocabulary": 4, - "volume": 16, - "difficulty": 1.1666666666666667, - "effort": 18.666666666666668, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create": { - "line": 18, - "lineCount": 7, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 4, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile": { - "line": 17, - "lineCount": 17, - "argCount": 2, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 8, - "N1": 11, - "N2": 19, - "programLength": 30, - "programVocabulary": 11, - "volume": 103.78294855911892, - "difficulty": 3.5625, - "effort": 369.72675424186116, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode": { - "line": 42, - "lineCount": 8, - "argCount": 3, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 3, - "N2": 8, - "programLength": 11, - "programVocabulary": 8, - "volume": 33, - "difficulty": 2.4000000000000004, - "effort": 79.20000000000002, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate": { - "line": 22, - "lineCount": 10, - "argCount": 2, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 6, - "N2": 13, - "programLength": 19, - "programVocabulary": 6, - "volume": 49.11428751370197, - "difficulty": 3.25, - "effort": 159.6214344195314, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending": { - "line": 37, - "lineCount": 8, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 2, - "N2": 9, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 2.25, - "effort": 63.97782189284862, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn": { - "line": 51, - "lineCount": 24, - "argCount": 2, - "returnCount": 1, - "variableCount": 6, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 15, - "N1": 17, - "N2": 46, - "programLength": 63, - "programVocabulary": 20, - "volume": 272.28146997790384, - "difficulty": 7.666666666666667, - "effort": 2087.491269830596, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses": { - "line": 81, - "lineCount": 20, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 2, - "n2": 7, - "N1": 10, - "N2": 24, - "programLength": 34, - "programVocabulary": 9, - "volume": 107.7774500490386, - "difficulty": 3.4285714285714284, - "effort": 369.52268588241805, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass": { - "line": 109, - "lineCount": 9, - "argCount": 2, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 6, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 10, - "volume": 49.82892142331043, - "difficulty": 3.3333333333333335, - "effort": 166.09640474436813, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel": { - "line": 126, - "lineCount": 16, - "argCount": 2, - "returnCount": 4, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 12, - "N1": 9, - "N2": 18, - "programLength": 27, - "programVocabulary": 15, - "volume": 105.48604608143, - "difficulty": 2.25, - "effort": 237.3436036832175, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile": { - "line": 14, - "lineCount": 6, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 2, - "N2": 5, - "programLength": 7, - "programVocabulary": 4, - "volume": 14, - "difficulty": 2.5, - "effort": 35, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable": { - "line": 24, - "lineCount": 11, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 10, - "N2": 12, - "programLength": 22, - "programVocabulary": 8, - "volume": 66, - "difficulty": 6, - "effort": 396, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create": { - "line": 21, - "lineCount": 11, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 7, - "N1": 0, - "N2": 9, - "programLength": 9, - "programVocabulary": 7, - "volume": 25.26619429851844, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes": { - "line": 38, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 6, - "N1": 0, - "N2": 6, - "programLength": 6, - "programVocabulary": 6, - "volume": 15.509775004326936, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported": { - "line": 49, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 2, - "N2": 3, - "programLength": 5, - "programVocabulary": 4, - "volume": 10, - "difficulty": 1.5, - "effort": 15, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export": { - "line": 30, - "lineCount": 23, - "argCount": 2, - "returnCount": 0, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 16, - "N1": 10, - "N2": 33, - "programLength": 43, - "programVocabulary": 20, - "volume": 185.8429080801566, - "difficulty": 4.125, - "effort": 766.601995830646, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export": { - "line": 28, - "lineCount": 8, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 6, - "volume": 36.18947501009619, - "difficulty": 2.5, - "effort": 90.47368752524048, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape": { - "line": 37, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber": { - "line": 42, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml": { - "line": 52, - "lineCount": 50, - "argCount": 1, - "returnCount": 1, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 12, - "N1": 11, - "N2": 25, - "programLength": 36, - "programVocabulary": 17, - "volume": 147.14866228501222, - "difficulty": 5.208333333333334, - "effort": 766.3992827344388, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export": { - "line": 17, - "lineCount": 13, - "argCount": 2, - "returnCount": 0, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 8, - "N1": 7, - "N2": 14, - "programLength": 21, - "programVocabulary": 12, - "volume": 75.28421251514428, - "difficulty": 3.5, - "effort": 263.49474380300495, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export": { - "line": 48, - "lineCount": 8, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 6, - "volume": 36.18947501009619, - "difficulty": 2.5, - "effort": 90.47368752524048, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown": { - "line": 61, - "lineCount": 24, - "argCount": 1, - "returnCount": 1, - "variableCount": 6, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 6, - "n2": 16, - "N1": 19, - "N2": 41, - "programLength": 60, - "programVocabulary": 22, - "volume": 267.56589711823784, - "difficulty": 7.6875, - "effort": 2056.9128340964535, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow": { - "line": 94, - "lineCount": 21, - "argCount": 3, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 7, - "n2": 18, - "N1": 16, - "N2": 39, - "programLength": 55, - "programVocabulary": 25, - "volume": 255.41209043760983, - "difficulty": 7.583333333333333, - "effort": 1936.8750191518745, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::__construct": { - "line": 26, - "lineCount": 4, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::export": { - "line": 36, - "lineCount": 10, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 8, - "volume": 45, - "difficulty": 5, - "effort": 225, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::generateSvgTreemap": { - "line": 53, - "lineCount": 20, - "argCount": 1, - "returnCount": 1, - "variableCount": 6, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 8, - "N1": 9, - "N2": 20, - "programLength": 29, - "programVocabulary": 10, - "volume": 96.3359147517335, - "difficulty": 2.5, - "effort": 240.83978687933376, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::generateSvgTreemap" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRects": { - "line": 82, - "lineCount": 10, - "argCount": 3, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 9, - "N1": 6, - "N2": 18, - "programLength": 24, - "programVocabulary": 12, - "volume": 86.03910001730775, - "difficulty": 3, - "effort": 258.1173000519232, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRects" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRect": { - "line": 100, - "lineCount": 29, - "argCount": 2, - "returnCount": 1, - "variableCount": 12, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 6, - "n2": 28, - "N1": 26, - "N2": 54, - "programLength": 80, - "programVocabulary": 34, - "volume": 406.9970273000271, - "difficulty": 5.785714285714286, - "effort": 2354.7685150930142, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRect" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::wrapSvg": { - "line": 136, - "lineCount": 21, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 2, - "N2": 8, - "programLength": 10, - "programVocabulary": 4, - "volume": 20, - "difficulty": 1.3333333333333333, - "effort": 26.666666666666664, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::wrapSvg" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::prepareItems": { - "line": 28, - "lineCount": 18, - "argCount": 1, - "returnCount": 1, - "variableCount": 7, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 12, - "N1": 9, - "N2": 30, - "programLength": 39, - "programVocabulary": 17, - "volume": 159.41105080876324, - "difficulty": 6.25, - "effort": 996.3190675547702, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::prepareItems" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findScoreRange": { - "line": 53, - "lineCount": 16, - "argCount": 1, - "returnCount": 3, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 7, - "N2": 13, - "programLength": 20, - "programVocabulary": 8, - "volume": 60, - "difficulty": 3.9000000000000004, - "effort": 234.00000000000003, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findScoreRange" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::normalizeScore": { - "line": 78, - "lineCount": 8, - "argCount": 3, - "returnCount": 2, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 8, - "volume": 45, - "difficulty": 5, - "effort": 225, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::normalizeScore" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::scoreToColor": { - "line": 93, - "lineCount": 9, - "argCount": 1, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 5, - "n2": 9, - "N1": 12, - "N2": 16, - "programLength": 28, - "programVocabulary": 14, - "volume": 106.60593781761291, - "difficulty": 4.444444444444445, - "effort": 473.80416807827964, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::scoreToColor" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::calculateTreemapLayout": { - "line": 115, - "lineCount": 23, - "argCount": 7, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 9, - "N1": 2, - "N2": 18, - "programLength": 20, - "programVocabulary": 11, - "volume": 69.18863237274594, - "difficulty": 2, - "effort": 138.37726474549189, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::calculateTreemapLayout" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::layoutTreemap": { - "line": 152, - "lineCount": 89, - "argCount": 8, - "returnCount": 3, - "variableCount": 11, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 8, - "n2": 28, - "N1": 32, - "N2": 98, - "programLength": 130, - "programVocabulary": 36, - "volume": 672.0902501875006, - "difficulty": 14, - "effort": 9409.263502625008, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::layoutTreemap" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findSplitIndex": { - "line": 249, - "lineCount": 13, - "argCount": 2, - "returnCount": 2, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 7, - "n2": 10, - "N1": 9, - "N2": 23, - "programLength": 32, - "programVocabulary": 17, - "volume": 130.79881092001085, - "difficulty": 8.049999999999999, - "effort": 1052.9304279060873, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findSplitIndex" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::__construct": { - "line": 23, - "lineCount": 18, - "argCount": 1, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 7, - "N2": 11, - "programLength": 18, - "programVocabulary": 6, - "volume": 46.529325012980806, - "difficulty": 5.5, - "effort": 255.91128757139444, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::getAllClasses": { - "line": 47, - "lineCount": 17, - "argCount": 0, - "returnCount": 2, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 6, - "N2": 12, - "programLength": 18, - "programVocabulary": 9, - "volume": 57.05865002596162, - "difficulty": 3, - "effort": 171.17595007788486, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::getAllClasses" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::withClassNode": { - "line": 73, - "lineCount": 8, - "argCount": 2, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 4, - "N2": 8, - "programLength": 12, - "programVocabulary": 8, - "volume": 36, - "difficulty": 4, - "effort": 144, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::withClassNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::findClassNode": { - "line": 85, - "lineCount": 25, - "argCount": 1, - "returnCount": 4, - "variableCount": 5, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 13, - "N2": 29, - "programLength": 42, - "programVocabulary": 11, - "volume": 145.29612798276648, - "difficulty": 8.285714285714286, - "effort": 1203.8822032857795, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::findClassNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::escapeXPathValue": { - "line": 114, - "lineCount": 16, - "argCount": 1, - "returnCount": 3, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 9, - "N1": 11, - "N2": 18, - "programLength": 29, - "programVocabulary": 13, - "volume": 107.31275182609167, - "difficulty": 4, - "effort": 429.2510073043667, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::escapeXPathValue" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getLineCoverage": { - "line": 22, - "lineCount": 18, - "argCount": 1, - "returnCount": 4, - "variableCount": 5, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 9, - "N1": 10, - "N2": 19, - "programLength": 29, - "programVocabulary": 13, - "volume": 107.31275182609167, - "difficulty": 4.222222222222222, - "effort": 453.09828548794263, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getLineCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getBranchCoverage": { - "line": 48, - "lineCount": 18, - "argCount": 1, - "returnCount": 4, - "variableCount": 5, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 9, - "N1": 10, - "N2": 19, - "programLength": 29, - "programVocabulary": 13, - "volume": 107.31275182609167, - "difficulty": 4.222222222222222, - "effort": 453.09828548794263, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getBranchCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getComplexity": { - "line": 73, - "lineCount": 13, - "argCount": 1, - "returnCount": 3, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 7, - "N2": 14, - "programLength": 21, - "programVocabulary": 11, - "volume": 72.64806399138324, - "difficulty": 4, - "effort": 290.59225596553296, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getComplexity" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getCoverageDetails": { - "line": 93, - "lineCount": 26, - "argCount": 1, - "returnCount": 3, - "variableCount": 9, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 17, - "N1": 22, - "N2": 42, - "programLength": 64, - "programVocabulary": 22, - "volume": 285.403623592787, - "difficulty": 6.176470588235294, - "effort": 1762.7870868966259, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getCoverageDetails" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getMetricsNode": { - "line": 123, - "lineCount": 12, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 6, - "N1": 7, - "N2": 13, - "programLength": 20, - "programVocabulary": 10, - "volume": 66.43856189774725, - "difficulty": 4.333333333333333, - "effort": 287.90043489023805, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getMetricsNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getFilenameForClass": { - "line": 139, - "lineCount": 9, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 5, - "N1": 4, - "N2": 9, - "programLength": 13, - "programVocabulary": 9, - "volume": 41.209025018750054, - "difficulty": 3.6, - "effort": 148.3524900675002, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getFilenameForClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodsCoverage": { - "line": 154, - "lineCount": 36, - "argCount": 1, - "returnCount": 3, - "variableCount": 8, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 13, - "N1": 12, - "N2": 30, - "programLength": 42, - "programVocabulary": 16, - "volume": 168, - "difficulty": 3.4615384615384612, - "effort": 581.5384615384614, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodsCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::calculateMethodCoverage": { - "line": 194, - "lineCount": 15, - "argCount": 2, - "returnCount": 2, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 11, - "N1": 9, - "N2": 23, - "programLength": 32, - "programVocabulary": 16, - "volume": 128, - "difficulty": 5.227272727272727, - "effort": 669.090909090909, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::calculateMethodCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodCoverageFromLines": { - "line": 215, - "lineCount": 36, - "argCount": 2, - "returnCount": 1, - "variableCount": 7, - "propertyCallCount": 0, - "ifNestingLevel": 2, - "elseCount": 0, - "ifCount": 5, - "halstead": { - "n1": 2, - "n2": 14, - "N1": 12, - "N2": 35, - "programLength": 47, - "programVocabulary": 16, - "volume": 188, - "difficulty": 2.5, - "effort": 470, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodCoverageFromLines" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStart": { - "line": 252, - "lineCount": 4, - "argCount": 3, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 3, - "N2": 7, - "programLength": 10, - "programVocabulary": 6, - "volume": 25.84962500721156, - "difficulty": 1.75, - "effort": 45.23684376262023, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStart" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodEnd": { - "line": 257, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 5, - "programLength": 7, - "programVocabulary": 5, - "volume": 16.253496664211536, - "difficulty": 1.6666666666666667, - "effort": 27.089161107019226, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodEnd" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStatement": { - "line": 262, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 5, - "programLength": 7, - "programVocabulary": 5, - "volume": 16.253496664211536, - "difficulty": 1.6666666666666667, - "effort": 27.089161107019226, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStatement" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isStatementCovered": { - "line": 267, - "lineCount": 5, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 4, - "N1": 3, - "N2": 6, - "programLength": 9, - "programVocabulary": 7, - "volume": 25.26619429851844, - "difficulty": 2.25, - "effort": 56.848937171666485, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isStatementCovered" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getLineCoverage": { - "line": 20, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 9, - "volume": 44.37895002019237, - "difficulty": 2.5, - "effort": 110.94737505048093, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getLineCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getBranchCoverage": { - "line": 34, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 9, - "volume": 44.37895002019237, - "difficulty": 2.5, - "effort": 110.94737505048093, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getBranchCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getComplexity": { - "line": 48, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 9, - "volume": 44.37895002019237, - "difficulty": 2.5, - "effort": 110.94737505048093, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getComplexity" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getCoverageDetails": { - "line": 62, - "lineCount": 13, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 8, - "N1": 7, - "N2": 16, - "programLength": 23, - "programVocabulary": 9, - "volume": 72.90827503317318, - "difficulty": 1, - "effort": 72.90827503317318, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getCoverageDetails" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::extractMethodsCoverage": { - "line": 81, - "lineCount": 23, - "argCount": 1, - "returnCount": 2, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 11, - "N1": 10, - "N2": 23, - "programLength": 33, - "programVocabulary": 14, - "volume": 125.64271242790093, - "difficulty": 3.1363636363636362, - "effort": 394.061234432962, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::extractMethodsCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CodeCoverageFactory::createFromName": { - "line": 14, - "lineCount": 8, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 4, - "N1": 1, - "N2": 8, - "programLength": 9, - "programVocabulary": 5, - "volume": 20.89735285398626, - "difficulty": 1, - "effort": 20.89735285398626, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CodeCoverageFactory::createFromName" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::__construct": { - "line": 28, - "lineCount": 15, - "argCount": 6, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 6, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 7, - "N1": 6, - "N2": 18, - "programLength": 24, - "programVocabulary": 8, - "volume": 72, - "difficulty": 1.2857142857142858, - "effort": 92.57142857142858, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getName": { - "line": 44, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getName" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getFilename": { - "line": 49, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getFilename" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getLineRate": { - "line": 54, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getLineRate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getBranchRate": { - "line": 59, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getBranchRate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getComplexity": { - "line": 64, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getComplexity" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getMethods": { - "line": 72, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getMethods" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::__construct": { - "line": 17, - "lineCount": 11, - "argCount": 4, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 4, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 5, - "N1": 4, - "N2": 12, - "programLength": 16, - "programVocabulary": 6, - "volume": 41.3594000115385, - "difficulty": 1.2, - "effort": 49.631280013846194, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getName": { - "line": 29, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getName" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getLineRate": { - "line": 34, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getLineRate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getBranchRate": { - "line": 39, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getBranchRate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getComplexity": { - "line": 44, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getComplexity" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::calculateDeltas": { - "line": 19, - "lineCount": 14, - "argCount": 2, - "returnCount": 0, - "variableCount": 6, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 9, - "N1": 4, - "N2": 18, - "programLength": 22, - "programVocabulary": 11, - "volume": 76.10749561002054, - "difficulty": 2, - "effort": 152.21499122004107, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::calculateDeltas" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::loadBaseline": { - "line": 41, - "lineCount": 13, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 5, - "N2": 9, - "programLength": 14, - "programVocabulary": 8, - "volume": 42, - "difficulty": 2.7, - "effort": 113.4, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::loadBaseline" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::__construct": { - "line": 72, - "lineCount": 21, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 6, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 9, - "N1": 12, - "N2": 34, - "programLength": 46, - "programVocabulary": 12, - "volume": 164.90827503317317, - "difficulty": 5.666666666666666, - "effort": 934.4802251879812, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setRequiredMetricProperties": { - "line": 98, - "lineCount": 30, - "argCount": 1, - "returnCount": 0, - "variableCount": 6, - "propertyCallCount": 9, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 21, - "N1": 21, - "N2": 51, - "programLength": 72, - "programVocabulary": 24, - "volume": 330.1173000519232, - "difficulty": 3.6428571428571423, - "effort": 1202.570164474863, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setRequiredMetricProperties" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setOptionalMetricProperties": { - "line": 133, - "lineCount": 12, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 8, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 11, - "N1": 16, - "N2": 33, - "programLength": 49, - "programVocabulary": 13, - "volume": 181.32154618891352, - "difficulty": 3, - "effort": 543.9646385667405, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setOptionalMetricProperties" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setTimesChanged": { - "line": 146, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setTimesChanged" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertSame": { - "line": 151, - "lineCount": 14, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 6, - "N2": 8, - "programLength": 14, - "programVocabulary": 5, - "volume": 32.50699332842307, - "difficulty": 2.6666666666666665, - "effort": 86.68531554246152, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertSame" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::calculateDeltas": { - "line": 169, - "lineCount": 13, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 16, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 17, - "N2": 27, - "programLength": 44, - "programVocabulary": 4, - "volume": 88, - "difficulty": 13.5, - "effort": 1188, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::calculateDeltas" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::fromArray": { - "line": 187, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::fromArray" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertArrayKeyIsPresent": { - "line": 197, - "lineCount": 6, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 5, - "programLength": 5, - "programVocabulary": 2, - "volume": 5, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertArrayKeyIsPresent" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getClass": { - "line": 204, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getMethod": { - "line": 209, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getMethod" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCount": { - "line": 214, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCount": { - "line": 219, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCount": { - "line": 224, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCount": { - "line": 229, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCount": { - "line": 234, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCount": { - "line": 239, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevel": { - "line": 244, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevel" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCount": { - "line": 249, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeight": { - "line": 254, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setLineCountWeight": { - "line": 259, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setLineCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeight": { - "line": 264, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setArgCountWeight": { - "line": 269, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setArgCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeight": { - "line": 274, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setReturnCountWeight": { - "line": 279, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setReturnCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeight": { - "line": 284, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setVariableCountWeight": { - "line": 289, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setVariableCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeight": { - "line": 294, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setPropertyCallCountWeight": { - "line": 299, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setPropertyCallCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeight": { - "line": 304, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfCountWeight": { - "line": 309, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeight": { - "line": 314, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfNestingLevelWeight": { - "line": 319, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfNestingLevelWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeight": { - "line": 324, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setElseCountWeight": { - "line": 329, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setElseCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setScore": { - "line": 334, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setScore" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getScore": { - "line": 339, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getScore" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setCoverage": { - "line": 344, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCoverage": { - "line": 349, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeightDelta": { - "line": 354, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeightDelta": { - "line": 359, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeightDelta": { - "line": 364, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeightDelta": { - "line": 369, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeightDelta": { - "line": 374, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeightDelta": { - "line": 379, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeightDelta": { - "line": 384, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeightDelta": { - "line": 389, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getTimesChanged": { - "line": 394, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 2, - "programLength": 3, - "programVocabulary": 3, - "volume": 4.754887502163468, - "difficulty": 0.5, - "effort": 2.377443751081734, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getTimesChanged" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getFileName": { - "line": 399, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getFileName" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLine": { - "line": 404, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLine" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::equals": { - "line": 409, - "lineCount": 5, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 2, - "N1": 5, - "N2": 5, - "programLength": 10, - "programVocabulary": 5, - "volume": 23.21928094887362, - "difficulty": 3.75, - "effort": 87.07230355827608, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::equals" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::toArray": { - "line": 418, - "lineCount": 34, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 29, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 30, - "N1": 0, - "N2": 58, - "programLength": 58, - "programVocabulary": 30, - "volume": 284.5996545452941, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::toArray" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::jsonSerialize": { - "line": 456, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::jsonSerialize" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getHalstead": { - "line": 464, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getHalstead" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCyclomatic": { - "line": 472, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCyclomatic" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::add": { - "line": 30, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 5, - "N2": 6, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 3, - "effort": 85.30376252379816, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::add" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filter": { - "line": 40, - "lineCount": 11, - "argCount": 1, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 8, - "volume": 42, - "difficulty": 3, - "effort": 126, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filter" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getIterator": { - "line": 57, - "lineCount": 5, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getIterator" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::count": { - "line": 66, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::count" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterWithScoreGreaterThan": { - "line": 71, - "lineCount": 6, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 3, - "N2": 6, - "programLength": 9, - "programVocabulary": 5, - "volume": 20.89735285398626, - "difficulty": 2, - "effort": 41.79470570797252, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterWithScoreGreaterThan" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::contains": { - "line": 78, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 4, - "N2": 5, - "programLength": 9, - "programVocabulary": 5, - "volume": 20.89735285398626, - "difficulty": 1.6666666666666667, - "effort": 34.82892142331043, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::contains" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getClassWithMethod": { - "line": 83, - "lineCount": 9, - "argCount": 2, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 3, - "N2": 10, - "programLength": 13, - "programVocabulary": 7, - "volume": 36.49561398674886, - "difficulty": 2, - "effort": 72.99122797349771, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getClassWithMethod" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterByClassName": { - "line": 93, - "lineCount": 6, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 3, - "N2": 6, - "programLength": 9, - "programVocabulary": 5, - "volume": 20.89735285398626, - "difficulty": 2, - "effort": 41.79470570797252, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterByClassName" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::assertMetricHasGetter": { - "line": 100, - "lineCount": 9, - "argCount": 3, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 6, - "programLength": 7, - "programVocabulary": 4, - "volume": 14, - "difficulty": 1, - "effort": 14, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::assertMetricHasGetter" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::groupBy": { - "line": 117, - "lineCount": 20, - "argCount": 1, - "returnCount": 1, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 10, - "N2": 23, - "programLength": 33, - "programVocabulary": 11, - "volume": 114.16124341503081, - "difficulty": 6.571428571428571, - "effort": 750.2024567273453, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::groupBy" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::jsonSerialize": { - "line": 141, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::jsonSerialize" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::__construct": { - "line": 32, - "lineCount": 8, - "argCount": 5, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 5, - "N1": 0, - "N2": 5, - "programLength": 5, - "programVocabulary": 5, - "volume": 11.60964047443681, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collect": { - "line": 49, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 5, - "programLength": 6, - "programVocabulary": 4, - "volume": 12, - "difficulty": 0.8333333333333334, - "effort": 10, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collect" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collectFromPaths": { - "line": 62, - "lineCount": 13, - "argCount": 2, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 8, - "N2": 16, - "programLength": 24, - "programVocabulary": 9, - "volume": 76.07820003461549, - "difficulty": 4, - "effort": 304.31280013846197, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collectFromPaths" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCodeFromFile": { - "line": 79, - "lineCount": 10, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 2, - "N1": 5, - "N2": 6, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 6, - "effort": 170.6075250475963, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCodeFromFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findMetrics": { - "line": 98, - "lineCount": 31, - "argCount": 1, - "returnCount": 1, - "variableCount": 9, - "propertyCallCount": 2, - "ifNestingLevel": 2, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 13, - "N1": 18, - "N2": 38, - "programLength": 56, - "programVocabulary": 16, - "volume": 224, - "difficulty": 4.384615384615384, - "effort": 982.1538461538461, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findMetrics" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processMethodMetrics": { - "line": 136, - "lineCount": 29, - "argCount": 3, - "returnCount": 1, - "variableCount": 7, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 14, - "N1": 8, - "N2": 27, - "programLength": 35, - "programVocabulary": 17, - "volume": 143.06119944376186, - "difficulty": 2.892857142857143, - "effort": 413.8556126765968, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processMethodMetrics" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::isExcluded": { - "line": 166, - "lineCount": 12, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 5, - "N1": 5, - "N2": 9, - "programLength": 14, - "programVocabulary": 9, - "volume": 44.37895002019237, - "difficulty": 3.6, - "effort": 159.76422007269252, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::isExcluded" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findSourceFiles": { - "line": 187, - "lineCount": 7, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 2, - "N2": 6, - "programLength": 8, - "programVocabulary": 6, - "volume": 20.67970000576925, - "difficulty": 1.5, - "effort": 31.019550008653873, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findSourceFiles" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getProjectRoot": { - "line": 202, - "lineCount": 13, - "argCount": 0, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 2, - "N1": 8, - "N2": 8, - "programLength": 16, - "programVocabulary": 6, - "volume": 41.3594000115385, - "difficulty": 8, - "effort": 330.875200092308, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getProjectRoot" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateCacheKey": { - "line": 219, - "lineCount": 7, - "argCount": 2, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 6, - "N1": 10, - "N2": 12, - "programLength": 22, - "programVocabulary": 10, - "volume": 73.08241808752197, - "difficulty": 4, - "effort": 292.3296723500879, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateCacheKey" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateConfigHash": { - "line": 230, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 1, - "N1": 3, - "N2": 2, - "programLength": 5, - "programVocabulary": 3, - "volume": 7.92481250360578, - "difficulty": 2, - "effort": 15.84962500721156, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateConfigHash" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::cacheResult": { - "line": 239, - "lineCount": 14, - "argCount": 4, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 13, - "N1": 5, - "N2": 20, - "programLength": 25, - "programVocabulary": 15, - "volume": 97.67226489021297, - "difficulty": 1.5384615384615385, - "effort": 150.26502290801997, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::cacheResult" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::clearCache": { - "line": 254, - "lineCount": 4, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::clearCache" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::normalizeFilename": { - "line": 264, - "lineCount": 15, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 6, - "n2": 7, - "N1": 12, - "N2": 16, - "programLength": 28, - "programVocabulary": 13, - "volume": 103.61231210795059, - "difficulty": 6.857142857142857, - "effort": 710.4844258830897, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::normalizeFilename" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCachedMetrics": { - "line": 286, - "lineCount": 19, - "argCount": 3, - "returnCount": 3, - "variableCount": 4, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 11, - "N1": 10, - "N2": 29, - "programLength": 39, - "programVocabulary": 14, - "volume": 148.48684196024655, - "difficulty": 3.954545454545454, - "effort": 587.1979659337022, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCachedMetrics" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processFile": { - "line": 312, - "lineCount": 37, - "argCount": 5, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 7, - "n2": 10, - "N1": 12, - "N2": 28, - "programLength": 40, - "programVocabulary": 17, - "volume": 163.49851365001356, - "difficulty": 9.799999999999999, - "effort": 1602.2854337701328, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::sort": { - "line": 51, - "lineCount": 41, - "argCount": 3, - "returnCount": 2, - "variableCount": 10, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 18, - "N1": 20, - "N2": 43, - "programLength": 63, - "programVocabulary": 22, - "volume": 280.9441919741497, - "difficulty": 4.777777777777778, - "effort": 1342.2889172098264, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::sort" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getFieldValue": { - "line": 100, - "lineCount": 28, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 25, - "N1": 24, - "N2": 50, - "programLength": 74, - "programVocabulary": 27, - "volume": 351.86167516009664, - "difficulty": 2, - "effort": 703.7233503201933, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getFieldValue" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::compareValues": { - "line": 136, - "lineCount": 13, - "argCount": 2, - "returnCount": 3, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 2, - "N1": 9, - "N2": 12, - "programLength": 21, - "programVocabulary": 5, - "volume": 48.760489992634604, - "difficulty": 9, - "effort": 438.8444099337114, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::compareValues" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getSortableFields": { - "line": 155, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 0, - "N1": 0, - "N2": 0, - "programLength": 0, - "programVocabulary": 0, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getSortableFields" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__construct": { - "line": 15, - "lineCount": 11, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 7, - "N2": 12, - "programLength": 19, - "programVocabulary": 6, - "volume": 49.11428751370197, - "difficulty": 6, - "effort": 294.6857250822118, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::getValue": { - "line": 27, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::getValue" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasIncreased": { - "line": 32, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasIncreased" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__toString": { - "line": 37, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__toString" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasNotChanged": { - "line": 42, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 2, - "programLength": 3, - "programVocabulary": 3, - "volume": 4.754887502163468, - "difficulty": 0.5, - "effort": 2.377443751081734, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasNotChanged" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\FileProcessed::__construct": { - "line": 14, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\FileProcessed::__construct" - } - } - }, - "ignored_items": [], - "cached_at": 1759967601 -} \ No newline at end of file diff --git a/.phpcca.cache/63/63ec13e4ee33795f3c36fcf4f678ccff.cache b/.phpcca.cache/63/63ec13e4ee33795f3c36fcf4f678ccff.cache deleted file mode 100644 index 0105357..0000000 --- a/.phpcca.cache/63/63ec13e4ee33795f3c36fcf4f678ccff.cache +++ /dev/null @@ -1,2609 +0,0 @@ -{ - "version": "1.0", - "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/PhpParser\/AnnotationVisitor.php", - "file_mtime": 1759791861, - "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", - "analysis_result": { - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::__construct": { - "line": 26, - "lineCount": 5, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 4, - "N1": 3, - "N2": 6, - "programLength": 9, - "programVocabulary": 7, - "volume": 25.26619429851844, - "difficulty": 2.25, - "effort": 56.848937171666485, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItem": { - "line": 35, - "lineCount": 15, - "argCount": 1, - "returnCount": 3, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 6, - "N2": 13, - "programLength": 19, - "programVocabulary": 8, - "volume": 57, - "difficulty": 6.5, - "effort": 370.5, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItem" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItems": { - "line": 55, - "lineCount": 9, - "argCount": 1, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 3, - "N2": 9, - "programLength": 12, - "programVocabulary": 6, - "volume": 31.019550008653873, - "difficulty": 2.25, - "effort": 69.79398751947122, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItems" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::hasItem": { - "line": 68, - "lineCount": 6, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 5, - "n2": 3, - "N1": 6, - "N2": 7, - "programLength": 13, - "programVocabulary": 8, - "volume": 39, - "difficulty": 5.833333333333334, - "effort": 227.50000000000003, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::hasItem" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::clear": { - "line": 75, - "lineCount": 10, - "argCount": 0, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 2, - "N2": 4, - "programLength": 6, - "programVocabulary": 3, - "volume": 9.509775004326936, - "difficulty": 1, - "effort": 9.509775004326936, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::clear" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItem": { - "line": 89, - "lineCount": 10, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 4, - "N2": 6, - "programLength": 10, - "programVocabulary": 6, - "volume": 25.84962500721156, - "difficulty": 3, - "effort": 77.54887502163469, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItem" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItems": { - "line": 103, - "lineCount": 10, - "argCount": 1, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 3, - "N2": 8, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 2, - "effort": 56.86917501586544, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItems" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::save": { - "line": 117, - "lineCount": 11, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 4, - "N1": 9, - "N2": 12, - "programLength": 21, - "programVocabulary": 7, - "volume": 58.95445336320969, - "difficulty": 4.5, - "effort": 265.2950401344436, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::save" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveDeferred": { - "line": 129, - "lineCount": 6, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveDeferred" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::commit": { - "line": 136, - "lineCount": 11, - "argCount": 0, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 4, - "N2": 8, - "programLength": 12, - "programVocabulary": 5, - "volume": 27.863137138648348, - "difficulty": 2.6666666666666665, - "effort": 74.30169903639559, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::commit" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::ensureCacheDirectory": { - "line": 152, - "lineCount": 9, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 3, - "N2": 4, - "programLength": 7, - "programVocabulary": 4, - "volume": 14, - "difficulty": 2, - "effort": 28, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::ensureCacheDirectory" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getCacheFilePath": { - "line": 168, - "lineCount": 15, - "argCount": 1, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 10, - "N1": 13, - "N2": 19, - "programLength": 32, - "programVocabulary": 14, - "volume": 121.83535750584333, - "difficulty": 3.8, - "effort": 462.9743585222046, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getCacheFilePath" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::loadCacheData": { - "line": 187, - "lineCount": 14, - "argCount": 1, - "returnCount": 3, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 6, - "N2": 8, - "programLength": 14, - "programVocabulary": 6, - "volume": 36.18947501009619, - "difficulty": 4, - "effort": 144.75790004038475, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::loadCacheData" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveCacheData": { - "line": 209, - "lineCount": 21, - "argCount": 2, - "returnCount": 3, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 6, - "n2": 7, - "N1": 13, - "N2": 17, - "programLength": 30, - "programVocabulary": 13, - "volume": 111.01319154423277, - "difficulty": 7.285714285714285, - "effort": 808.810395536553, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveCacheData" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::sanitizeUtf8": { - "line": 234, - "lineCount": 25, - "argCount": 1, - "returnCount": 4, - "variableCount": 6, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 8, - "N1": 13, - "N2": 29, - "programLength": 42, - "programVocabulary": 11, - "volume": 145.29612798276648, - "difficulty": 5.4375, - "effort": 790.0476959062927, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::sanitizeUtf8" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::removeDirectory": { - "line": 260, - "lineCount": 23, - "argCount": 1, - "returnCount": 2, - "variableCount": 5, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 5, - "n2": 9, - "N1": 13, - "N2": 20, - "programLength": 33, - "programVocabulary": 14, - "volume": 125.64271242790093, - "difficulty": 5.555555555555555, - "effort": 698.0150690438941, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::removeDirectory" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::__construct": { - "line": 42, - "lineCount": 7, - "argCount": 3, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 3, - "N1": 0, - "N2": 3, - "programLength": 3, - "programVocabulary": 3, - "volume": 4.754887502163468, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::configure": { - "line": 53, - "lineCount": 57, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 15, - "N1": 9, - "N2": 16, - "programLength": 25, - "programVocabulary": 16, - "volume": 100, - "difficulty": 0.5333333333333333, - "effort": 53.333333333333336, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::configure" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::execute": { - "line": 119, - "lineCount": 43, - "argCount": 2, - "returnCount": 5, - "variableCount": 9, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 4, - "halstead": { - "n1": 7, - "n2": 14, - "N1": 31, - "N2": 45, - "programLength": 76, - "programVocabulary": 21, - "volume": 333.8161241311858, - "difficulty": 11.25, - "effort": 3755.4313964758403, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::execute" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::loadCoverageReader": { - "line": 171, - "lineCount": 32, - "argCount": 3, - "returnCount": 4, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 2, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 4, - "n2": 9, - "N1": 9, - "N2": 21, - "programLength": 30, - "programVocabulary": 13, - "volume": 111.01319154423277, - "difficulty": 4.666666666666667, - "effort": 518.0615605397529, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::loadCoverageReader" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::detectCoverageFormat": { - "line": 207, - "lineCount": 19, - "argCount": 1, - "returnCount": 4, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 9, - "volume": 47.548875021634686, - "difficulty": 2.5, - "effort": 118.87218755408671, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::detectCoverageFormat" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::coverageFileExists": { - "line": 227, - "lineCount": 20, - "argCount": 2, - "returnCount": 3, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 4, - "N2": 7, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 3.5, - "effort": 99.52105627776452, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::coverageFileExists" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::__construct": { - "line": 49, - "lineCount": 10, - "argCount": 6, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 6, - "N1": 0, - "N2": 6, - "programLength": 6, - "programVocabulary": 6, - "volume": 15.509775004326936, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::configure": { - "line": 63, - "lineCount": 76, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 20, - "N1": 13, - "N2": 20, - "programLength": 33, - "programVocabulary": 21, - "volume": 144.94647495169912, - "difficulty": 0.5, - "effort": 72.47323747584956, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::configure" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::execute": { - "line": 150, - "lineCount": 52, - "argCount": 2, - "returnCount": 5, - "variableCount": 11, - "propertyCallCount": 6, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 7, - "halstead": { - "n1": 6, - "n2": 15, - "N1": 43, - "N2": 61, - "programLength": 104, - "programVocabulary": 21, - "volume": 456.80101196899113, - "difficulty": 12.2, - "effort": 5572.972346021692, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::execute" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::parsePaths": { - "line": 209, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 4, - "N2": 8, - "programLength": 12, - "programVocabulary": 7, - "volume": 33.68825906469125, - "difficulty": 1.6, - "effort": 53.901214503506004, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::parsePaths" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleBaseLine": { - "line": 224, - "lineCount": 8, - "argCount": 2, - "returnCount": 0, - "variableCount": 3, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 5, - "N2": 11, - "programLength": 16, - "programVocabulary": 7, - "volume": 44.91767875292167, - "difficulty": 2.2, - "effort": 98.81889325642767, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleBaseLine" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleCoverageOptions": { - "line": 238, - "lineCount": 20, - "argCount": 2, - "returnCount": 3, - "variableCount": 5, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 5, - "n2": 10, - "N1": 15, - "N2": 25, - "programLength": 40, - "programVocabulary": 15, - "volume": 156.27562382434076, - "difficulty": 6.25, - "effort": 976.7226489021298, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleCoverageOptions" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::applySorting": { - "line": 264, - "lineCount": 21, - "argCount": 3, - "returnCount": 3, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 15, - "N1": 16, - "N2": 32, - "programLength": 48, - "programVocabulary": 20, - "volume": 207.45254855459342, - "difficulty": 5.333333333333333, - "effort": 1106.4135922911648, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::applySorting" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadConfiguration": { - "line": 293, - "lineCount": 10, - "argCount": 2, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 6, - "N1": 5, - "N2": 9, - "programLength": 14, - "programVocabulary": 8, - "volume": 42, - "difficulty": 1.5, - "effort": 63, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadConfiguration" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadCoverageReader": { - "line": 313, - "lineCount": 28, - "argCount": 3, - "returnCount": 4, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 2, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 10, - "N2": 18, - "programLength": 28, - "programVocabulary": 11, - "volume": 96.86408532184433, - "difficulty": 5.142857142857143, - "effort": 498.15815308377086, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadCoverageReader" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::detectCoverageFormat": { - "line": 345, - "lineCount": 19, - "argCount": 1, - "returnCount": 4, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 9, - "volume": 47.548875021634686, - "difficulty": 2.5, - "effort": 118.87218755408671, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::detectCoverageFormat" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::coverageFileExists": { - "line": 365, - "lineCount": 20, - "argCount": 2, - "returnCount": 3, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 4, - "N2": 7, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 3.5, - "effort": 99.52105627776452, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::coverageFileExists" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__construct": { - "line": 12, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__invoke": { - "line": 17, - "lineCount": 22, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 3, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 10, - "N2": 11, - "programLength": 21, - "programVocabulary": 7, - "volume": 58.95445336320969, - "difficulty": 2.2, - "effort": 129.6997973990613, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__invoke" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__construct": { - "line": 21, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__invoke": { - "line": 26, - "lineCount": 11, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 4, - "N2": 9, - "programLength": 13, - "programVocabulary": 4, - "volume": 26, - "difficulty": 4.5, - "effort": 117, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__invoke" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleSourceFilesFound": { - "line": 38, - "lineCount": 6, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 4, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 6, - "N2": 10, - "programLength": 16, - "programVocabulary": 8, - "volume": 48, - "difficulty": 5, - "effort": 240, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleSourceFilesFound" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleFileProcessed": { - "line": 45, - "lineCount": 5, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleFileProcessed" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleAllFilesProcessed": { - "line": 51, - "lineCount": 6, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 3, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 3, - "N2": 5, - "programLength": 8, - "programVocabulary": 5, - "volume": 18.575424759098897, - "difficulty": 1.6666666666666667, - "effort": 30.95904126516483, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleAllFilesProcessed" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__construct": { - "line": 20, - "lineCount": 5, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__invoke": { - "line": 26, - "lineCount": 17, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 5, - "n2": 8, - "N1": 17, - "N2": 17, - "programLength": 34, - "programVocabulary": 13, - "volume": 125.81495041679713, - "difficulty": 5.3125, - "effort": 668.3919240892347, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__invoke" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::formatBytes": { - "line": 50, - "lineCount": 12, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 7, - "n2": 13, - "N1": 10, - "N2": 22, - "programLength": 32, - "programVocabulary": 20, - "volume": 138.3016990363956, - "difficulty": 5.923076923076923, - "effort": 819.1716019848047, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::formatBytes" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::isDebugEnabled": { - "line": 66, - "lineCount": 5, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 1, - "N1": 4, - "N2": 2, - "programLength": 6, - "programVocabulary": 4, - "volume": 12, - "difficulty": 3, - "effort": 36, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::isDebugEnabled" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::__construct": { - "line": 20, - "lineCount": 6, - "argCount": 2, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 4, - "volume": 8, - "difficulty": 0.5, - "effort": 4, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::exportToFile": { - "line": 32, - "lineCount": 27, - "argCount": 3, - "returnCount": 4, - "variableCount": 2, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 1, - "n2": 6, - "N1": 6, - "N2": 19, - "programLength": 25, - "programVocabulary": 7, - "volume": 70.1838730514401, - "difficulty": 1.5833333333333333, - "effort": 111.12446566478016, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::exportToFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::hasIncompleteReportOptions": { - "line": 60, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 2, - "N1": 7, - "N2": 6, - "programLength": 13, - "programVocabulary": 6, - "volume": 33.60451250937503, - "difficulty": 6, - "effort": 201.62707505625016, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::hasIncompleteReportOptions" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::isValidReportType": { - "line": 65, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 2, - "N2": 4, - "programLength": 6, - "programVocabulary": 4, - "volume": 12, - "difficulty": 2, - "effort": 24, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::isValidReportType" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleExceptions": { - "line": 77, - "lineCount": 9, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 3, - "N2": 4, - "programLength": 7, - "programVocabulary": 5, - "volume": 16.253496664211536, - "difficulty": 1.3333333333333333, - "effort": 21.67132888561538, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleExceptions" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleInvalidReportType": { - "line": 91, - "lineCount": 11, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 5, - "N2": 8, - "programLength": 13, - "programVocabulary": 8, - "volume": 39, - "difficulty": 2.4000000000000004, - "effort": 93.60000000000001, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleInvalidReportType" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::__construct": { - "line": 15, - "lineCount": 5, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handle": { - "line": 24, - "lineCount": 27, - "argCount": 3, - "returnCount": 4, - "variableCount": 2, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 1, - "n2": 6, - "N1": 6, - "N2": 19, - "programLength": 25, - "programVocabulary": 7, - "volume": 70.1838730514401, - "difficulty": 1.5833333333333333, - "effort": 111.12446566478016, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handle" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::hasIncompleteReportOptions": { - "line": 52, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 2, - "N1": 7, - "N2": 6, - "programLength": 13, - "programVocabulary": 6, - "volume": 33.60451250937503, - "difficulty": 6, - "effort": 201.62707505625016, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::hasIncompleteReportOptions" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::isValidReportType": { - "line": 57, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 5, - "N1": 1, - "N2": 6, - "programLength": 7, - "programVocabulary": 6, - "volume": 18.094737505048094, - "difficulty": 0.6, - "effort": 10.856842503028856, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::isValidReportType" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handleExceptions": { - "line": 66, - "lineCount": 9, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 3, - "N2": 4, - "programLength": 7, - "programVocabulary": 5, - "volume": 16.253496664211536, - "difficulty": 1.3333333333333333, - "effort": 21.67132888561538, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handleExceptions" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handleInvalidReporType": { - "line": 80, - "lineCount": 9, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 4, - "programLength": 6, - "programVocabulary": 5, - "volume": 13.931568569324174, - "difficulty": 1.3333333333333333, - "effort": 18.575424759098897, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handleInvalidReporType" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::__construct": { - "line": 42, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::reportWritten": { - "line": 47, - "lineCount": 7, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 4, - "programLength": 6, - "programVocabulary": 5, - "volume": 13.931568569324174, - "difficulty": 1.3333333333333333, - "effort": 18.575424759098897, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::reportWritten" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::renderChurnTable": { - "line": 59, - "lineCount": 35, - "argCount": 1, - "returnCount": 0, - "variableCount": 6, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 8, - "n2": 18, - "N1": 21, - "N2": 53, - "programLength": 74, - "programVocabulary": 26, - "volume": 347.8325391424408, - "difficulty": 11.777777777777779, - "effort": 4096.694349899859, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::renderChurnTable" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricSummaryTextRenderer::__construct": { - "line": 18, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricSummaryTextRenderer::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricSummaryTextRenderer::render": { - "line": 23, - "lineCount": 32, - "argCount": 2, - "returnCount": 0, - "variableCount": 6, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 6, - "n2": 16, - "N1": 27, - "N2": 38, - "programLength": 65, - "programVocabulary": 22, - "volume": 289.86305521142435, - "difficulty": 7.125, - "effort": 2065.2742683813985, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricSummaryTextRenderer::render" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::__construct": { - "line": 27, - "lineCount": 5, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::metricExceedsThreshold": { - "line": 33, - "lineCount": 6, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 2, - "N1": 3, - "N2": 5, - "programLength": 8, - "programVocabulary": 5, - "volume": 18.575424759098897, - "difficulty": 3.75, - "effort": 69.65784284662087, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::metricExceedsThreshold" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::hasCoverageInCollection": { - "line": 43, - "lineCount": 10, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 2, - "N2": 4, - "programLength": 6, - "programVocabulary": 4, - "volume": 12, - "difficulty": 2, - "effort": 24, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::hasCoverageInCollection" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::render": { - "line": 58, - "lineCount": 17, - "argCount": 2, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 6, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 9, - "N2": 25, - "programLength": 34, - "programVocabulary": 6, - "volume": 87.8887250245193, - "difficulty": 6.25, - "effort": 549.3045314032456, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::render" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderGroupedByClass": { - "line": 81, - "lineCount": 19, - "argCount": 3, - "returnCount": 0, - "variableCount": 6, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 5, - "n2": 11, - "N1": 11, - "N2": 25, - "programLength": 36, - "programVocabulary": 16, - "volume": 144, - "difficulty": 5.6818181818181825, - "effort": 818.1818181818182, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderGroupedByClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::buildRowsForClass": { - "line": 106, - "lineCount": 13, - "argCount": 2, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 4, - "N2": 12, - "programLength": 16, - "programVocabulary": 7, - "volume": 44.91767875292167, - "difficulty": 2.4, - "effort": 107.802429007012, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::buildRowsForClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::getFilenameFromMetrics": { - "line": 123, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 5, - "programLength": 6, - "programVocabulary": 4, - "volume": 12, - "difficulty": 0.8333333333333334, - "effort": 10, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::getFilenameFromMetrics" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderAllMethodsInSingleTable": { - "line": 136, - "lineCount": 12, - "argCount": 3, - "returnCount": 0, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 6, - "N2": 15, - "programLength": 21, - "programVocabulary": 11, - "volume": 72.64806399138324, - "difficulty": 4.285714285714286, - "effort": 311.34884567735673, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderAllMethodsInSingleTable" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::buildRowsForSingleTable": { - "line": 154, - "lineCount": 13, - "argCount": 2, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 4, - "N2": 12, - "programLength": 16, - "programVocabulary": 7, - "volume": 44.91767875292167, - "difficulty": 2.4, - "effort": 107.802429007012, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::buildRowsForSingleTable" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderTableCommon": { - "line": 173, - "lineCount": 19, - "argCount": 4, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 8, - "N1": 7, - "N2": 19, - "programLength": 26, - "programVocabulary": 10, - "volume": 86.37013046707142, - "difficulty": 2.375, - "effort": 205.1290598592946, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderTableCommon" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderTable": { - "line": 196, - "lineCount": 13, - "argCount": 4, - "returnCount": 0, - "variableCount": 3, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 7, - "N1": 4, - "N2": 14, - "programLength": 18, - "programVocabulary": 9, - "volume": 57.05865002596162, - "difficulty": 2, - "effort": 114.11730005192324, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderTable" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderSingleTable": { - "line": 213, - "lineCount": 11, - "argCount": 3, - "returnCount": 0, - "variableCount": 3, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 6, - "N1": 4, - "N2": 12, - "programLength": 16, - "programVocabulary": 8, - "volume": 48, - "difficulty": 2, - "effort": 96, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderSingleTable" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::__construct": { - "line": 16, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatScore": { - "line": 21, - "lineCount": 6, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 6, - "N1": 5, - "N2": 9, - "programLength": 14, - "programVocabulary": 8, - "volume": 42, - "difficulty": 1.5, - "effort": 63, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatScore" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadVolume": { - "line": 28, - "lineCount": 14, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 10, - "N1": 9, - "N2": 17, - "programLength": 26, - "programVocabulary": 15, - "volume": 101.57915548582149, - "difficulty": 4.25, - "effort": 431.7114108147413, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadVolume" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadDifficulty": { - "line": 43, - "lineCount": 13, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 10, - "N1": 8, - "N2": 17, - "programLength": 25, - "programVocabulary": 14, - "volume": 95.1838730514401, - "difficulty": 3.4, - "effort": 323.62516837489636, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadDifficulty" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadEffort": { - "line": 57, - "lineCount": 13, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 10, - "N1": 8, - "N2": 17, - "programLength": 25, - "programVocabulary": 14, - "volume": 95.1838730514401, - "difficulty": 3.4, - "effort": 323.62516837489636, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadEffort" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatCyclomaticComplexity": { - "line": 71, - "lineCount": 13, - "argCount": 1, - "returnCount": 3, - "variableCount": 4, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 5, - "n2": 9, - "N1": 9, - "N2": 18, - "programLength": 27, - "programVocabulary": 14, - "volume": 102.79858289555531, - "difficulty": 5, - "effort": 513.9929144777766, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatCyclomaticComplexity" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::colorCyclomaticRisk": { - "line": 85, - "lineCount": 8, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 7, - "N1": 5, - "N2": 11, - "programLength": 16, - "programVocabulary": 9, - "volume": 50.718800023076994, - "difficulty": 1.5714285714285714, - "effort": 79.70097146483528, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::colorCyclomaticRisk" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::__construct": { - "line": 17, - "lineCount": 5, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::getGroupedTableHeaders": { - "line": 28, - "lineCount": 16, - "argCount": 0, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 10, - "N2": 17, - "programLength": 27, - "programVocabulary": 6, - "volume": 69.79398751947122, - "difficulty": 4.25, - "effort": 296.62444695775264, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::getGroupedTableHeaders" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCoverageHeader": { - "line": 49, - "lineCount": 10, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 6, - "programLength": 7, - "programVocabulary": 4, - "volume": 14, - "difficulty": 1, - "effort": 14, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCoverageHeader" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::getSingleTableHeaders": { - "line": 65, - "lineCount": 20, - "argCount": 0, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 6, - "N1": 9, - "N2": 18, - "programLength": 27, - "programVocabulary": 8, - "volume": 81, - "difficulty": 3, - "effort": 243, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::getSingleTableHeaders" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addHalsteadHeaders": { - "line": 92, - "lineCount": 10, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 1, - "n2": 5, - "N1": 3, - "N2": 9, - "programLength": 12, - "programVocabulary": 6, - "volume": 31.019550008653873, - "difficulty": 0.9, - "effort": 27.917595007788485, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addHalsteadHeaders" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCyclomaticHeaders": { - "line": 109, - "lineCount": 8, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 5, - "programLength": 6, - "programVocabulary": 4, - "volume": 12, - "difficulty": 0.8333333333333334, - "effort": 10, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCyclomaticHeaders" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCognitiveMetricDetails": { - "line": 122, - "lineCount": 16, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 10, - "N1": 2, - "N2": 13, - "programLength": 15, - "programVocabulary": 12, - "volume": 53.77443751081734, - "difficulty": 1.3, - "effort": 69.90676876406255, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCognitiveMetricDetails" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::__construct": { - "line": 21, - "lineCount": 6, - "argCount": 3, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 3, - "N1": 0, - "N2": 3, - "programLength": 3, - "programVocabulary": 3, - "volume": 4.754887502163468, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::buildRow": { - "line": 34, - "lineCount": 16, - "argCount": 1, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 10, - "N2": 24, - "programLength": 34, - "programVocabulary": 7, - "volume": 95.45006734995854, - "difficulty": 4.8, - "effort": 458.160323279801, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::buildRow" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::buildRowWithClassInfo": { - "line": 57, - "lineCount": 16, - "argCount": 1, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 10, - "N2": 24, - "programLength": 34, - "programVocabulary": 7, - "volume": 95.45006734995854, - "difficulty": 4.8, - "effort": 458.160323279801, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::buildRowWithClassInfo" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::metricsToArray": { - "line": 79, - "lineCount": 8, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 3, - "N2": 7, - "programLength": 10, - "programVocabulary": 6, - "volume": 25.84962500721156, - "difficulty": 1.75, - "effort": 45.23684376262023, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::metricsToArray" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::metricsToArrayWithClassInfo": { - "line": 93, - "lineCount": 9, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 4, - "N2": 9, - "programLength": 13, - "programVocabulary": 7, - "volume": 36.49561398674886, - "difficulty": 1.8, - "effort": 65.69210517614795, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::metricsToArrayWithClassInfo" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addHalsteadFields": { - "line": 109, - "lineCount": 10, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 6, - "N1": 6, - "N2": 16, - "programLength": 22, - "programVocabulary": 8, - "volume": 66, - "difficulty": 2.6666666666666665, - "effort": 176, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addHalsteadFields" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addCyclomaticFields": { - "line": 126, - "lineCount": 8, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 2, - "N2": 8, - "programLength": 10, - "programVocabulary": 6, - "volume": 25.84962500721156, - "difficulty": 2, - "effort": 51.69925001442312, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addCyclomaticFields" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addWeightedValue": { - "line": 141, - "lineCount": 10, - "argCount": 3, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 11, - "N1": 13, - "N2": 22, - "programLength": 35, - "programVocabulary": 15, - "volume": 136.74117084629816, - "difficulty": 4, - "effort": 546.9646833851926, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addWeightedValue" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addDelta": { - "line": 158, - "lineCount": 20, - "argCount": 3, - "returnCount": 3, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 6, - "n2": 13, - "N1": 19, - "N2": 30, - "programLength": 49, - "programVocabulary": 19, - "volume": 208.14844815873568, - "difficulty": 6.9230769230769225, - "effort": 1441.0277180220162, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::getKeys": { - "line": 184, - "lineCount": 17, - "argCount": 0, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 0, - "n2": 9, - "N1": 0, - "N2": 9, - "programLength": 9, - "programVocabulary": 9, - "volume": 28.52932501298081, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::getKeys" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::assertDeltaMethodExists": { - "line": 205, - "lineCount": 6, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 6, - "programLength": 8, - "programVocabulary": 5, - "volume": 18.575424759098897, - "difficulty": 2, - "effort": 37.150849518197795, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::assertDeltaMethodExists" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addCoverageValue": { - "line": 216, - "lineCount": 11, - "argCount": 2, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 7, - "N1": 7, - "N2": 15, - "programLength": 22, - "programVocabulary": 12, - "volume": 78.86917501586544, - "difficulty": 5.357142857142857, - "effort": 422.51343758499337, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addCoverageValue" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::extracted": { - "line": 233, - "lineCount": 22, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 12, - "N1": 19, - "N2": 34, - "programLength": 53, - "programVocabulary": 15, - "volume": 207.06520156725148, - "difficulty": 4.25, - "effort": 880.0271066608187, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::extracted" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CacheConfig::__construct": { - "line": 12, - "lineCount": 5, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CacheConfig::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CacheConfig::toArray": { - "line": 23, - "lineCount": 7, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 3, - "N1": 0, - "N2": 4, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CacheConfig::toArray" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CognitiveConfig::__construct": { - "line": 20, - "lineCount": 13, - "argCount": 10, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 10, - "N1": 0, - "N2": 10, - "programLength": 10, - "programVocabulary": 10, - "volume": 33.219280948873624, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CognitiveConfig::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CognitiveConfig::toArray": { - "line": 39, - "lineCount": 20, - "argCount": 0, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 10, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 14, - "N1": 3, - "N2": 27, - "programLength": 30, - "programVocabulary": 16, - "volume": 120, - "difficulty": 1.9285714285714286, - "effort": 231.42857142857144, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CognitiveConfig::toArray" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigFactory::fromArray": { - "line": 16, - "lineCount": 31, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 20, - "N1": 10, - "N2": 52, - "programLength": 62, - "programVocabulary": 23, - "volume": 280.4608412755348, - "difficulty": 3.9000000000000004, - "effort": 1093.7972809745859, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigFactory::fromArray" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigLoader::getCognitiveMetricDefaults": { - "line": 27, - "lineCount": 45, - "argCount": 0, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 8, - "N1": 0, - "N2": 16, - "programLength": 16, - "programVocabulary": 8, - "volume": 48, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigLoader::getCognitiveMetricDefaults" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigLoader::getConfigTreeBuilder": { - "line": 73, - "lineCount": 75, - "argCount": 0, - "returnCount": 2, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 24, - "N1": 68, - "N2": 29, - "programLength": 97, - "programVocabulary": 27, - "volume": 461.2240877098564, - "difficulty": 1.8125, - "effort": 835.9686589741148, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigLoader::getConfigTreeBuilder" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigService::__construct": { - "line": 20, - "lineCount": 6, - "argCount": 2, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 4, - "volume": 8, - "difficulty": 0.5, - "effort": 4, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigService::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigService::loadDefaultConfig": { - "line": 30, - "lineCount": 8, - "argCount": 0, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 3, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 5, - "N2": 6, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 3, - "effort": 85.30376252379816, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigService::loadDefaultConfig" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigService::loadConfig": { - "line": 42, - "lineCount": 9, - "argCount": 1, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 3, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 4, - "N1": 5, - "N2": 8, - "programLength": 13, - "programVocabulary": 7, - "volume": 36.49561398674886, - "difficulty": 3, - "effort": 109.48684196024658, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigService::loadConfig" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigService::getConfig": { - "line": 52, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigService::getConfig" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\MetricsConfig::__construct": { - "line": 12, - "lineCount": 6, - "argCount": 3, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 3, - "N1": 0, - "N2": 3, - "programLength": 3, - "programVocabulary": 3, - "volume": 4.754887502163468, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\MetricsConfig::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\MetricsConfig::toArray": { - "line": 24, - "lineCount": 8, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 3, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 4, - "N1": 0, - "N2": 6, - "programLength": 6, - "programVocabulary": 4, - "volume": 12, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\MetricsConfig::toArray" - } - } - }, - "ignored_items": [], - "cached_at": 1759967602 -} \ No newline at end of file diff --git a/.phpcca.cache/68/684957077098e05cc16556599d4c5582.cache b/.phpcca.cache/68/684957077098e05cc16556599d4c5582.cache deleted file mode 100644 index b8e40f8..0000000 --- a/.phpcca.cache/68/684957077098e05cc16556599d4c5582.cache +++ /dev/null @@ -1,442 +0,0 @@ -{ - "version": "1.0", - "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/Cache\/FileCache.php", - "file_mtime": 1759967437, - "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", - "analysis_result": { - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::__construct": { - "line": 26, - "lineCount": 5, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 3, - "n2": 4, - "N1": 3, - "N2": 6, - "programLength": 9, - "programVocabulary": 7, - "volume": 25.26619429851844, - "difficulty": 2.25, - "effort": 56.848937171666485, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItem": { - "line": 35, - "lineCount": 15, - "argCount": 1, - "returnCount": 3, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "cyclomatic_complexity": { - "complexity": 3, - "risk_level": "low" - }, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 6, - "N2": 13, - "programLength": 19, - "programVocabulary": 8, - "volume": 57, - "difficulty": 6.5, - "effort": 370.5, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItem" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItems": { - "line": 55, - "lineCount": 9, - "argCount": 1, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 2, - "risk_level": "low" - }, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 3, - "N2": 9, - "programLength": 12, - "programVocabulary": 6, - "volume": 31.019550008653873, - "difficulty": 2.25, - "effort": 69.79398751947122, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItems" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::hasItem": { - "line": 68, - "lineCount": 6, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 5, - "n2": 3, - "N1": 6, - "N2": 7, - "programLength": 13, - "programVocabulary": 8, - "volume": 39, - "difficulty": 5.833333333333334, - "effort": 227.50000000000003, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::hasItem" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::clear": { - "line": 75, - "lineCount": 10, - "argCount": 0, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 2, - "risk_level": "low" - }, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 2, - "N2": 4, - "programLength": 6, - "programVocabulary": 3, - "volume": 9.509775004326936, - "difficulty": 1, - "effort": 9.509775004326936, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::clear" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItem": { - "line": 89, - "lineCount": 10, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "cyclomatic_complexity": { - "complexity": 2, - "risk_level": "low" - }, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 4, - "N2": 6, - "programLength": 10, - "programVocabulary": 6, - "volume": 25.84962500721156, - "difficulty": 3, - "effort": 77.54887502163469, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItem" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItems": { - "line": 103, - "lineCount": 10, - "argCount": 1, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "cyclomatic_complexity": { - "complexity": 3, - "risk_level": "low" - }, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 3, - "N2": 8, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 2, - "effort": 56.86917501586544, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItems" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::save": { - "line": 117, - "lineCount": 11, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "cyclomatic_complexity": { - "complexity": 2, - "risk_level": "low" - }, - "halstead": { - "n1": 3, - "n2": 4, - "N1": 9, - "N2": 12, - "programLength": 21, - "programVocabulary": 7, - "volume": 58.95445336320969, - "difficulty": 4.5, - "effort": 265.2950401344436, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::save" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveDeferred": { - "line": 129, - "lineCount": 6, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveDeferred" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::commit": { - "line": 136, - "lineCount": 11, - "argCount": 0, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "cyclomatic_complexity": { - "complexity": 3, - "risk_level": "low" - }, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 4, - "N2": 8, - "programLength": 12, - "programVocabulary": 5, - "volume": 27.863137138648348, - "difficulty": 2.6666666666666665, - "effort": 74.30169903639559, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::commit" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::ensureCacheDirectory": { - "line": 152, - "lineCount": 9, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "cyclomatic_complexity": { - "complexity": 2, - "risk_level": "low" - }, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 3, - "N2": 4, - "programLength": 7, - "programVocabulary": 4, - "volume": 14, - "difficulty": 2, - "effort": 28, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::ensureCacheDirectory" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getCacheFilePath": { - "line": 168, - "lineCount": 15, - "argCount": 1, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "cyclomatic_complexity": { - "complexity": 2, - "risk_level": "low" - }, - "halstead": { - "n1": 4, - "n2": 10, - "N1": 13, - "N2": 19, - "programLength": 32, - "programVocabulary": 14, - "volume": 121.83535750584333, - "difficulty": 3.8, - "effort": 462.9743585222046, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getCacheFilePath" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::loadCacheData": { - "line": 187, - "lineCount": 14, - "argCount": 1, - "returnCount": 3, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "cyclomatic_complexity": { - "complexity": 3, - "risk_level": "low" - }, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 6, - "N2": 8, - "programLength": 14, - "programVocabulary": 6, - "volume": 36.18947501009619, - "difficulty": 4, - "effort": 144.75790004038475, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::loadCacheData" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveCacheData": { - "line": 209, - "lineCount": 21, - "argCount": 2, - "returnCount": 3, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "cyclomatic_complexity": { - "complexity": 3, - "risk_level": "low" - }, - "halstead": { - "n1": 6, - "n2": 7, - "N1": 13, - "N2": 17, - "programLength": 30, - "programVocabulary": 13, - "volume": 111.01319154423277, - "difficulty": 7.285714285714285, - "effort": 808.810395536553, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveCacheData" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::sanitizeUtf8": { - "line": 234, - "lineCount": 25, - "argCount": 1, - "returnCount": 4, - "variableCount": 6, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "cyclomatic_complexity": { - "complexity": 6, - "risk_level": "medium" - }, - "halstead": { - "n1": 3, - "n2": 8, - "N1": 13, - "N2": 29, - "programLength": 42, - "programVocabulary": 11, - "volume": 145.29612798276648, - "difficulty": 5.4375, - "effort": 790.0476959062927, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::sanitizeUtf8" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::removeDirectory": { - "line": 260, - "lineCount": 23, - "argCount": 1, - "returnCount": 2, - "variableCount": 5, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "cyclomatic_complexity": { - "complexity": 5, - "risk_level": "low" - }, - "halstead": { - "n1": 5, - "n2": 9, - "N1": 13, - "N2": 20, - "programLength": 33, - "programVocabulary": 14, - "volume": 125.64271242790093, - "difficulty": 5.555555555555555, - "effort": 698.0150690438941, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::removeDirectory" - } - } - }, - "ignored_items": [], - "cached_at": 1759967601 -} \ No newline at end of file diff --git a/.phpcca.cache/6d/6d574ec4d7bfe9eb4f74f3b861abe32f.cache b/.phpcca.cache/6d/6d574ec4d7bfe9eb4f74f3b861abe32f.cache deleted file mode 100644 index 2178b96..0000000 --- a/.phpcca.cache/6d/6d574ec4d7bfe9eb4f74f3b861abe32f.cache +++ /dev/null @@ -1,1878 +0,0 @@ -{ - "version": "1.0", - "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/Business\/CodeCoverage\/CoverageDetails.php", - "file_mtime": 1759784766, - "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", - "analysis_result": { - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct": { - "line": 60, - "lineCount": 5, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 1, - "N1": 2, - "N2": 2, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 2, - "effort": 12.679700005769249, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices": { - "line": 66, - "lineCount": 95, - "argCount": 0, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 5, - "N1": 58, - "N2": 32, - "programLength": 90, - "programVocabulary": 9, - "volume": 285.2932501298081, - "difficulty": 12.8, - "effort": 3651.7536016615436, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap": { - "line": 162, - "lineCount": 10, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 7, - "N2": 7, - "programLength": 14, - "programVocabulary": 2, - "volume": 14, - "difficulty": 3.5, - "effort": 49, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors": { - "line": 173, - "lineCount": 12, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 3, - "N2": 1, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0.5, - "effort": 2, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus": { - "line": 186, - "lineCount": 19, - "argCount": 0, - "returnCount": 0, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 9, - "N2": 13, - "programLength": 22, - "programVocabulary": 7, - "volume": 61.76180828526729, - "difficulty": 2.6, - "effort": 160.58070154169496, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService": { - "line": 206, - "lineCount": 9, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 3, - "N2": 1, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0.5, - "effort": 2, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade": { - "line": 216, - "lineCount": 13, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 3, - "N2": 1, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0.5, - "effort": 2, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands": { - "line": 230, - "lineCount": 21, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 6, - "N2": 2, - "programLength": 8, - "programVocabulary": 2, - "volume": 8, - "difficulty": 1, - "effort": 8, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication": { - "line": 252, - "lineCount": 11, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 5, - "N2": 4, - "programLength": 9, - "programVocabulary": 4, - "volume": 18, - "difficulty": 0.6666666666666666, - "effort": 12, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run": { - "line": 264, - "lineCount": 9, - "argCount": 0, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 5, - "N2": 5, - "programLength": 10, - "programVocabulary": 4, - "volume": 20, - "difficulty": 2.5, - "effort": 50, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get": { - "line": 274, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer": { - "line": 279, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator": { - "line": 289, - "lineCount": 16, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 7, - "programLength": 8, - "programVocabulary": 4, - "volume": 16, - "difficulty": 1.1666666666666667, - "effort": 18.666666666666668, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create": { - "line": 18, - "lineCount": 7, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 4, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile": { - "line": 17, - "lineCount": 17, - "argCount": 2, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 8, - "N1": 11, - "N2": 19, - "programLength": 30, - "programVocabulary": 11, - "volume": 103.78294855911892, - "difficulty": 3.5625, - "effort": 369.72675424186116, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode": { - "line": 42, - "lineCount": 8, - "argCount": 3, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 3, - "N2": 8, - "programLength": 11, - "programVocabulary": 8, - "volume": 33, - "difficulty": 2.4000000000000004, - "effort": 79.20000000000002, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate": { - "line": 22, - "lineCount": 10, - "argCount": 2, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 6, - "N2": 13, - "programLength": 19, - "programVocabulary": 6, - "volume": 49.11428751370197, - "difficulty": 3.25, - "effort": 159.6214344195314, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending": { - "line": 37, - "lineCount": 8, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 2, - "N2": 9, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 2.25, - "effort": 63.97782189284862, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn": { - "line": 51, - "lineCount": 24, - "argCount": 2, - "returnCount": 1, - "variableCount": 6, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 15, - "N1": 17, - "N2": 46, - "programLength": 63, - "programVocabulary": 20, - "volume": 272.28146997790384, - "difficulty": 7.666666666666667, - "effort": 2087.491269830596, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses": { - "line": 81, - "lineCount": 20, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 2, - "n2": 7, - "N1": 10, - "N2": 24, - "programLength": 34, - "programVocabulary": 9, - "volume": 107.7774500490386, - "difficulty": 3.4285714285714284, - "effort": 369.52268588241805, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass": { - "line": 109, - "lineCount": 9, - "argCount": 2, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 6, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 10, - "volume": 49.82892142331043, - "difficulty": 3.3333333333333335, - "effort": 166.09640474436813, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel": { - "line": 126, - "lineCount": 16, - "argCount": 2, - "returnCount": 4, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 12, - "N1": 9, - "N2": 18, - "programLength": 27, - "programVocabulary": 15, - "volume": 105.48604608143, - "difficulty": 2.25, - "effort": 237.3436036832175, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile": { - "line": 14, - "lineCount": 6, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 2, - "N2": 5, - "programLength": 7, - "programVocabulary": 4, - "volume": 14, - "difficulty": 2.5, - "effort": 35, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable": { - "line": 24, - "lineCount": 11, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 10, - "N2": 12, - "programLength": 22, - "programVocabulary": 8, - "volume": 66, - "difficulty": 6, - "effort": 396, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create": { - "line": 21, - "lineCount": 11, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 7, - "N1": 0, - "N2": 9, - "programLength": 9, - "programVocabulary": 7, - "volume": 25.26619429851844, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes": { - "line": 38, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 6, - "N1": 0, - "N2": 6, - "programLength": 6, - "programVocabulary": 6, - "volume": 15.509775004326936, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported": { - "line": 49, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 2, - "N2": 3, - "programLength": 5, - "programVocabulary": 4, - "volume": 10, - "difficulty": 1.5, - "effort": 15, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export": { - "line": 30, - "lineCount": 23, - "argCount": 2, - "returnCount": 0, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 16, - "N1": 10, - "N2": 33, - "programLength": 43, - "programVocabulary": 20, - "volume": 185.8429080801566, - "difficulty": 4.125, - "effort": 766.601995830646, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export": { - "line": 28, - "lineCount": 8, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 6, - "volume": 36.18947501009619, - "difficulty": 2.5, - "effort": 90.47368752524048, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape": { - "line": 37, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber": { - "line": 42, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml": { - "line": 52, - "lineCount": 50, - "argCount": 1, - "returnCount": 1, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 12, - "N1": 11, - "N2": 25, - "programLength": 36, - "programVocabulary": 17, - "volume": 147.14866228501222, - "difficulty": 5.208333333333334, - "effort": 766.3992827344388, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export": { - "line": 17, - "lineCount": 13, - "argCount": 2, - "returnCount": 0, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 8, - "N1": 7, - "N2": 14, - "programLength": 21, - "programVocabulary": 12, - "volume": 75.28421251514428, - "difficulty": 3.5, - "effort": 263.49474380300495, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export": { - "line": 48, - "lineCount": 8, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 6, - "volume": 36.18947501009619, - "difficulty": 2.5, - "effort": 90.47368752524048, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown": { - "line": 61, - "lineCount": 24, - "argCount": 1, - "returnCount": 1, - "variableCount": 6, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 6, - "n2": 16, - "N1": 19, - "N2": 41, - "programLength": 60, - "programVocabulary": 22, - "volume": 267.56589711823784, - "difficulty": 7.6875, - "effort": 2056.9128340964535, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow": { - "line": 94, - "lineCount": 21, - "argCount": 3, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 7, - "n2": 18, - "N1": 16, - "N2": 39, - "programLength": 55, - "programVocabulary": 25, - "volume": 255.41209043760983, - "difficulty": 7.583333333333333, - "effort": 1936.8750191518745, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::__construct": { - "line": 26, - "lineCount": 4, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::export": { - "line": 36, - "lineCount": 10, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 8, - "volume": 45, - "difficulty": 5, - "effort": 225, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::generateSvgTreemap": { - "line": 53, - "lineCount": 20, - "argCount": 1, - "returnCount": 1, - "variableCount": 6, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 8, - "N1": 9, - "N2": 20, - "programLength": 29, - "programVocabulary": 10, - "volume": 96.3359147517335, - "difficulty": 2.5, - "effort": 240.83978687933376, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::generateSvgTreemap" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRects": { - "line": 82, - "lineCount": 10, - "argCount": 3, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 9, - "N1": 6, - "N2": 18, - "programLength": 24, - "programVocabulary": 12, - "volume": 86.03910001730775, - "difficulty": 3, - "effort": 258.1173000519232, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRects" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRect": { - "line": 100, - "lineCount": 29, - "argCount": 2, - "returnCount": 1, - "variableCount": 12, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 6, - "n2": 28, - "N1": 26, - "N2": 54, - "programLength": 80, - "programVocabulary": 34, - "volume": 406.9970273000271, - "difficulty": 5.785714285714286, - "effort": 2354.7685150930142, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRect" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::wrapSvg": { - "line": 136, - "lineCount": 21, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 2, - "N2": 8, - "programLength": 10, - "programVocabulary": 4, - "volume": 20, - "difficulty": 1.3333333333333333, - "effort": 26.666666666666664, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::wrapSvg" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::prepareItems": { - "line": 28, - "lineCount": 18, - "argCount": 1, - "returnCount": 1, - "variableCount": 7, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 12, - "N1": 9, - "N2": 30, - "programLength": 39, - "programVocabulary": 17, - "volume": 159.41105080876324, - "difficulty": 6.25, - "effort": 996.3190675547702, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::prepareItems" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findScoreRange": { - "line": 53, - "lineCount": 16, - "argCount": 1, - "returnCount": 3, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 7, - "N2": 13, - "programLength": 20, - "programVocabulary": 8, - "volume": 60, - "difficulty": 3.9000000000000004, - "effort": 234.00000000000003, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findScoreRange" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::normalizeScore": { - "line": 78, - "lineCount": 8, - "argCount": 3, - "returnCount": 2, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 8, - "volume": 45, - "difficulty": 5, - "effort": 225, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::normalizeScore" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::scoreToColor": { - "line": 93, - "lineCount": 9, - "argCount": 1, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 5, - "n2": 9, - "N1": 12, - "N2": 16, - "programLength": 28, - "programVocabulary": 14, - "volume": 106.60593781761291, - "difficulty": 4.444444444444445, - "effort": 473.80416807827964, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::scoreToColor" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::calculateTreemapLayout": { - "line": 115, - "lineCount": 23, - "argCount": 7, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 9, - "N1": 2, - "N2": 18, - "programLength": 20, - "programVocabulary": 11, - "volume": 69.18863237274594, - "difficulty": 2, - "effort": 138.37726474549189, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::calculateTreemapLayout" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::layoutTreemap": { - "line": 152, - "lineCount": 89, - "argCount": 8, - "returnCount": 3, - "variableCount": 11, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 8, - "n2": 28, - "N1": 32, - "N2": 98, - "programLength": 130, - "programVocabulary": 36, - "volume": 672.0902501875006, - "difficulty": 14, - "effort": 9409.263502625008, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::layoutTreemap" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findSplitIndex": { - "line": 249, - "lineCount": 13, - "argCount": 2, - "returnCount": 2, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 7, - "n2": 10, - "N1": 9, - "N2": 23, - "programLength": 32, - "programVocabulary": 17, - "volume": 130.79881092001085, - "difficulty": 8.049999999999999, - "effort": 1052.9304279060873, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findSplitIndex" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::__construct": { - "line": 23, - "lineCount": 18, - "argCount": 1, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 7, - "N2": 11, - "programLength": 18, - "programVocabulary": 6, - "volume": 46.529325012980806, - "difficulty": 5.5, - "effort": 255.91128757139444, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::getAllClasses": { - "line": 47, - "lineCount": 17, - "argCount": 0, - "returnCount": 2, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 6, - "N2": 12, - "programLength": 18, - "programVocabulary": 9, - "volume": 57.05865002596162, - "difficulty": 3, - "effort": 171.17595007788486, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::getAllClasses" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::withClassNode": { - "line": 73, - "lineCount": 8, - "argCount": 2, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 4, - "N2": 8, - "programLength": 12, - "programVocabulary": 8, - "volume": 36, - "difficulty": 4, - "effort": 144, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::withClassNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::findClassNode": { - "line": 85, - "lineCount": 25, - "argCount": 1, - "returnCount": 4, - "variableCount": 5, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 13, - "N2": 29, - "programLength": 42, - "programVocabulary": 11, - "volume": 145.29612798276648, - "difficulty": 8.285714285714286, - "effort": 1203.8822032857795, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::findClassNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::escapeXPathValue": { - "line": 114, - "lineCount": 16, - "argCount": 1, - "returnCount": 3, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 9, - "N1": 11, - "N2": 18, - "programLength": 29, - "programVocabulary": 13, - "volume": 107.31275182609167, - "difficulty": 4, - "effort": 429.2510073043667, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::escapeXPathValue" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getLineCoverage": { - "line": 22, - "lineCount": 18, - "argCount": 1, - "returnCount": 4, - "variableCount": 5, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 9, - "N1": 10, - "N2": 19, - "programLength": 29, - "programVocabulary": 13, - "volume": 107.31275182609167, - "difficulty": 4.222222222222222, - "effort": 453.09828548794263, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getLineCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getBranchCoverage": { - "line": 48, - "lineCount": 18, - "argCount": 1, - "returnCount": 4, - "variableCount": 5, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 9, - "N1": 10, - "N2": 19, - "programLength": 29, - "programVocabulary": 13, - "volume": 107.31275182609167, - "difficulty": 4.222222222222222, - "effort": 453.09828548794263, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getBranchCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getComplexity": { - "line": 73, - "lineCount": 13, - "argCount": 1, - "returnCount": 3, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 7, - "N2": 14, - "programLength": 21, - "programVocabulary": 11, - "volume": 72.64806399138324, - "difficulty": 4, - "effort": 290.59225596553296, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getComplexity" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getCoverageDetails": { - "line": 93, - "lineCount": 26, - "argCount": 1, - "returnCount": 3, - "variableCount": 9, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 17, - "N1": 22, - "N2": 42, - "programLength": 64, - "programVocabulary": 22, - "volume": 285.403623592787, - "difficulty": 6.176470588235294, - "effort": 1762.7870868966259, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getCoverageDetails" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getMetricsNode": { - "line": 123, - "lineCount": 12, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 6, - "N1": 7, - "N2": 13, - "programLength": 20, - "programVocabulary": 10, - "volume": 66.43856189774725, - "difficulty": 4.333333333333333, - "effort": 287.90043489023805, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getMetricsNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getFilenameForClass": { - "line": 139, - "lineCount": 9, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 5, - "N1": 4, - "N2": 9, - "programLength": 13, - "programVocabulary": 9, - "volume": 41.209025018750054, - "difficulty": 3.6, - "effort": 148.3524900675002, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getFilenameForClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodsCoverage": { - "line": 154, - "lineCount": 36, - "argCount": 1, - "returnCount": 3, - "variableCount": 8, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 13, - "N1": 12, - "N2": 30, - "programLength": 42, - "programVocabulary": 16, - "volume": 168, - "difficulty": 3.4615384615384612, - "effort": 581.5384615384614, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodsCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::calculateMethodCoverage": { - "line": 194, - "lineCount": 15, - "argCount": 2, - "returnCount": 2, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 11, - "N1": 9, - "N2": 23, - "programLength": 32, - "programVocabulary": 16, - "volume": 128, - "difficulty": 5.227272727272727, - "effort": 669.090909090909, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::calculateMethodCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodCoverageFromLines": { - "line": 215, - "lineCount": 36, - "argCount": 2, - "returnCount": 1, - "variableCount": 7, - "propertyCallCount": 0, - "ifNestingLevel": 2, - "elseCount": 0, - "ifCount": 5, - "halstead": { - "n1": 2, - "n2": 14, - "N1": 12, - "N2": 35, - "programLength": 47, - "programVocabulary": 16, - "volume": 188, - "difficulty": 2.5, - "effort": 470, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodCoverageFromLines" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStart": { - "line": 252, - "lineCount": 4, - "argCount": 3, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 3, - "N2": 7, - "programLength": 10, - "programVocabulary": 6, - "volume": 25.84962500721156, - "difficulty": 1.75, - "effort": 45.23684376262023, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStart" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodEnd": { - "line": 257, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 5, - "programLength": 7, - "programVocabulary": 5, - "volume": 16.253496664211536, - "difficulty": 1.6666666666666667, - "effort": 27.089161107019226, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodEnd" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStatement": { - "line": 262, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 5, - "programLength": 7, - "programVocabulary": 5, - "volume": 16.253496664211536, - "difficulty": 1.6666666666666667, - "effort": 27.089161107019226, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStatement" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isStatementCovered": { - "line": 267, - "lineCount": 5, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 4, - "N1": 3, - "N2": 6, - "programLength": 9, - "programVocabulary": 7, - "volume": 25.26619429851844, - "difficulty": 2.25, - "effort": 56.848937171666485, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isStatementCovered" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getLineCoverage": { - "line": 20, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 9, - "volume": 44.37895002019237, - "difficulty": 2.5, - "effort": 110.94737505048093, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getLineCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getBranchCoverage": { - "line": 34, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 9, - "volume": 44.37895002019237, - "difficulty": 2.5, - "effort": 110.94737505048093, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getBranchCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getComplexity": { - "line": 48, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 9, - "volume": 44.37895002019237, - "difficulty": 2.5, - "effort": 110.94737505048093, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getComplexity" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getCoverageDetails": { - "line": 62, - "lineCount": 13, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 8, - "N1": 7, - "N2": 16, - "programLength": 23, - "programVocabulary": 9, - "volume": 72.90827503317318, - "difficulty": 1, - "effort": 72.90827503317318, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getCoverageDetails" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::extractMethodsCoverage": { - "line": 81, - "lineCount": 23, - "argCount": 1, - "returnCount": 2, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 11, - "N1": 10, - "N2": 23, - "programLength": 33, - "programVocabulary": 14, - "volume": 125.64271242790093, - "difficulty": 3.1363636363636362, - "effort": 394.061234432962, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::extractMethodsCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CodeCoverageFactory::createFromName": { - "line": 14, - "lineCount": 8, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 4, - "N1": 1, - "N2": 8, - "programLength": 9, - "programVocabulary": 5, - "volume": 20.89735285398626, - "difficulty": 1, - "effort": 20.89735285398626, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CodeCoverageFactory::createFromName" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::__construct": { - "line": 28, - "lineCount": 15, - "argCount": 6, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 6, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 1, - "n2": 7, - "N1": 6, - "N2": 18, - "programLength": 24, - "programVocabulary": 8, - "volume": 72, - "difficulty": 1.2857142857142858, - "effort": 92.57142857142858, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getName": { - "line": 44, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getName" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getFilename": { - "line": 49, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getFilename" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getLineRate": { - "line": 54, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getLineRate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getBranchRate": { - "line": 59, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getBranchRate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getComplexity": { - "line": 64, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getComplexity" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getMethods": { - "line": 72, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getMethods" - } - } - }, - "ignored_items": [], - "cached_at": 1759967600 -} \ No newline at end of file diff --git a/.phpcca.cache/71/71ab65abe94b592e89564b3f041ef723.cache b/.phpcca.cache/71/71ab65abe94b592e89564b3f041ef723.cache deleted file mode 100644 index 82ae984..0000000 --- a/.phpcca.cache/71/71ab65abe94b592e89564b3f041ef723.cache +++ /dev/null @@ -1,5120 +0,0 @@ -{ - "version": "1.0", - "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/Business\/Cyclomatic\/CyclomaticMetrics.php", - "file_mtime": 1752612112, - "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", - "analysis_result": { - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct": { - "line": 60, - "lineCount": 5, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 1, - "N1": 2, - "N2": 2, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 2, - "effort": 12.679700005769249, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices": { - "line": 66, - "lineCount": 95, - "argCount": 0, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 5, - "N1": 58, - "N2": 32, - "programLength": 90, - "programVocabulary": 9, - "volume": 285.2932501298081, - "difficulty": 12.8, - "effort": 3651.7536016615436, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap": { - "line": 162, - "lineCount": 10, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 7, - "N2": 7, - "programLength": 14, - "programVocabulary": 2, - "volume": 14, - "difficulty": 3.5, - "effort": 49, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors": { - "line": 173, - "lineCount": 12, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 3, - "N2": 1, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0.5, - "effort": 2, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus": { - "line": 186, - "lineCount": 19, - "argCount": 0, - "returnCount": 0, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 9, - "N2": 13, - "programLength": 22, - "programVocabulary": 7, - "volume": 61.76180828526729, - "difficulty": 2.6, - "effort": 160.58070154169496, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService": { - "line": 206, - "lineCount": 9, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 3, - "N2": 1, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0.5, - "effort": 2, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade": { - "line": 216, - "lineCount": 13, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 3, - "N2": 1, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0.5, - "effort": 2, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands": { - "line": 230, - "lineCount": 21, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 6, - "N2": 2, - "programLength": 8, - "programVocabulary": 2, - "volume": 8, - "difficulty": 1, - "effort": 8, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication": { - "line": 252, - "lineCount": 11, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 5, - "N2": 4, - "programLength": 9, - "programVocabulary": 4, - "volume": 18, - "difficulty": 0.6666666666666666, - "effort": 12, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run": { - "line": 264, - "lineCount": 9, - "argCount": 0, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 5, - "N2": 5, - "programLength": 10, - "programVocabulary": 4, - "volume": 20, - "difficulty": 2.5, - "effort": 50, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get": { - "line": 274, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer": { - "line": 279, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator": { - "line": 289, - "lineCount": 16, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 7, - "programLength": 8, - "programVocabulary": 4, - "volume": 16, - "difficulty": 1.1666666666666667, - "effort": 18.666666666666668, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create": { - "line": 18, - "lineCount": 7, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 4, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile": { - "line": 17, - "lineCount": 17, - "argCount": 2, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 8, - "N1": 11, - "N2": 19, - "programLength": 30, - "programVocabulary": 11, - "volume": 103.78294855911892, - "difficulty": 3.5625, - "effort": 369.72675424186116, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode": { - "line": 42, - "lineCount": 8, - "argCount": 3, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 3, - "N2": 8, - "programLength": 11, - "programVocabulary": 8, - "volume": 33, - "difficulty": 2.4000000000000004, - "effort": 79.20000000000002, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate": { - "line": 22, - "lineCount": 10, - "argCount": 2, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 6, - "N2": 13, - "programLength": 19, - "programVocabulary": 6, - "volume": 49.11428751370197, - "difficulty": 3.25, - "effort": 159.6214344195314, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending": { - "line": 37, - "lineCount": 8, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 2, - "N2": 9, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 2.25, - "effort": 63.97782189284862, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn": { - "line": 51, - "lineCount": 24, - "argCount": 2, - "returnCount": 1, - "variableCount": 6, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 15, - "N1": 17, - "N2": 46, - "programLength": 63, - "programVocabulary": 20, - "volume": 272.28146997790384, - "difficulty": 7.666666666666667, - "effort": 2087.491269830596, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses": { - "line": 81, - "lineCount": 20, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 2, - "n2": 7, - "N1": 10, - "N2": 24, - "programLength": 34, - "programVocabulary": 9, - "volume": 107.7774500490386, - "difficulty": 3.4285714285714284, - "effort": 369.52268588241805, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass": { - "line": 109, - "lineCount": 9, - "argCount": 2, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 6, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 10, - "volume": 49.82892142331043, - "difficulty": 3.3333333333333335, - "effort": 166.09640474436813, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel": { - "line": 126, - "lineCount": 16, - "argCount": 2, - "returnCount": 4, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 12, - "N1": 9, - "N2": 18, - "programLength": 27, - "programVocabulary": 15, - "volume": 105.48604608143, - "difficulty": 2.25, - "effort": 237.3436036832175, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile": { - "line": 14, - "lineCount": 6, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 2, - "N2": 5, - "programLength": 7, - "programVocabulary": 4, - "volume": 14, - "difficulty": 2.5, - "effort": 35, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable": { - "line": 24, - "lineCount": 11, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 10, - "N2": 12, - "programLength": 22, - "programVocabulary": 8, - "volume": 66, - "difficulty": 6, - "effort": 396, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create": { - "line": 21, - "lineCount": 11, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 7, - "N1": 0, - "N2": 9, - "programLength": 9, - "programVocabulary": 7, - "volume": 25.26619429851844, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes": { - "line": 38, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 6, - "N1": 0, - "N2": 6, - "programLength": 6, - "programVocabulary": 6, - "volume": 15.509775004326936, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported": { - "line": 49, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 2, - "N2": 3, - "programLength": 5, - "programVocabulary": 4, - "volume": 10, - "difficulty": 1.5, - "effort": 15, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export": { - "line": 30, - "lineCount": 23, - "argCount": 2, - "returnCount": 0, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 16, - "N1": 10, - "N2": 33, - "programLength": 43, - "programVocabulary": 20, - "volume": 185.8429080801566, - "difficulty": 4.125, - "effort": 766.601995830646, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export": { - "line": 28, - "lineCount": 8, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 6, - "volume": 36.18947501009619, - "difficulty": 2.5, - "effort": 90.47368752524048, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape": { - "line": 37, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber": { - "line": 42, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml": { - "line": 52, - "lineCount": 50, - "argCount": 1, - "returnCount": 1, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 12, - "N1": 11, - "N2": 25, - "programLength": 36, - "programVocabulary": 17, - "volume": 147.14866228501222, - "difficulty": 5.208333333333334, - "effort": 766.3992827344388, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export": { - "line": 17, - "lineCount": 13, - "argCount": 2, - "returnCount": 0, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 8, - "N1": 7, - "N2": 14, - "programLength": 21, - "programVocabulary": 12, - "volume": 75.28421251514428, - "difficulty": 3.5, - "effort": 263.49474380300495, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export": { - "line": 48, - "lineCount": 8, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 6, - "volume": 36.18947501009619, - "difficulty": 2.5, - "effort": 90.47368752524048, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown": { - "line": 61, - "lineCount": 24, - "argCount": 1, - "returnCount": 1, - "variableCount": 6, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 6, - "n2": 16, - "N1": 19, - "N2": 41, - "programLength": 60, - "programVocabulary": 22, - "volume": 267.56589711823784, - "difficulty": 7.6875, - "effort": 2056.9128340964535, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow": { - "line": 94, - "lineCount": 21, - "argCount": 3, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 7, - "n2": 18, - "N1": 16, - "N2": 39, - "programLength": 55, - "programVocabulary": 25, - "volume": 255.41209043760983, - "difficulty": 7.583333333333333, - "effort": 1936.8750191518745, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::__construct": { - "line": 26, - "lineCount": 4, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::export": { - "line": 36, - "lineCount": 10, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 8, - "volume": 45, - "difficulty": 5, - "effort": 225, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::generateSvgTreemap": { - "line": 53, - "lineCount": 20, - "argCount": 1, - "returnCount": 1, - "variableCount": 6, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 8, - "N1": 9, - "N2": 20, - "programLength": 29, - "programVocabulary": 10, - "volume": 96.3359147517335, - "difficulty": 2.5, - "effort": 240.83978687933376, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::generateSvgTreemap" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRects": { - "line": 82, - "lineCount": 10, - "argCount": 3, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 9, - "N1": 6, - "N2": 18, - "programLength": 24, - "programVocabulary": 12, - "volume": 86.03910001730775, - "difficulty": 3, - "effort": 258.1173000519232, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRects" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRect": { - "line": 100, - "lineCount": 29, - "argCount": 2, - "returnCount": 1, - "variableCount": 12, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 6, - "n2": 28, - "N1": 26, - "N2": 54, - "programLength": 80, - "programVocabulary": 34, - "volume": 406.9970273000271, - "difficulty": 5.785714285714286, - "effort": 2354.7685150930142, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRect" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::wrapSvg": { - "line": 136, - "lineCount": 21, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 2, - "N2": 8, - "programLength": 10, - "programVocabulary": 4, - "volume": 20, - "difficulty": 1.3333333333333333, - "effort": 26.666666666666664, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::wrapSvg" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::prepareItems": { - "line": 28, - "lineCount": 18, - "argCount": 1, - "returnCount": 1, - "variableCount": 7, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 12, - "N1": 9, - "N2": 30, - "programLength": 39, - "programVocabulary": 17, - "volume": 159.41105080876324, - "difficulty": 6.25, - "effort": 996.3190675547702, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::prepareItems" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findScoreRange": { - "line": 53, - "lineCount": 16, - "argCount": 1, - "returnCount": 3, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 7, - "N2": 13, - "programLength": 20, - "programVocabulary": 8, - "volume": 60, - "difficulty": 3.9000000000000004, - "effort": 234.00000000000003, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findScoreRange" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::normalizeScore": { - "line": 78, - "lineCount": 8, - "argCount": 3, - "returnCount": 2, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 8, - "volume": 45, - "difficulty": 5, - "effort": 225, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::normalizeScore" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::scoreToColor": { - "line": 93, - "lineCount": 9, - "argCount": 1, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 5, - "n2": 9, - "N1": 12, - "N2": 16, - "programLength": 28, - "programVocabulary": 14, - "volume": 106.60593781761291, - "difficulty": 4.444444444444445, - "effort": 473.80416807827964, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::scoreToColor" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::calculateTreemapLayout": { - "line": 115, - "lineCount": 23, - "argCount": 7, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 9, - "N1": 2, - "N2": 18, - "programLength": 20, - "programVocabulary": 11, - "volume": 69.18863237274594, - "difficulty": 2, - "effort": 138.37726474549189, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::calculateTreemapLayout" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::layoutTreemap": { - "line": 152, - "lineCount": 89, - "argCount": 8, - "returnCount": 3, - "variableCount": 11, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 8, - "n2": 28, - "N1": 32, - "N2": 98, - "programLength": 130, - "programVocabulary": 36, - "volume": 672.0902501875006, - "difficulty": 14, - "effort": 9409.263502625008, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::layoutTreemap" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findSplitIndex": { - "line": 249, - "lineCount": 13, - "argCount": 2, - "returnCount": 2, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 7, - "n2": 10, - "N1": 9, - "N2": 23, - "programLength": 32, - "programVocabulary": 17, - "volume": 130.79881092001085, - "difficulty": 8.049999999999999, - "effort": 1052.9304279060873, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findSplitIndex" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::__construct": { - "line": 23, - "lineCount": 18, - "argCount": 1, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 7, - "N2": 11, - "programLength": 18, - "programVocabulary": 6, - "volume": 46.529325012980806, - "difficulty": 5.5, - "effort": 255.91128757139444, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::getAllClasses": { - "line": 47, - "lineCount": 17, - "argCount": 0, - "returnCount": 2, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 6, - "N2": 12, - "programLength": 18, - "programVocabulary": 9, - "volume": 57.05865002596162, - "difficulty": 3, - "effort": 171.17595007788486, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::getAllClasses" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::withClassNode": { - "line": 73, - "lineCount": 8, - "argCount": 2, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 4, - "N2": 8, - "programLength": 12, - "programVocabulary": 8, - "volume": 36, - "difficulty": 4, - "effort": 144, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::withClassNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::findClassNode": { - "line": 85, - "lineCount": 25, - "argCount": 1, - "returnCount": 4, - "variableCount": 5, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 13, - "N2": 29, - "programLength": 42, - "programVocabulary": 11, - "volume": 145.29612798276648, - "difficulty": 8.285714285714286, - "effort": 1203.8822032857795, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::findClassNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::escapeXPathValue": { - "line": 114, - "lineCount": 16, - "argCount": 1, - "returnCount": 3, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 9, - "N1": 11, - "N2": 18, - "programLength": 29, - "programVocabulary": 13, - "volume": 107.31275182609167, - "difficulty": 4, - "effort": 429.2510073043667, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::escapeXPathValue" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getLineCoverage": { - "line": 22, - "lineCount": 18, - "argCount": 1, - "returnCount": 4, - "variableCount": 5, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 9, - "N1": 10, - "N2": 19, - "programLength": 29, - "programVocabulary": 13, - "volume": 107.31275182609167, - "difficulty": 4.222222222222222, - "effort": 453.09828548794263, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getLineCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getBranchCoverage": { - "line": 48, - "lineCount": 18, - "argCount": 1, - "returnCount": 4, - "variableCount": 5, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 9, - "N1": 10, - "N2": 19, - "programLength": 29, - "programVocabulary": 13, - "volume": 107.31275182609167, - "difficulty": 4.222222222222222, - "effort": 453.09828548794263, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getBranchCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getComplexity": { - "line": 73, - "lineCount": 13, - "argCount": 1, - "returnCount": 3, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 7, - "N2": 14, - "programLength": 21, - "programVocabulary": 11, - "volume": 72.64806399138324, - "difficulty": 4, - "effort": 290.59225596553296, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getComplexity" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getCoverageDetails": { - "line": 93, - "lineCount": 26, - "argCount": 1, - "returnCount": 3, - "variableCount": 9, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 17, - "N1": 22, - "N2": 42, - "programLength": 64, - "programVocabulary": 22, - "volume": 285.403623592787, - "difficulty": 6.176470588235294, - "effort": 1762.7870868966259, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getCoverageDetails" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getMetricsNode": { - "line": 123, - "lineCount": 12, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 6, - "N1": 7, - "N2": 13, - "programLength": 20, - "programVocabulary": 10, - "volume": 66.43856189774725, - "difficulty": 4.333333333333333, - "effort": 287.90043489023805, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getMetricsNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getFilenameForClass": { - "line": 139, - "lineCount": 9, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 5, - "N1": 4, - "N2": 9, - "programLength": 13, - "programVocabulary": 9, - "volume": 41.209025018750054, - "difficulty": 3.6, - "effort": 148.3524900675002, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getFilenameForClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodsCoverage": { - "line": 154, - "lineCount": 36, - "argCount": 1, - "returnCount": 3, - "variableCount": 8, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 13, - "N1": 12, - "N2": 30, - "programLength": 42, - "programVocabulary": 16, - "volume": 168, - "difficulty": 3.4615384615384612, - "effort": 581.5384615384614, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodsCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::calculateMethodCoverage": { - "line": 194, - "lineCount": 15, - "argCount": 2, - "returnCount": 2, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 11, - "N1": 9, - "N2": 23, - "programLength": 32, - "programVocabulary": 16, - "volume": 128, - "difficulty": 5.227272727272727, - "effort": 669.090909090909, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::calculateMethodCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodCoverageFromLines": { - "line": 215, - "lineCount": 36, - "argCount": 2, - "returnCount": 1, - "variableCount": 7, - "propertyCallCount": 0, - "ifNestingLevel": 2, - "elseCount": 0, - "ifCount": 5, - "halstead": { - "n1": 2, - "n2": 14, - "N1": 12, - "N2": 35, - "programLength": 47, - "programVocabulary": 16, - "volume": 188, - "difficulty": 2.5, - "effort": 470, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodCoverageFromLines" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStart": { - "line": 252, - "lineCount": 4, - "argCount": 3, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 3, - "N2": 7, - "programLength": 10, - "programVocabulary": 6, - "volume": 25.84962500721156, - "difficulty": 1.75, - "effort": 45.23684376262023, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStart" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodEnd": { - "line": 257, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 5, - "programLength": 7, - "programVocabulary": 5, - "volume": 16.253496664211536, - "difficulty": 1.6666666666666667, - "effort": 27.089161107019226, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodEnd" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStatement": { - "line": 262, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 5, - "programLength": 7, - "programVocabulary": 5, - "volume": 16.253496664211536, - "difficulty": 1.6666666666666667, - "effort": 27.089161107019226, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStatement" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isStatementCovered": { - "line": 267, - "lineCount": 5, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 4, - "N1": 3, - "N2": 6, - "programLength": 9, - "programVocabulary": 7, - "volume": 25.26619429851844, - "difficulty": 2.25, - "effort": 56.848937171666485, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isStatementCovered" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getLineCoverage": { - "line": 20, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 9, - "volume": 44.37895002019237, - "difficulty": 2.5, - "effort": 110.94737505048093, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getLineCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getBranchCoverage": { - "line": 34, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 9, - "volume": 44.37895002019237, - "difficulty": 2.5, - "effort": 110.94737505048093, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getBranchCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getComplexity": { - "line": 48, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 9, - "volume": 44.37895002019237, - "difficulty": 2.5, - "effort": 110.94737505048093, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getComplexity" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getCoverageDetails": { - "line": 62, - "lineCount": 13, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 8, - "N1": 7, - "N2": 16, - "programLength": 23, - "programVocabulary": 9, - "volume": 72.90827503317318, - "difficulty": 1, - "effort": 72.90827503317318, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getCoverageDetails" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::extractMethodsCoverage": { - "line": 81, - "lineCount": 23, - "argCount": 1, - "returnCount": 2, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 11, - "N1": 10, - "N2": 23, - "programLength": 33, - "programVocabulary": 14, - "volume": 125.64271242790093, - "difficulty": 3.1363636363636362, - "effort": 394.061234432962, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::extractMethodsCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CodeCoverageFactory::createFromName": { - "line": 14, - "lineCount": 8, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 4, - "N1": 1, - "N2": 8, - "programLength": 9, - "programVocabulary": 5, - "volume": 20.89735285398626, - "difficulty": 1, - "effort": 20.89735285398626, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CodeCoverageFactory::createFromName" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::__construct": { - "line": 28, - "lineCount": 15, - "argCount": 6, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 6, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 7, - "N1": 6, - "N2": 18, - "programLength": 24, - "programVocabulary": 8, - "volume": 72, - "difficulty": 1.2857142857142858, - "effort": 92.57142857142858, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getName": { - "line": 44, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getName" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getFilename": { - "line": 49, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getFilename" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getLineRate": { - "line": 54, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getLineRate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getBranchRate": { - "line": 59, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getBranchRate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getComplexity": { - "line": 64, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getComplexity" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getMethods": { - "line": 72, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getMethods" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::__construct": { - "line": 17, - "lineCount": 11, - "argCount": 4, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 4, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 5, - "N1": 4, - "N2": 12, - "programLength": 16, - "programVocabulary": 6, - "volume": 41.3594000115385, - "difficulty": 1.2, - "effort": 49.631280013846194, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getName": { - "line": 29, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getName" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getLineRate": { - "line": 34, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getLineRate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getBranchRate": { - "line": 39, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getBranchRate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getComplexity": { - "line": 44, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getComplexity" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::calculateDeltas": { - "line": 19, - "lineCount": 14, - "argCount": 2, - "returnCount": 0, - "variableCount": 6, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 9, - "N1": 4, - "N2": 18, - "programLength": 22, - "programVocabulary": 11, - "volume": 76.10749561002054, - "difficulty": 2, - "effort": 152.21499122004107, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::calculateDeltas" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::loadBaseline": { - "line": 41, - "lineCount": 13, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 5, - "N2": 9, - "programLength": 14, - "programVocabulary": 8, - "volume": 42, - "difficulty": 2.7, - "effort": 113.4, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::loadBaseline" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::__construct": { - "line": 72, - "lineCount": 21, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 6, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 9, - "N1": 12, - "N2": 34, - "programLength": 46, - "programVocabulary": 12, - "volume": 164.90827503317317, - "difficulty": 5.666666666666666, - "effort": 934.4802251879812, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setRequiredMetricProperties": { - "line": 98, - "lineCount": 30, - "argCount": 1, - "returnCount": 0, - "variableCount": 6, - "propertyCallCount": 9, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 21, - "N1": 21, - "N2": 51, - "programLength": 72, - "programVocabulary": 24, - "volume": 330.1173000519232, - "difficulty": 3.6428571428571423, - "effort": 1202.570164474863, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setRequiredMetricProperties" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setOptionalMetricProperties": { - "line": 133, - "lineCount": 12, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 8, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 11, - "N1": 16, - "N2": 33, - "programLength": 49, - "programVocabulary": 13, - "volume": 181.32154618891352, - "difficulty": 3, - "effort": 543.9646385667405, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setOptionalMetricProperties" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setTimesChanged": { - "line": 146, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setTimesChanged" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertSame": { - "line": 151, - "lineCount": 14, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 6, - "N2": 8, - "programLength": 14, - "programVocabulary": 5, - "volume": 32.50699332842307, - "difficulty": 2.6666666666666665, - "effort": 86.68531554246152, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertSame" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::calculateDeltas": { - "line": 169, - "lineCount": 13, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 16, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 17, - "N2": 27, - "programLength": 44, - "programVocabulary": 4, - "volume": 88, - "difficulty": 13.5, - "effort": 1188, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::calculateDeltas" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::fromArray": { - "line": 187, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::fromArray" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertArrayKeyIsPresent": { - "line": 197, - "lineCount": 6, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 5, - "programLength": 5, - "programVocabulary": 2, - "volume": 5, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertArrayKeyIsPresent" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getClass": { - "line": 204, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getMethod": { - "line": 209, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getMethod" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCount": { - "line": 214, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCount": { - "line": 219, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCount": { - "line": 224, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCount": { - "line": 229, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCount": { - "line": 234, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCount": { - "line": 239, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevel": { - "line": 244, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevel" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCount": { - "line": 249, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeight": { - "line": 254, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setLineCountWeight": { - "line": 259, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setLineCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeight": { - "line": 264, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setArgCountWeight": { - "line": 269, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setArgCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeight": { - "line": 274, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setReturnCountWeight": { - "line": 279, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setReturnCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeight": { - "line": 284, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setVariableCountWeight": { - "line": 289, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setVariableCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeight": { - "line": 294, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setPropertyCallCountWeight": { - "line": 299, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setPropertyCallCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeight": { - "line": 304, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfCountWeight": { - "line": 309, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeight": { - "line": 314, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfNestingLevelWeight": { - "line": 319, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfNestingLevelWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeight": { - "line": 324, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setElseCountWeight": { - "line": 329, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setElseCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setScore": { - "line": 334, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setScore" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getScore": { - "line": 339, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getScore" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setCoverage": { - "line": 344, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCoverage": { - "line": 349, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeightDelta": { - "line": 354, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeightDelta": { - "line": 359, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeightDelta": { - "line": 364, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeightDelta": { - "line": 369, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeightDelta": { - "line": 374, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeightDelta": { - "line": 379, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeightDelta": { - "line": 384, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeightDelta": { - "line": 389, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getTimesChanged": { - "line": 394, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 2, - "programLength": 3, - "programVocabulary": 3, - "volume": 4.754887502163468, - "difficulty": 0.5, - "effort": 2.377443751081734, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getTimesChanged" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getFileName": { - "line": 399, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getFileName" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLine": { - "line": 404, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLine" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::equals": { - "line": 409, - "lineCount": 5, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 2, - "N1": 5, - "N2": 5, - "programLength": 10, - "programVocabulary": 5, - "volume": 23.21928094887362, - "difficulty": 3.75, - "effort": 87.07230355827608, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::equals" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::toArray": { - "line": 418, - "lineCount": 34, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 29, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 30, - "N1": 0, - "N2": 58, - "programLength": 58, - "programVocabulary": 30, - "volume": 284.5996545452941, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::toArray" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::jsonSerialize": { - "line": 456, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::jsonSerialize" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getHalstead": { - "line": 464, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getHalstead" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCyclomatic": { - "line": 472, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCyclomatic" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::add": { - "line": 30, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 5, - "N2": 6, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 3, - "effort": 85.30376252379816, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::add" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filter": { - "line": 40, - "lineCount": 11, - "argCount": 1, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 8, - "volume": 42, - "difficulty": 3, - "effort": 126, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filter" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getIterator": { - "line": 57, - "lineCount": 5, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getIterator" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::count": { - "line": 66, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::count" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterWithScoreGreaterThan": { - "line": 71, - "lineCount": 6, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 3, - "N2": 6, - "programLength": 9, - "programVocabulary": 5, - "volume": 20.89735285398626, - "difficulty": 2, - "effort": 41.79470570797252, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterWithScoreGreaterThan" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::contains": { - "line": 78, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 4, - "N2": 5, - "programLength": 9, - "programVocabulary": 5, - "volume": 20.89735285398626, - "difficulty": 1.6666666666666667, - "effort": 34.82892142331043, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::contains" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getClassWithMethod": { - "line": 83, - "lineCount": 9, - "argCount": 2, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 3, - "N2": 10, - "programLength": 13, - "programVocabulary": 7, - "volume": 36.49561398674886, - "difficulty": 2, - "effort": 72.99122797349771, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getClassWithMethod" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterByClassName": { - "line": 93, - "lineCount": 6, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 3, - "N2": 6, - "programLength": 9, - "programVocabulary": 5, - "volume": 20.89735285398626, - "difficulty": 2, - "effort": 41.79470570797252, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterByClassName" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::assertMetricHasGetter": { - "line": 100, - "lineCount": 9, - "argCount": 3, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 6, - "programLength": 7, - "programVocabulary": 4, - "volume": 14, - "difficulty": 1, - "effort": 14, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::assertMetricHasGetter" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::groupBy": { - "line": 117, - "lineCount": 20, - "argCount": 1, - "returnCount": 1, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 10, - "N2": 23, - "programLength": 33, - "programVocabulary": 11, - "volume": 114.16124341503081, - "difficulty": 6.571428571428571, - "effort": 750.2024567273453, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::groupBy" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::jsonSerialize": { - "line": 141, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::jsonSerialize" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::__construct": { - "line": 32, - "lineCount": 8, - "argCount": 5, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 5, - "N1": 0, - "N2": 5, - "programLength": 5, - "programVocabulary": 5, - "volume": 11.60964047443681, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collect": { - "line": 49, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 5, - "programLength": 6, - "programVocabulary": 4, - "volume": 12, - "difficulty": 0.8333333333333334, - "effort": 10, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collect" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collectFromPaths": { - "line": 62, - "lineCount": 13, - "argCount": 2, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 8, - "N2": 16, - "programLength": 24, - "programVocabulary": 9, - "volume": 76.07820003461549, - "difficulty": 4, - "effort": 304.31280013846197, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collectFromPaths" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCodeFromFile": { - "line": 79, - "lineCount": 10, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 2, - "N1": 5, - "N2": 6, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 6, - "effort": 170.6075250475963, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCodeFromFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findMetrics": { - "line": 98, - "lineCount": 31, - "argCount": 1, - "returnCount": 1, - "variableCount": 9, - "propertyCallCount": 2, - "ifNestingLevel": 2, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 13, - "N1": 18, - "N2": 38, - "programLength": 56, - "programVocabulary": 16, - "volume": 224, - "difficulty": 4.384615384615384, - "effort": 982.1538461538461, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findMetrics" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processMethodMetrics": { - "line": 136, - "lineCount": 29, - "argCount": 3, - "returnCount": 1, - "variableCount": 7, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 14, - "N1": 8, - "N2": 27, - "programLength": 35, - "programVocabulary": 17, - "volume": 143.06119944376186, - "difficulty": 2.892857142857143, - "effort": 413.8556126765968, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processMethodMetrics" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::isExcluded": { - "line": 166, - "lineCount": 12, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 5, - "N1": 5, - "N2": 9, - "programLength": 14, - "programVocabulary": 9, - "volume": 44.37895002019237, - "difficulty": 3.6, - "effort": 159.76422007269252, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::isExcluded" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findSourceFiles": { - "line": 187, - "lineCount": 7, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 2, - "N2": 6, - "programLength": 8, - "programVocabulary": 6, - "volume": 20.67970000576925, - "difficulty": 1.5, - "effort": 31.019550008653873, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findSourceFiles" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getProjectRoot": { - "line": 202, - "lineCount": 13, - "argCount": 0, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 2, - "N1": 8, - "N2": 8, - "programLength": 16, - "programVocabulary": 6, - "volume": 41.3594000115385, - "difficulty": 8, - "effort": 330.875200092308, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getProjectRoot" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateCacheKey": { - "line": 219, - "lineCount": 7, - "argCount": 2, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 6, - "N1": 10, - "N2": 12, - "programLength": 22, - "programVocabulary": 10, - "volume": 73.08241808752197, - "difficulty": 4, - "effort": 292.3296723500879, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateCacheKey" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateConfigHash": { - "line": 230, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 1, - "N1": 3, - "N2": 2, - "programLength": 5, - "programVocabulary": 3, - "volume": 7.92481250360578, - "difficulty": 2, - "effort": 15.84962500721156, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateConfigHash" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::cacheResult": { - "line": 239, - "lineCount": 14, - "argCount": 4, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 13, - "N1": 5, - "N2": 20, - "programLength": 25, - "programVocabulary": 15, - "volume": 97.67226489021297, - "difficulty": 1.5384615384615385, - "effort": 150.26502290801997, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::cacheResult" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::clearCache": { - "line": 254, - "lineCount": 4, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::clearCache" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::normalizeFilename": { - "line": 264, - "lineCount": 15, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 6, - "n2": 7, - "N1": 12, - "N2": 16, - "programLength": 28, - "programVocabulary": 13, - "volume": 103.61231210795059, - "difficulty": 6.857142857142857, - "effort": 710.4844258830897, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::normalizeFilename" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCachedMetrics": { - "line": 286, - "lineCount": 19, - "argCount": 3, - "returnCount": 3, - "variableCount": 4, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 11, - "N1": 10, - "N2": 29, - "programLength": 39, - "programVocabulary": 14, - "volume": 148.48684196024655, - "difficulty": 3.954545454545454, - "effort": 587.1979659337022, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCachedMetrics" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processFile": { - "line": 312, - "lineCount": 37, - "argCount": 5, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 7, - "n2": 10, - "N1": 12, - "N2": 28, - "programLength": 40, - "programVocabulary": 17, - "volume": 163.49851365001356, - "difficulty": 9.799999999999999, - "effort": 1602.2854337701328, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::sort": { - "line": 51, - "lineCount": 41, - "argCount": 3, - "returnCount": 2, - "variableCount": 10, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 18, - "N1": 20, - "N2": 43, - "programLength": 63, - "programVocabulary": 22, - "volume": 280.9441919741497, - "difficulty": 4.777777777777778, - "effort": 1342.2889172098264, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::sort" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getFieldValue": { - "line": 100, - "lineCount": 28, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 25, - "N1": 24, - "N2": 50, - "programLength": 74, - "programVocabulary": 27, - "volume": 351.86167516009664, - "difficulty": 2, - "effort": 703.7233503201933, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getFieldValue" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::compareValues": { - "line": 136, - "lineCount": 13, - "argCount": 2, - "returnCount": 3, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 2, - "N1": 9, - "N2": 12, - "programLength": 21, - "programVocabulary": 5, - "volume": 48.760489992634604, - "difficulty": 9, - "effort": 438.8444099337114, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::compareValues" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getSortableFields": { - "line": 155, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 0, - "N1": 0, - "N2": 0, - "programLength": 0, - "programVocabulary": 0, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getSortableFields" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__construct": { - "line": 15, - "lineCount": 11, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 7, - "N2": 12, - "programLength": 19, - "programVocabulary": 6, - "volume": 49.11428751370197, - "difficulty": 6, - "effort": 294.6857250822118, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::getValue": { - "line": 27, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::getValue" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasIncreased": { - "line": 32, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasIncreased" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__toString": { - "line": 37, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__toString" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasNotChanged": { - "line": 42, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 2, - "programLength": 3, - "programVocabulary": 3, - "volume": 4.754887502163468, - "difficulty": 0.5, - "effort": 2.377443751081734, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasNotChanged" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\FileProcessed::__construct": { - "line": 14, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\FileProcessed::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\ParserFailed::__construct": { - "line": 15, - "lineCount": 5, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\ParserFailed::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\SourceFilesFound::__construct": { - "line": 17, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\SourceFilesFound::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::__construct": { - "line": 15, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::create": { - "line": 27, - "lineCount": 10, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 6, - "N1": 0, - "N2": 8, - "programLength": 8, - "programVocabulary": 6, - "volume": 20.67970000576925, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::create" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::getSupportedTypes": { - "line": 43, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 4, - "N1": 0, - "N2": 4, - "programLength": 4, - "programVocabulary": 4, - "volume": 8, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::getSupportedTypes" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::isSupported": { - "line": 54, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 2, - "N2": 3, - "programLength": 5, - "programVocabulary": 4, - "volume": 10, - "difficulty": 1.5, - "effort": 15, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::isSupported" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CsvExporter::export": { - "line": 46, - "lineCount": 57, - "argCount": 2, - "returnCount": 0, - "variableCount": 6, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 15, - "N1": 37, - "N2": 54, - "programLength": 91, - "programVocabulary": 19, - "volume": 386.56140372336625, - "difficulty": 7.2, - "effort": 2783.242106808237, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CsvExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::export": { - "line": 40, - "lineCount": 8, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 5, - "N1": 4, - "N2": 8, - "programLength": 12, - "programVocabulary": 9, - "volume": 38.039100017307746, - "difficulty": 3.2, - "effort": 121.72512005538479, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::escape": { - "line": 49, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::escape" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::formatNumber": { - "line": 54, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::formatNumber" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::generateMetricRow": { - "line": 59, - "lineCount": 12, - "argCount": 3, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 16, - "N1": 19, - "N2": 27, - "programLength": 46, - "programVocabulary": 21, - "volume": 202.04660144782298, - "difficulty": 4.21875, - "effort": 852.3840998580032, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::generateMetricRow" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::generateHtml": { - "line": 78, - "lineCount": 64, - "argCount": 1, - "returnCount": 1, - "variableCount": 7, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 11, - "N1": 46, - "N2": 57, - "programLength": 103, - "programVocabulary": 15, - "volume": 402.40973134767745, - "difficulty": 10.363636363636363, - "effort": 4170.42812487593, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::generateHtml" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\JsonExporter::export": { - "line": 19, - "lineCount": 38, - "argCount": 2, - "returnCount": 0, - "variableCount": 5, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 27, - "N1": 29, - "N2": 58, - "programLength": 87, - "programVocabulary": 32, - "volume": 435, - "difficulty": 5.370370370370371, - "effort": 2336.1111111111113, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\JsonExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::__construct": { - "line": 24, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::export": { - "line": 36, - "lineCount": 8, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 5, - "N1": 4, - "N2": 8, - "programLength": 12, - "programVocabulary": 9, - "volume": 38.039100017307746, - "difficulty": 3.2, - "effort": 121.72512005538479, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::escape": { - "line": 48, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::escape" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateMetricCell": { - "line": 56, - "lineCount": 12, - "argCount": 3, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 12, - "N1": 16, - "N2": 24, - "programLength": 40, - "programVocabulary": 17, - "volume": 163.49851365001356, - "difficulty": 5, - "effort": 817.4925682500678, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateMetricCell" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::filterMetrics": { - "line": 75, - "lineCount": 15, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 4, - "N1": 4, - "N2": 11, - "programLength": 15, - "programVocabulary": 7, - "volume": 42.11032383086406, - "difficulty": 4.125, - "effort": 173.70508580231424, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::filterMetrics" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableHeader": { - "line": 94, - "lineCount": 33, - "argCount": 0, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 4, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 19, - "N1": 10, - "N2": 28, - "programLength": 38, - "programVocabulary": 22, - "volume": 169.4584015082173, - "difficulty": 2.2105263157894735, - "effort": 374.5922559655329, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableHeader" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableHeaderWithClass": { - "line": 131, - "lineCount": 33, - "argCount": 0, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 4, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 20, - "N1": 10, - "N2": 29, - "programLength": 39, - "programVocabulary": 23, - "volume": 176.41891628622352, - "difficulty": 2.175, - "effort": 383.7111429225361, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableHeaderWithClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableSeparator": { - "line": 168, - "lineCount": 20, - "argCount": 0, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 4, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 7, - "N1": 3, - "N2": 16, - "programLength": 19, - "programVocabulary": 10, - "volume": 63.11663380285988, - "difficulty": 3.4285714285714284, - "effort": 216.399887324091, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableSeparator" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableSeparatorWithClass": { - "line": 192, - "lineCount": 20, - "argCount": 0, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 4, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 8, - "N1": 3, - "N2": 16, - "programLength": 19, - "programVocabulary": 11, - "volume": 65.72920075410865, - "difficulty": 3, - "effort": 197.18760226232592, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableSeparatorWithClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableRow": { - "line": 216, - "lineCount": 22, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 6, - "N1": 53, - "N2": 60, - "programLength": 113, - "programVocabulary": 10, - "volume": 375.37787472227194, - "difficulty": 20, - "effort": 7507.557494445438, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableRow" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableRowWithClass": { - "line": 242, - "lineCount": 25, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 6, - "N1": 55, - "N2": 62, - "programLength": 117, - "programVocabulary": 10, - "volume": 388.66558710182136, - "difficulty": 20.666666666666668, - "effort": 8032.422133437642, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableRowWithClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::addHalsteadCells": { - "line": 274, - "lineCount": 20, - "argCount": 2, - "returnCount": 3, - "variableCount": 2, - "propertyCallCount": 5, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 12, - "N2": 24, - "programLength": 36, - "programVocabulary": 8, - "volume": 108, - "difficulty": 7.199999999999999, - "effort": 777.5999999999999, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::addHalsteadCells" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::addCyclomaticCell": { - "line": 301, - "lineCount": 16, - "argCount": 2, - "returnCount": 3, - "variableCount": 2, - "propertyCallCount": 4, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 8, - "N2": 16, - "programLength": 24, - "programVocabulary": 11, - "volume": 83.02635884729514, - "difficulty": 4.571428571428571, - "effort": 379.5490690162063, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::addCyclomaticCell" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateMarkdown": { - "line": 325, - "lineCount": 8, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 2, - "N2": 6, - "programLength": 8, - "programVocabulary": 3, - "volume": 12.679700005769249, - "difficulty": 1.5, - "effort": 19.019550008653873, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateMarkdown" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateGroupedMarkdown": { - "line": 337, - "lineCount": 49, - "argCount": 1, - "returnCount": 1, - "variableCount": 10, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 8, - "n2": 23, - "N1": 33, - "N2": 65, - "programLength": 98, - "programVocabulary": 31, - "volume": 485.5112384179137, - "difficulty": 11.304347826086957, - "effort": 5488.387912550329, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateGroupedMarkdown" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateSingleTableMarkdown": { - "line": 390, - "lineCount": 28, - "argCount": 1, - "returnCount": 1, - "variableCount": 6, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 6, - "n2": 13, - "N1": 19, - "N2": 37, - "programLength": 56, - "programVocabulary": 19, - "volume": 237.88394075284077, - "difficulty": 8.538461538461538, - "effort": 2031.1628787357943, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateSingleTableMarkdown" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::__construct": { - "line": 32, - "lineCount": 26, - "argCount": 2, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 7, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 14, - "N2": 22, - "programLength": 36, - "programVocabulary": 5, - "volume": 83.58941141594504, - "difficulty": 7.333333333333333, - "effort": 612.9890170502636, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::parse": { - "line": 63, - "lineCount": 37, - "argCount": 1, - "returnCount": 1, - "variableCount": 9, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 14, - "N1": 16, - "N2": 43, - "programLength": 59, - "programVocabulary": 17, - "volume": 241.16030763377, - "difficulty": 4.607142857142858, - "effort": 1111.0599887412977, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::parse" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::scanForAnnotations": { - "line": 104, - "lineCount": 20, - "argCount": 1, - "returnCount": 0, - "variableCount": 4, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 7, - "N1": 8, - "N2": 16, - "programLength": 24, - "programVocabulary": 10, - "volume": 79.7262742772967, - "difficulty": 3.4285714285714284, - "effort": 273.34722609358863, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::scanForAnnotations" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::traverseAbstractSyntaxTreeWithCombinedVisitor": { - "line": 129, - "lineCount": 17, - "argCount": 1, - "returnCount": 0, - "variableCount": 4, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 7, - "N1": 7, - "N2": 15, - "programLength": 22, - "programVocabulary": 10, - "volume": 73.08241808752197, - "difficulty": 3.2142857142857144, - "effort": 234.90777242417778, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::traverseAbstractSyntaxTreeWithCombinedVisitor" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getIgnored": { - "line": 153, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getIgnored" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getIgnoredClasses": { - "line": 163, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getIgnoredClasses" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getIgnoredMethods": { - "line": 173, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getIgnoredMethods" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::clearStaticCaches": { - "line": 181, - "lineCount": 15, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 9, - "N1": 7, - "N2": 19, - "programLength": 26, - "programVocabulary": 10, - "volume": 86.37013046707142, - "difficulty": 1.0555555555555556, - "effort": 91.16847104857538, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::clearStaticCaches" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::clearStaticProperty": { - "line": 200, - "lineCount": 14, - "argCount": 2, - "returnCount": 0, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 6, - "N2": 12, - "programLength": 18, - "programVocabulary": 7, - "volume": 50.53238859703688, - "difficulty": 2.4, - "effort": 121.2777326328885, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::clearStaticProperty" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getRiskLevel": { - "line": 218, - "lineCount": 9, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 8, - "N1": 3, - "N2": 11, - "programLength": 14, - "programVocabulary": 9, - "volume": 44.37895002019237, - "difficulty": 0.6875, - "effort": 30.510528138882254, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getRiskLevel" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculate": { - "line": 47, - "lineCount": 5, - "argCount": 2, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 2, - "N2": 8, - "programLength": 10, - "programVocabulary": 4, - "volume": 20, - "difficulty": 1.3333333333333333, - "effort": 26.666666666666664, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculateScore": { - "line": 53, - "lineCount": 10, - "argCount": 1, - "returnCount": 0, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 9, - "N1": 7, - "N2": 15, - "programLength": 22, - "programVocabulary": 13, - "volume": 81.40967379910403, - "difficulty": 3.3333333333333335, - "effort": 271.36557933034675, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculateScore" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculateMetricWeights": { - "line": 70, - "lineCount": 17, - "argCount": 3, - "returnCount": 0, - "variableCount": 6, - "propertyCallCount": 3, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 12, - "N1": 9, - "N2": 24, - "programLength": 33, - "programVocabulary": 15, - "volume": 128.92738965508113, - "difficulty": 3, - "effort": 386.7821689652434, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculateMetricWeights" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculateLogWeight": { - "line": 132, - "lineCount": 8, - "argCount": 3, - "returnCount": 2, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 5, - "N1": 5, - "N2": 11, - "programLength": 16, - "programVocabulary": 10, - "volume": 53.150849518197795, - "difficulty": 5.5, - "effort": 292.3296723500879, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculateLogWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cyclomatic\\CyclomaticMetrics::__construct": { - "line": 129, - "lineCount": 23, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 19, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 2, - "n2": 43, - "N1": 56, - "N2": 130, - "programLength": 186, - "programVocabulary": 45, - "volume": 1021.4846759173195, - "difficulty": 3.0232558139534884, - "effort": 3088.209485331431, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cyclomatic\\CyclomaticMetrics::__construct" - } - } - }, - "ignored_items": [], - "cached_at": 1759967601 -} \ No newline at end of file diff --git a/.phpcca.cache/71/71c4ab0d2185d060cbcb0c9550191ffe.cache b/.phpcca.cache/71/71c4ab0d2185d060cbcb0c9550191ffe.cache deleted file mode 100644 index d3cb77f..0000000 --- a/.phpcca.cache/71/71c4ab0d2185d060cbcb0c9550191ffe.cache +++ /dev/null @@ -1,5446 +0,0 @@ -{ - "version": "1.0", - "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/Business\/Halstead\/HalsteadMetrics.php", - "file_mtime": 1752612112, - "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", - "analysis_result": { - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct": { - "line": 60, - "lineCount": 5, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 1, - "N1": 2, - "N2": 2, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 2, - "effort": 12.679700005769249, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices": { - "line": 66, - "lineCount": 95, - "argCount": 0, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 5, - "N1": 58, - "N2": 32, - "programLength": 90, - "programVocabulary": 9, - "volume": 285.2932501298081, - "difficulty": 12.8, - "effort": 3651.7536016615436, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap": { - "line": 162, - "lineCount": 10, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 7, - "N2": 7, - "programLength": 14, - "programVocabulary": 2, - "volume": 14, - "difficulty": 3.5, - "effort": 49, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors": { - "line": 173, - "lineCount": 12, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 3, - "N2": 1, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0.5, - "effort": 2, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus": { - "line": 186, - "lineCount": 19, - "argCount": 0, - "returnCount": 0, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 9, - "N2": 13, - "programLength": 22, - "programVocabulary": 7, - "volume": 61.76180828526729, - "difficulty": 2.6, - "effort": 160.58070154169496, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService": { - "line": 206, - "lineCount": 9, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 3, - "N2": 1, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0.5, - "effort": 2, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade": { - "line": 216, - "lineCount": 13, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 3, - "N2": 1, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0.5, - "effort": 2, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands": { - "line": 230, - "lineCount": 21, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 6, - "N2": 2, - "programLength": 8, - "programVocabulary": 2, - "volume": 8, - "difficulty": 1, - "effort": 8, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication": { - "line": 252, - "lineCount": 11, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 5, - "N2": 4, - "programLength": 9, - "programVocabulary": 4, - "volume": 18, - "difficulty": 0.6666666666666666, - "effort": 12, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run": { - "line": 264, - "lineCount": 9, - "argCount": 0, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 5, - "N2": 5, - "programLength": 10, - "programVocabulary": 4, - "volume": 20, - "difficulty": 2.5, - "effort": 50, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get": { - "line": 274, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer": { - "line": 279, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator": { - "line": 289, - "lineCount": 16, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 7, - "programLength": 8, - "programVocabulary": 4, - "volume": 16, - "difficulty": 1.1666666666666667, - "effort": 18.666666666666668, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create": { - "line": 18, - "lineCount": 7, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 4, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile": { - "line": 17, - "lineCount": 17, - "argCount": 2, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 8, - "N1": 11, - "N2": 19, - "programLength": 30, - "programVocabulary": 11, - "volume": 103.78294855911892, - "difficulty": 3.5625, - "effort": 369.72675424186116, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode": { - "line": 42, - "lineCount": 8, - "argCount": 3, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 3, - "N2": 8, - "programLength": 11, - "programVocabulary": 8, - "volume": 33, - "difficulty": 2.4000000000000004, - "effort": 79.20000000000002, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate": { - "line": 22, - "lineCount": 10, - "argCount": 2, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 6, - "N2": 13, - "programLength": 19, - "programVocabulary": 6, - "volume": 49.11428751370197, - "difficulty": 3.25, - "effort": 159.6214344195314, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending": { - "line": 37, - "lineCount": 8, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 2, - "N2": 9, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 2.25, - "effort": 63.97782189284862, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn": { - "line": 51, - "lineCount": 24, - "argCount": 2, - "returnCount": 1, - "variableCount": 6, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 15, - "N1": 17, - "N2": 46, - "programLength": 63, - "programVocabulary": 20, - "volume": 272.28146997790384, - "difficulty": 7.666666666666667, - "effort": 2087.491269830596, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses": { - "line": 81, - "lineCount": 20, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 2, - "n2": 7, - "N1": 10, - "N2": 24, - "programLength": 34, - "programVocabulary": 9, - "volume": 107.7774500490386, - "difficulty": 3.4285714285714284, - "effort": 369.52268588241805, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass": { - "line": 109, - "lineCount": 9, - "argCount": 2, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 6, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 10, - "volume": 49.82892142331043, - "difficulty": 3.3333333333333335, - "effort": 166.09640474436813, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel": { - "line": 126, - "lineCount": 16, - "argCount": 2, - "returnCount": 4, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 12, - "N1": 9, - "N2": 18, - "programLength": 27, - "programVocabulary": 15, - "volume": 105.48604608143, - "difficulty": 2.25, - "effort": 237.3436036832175, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile": { - "line": 14, - "lineCount": 6, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 2, - "N2": 5, - "programLength": 7, - "programVocabulary": 4, - "volume": 14, - "difficulty": 2.5, - "effort": 35, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable": { - "line": 24, - "lineCount": 11, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 10, - "N2": 12, - "programLength": 22, - "programVocabulary": 8, - "volume": 66, - "difficulty": 6, - "effort": 396, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create": { - "line": 21, - "lineCount": 11, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 7, - "N1": 0, - "N2": 9, - "programLength": 9, - "programVocabulary": 7, - "volume": 25.26619429851844, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes": { - "line": 38, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 6, - "N1": 0, - "N2": 6, - "programLength": 6, - "programVocabulary": 6, - "volume": 15.509775004326936, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported": { - "line": 49, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 2, - "N2": 3, - "programLength": 5, - "programVocabulary": 4, - "volume": 10, - "difficulty": 1.5, - "effort": 15, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export": { - "line": 30, - "lineCount": 23, - "argCount": 2, - "returnCount": 0, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 16, - "N1": 10, - "N2": 33, - "programLength": 43, - "programVocabulary": 20, - "volume": 185.8429080801566, - "difficulty": 4.125, - "effort": 766.601995830646, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export": { - "line": 28, - "lineCount": 8, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 6, - "volume": 36.18947501009619, - "difficulty": 2.5, - "effort": 90.47368752524048, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape": { - "line": 37, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber": { - "line": 42, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml": { - "line": 52, - "lineCount": 50, - "argCount": 1, - "returnCount": 1, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 12, - "N1": 11, - "N2": 25, - "programLength": 36, - "programVocabulary": 17, - "volume": 147.14866228501222, - "difficulty": 5.208333333333334, - "effort": 766.3992827344388, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export": { - "line": 17, - "lineCount": 13, - "argCount": 2, - "returnCount": 0, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 8, - "N1": 7, - "N2": 14, - "programLength": 21, - "programVocabulary": 12, - "volume": 75.28421251514428, - "difficulty": 3.5, - "effort": 263.49474380300495, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export": { - "line": 48, - "lineCount": 8, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 6, - "volume": 36.18947501009619, - "difficulty": 2.5, - "effort": 90.47368752524048, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown": { - "line": 61, - "lineCount": 24, - "argCount": 1, - "returnCount": 1, - "variableCount": 6, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 6, - "n2": 16, - "N1": 19, - "N2": 41, - "programLength": 60, - "programVocabulary": 22, - "volume": 267.56589711823784, - "difficulty": 7.6875, - "effort": 2056.9128340964535, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow": { - "line": 94, - "lineCount": 21, - "argCount": 3, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 7, - "n2": 18, - "N1": 16, - "N2": 39, - "programLength": 55, - "programVocabulary": 25, - "volume": 255.41209043760983, - "difficulty": 7.583333333333333, - "effort": 1936.8750191518745, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::__construct": { - "line": 26, - "lineCount": 4, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::export": { - "line": 36, - "lineCount": 10, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 8, - "volume": 45, - "difficulty": 5, - "effort": 225, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::generateSvgTreemap": { - "line": 53, - "lineCount": 20, - "argCount": 1, - "returnCount": 1, - "variableCount": 6, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 8, - "N1": 9, - "N2": 20, - "programLength": 29, - "programVocabulary": 10, - "volume": 96.3359147517335, - "difficulty": 2.5, - "effort": 240.83978687933376, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::generateSvgTreemap" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRects": { - "line": 82, - "lineCount": 10, - "argCount": 3, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 9, - "N1": 6, - "N2": 18, - "programLength": 24, - "programVocabulary": 12, - "volume": 86.03910001730775, - "difficulty": 3, - "effort": 258.1173000519232, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRects" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRect": { - "line": 100, - "lineCount": 29, - "argCount": 2, - "returnCount": 1, - "variableCount": 12, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 6, - "n2": 28, - "N1": 26, - "N2": 54, - "programLength": 80, - "programVocabulary": 34, - "volume": 406.9970273000271, - "difficulty": 5.785714285714286, - "effort": 2354.7685150930142, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRect" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::wrapSvg": { - "line": 136, - "lineCount": 21, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 2, - "N2": 8, - "programLength": 10, - "programVocabulary": 4, - "volume": 20, - "difficulty": 1.3333333333333333, - "effort": 26.666666666666664, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::wrapSvg" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::prepareItems": { - "line": 28, - "lineCount": 18, - "argCount": 1, - "returnCount": 1, - "variableCount": 7, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 12, - "N1": 9, - "N2": 30, - "programLength": 39, - "programVocabulary": 17, - "volume": 159.41105080876324, - "difficulty": 6.25, - "effort": 996.3190675547702, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::prepareItems" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findScoreRange": { - "line": 53, - "lineCount": 16, - "argCount": 1, - "returnCount": 3, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 7, - "N2": 13, - "programLength": 20, - "programVocabulary": 8, - "volume": 60, - "difficulty": 3.9000000000000004, - "effort": 234.00000000000003, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findScoreRange" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::normalizeScore": { - "line": 78, - "lineCount": 8, - "argCount": 3, - "returnCount": 2, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 8, - "volume": 45, - "difficulty": 5, - "effort": 225, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::normalizeScore" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::scoreToColor": { - "line": 93, - "lineCount": 9, - "argCount": 1, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 5, - "n2": 9, - "N1": 12, - "N2": 16, - "programLength": 28, - "programVocabulary": 14, - "volume": 106.60593781761291, - "difficulty": 4.444444444444445, - "effort": 473.80416807827964, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::scoreToColor" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::calculateTreemapLayout": { - "line": 115, - "lineCount": 23, - "argCount": 7, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 9, - "N1": 2, - "N2": 18, - "programLength": 20, - "programVocabulary": 11, - "volume": 69.18863237274594, - "difficulty": 2, - "effort": 138.37726474549189, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::calculateTreemapLayout" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::layoutTreemap": { - "line": 152, - "lineCount": 89, - "argCount": 8, - "returnCount": 3, - "variableCount": 11, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 8, - "n2": 28, - "N1": 32, - "N2": 98, - "programLength": 130, - "programVocabulary": 36, - "volume": 672.0902501875006, - "difficulty": 14, - "effort": 9409.263502625008, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::layoutTreemap" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findSplitIndex": { - "line": 249, - "lineCount": 13, - "argCount": 2, - "returnCount": 2, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 7, - "n2": 10, - "N1": 9, - "N2": 23, - "programLength": 32, - "programVocabulary": 17, - "volume": 130.79881092001085, - "difficulty": 8.049999999999999, - "effort": 1052.9304279060873, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findSplitIndex" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::__construct": { - "line": 23, - "lineCount": 18, - "argCount": 1, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 7, - "N2": 11, - "programLength": 18, - "programVocabulary": 6, - "volume": 46.529325012980806, - "difficulty": 5.5, - "effort": 255.91128757139444, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::getAllClasses": { - "line": 47, - "lineCount": 17, - "argCount": 0, - "returnCount": 2, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 6, - "N2": 12, - "programLength": 18, - "programVocabulary": 9, - "volume": 57.05865002596162, - "difficulty": 3, - "effort": 171.17595007788486, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::getAllClasses" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::withClassNode": { - "line": 73, - "lineCount": 8, - "argCount": 2, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 4, - "N2": 8, - "programLength": 12, - "programVocabulary": 8, - "volume": 36, - "difficulty": 4, - "effort": 144, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::withClassNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::findClassNode": { - "line": 85, - "lineCount": 25, - "argCount": 1, - "returnCount": 4, - "variableCount": 5, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 13, - "N2": 29, - "programLength": 42, - "programVocabulary": 11, - "volume": 145.29612798276648, - "difficulty": 8.285714285714286, - "effort": 1203.8822032857795, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::findClassNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::escapeXPathValue": { - "line": 114, - "lineCount": 16, - "argCount": 1, - "returnCount": 3, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 9, - "N1": 11, - "N2": 18, - "programLength": 29, - "programVocabulary": 13, - "volume": 107.31275182609167, - "difficulty": 4, - "effort": 429.2510073043667, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::escapeXPathValue" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getLineCoverage": { - "line": 22, - "lineCount": 18, - "argCount": 1, - "returnCount": 4, - "variableCount": 5, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 9, - "N1": 10, - "N2": 19, - "programLength": 29, - "programVocabulary": 13, - "volume": 107.31275182609167, - "difficulty": 4.222222222222222, - "effort": 453.09828548794263, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getLineCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getBranchCoverage": { - "line": 48, - "lineCount": 18, - "argCount": 1, - "returnCount": 4, - "variableCount": 5, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 9, - "N1": 10, - "N2": 19, - "programLength": 29, - "programVocabulary": 13, - "volume": 107.31275182609167, - "difficulty": 4.222222222222222, - "effort": 453.09828548794263, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getBranchCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getComplexity": { - "line": 73, - "lineCount": 13, - "argCount": 1, - "returnCount": 3, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 7, - "N2": 14, - "programLength": 21, - "programVocabulary": 11, - "volume": 72.64806399138324, - "difficulty": 4, - "effort": 290.59225596553296, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getComplexity" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getCoverageDetails": { - "line": 93, - "lineCount": 26, - "argCount": 1, - "returnCount": 3, - "variableCount": 9, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 17, - "N1": 22, - "N2": 42, - "programLength": 64, - "programVocabulary": 22, - "volume": 285.403623592787, - "difficulty": 6.176470588235294, - "effort": 1762.7870868966259, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getCoverageDetails" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getMetricsNode": { - "line": 123, - "lineCount": 12, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 6, - "N1": 7, - "N2": 13, - "programLength": 20, - "programVocabulary": 10, - "volume": 66.43856189774725, - "difficulty": 4.333333333333333, - "effort": 287.90043489023805, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getMetricsNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getFilenameForClass": { - "line": 139, - "lineCount": 9, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 5, - "N1": 4, - "N2": 9, - "programLength": 13, - "programVocabulary": 9, - "volume": 41.209025018750054, - "difficulty": 3.6, - "effort": 148.3524900675002, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getFilenameForClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodsCoverage": { - "line": 154, - "lineCount": 36, - "argCount": 1, - "returnCount": 3, - "variableCount": 8, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 13, - "N1": 12, - "N2": 30, - "programLength": 42, - "programVocabulary": 16, - "volume": 168, - "difficulty": 3.4615384615384612, - "effort": 581.5384615384614, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodsCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::calculateMethodCoverage": { - "line": 194, - "lineCount": 15, - "argCount": 2, - "returnCount": 2, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 11, - "N1": 9, - "N2": 23, - "programLength": 32, - "programVocabulary": 16, - "volume": 128, - "difficulty": 5.227272727272727, - "effort": 669.090909090909, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::calculateMethodCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodCoverageFromLines": { - "line": 215, - "lineCount": 36, - "argCount": 2, - "returnCount": 1, - "variableCount": 7, - "propertyCallCount": 0, - "ifNestingLevel": 2, - "elseCount": 0, - "ifCount": 5, - "halstead": { - "n1": 2, - "n2": 14, - "N1": 12, - "N2": 35, - "programLength": 47, - "programVocabulary": 16, - "volume": 188, - "difficulty": 2.5, - "effort": 470, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodCoverageFromLines" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStart": { - "line": 252, - "lineCount": 4, - "argCount": 3, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 3, - "N2": 7, - "programLength": 10, - "programVocabulary": 6, - "volume": 25.84962500721156, - "difficulty": 1.75, - "effort": 45.23684376262023, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStart" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodEnd": { - "line": 257, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 5, - "programLength": 7, - "programVocabulary": 5, - "volume": 16.253496664211536, - "difficulty": 1.6666666666666667, - "effort": 27.089161107019226, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodEnd" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStatement": { - "line": 262, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 5, - "programLength": 7, - "programVocabulary": 5, - "volume": 16.253496664211536, - "difficulty": 1.6666666666666667, - "effort": 27.089161107019226, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStatement" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isStatementCovered": { - "line": 267, - "lineCount": 5, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 4, - "N1": 3, - "N2": 6, - "programLength": 9, - "programVocabulary": 7, - "volume": 25.26619429851844, - "difficulty": 2.25, - "effort": 56.848937171666485, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isStatementCovered" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getLineCoverage": { - "line": 20, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 9, - "volume": 44.37895002019237, - "difficulty": 2.5, - "effort": 110.94737505048093, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getLineCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getBranchCoverage": { - "line": 34, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 9, - "volume": 44.37895002019237, - "difficulty": 2.5, - "effort": 110.94737505048093, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getBranchCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getComplexity": { - "line": 48, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 9, - "volume": 44.37895002019237, - "difficulty": 2.5, - "effort": 110.94737505048093, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getComplexity" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getCoverageDetails": { - "line": 62, - "lineCount": 13, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 8, - "N1": 7, - "N2": 16, - "programLength": 23, - "programVocabulary": 9, - "volume": 72.90827503317318, - "difficulty": 1, - "effort": 72.90827503317318, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getCoverageDetails" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::extractMethodsCoverage": { - "line": 81, - "lineCount": 23, - "argCount": 1, - "returnCount": 2, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 11, - "N1": 10, - "N2": 23, - "programLength": 33, - "programVocabulary": 14, - "volume": 125.64271242790093, - "difficulty": 3.1363636363636362, - "effort": 394.061234432962, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::extractMethodsCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CodeCoverageFactory::createFromName": { - "line": 14, - "lineCount": 8, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 4, - "N1": 1, - "N2": 8, - "programLength": 9, - "programVocabulary": 5, - "volume": 20.89735285398626, - "difficulty": 1, - "effort": 20.89735285398626, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CodeCoverageFactory::createFromName" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::__construct": { - "line": 28, - "lineCount": 15, - "argCount": 6, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 6, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 7, - "N1": 6, - "N2": 18, - "programLength": 24, - "programVocabulary": 8, - "volume": 72, - "difficulty": 1.2857142857142858, - "effort": 92.57142857142858, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getName": { - "line": 44, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getName" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getFilename": { - "line": 49, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getFilename" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getLineRate": { - "line": 54, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getLineRate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getBranchRate": { - "line": 59, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getBranchRate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getComplexity": { - "line": 64, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getComplexity" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getMethods": { - "line": 72, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getMethods" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::__construct": { - "line": 17, - "lineCount": 11, - "argCount": 4, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 4, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 5, - "N1": 4, - "N2": 12, - "programLength": 16, - "programVocabulary": 6, - "volume": 41.3594000115385, - "difficulty": 1.2, - "effort": 49.631280013846194, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getName": { - "line": 29, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getName" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getLineRate": { - "line": 34, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getLineRate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getBranchRate": { - "line": 39, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getBranchRate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getComplexity": { - "line": 44, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getComplexity" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::calculateDeltas": { - "line": 19, - "lineCount": 14, - "argCount": 2, - "returnCount": 0, - "variableCount": 6, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 9, - "N1": 4, - "N2": 18, - "programLength": 22, - "programVocabulary": 11, - "volume": 76.10749561002054, - "difficulty": 2, - "effort": 152.21499122004107, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::calculateDeltas" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::loadBaseline": { - "line": 41, - "lineCount": 13, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 5, - "N2": 9, - "programLength": 14, - "programVocabulary": 8, - "volume": 42, - "difficulty": 2.7, - "effort": 113.4, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::loadBaseline" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::__construct": { - "line": 72, - "lineCount": 21, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 6, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 9, - "N1": 12, - "N2": 34, - "programLength": 46, - "programVocabulary": 12, - "volume": 164.90827503317317, - "difficulty": 5.666666666666666, - "effort": 934.4802251879812, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setRequiredMetricProperties": { - "line": 98, - "lineCount": 30, - "argCount": 1, - "returnCount": 0, - "variableCount": 6, - "propertyCallCount": 9, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 21, - "N1": 21, - "N2": 51, - "programLength": 72, - "programVocabulary": 24, - "volume": 330.1173000519232, - "difficulty": 3.6428571428571423, - "effort": 1202.570164474863, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setRequiredMetricProperties" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setOptionalMetricProperties": { - "line": 133, - "lineCount": 12, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 8, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 11, - "N1": 16, - "N2": 33, - "programLength": 49, - "programVocabulary": 13, - "volume": 181.32154618891352, - "difficulty": 3, - "effort": 543.9646385667405, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setOptionalMetricProperties" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setTimesChanged": { - "line": 146, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setTimesChanged" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertSame": { - "line": 151, - "lineCount": 14, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 6, - "N2": 8, - "programLength": 14, - "programVocabulary": 5, - "volume": 32.50699332842307, - "difficulty": 2.6666666666666665, - "effort": 86.68531554246152, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertSame" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::calculateDeltas": { - "line": 169, - "lineCount": 13, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 16, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 17, - "N2": 27, - "programLength": 44, - "programVocabulary": 4, - "volume": 88, - "difficulty": 13.5, - "effort": 1188, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::calculateDeltas" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::fromArray": { - "line": 187, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::fromArray" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertArrayKeyIsPresent": { - "line": 197, - "lineCount": 6, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 5, - "programLength": 5, - "programVocabulary": 2, - "volume": 5, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertArrayKeyIsPresent" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getClass": { - "line": 204, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getMethod": { - "line": 209, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getMethod" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCount": { - "line": 214, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCount": { - "line": 219, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCount": { - "line": 224, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCount": { - "line": 229, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCount": { - "line": 234, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCount": { - "line": 239, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevel": { - "line": 244, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevel" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCount": { - "line": 249, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeight": { - "line": 254, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setLineCountWeight": { - "line": 259, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setLineCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeight": { - "line": 264, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setArgCountWeight": { - "line": 269, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setArgCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeight": { - "line": 274, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setReturnCountWeight": { - "line": 279, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setReturnCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeight": { - "line": 284, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setVariableCountWeight": { - "line": 289, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setVariableCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeight": { - "line": 294, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setPropertyCallCountWeight": { - "line": 299, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setPropertyCallCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeight": { - "line": 304, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfCountWeight": { - "line": 309, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeight": { - "line": 314, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfNestingLevelWeight": { - "line": 319, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfNestingLevelWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeight": { - "line": 324, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setElseCountWeight": { - "line": 329, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setElseCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setScore": { - "line": 334, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setScore" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getScore": { - "line": 339, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getScore" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setCoverage": { - "line": 344, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCoverage": { - "line": 349, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeightDelta": { - "line": 354, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeightDelta": { - "line": 359, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeightDelta": { - "line": 364, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeightDelta": { - "line": 369, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeightDelta": { - "line": 374, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeightDelta": { - "line": 379, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeightDelta": { - "line": 384, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeightDelta": { - "line": 389, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getTimesChanged": { - "line": 394, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 2, - "programLength": 3, - "programVocabulary": 3, - "volume": 4.754887502163468, - "difficulty": 0.5, - "effort": 2.377443751081734, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getTimesChanged" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getFileName": { - "line": 399, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getFileName" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLine": { - "line": 404, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLine" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::equals": { - "line": 409, - "lineCount": 5, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 2, - "N1": 5, - "N2": 5, - "programLength": 10, - "programVocabulary": 5, - "volume": 23.21928094887362, - "difficulty": 3.75, - "effort": 87.07230355827608, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::equals" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::toArray": { - "line": 418, - "lineCount": 34, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 29, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 30, - "N1": 0, - "N2": 58, - "programLength": 58, - "programVocabulary": 30, - "volume": 284.5996545452941, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::toArray" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::jsonSerialize": { - "line": 456, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::jsonSerialize" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getHalstead": { - "line": 464, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getHalstead" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCyclomatic": { - "line": 472, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCyclomatic" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::add": { - "line": 30, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 5, - "N2": 6, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 3, - "effort": 85.30376252379816, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::add" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filter": { - "line": 40, - "lineCount": 11, - "argCount": 1, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 8, - "volume": 42, - "difficulty": 3, - "effort": 126, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filter" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getIterator": { - "line": 57, - "lineCount": 5, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getIterator" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::count": { - "line": 66, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::count" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterWithScoreGreaterThan": { - "line": 71, - "lineCount": 6, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 3, - "N2": 6, - "programLength": 9, - "programVocabulary": 5, - "volume": 20.89735285398626, - "difficulty": 2, - "effort": 41.79470570797252, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterWithScoreGreaterThan" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::contains": { - "line": 78, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 4, - "N2": 5, - "programLength": 9, - "programVocabulary": 5, - "volume": 20.89735285398626, - "difficulty": 1.6666666666666667, - "effort": 34.82892142331043, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::contains" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getClassWithMethod": { - "line": 83, - "lineCount": 9, - "argCount": 2, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 3, - "N2": 10, - "programLength": 13, - "programVocabulary": 7, - "volume": 36.49561398674886, - "difficulty": 2, - "effort": 72.99122797349771, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getClassWithMethod" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterByClassName": { - "line": 93, - "lineCount": 6, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 3, - "N2": 6, - "programLength": 9, - "programVocabulary": 5, - "volume": 20.89735285398626, - "difficulty": 2, - "effort": 41.79470570797252, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterByClassName" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::assertMetricHasGetter": { - "line": 100, - "lineCount": 9, - "argCount": 3, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 6, - "programLength": 7, - "programVocabulary": 4, - "volume": 14, - "difficulty": 1, - "effort": 14, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::assertMetricHasGetter" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::groupBy": { - "line": 117, - "lineCount": 20, - "argCount": 1, - "returnCount": 1, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 10, - "N2": 23, - "programLength": 33, - "programVocabulary": 11, - "volume": 114.16124341503081, - "difficulty": 6.571428571428571, - "effort": 750.2024567273453, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::groupBy" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::jsonSerialize": { - "line": 141, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::jsonSerialize" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::__construct": { - "line": 32, - "lineCount": 8, - "argCount": 5, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 5, - "N1": 0, - "N2": 5, - "programLength": 5, - "programVocabulary": 5, - "volume": 11.60964047443681, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collect": { - "line": 49, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 5, - "programLength": 6, - "programVocabulary": 4, - "volume": 12, - "difficulty": 0.8333333333333334, - "effort": 10, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collect" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collectFromPaths": { - "line": 62, - "lineCount": 13, - "argCount": 2, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 8, - "N2": 16, - "programLength": 24, - "programVocabulary": 9, - "volume": 76.07820003461549, - "difficulty": 4, - "effort": 304.31280013846197, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collectFromPaths" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCodeFromFile": { - "line": 79, - "lineCount": 10, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 2, - "N1": 5, - "N2": 6, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 6, - "effort": 170.6075250475963, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCodeFromFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findMetrics": { - "line": 98, - "lineCount": 31, - "argCount": 1, - "returnCount": 1, - "variableCount": 9, - "propertyCallCount": 2, - "ifNestingLevel": 2, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 13, - "N1": 18, - "N2": 38, - "programLength": 56, - "programVocabulary": 16, - "volume": 224, - "difficulty": 4.384615384615384, - "effort": 982.1538461538461, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findMetrics" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processMethodMetrics": { - "line": 136, - "lineCount": 29, - "argCount": 3, - "returnCount": 1, - "variableCount": 7, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 14, - "N1": 8, - "N2": 27, - "programLength": 35, - "programVocabulary": 17, - "volume": 143.06119944376186, - "difficulty": 2.892857142857143, - "effort": 413.8556126765968, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processMethodMetrics" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::isExcluded": { - "line": 166, - "lineCount": 12, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 5, - "N1": 5, - "N2": 9, - "programLength": 14, - "programVocabulary": 9, - "volume": 44.37895002019237, - "difficulty": 3.6, - "effort": 159.76422007269252, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::isExcluded" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findSourceFiles": { - "line": 187, - "lineCount": 7, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 2, - "N2": 6, - "programLength": 8, - "programVocabulary": 6, - "volume": 20.67970000576925, - "difficulty": 1.5, - "effort": 31.019550008653873, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findSourceFiles" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getProjectRoot": { - "line": 202, - "lineCount": 13, - "argCount": 0, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 2, - "N1": 8, - "N2": 8, - "programLength": 16, - "programVocabulary": 6, - "volume": 41.3594000115385, - "difficulty": 8, - "effort": 330.875200092308, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getProjectRoot" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateCacheKey": { - "line": 219, - "lineCount": 7, - "argCount": 2, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 6, - "N1": 10, - "N2": 12, - "programLength": 22, - "programVocabulary": 10, - "volume": 73.08241808752197, - "difficulty": 4, - "effort": 292.3296723500879, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateCacheKey" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateConfigHash": { - "line": 230, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 1, - "N1": 3, - "N2": 2, - "programLength": 5, - "programVocabulary": 3, - "volume": 7.92481250360578, - "difficulty": 2, - "effort": 15.84962500721156, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateConfigHash" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::cacheResult": { - "line": 239, - "lineCount": 14, - "argCount": 4, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 13, - "N1": 5, - "N2": 20, - "programLength": 25, - "programVocabulary": 15, - "volume": 97.67226489021297, - "difficulty": 1.5384615384615385, - "effort": 150.26502290801997, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::cacheResult" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::clearCache": { - "line": 254, - "lineCount": 4, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::clearCache" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::normalizeFilename": { - "line": 264, - "lineCount": 15, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 6, - "n2": 7, - "N1": 12, - "N2": 16, - "programLength": 28, - "programVocabulary": 13, - "volume": 103.61231210795059, - "difficulty": 6.857142857142857, - "effort": 710.4844258830897, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::normalizeFilename" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCachedMetrics": { - "line": 286, - "lineCount": 19, - "argCount": 3, - "returnCount": 3, - "variableCount": 4, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 11, - "N1": 10, - "N2": 29, - "programLength": 39, - "programVocabulary": 14, - "volume": 148.48684196024655, - "difficulty": 3.954545454545454, - "effort": 587.1979659337022, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCachedMetrics" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processFile": { - "line": 312, - "lineCount": 37, - "argCount": 5, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 7, - "n2": 10, - "N1": 12, - "N2": 28, - "programLength": 40, - "programVocabulary": 17, - "volume": 163.49851365001356, - "difficulty": 9.799999999999999, - "effort": 1602.2854337701328, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::sort": { - "line": 51, - "lineCount": 41, - "argCount": 3, - "returnCount": 2, - "variableCount": 10, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 18, - "N1": 20, - "N2": 43, - "programLength": 63, - "programVocabulary": 22, - "volume": 280.9441919741497, - "difficulty": 4.777777777777778, - "effort": 1342.2889172098264, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::sort" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getFieldValue": { - "line": 100, - "lineCount": 28, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 25, - "N1": 24, - "N2": 50, - "programLength": 74, - "programVocabulary": 27, - "volume": 351.86167516009664, - "difficulty": 2, - "effort": 703.7233503201933, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getFieldValue" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::compareValues": { - "line": 136, - "lineCount": 13, - "argCount": 2, - "returnCount": 3, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 2, - "N1": 9, - "N2": 12, - "programLength": 21, - "programVocabulary": 5, - "volume": 48.760489992634604, - "difficulty": 9, - "effort": 438.8444099337114, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::compareValues" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getSortableFields": { - "line": 155, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 0, - "N1": 0, - "N2": 0, - "programLength": 0, - "programVocabulary": 0, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getSortableFields" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__construct": { - "line": 15, - "lineCount": 11, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 7, - "N2": 12, - "programLength": 19, - "programVocabulary": 6, - "volume": 49.11428751370197, - "difficulty": 6, - "effort": 294.6857250822118, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::getValue": { - "line": 27, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::getValue" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasIncreased": { - "line": 32, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasIncreased" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__toString": { - "line": 37, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__toString" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasNotChanged": { - "line": 42, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 2, - "programLength": 3, - "programVocabulary": 3, - "volume": 4.754887502163468, - "difficulty": 0.5, - "effort": 2.377443751081734, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasNotChanged" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\FileProcessed::__construct": { - "line": 14, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\FileProcessed::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\ParserFailed::__construct": { - "line": 15, - "lineCount": 5, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\ParserFailed::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\SourceFilesFound::__construct": { - "line": 17, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\SourceFilesFound::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::__construct": { - "line": 15, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::create": { - "line": 27, - "lineCount": 10, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 6, - "N1": 0, - "N2": 8, - "programLength": 8, - "programVocabulary": 6, - "volume": 20.67970000576925, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::create" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::getSupportedTypes": { - "line": 43, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 4, - "N1": 0, - "N2": 4, - "programLength": 4, - "programVocabulary": 4, - "volume": 8, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::getSupportedTypes" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::isSupported": { - "line": 54, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 2, - "N2": 3, - "programLength": 5, - "programVocabulary": 4, - "volume": 10, - "difficulty": 1.5, - "effort": 15, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::isSupported" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CsvExporter::export": { - "line": 46, - "lineCount": 57, - "argCount": 2, - "returnCount": 0, - "variableCount": 6, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 15, - "N1": 37, - "N2": 54, - "programLength": 91, - "programVocabulary": 19, - "volume": 386.56140372336625, - "difficulty": 7.2, - "effort": 2783.242106808237, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CsvExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::export": { - "line": 40, - "lineCount": 8, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 5, - "N1": 4, - "N2": 8, - "programLength": 12, - "programVocabulary": 9, - "volume": 38.039100017307746, - "difficulty": 3.2, - "effort": 121.72512005538479, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::escape": { - "line": 49, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::escape" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::formatNumber": { - "line": 54, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::formatNumber" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::generateMetricRow": { - "line": 59, - "lineCount": 12, - "argCount": 3, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 16, - "N1": 19, - "N2": 27, - "programLength": 46, - "programVocabulary": 21, - "volume": 202.04660144782298, - "difficulty": 4.21875, - "effort": 852.3840998580032, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::generateMetricRow" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::generateHtml": { - "line": 78, - "lineCount": 64, - "argCount": 1, - "returnCount": 1, - "variableCount": 7, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 11, - "N1": 46, - "N2": 57, - "programLength": 103, - "programVocabulary": 15, - "volume": 402.40973134767745, - "difficulty": 10.363636363636363, - "effort": 4170.42812487593, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::generateHtml" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\JsonExporter::export": { - "line": 19, - "lineCount": 38, - "argCount": 2, - "returnCount": 0, - "variableCount": 5, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 27, - "N1": 29, - "N2": 58, - "programLength": 87, - "programVocabulary": 32, - "volume": 435, - "difficulty": 5.370370370370371, - "effort": 2336.1111111111113, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\JsonExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::__construct": { - "line": 24, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::export": { - "line": 36, - "lineCount": 8, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 5, - "N1": 4, - "N2": 8, - "programLength": 12, - "programVocabulary": 9, - "volume": 38.039100017307746, - "difficulty": 3.2, - "effort": 121.72512005538479, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::escape": { - "line": 48, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::escape" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateMetricCell": { - "line": 56, - "lineCount": 12, - "argCount": 3, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 12, - "N1": 16, - "N2": 24, - "programLength": 40, - "programVocabulary": 17, - "volume": 163.49851365001356, - "difficulty": 5, - "effort": 817.4925682500678, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateMetricCell" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::filterMetrics": { - "line": 75, - "lineCount": 15, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 4, - "N1": 4, - "N2": 11, - "programLength": 15, - "programVocabulary": 7, - "volume": 42.11032383086406, - "difficulty": 4.125, - "effort": 173.70508580231424, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::filterMetrics" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableHeader": { - "line": 94, - "lineCount": 33, - "argCount": 0, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 4, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 19, - "N1": 10, - "N2": 28, - "programLength": 38, - "programVocabulary": 22, - "volume": 169.4584015082173, - "difficulty": 2.2105263157894735, - "effort": 374.5922559655329, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableHeader" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableHeaderWithClass": { - "line": 131, - "lineCount": 33, - "argCount": 0, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 4, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 20, - "N1": 10, - "N2": 29, - "programLength": 39, - "programVocabulary": 23, - "volume": 176.41891628622352, - "difficulty": 2.175, - "effort": 383.7111429225361, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableHeaderWithClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableSeparator": { - "line": 168, - "lineCount": 20, - "argCount": 0, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 4, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 7, - "N1": 3, - "N2": 16, - "programLength": 19, - "programVocabulary": 10, - "volume": 63.11663380285988, - "difficulty": 3.4285714285714284, - "effort": 216.399887324091, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableSeparator" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableSeparatorWithClass": { - "line": 192, - "lineCount": 20, - "argCount": 0, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 4, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 8, - "N1": 3, - "N2": 16, - "programLength": 19, - "programVocabulary": 11, - "volume": 65.72920075410865, - "difficulty": 3, - "effort": 197.18760226232592, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableSeparatorWithClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableRow": { - "line": 216, - "lineCount": 22, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 6, - "N1": 53, - "N2": 60, - "programLength": 113, - "programVocabulary": 10, - "volume": 375.37787472227194, - "difficulty": 20, - "effort": 7507.557494445438, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableRow" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableRowWithClass": { - "line": 242, - "lineCount": 25, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 6, - "N1": 55, - "N2": 62, - "programLength": 117, - "programVocabulary": 10, - "volume": 388.66558710182136, - "difficulty": 20.666666666666668, - "effort": 8032.422133437642, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableRowWithClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::addHalsteadCells": { - "line": 274, - "lineCount": 20, - "argCount": 2, - "returnCount": 3, - "variableCount": 2, - "propertyCallCount": 5, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 12, - "N2": 24, - "programLength": 36, - "programVocabulary": 8, - "volume": 108, - "difficulty": 7.199999999999999, - "effort": 777.5999999999999, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::addHalsteadCells" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::addCyclomaticCell": { - "line": 301, - "lineCount": 16, - "argCount": 2, - "returnCount": 3, - "variableCount": 2, - "propertyCallCount": 4, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 8, - "N2": 16, - "programLength": 24, - "programVocabulary": 11, - "volume": 83.02635884729514, - "difficulty": 4.571428571428571, - "effort": 379.5490690162063, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::addCyclomaticCell" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateMarkdown": { - "line": 325, - "lineCount": 8, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 2, - "N2": 6, - "programLength": 8, - "programVocabulary": 3, - "volume": 12.679700005769249, - "difficulty": 1.5, - "effort": 19.019550008653873, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateMarkdown" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateGroupedMarkdown": { - "line": 337, - "lineCount": 49, - "argCount": 1, - "returnCount": 1, - "variableCount": 10, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 8, - "n2": 23, - "N1": 33, - "N2": 65, - "programLength": 98, - "programVocabulary": 31, - "volume": 485.5112384179137, - "difficulty": 11.304347826086957, - "effort": 5488.387912550329, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateGroupedMarkdown" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateSingleTableMarkdown": { - "line": 390, - "lineCount": 28, - "argCount": 1, - "returnCount": 1, - "variableCount": 6, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 6, - "n2": 13, - "N1": 19, - "N2": 37, - "programLength": 56, - "programVocabulary": 19, - "volume": 237.88394075284077, - "difficulty": 8.538461538461538, - "effort": 2031.1628787357943, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateSingleTableMarkdown" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::__construct": { - "line": 32, - "lineCount": 26, - "argCount": 2, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 7, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 14, - "N2": 22, - "programLength": 36, - "programVocabulary": 5, - "volume": 83.58941141594504, - "difficulty": 7.333333333333333, - "effort": 612.9890170502636, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::parse": { - "line": 63, - "lineCount": 37, - "argCount": 1, - "returnCount": 1, - "variableCount": 9, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 14, - "N1": 16, - "N2": 43, - "programLength": 59, - "programVocabulary": 17, - "volume": 241.16030763377, - "difficulty": 4.607142857142858, - "effort": 1111.0599887412977, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::parse" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::scanForAnnotations": { - "line": 104, - "lineCount": 20, - "argCount": 1, - "returnCount": 0, - "variableCount": 4, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 7, - "N1": 8, - "N2": 16, - "programLength": 24, - "programVocabulary": 10, - "volume": 79.7262742772967, - "difficulty": 3.4285714285714284, - "effort": 273.34722609358863, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::scanForAnnotations" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::traverseAbstractSyntaxTreeWithCombinedVisitor": { - "line": 129, - "lineCount": 17, - "argCount": 1, - "returnCount": 0, - "variableCount": 4, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 7, - "N1": 7, - "N2": 15, - "programLength": 22, - "programVocabulary": 10, - "volume": 73.08241808752197, - "difficulty": 3.2142857142857144, - "effort": 234.90777242417778, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::traverseAbstractSyntaxTreeWithCombinedVisitor" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getIgnored": { - "line": 153, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getIgnored" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getIgnoredClasses": { - "line": 163, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getIgnoredClasses" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getIgnoredMethods": { - "line": 173, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getIgnoredMethods" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::clearStaticCaches": { - "line": 181, - "lineCount": 15, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 9, - "N1": 7, - "N2": 19, - "programLength": 26, - "programVocabulary": 10, - "volume": 86.37013046707142, - "difficulty": 1.0555555555555556, - "effort": 91.16847104857538, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::clearStaticCaches" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::clearStaticProperty": { - "line": 200, - "lineCount": 14, - "argCount": 2, - "returnCount": 0, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 6, - "N2": 12, - "programLength": 18, - "programVocabulary": 7, - "volume": 50.53238859703688, - "difficulty": 2.4, - "effort": 121.2777326328885, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::clearStaticProperty" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getRiskLevel": { - "line": 218, - "lineCount": 9, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 8, - "N1": 3, - "N2": 11, - "programLength": 14, - "programVocabulary": 9, - "volume": 44.37895002019237, - "difficulty": 0.6875, - "effort": 30.510528138882254, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getRiskLevel" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculate": { - "line": 47, - "lineCount": 5, - "argCount": 2, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 2, - "N2": 8, - "programLength": 10, - "programVocabulary": 4, - "volume": 20, - "difficulty": 1.3333333333333333, - "effort": 26.666666666666664, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculateScore": { - "line": 53, - "lineCount": 10, - "argCount": 1, - "returnCount": 0, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 9, - "N1": 7, - "N2": 15, - "programLength": 22, - "programVocabulary": 13, - "volume": 81.40967379910403, - "difficulty": 3.3333333333333335, - "effort": 271.36557933034675, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculateScore" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculateMetricWeights": { - "line": 70, - "lineCount": 17, - "argCount": 3, - "returnCount": 0, - "variableCount": 6, - "propertyCallCount": 3, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 12, - "N1": 9, - "N2": 24, - "programLength": 33, - "programVocabulary": 15, - "volume": 128.92738965508113, - "difficulty": 3, - "effort": 386.7821689652434, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculateMetricWeights" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculateLogWeight": { - "line": 132, - "lineCount": 8, - "argCount": 3, - "returnCount": 2, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 5, - "N1": 5, - "N2": 11, - "programLength": 16, - "programVocabulary": 10, - "volume": 53.150849518197795, - "difficulty": 5.5, - "effort": 292.3296723500879, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculateLogWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cyclomatic\\CyclomaticMetrics::__construct": { - "line": 129, - "lineCount": 23, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 19, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 43, - "N1": 56, - "N2": 130, - "programLength": 186, - "programVocabulary": 45, - "volume": 1021.4846759173195, - "difficulty": 3.0232558139534884, - "effort": 3088.209485331431, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cyclomatic\\CyclomaticMetrics::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::escapeMarkdown": { - "line": 18, - "lineCount": 6, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 5, - "N1": 1, - "N2": 6, - "programLength": 7, - "programVocabulary": 6, - "volume": 18.094737505048094, - "difficulty": 0.6, - "effort": 10.856842503028856, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::escapeMarkdown" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::formatNumber": { - "line": 32, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 5, - "programLength": 6, - "programVocabulary": 4, - "volume": 12, - "difficulty": 0.8333333333333334, - "effort": 10, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::formatNumber" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::buildTableHeader": { - "line": 43, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 3, - "N2": 5, - "programLength": 8, - "programVocabulary": 6, - "volume": 20.67970000576925, - "difficulty": 1.25, - "effort": 25.84962500721156, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::buildTableHeader" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::buildTableSeparator": { - "line": 54, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 4, - "programLength": 6, - "programVocabulary": 5, - "volume": 13.931568569324174, - "difficulty": 1.3333333333333333, - "effort": 18.575424759098897, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::buildTableSeparator" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::buildTableRow": { - "line": 65, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 3, - "N2": 5, - "programLength": 8, - "programVocabulary": 6, - "volume": 20.67970000576925, - "difficulty": 1.25, - "effort": 25.84962500721156, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::buildTableRow" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::formatPercentage": { - "line": 77, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 2, - "N2": 6, - "programLength": 8, - "programVocabulary": 6, - "volume": 20.67970000576925, - "difficulty": 1.5, - "effort": 31.019550008653873, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::formatPercentage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::escapeMarkdown": { - "line": 18, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 5, - "N1": 1, - "N2": 6, - "programLength": 7, - "programVocabulary": 6, - "volume": 18.094737505048094, - "difficulty": 0.6, - "effort": 10.856842503028856, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::escapeMarkdown" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::formatNumber": { - "line": 30, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 5, - "programLength": 6, - "programVocabulary": 4, - "volume": 12, - "difficulty": 0.8333333333333334, - "effort": 10, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::formatNumber" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::buildMarkdownTableHeader": { - "line": 41, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 3, - "N2": 5, - "programLength": 8, - "programVocabulary": 6, - "volume": 20.67970000576925, - "difficulty": 1.25, - "effort": 25.84962500721156, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::buildMarkdownTableHeader" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::buildMarkdownTableSeparator": { - "line": 52, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 4, - "programLength": 6, - "programVocabulary": 5, - "volume": 13.931568569324174, - "difficulty": 1.3333333333333333, - "effort": 18.575424759098897, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::buildMarkdownTableSeparator" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::buildMarkdownTableRow": { - "line": 63, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 3, - "N2": 5, - "programLength": 8, - "programVocabulary": 6, - "volume": 20.67970000576925, - "difficulty": 1.25, - "effort": 25.84962500721156, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::buildMarkdownTableRow" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::formatMarkdownPercentage": { - "line": 75, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 2, - "N2": 6, - "programLength": 8, - "programVocabulary": 6, - "volume": 20.67970000576925, - "difficulty": 1.5, - "effort": 31.019550008653873, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::formatMarkdownPercentage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Halstead\\HalsteadMetrics::__construct": { - "line": 33, - "lineCount": 13, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 10, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 1, - "n2": 12, - "N1": 10, - "N2": 31, - "programLength": 41, - "programVocabulary": 13, - "volume": 151.7180284437848, - "difficulty": 1.2916666666666667, - "effort": 195.96912007322203, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Halstead\\HalsteadMetrics::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Halstead\\HalsteadMetrics::getVolume": { - "line": 47, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Halstead\\HalsteadMetrics::getVolume" - } - } - }, - "ignored_items": [], - "cached_at": 1759967601 -} \ No newline at end of file diff --git a/.phpcca.cache/75/75a10d83af2391ec06cdd547875de3d8.cache b/.phpcca.cache/75/75a10d83af2391ec06cdd547875de3d8.cache deleted file mode 100644 index c29c1b0..0000000 --- a/.phpcca.cache/75/75a10d83af2391ec06cdd547875de3d8.cache +++ /dev/null @@ -1,4265 +0,0 @@ -{ - "version": "1.0", - "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/Business\/Cognitive\/Exporter\/DataExporterInterface.php", - "file_mtime": 1752612112, - "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", - "analysis_result": { - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct": { - "line": 60, - "lineCount": 5, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 1, - "N1": 2, - "N2": 2, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 2, - "effort": 12.679700005769249, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices": { - "line": 66, - "lineCount": 95, - "argCount": 0, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 5, - "N1": 58, - "N2": 32, - "programLength": 90, - "programVocabulary": 9, - "volume": 285.2932501298081, - "difficulty": 12.8, - "effort": 3651.7536016615436, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap": { - "line": 162, - "lineCount": 10, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 7, - "N2": 7, - "programLength": 14, - "programVocabulary": 2, - "volume": 14, - "difficulty": 3.5, - "effort": 49, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors": { - "line": 173, - "lineCount": 12, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 3, - "N2": 1, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0.5, - "effort": 2, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus": { - "line": 186, - "lineCount": 19, - "argCount": 0, - "returnCount": 0, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 9, - "N2": 13, - "programLength": 22, - "programVocabulary": 7, - "volume": 61.76180828526729, - "difficulty": 2.6, - "effort": 160.58070154169496, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService": { - "line": 206, - "lineCount": 9, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 3, - "N2": 1, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0.5, - "effort": 2, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade": { - "line": 216, - "lineCount": 13, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 3, - "N2": 1, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0.5, - "effort": 2, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands": { - "line": 230, - "lineCount": 21, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 6, - "N2": 2, - "programLength": 8, - "programVocabulary": 2, - "volume": 8, - "difficulty": 1, - "effort": 8, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication": { - "line": 252, - "lineCount": 11, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 5, - "N2": 4, - "programLength": 9, - "programVocabulary": 4, - "volume": 18, - "difficulty": 0.6666666666666666, - "effort": 12, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run": { - "line": 264, - "lineCount": 9, - "argCount": 0, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 5, - "N2": 5, - "programLength": 10, - "programVocabulary": 4, - "volume": 20, - "difficulty": 2.5, - "effort": 50, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get": { - "line": 274, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer": { - "line": 279, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator": { - "line": 289, - "lineCount": 16, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 7, - "programLength": 8, - "programVocabulary": 4, - "volume": 16, - "difficulty": 1.1666666666666667, - "effort": 18.666666666666668, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create": { - "line": 18, - "lineCount": 7, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 4, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile": { - "line": 17, - "lineCount": 17, - "argCount": 2, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 8, - "N1": 11, - "N2": 19, - "programLength": 30, - "programVocabulary": 11, - "volume": 103.78294855911892, - "difficulty": 3.5625, - "effort": 369.72675424186116, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode": { - "line": 42, - "lineCount": 8, - "argCount": 3, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 3, - "N2": 8, - "programLength": 11, - "programVocabulary": 8, - "volume": 33, - "difficulty": 2.4000000000000004, - "effort": 79.20000000000002, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate": { - "line": 22, - "lineCount": 10, - "argCount": 2, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 6, - "N2": 13, - "programLength": 19, - "programVocabulary": 6, - "volume": 49.11428751370197, - "difficulty": 3.25, - "effort": 159.6214344195314, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending": { - "line": 37, - "lineCount": 8, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 2, - "N2": 9, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 2.25, - "effort": 63.97782189284862, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn": { - "line": 51, - "lineCount": 24, - "argCount": 2, - "returnCount": 1, - "variableCount": 6, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 15, - "N1": 17, - "N2": 46, - "programLength": 63, - "programVocabulary": 20, - "volume": 272.28146997790384, - "difficulty": 7.666666666666667, - "effort": 2087.491269830596, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses": { - "line": 81, - "lineCount": 20, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 2, - "n2": 7, - "N1": 10, - "N2": 24, - "programLength": 34, - "programVocabulary": 9, - "volume": 107.7774500490386, - "difficulty": 3.4285714285714284, - "effort": 369.52268588241805, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass": { - "line": 109, - "lineCount": 9, - "argCount": 2, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 6, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 10, - "volume": 49.82892142331043, - "difficulty": 3.3333333333333335, - "effort": 166.09640474436813, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel": { - "line": 126, - "lineCount": 16, - "argCount": 2, - "returnCount": 4, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 12, - "N1": 9, - "N2": 18, - "programLength": 27, - "programVocabulary": 15, - "volume": 105.48604608143, - "difficulty": 2.25, - "effort": 237.3436036832175, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile": { - "line": 14, - "lineCount": 6, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 2, - "N2": 5, - "programLength": 7, - "programVocabulary": 4, - "volume": 14, - "difficulty": 2.5, - "effort": 35, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable": { - "line": 24, - "lineCount": 11, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 10, - "N2": 12, - "programLength": 22, - "programVocabulary": 8, - "volume": 66, - "difficulty": 6, - "effort": 396, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create": { - "line": 21, - "lineCount": 11, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 7, - "N1": 0, - "N2": 9, - "programLength": 9, - "programVocabulary": 7, - "volume": 25.26619429851844, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes": { - "line": 38, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 6, - "N1": 0, - "N2": 6, - "programLength": 6, - "programVocabulary": 6, - "volume": 15.509775004326936, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported": { - "line": 49, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 2, - "N2": 3, - "programLength": 5, - "programVocabulary": 4, - "volume": 10, - "difficulty": 1.5, - "effort": 15, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export": { - "line": 30, - "lineCount": 23, - "argCount": 2, - "returnCount": 0, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 16, - "N1": 10, - "N2": 33, - "programLength": 43, - "programVocabulary": 20, - "volume": 185.8429080801566, - "difficulty": 4.125, - "effort": 766.601995830646, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export": { - "line": 28, - "lineCount": 8, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 6, - "volume": 36.18947501009619, - "difficulty": 2.5, - "effort": 90.47368752524048, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape": { - "line": 37, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber": { - "line": 42, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml": { - "line": 52, - "lineCount": 50, - "argCount": 1, - "returnCount": 1, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 12, - "N1": 11, - "N2": 25, - "programLength": 36, - "programVocabulary": 17, - "volume": 147.14866228501222, - "difficulty": 5.208333333333334, - "effort": 766.3992827344388, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export": { - "line": 17, - "lineCount": 13, - "argCount": 2, - "returnCount": 0, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 8, - "N1": 7, - "N2": 14, - "programLength": 21, - "programVocabulary": 12, - "volume": 75.28421251514428, - "difficulty": 3.5, - "effort": 263.49474380300495, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export": { - "line": 48, - "lineCount": 8, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 6, - "volume": 36.18947501009619, - "difficulty": 2.5, - "effort": 90.47368752524048, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown": { - "line": 61, - "lineCount": 24, - "argCount": 1, - "returnCount": 1, - "variableCount": 6, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 6, - "n2": 16, - "N1": 19, - "N2": 41, - "programLength": 60, - "programVocabulary": 22, - "volume": 267.56589711823784, - "difficulty": 7.6875, - "effort": 2056.9128340964535, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow": { - "line": 94, - "lineCount": 21, - "argCount": 3, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 7, - "n2": 18, - "N1": 16, - "N2": 39, - "programLength": 55, - "programVocabulary": 25, - "volume": 255.41209043760983, - "difficulty": 7.583333333333333, - "effort": 1936.8750191518745, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::__construct": { - "line": 26, - "lineCount": 4, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::export": { - "line": 36, - "lineCount": 10, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 8, - "volume": 45, - "difficulty": 5, - "effort": 225, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::generateSvgTreemap": { - "line": 53, - "lineCount": 20, - "argCount": 1, - "returnCount": 1, - "variableCount": 6, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 8, - "N1": 9, - "N2": 20, - "programLength": 29, - "programVocabulary": 10, - "volume": 96.3359147517335, - "difficulty": 2.5, - "effort": 240.83978687933376, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::generateSvgTreemap" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRects": { - "line": 82, - "lineCount": 10, - "argCount": 3, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 9, - "N1": 6, - "N2": 18, - "programLength": 24, - "programVocabulary": 12, - "volume": 86.03910001730775, - "difficulty": 3, - "effort": 258.1173000519232, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRects" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRect": { - "line": 100, - "lineCount": 29, - "argCount": 2, - "returnCount": 1, - "variableCount": 12, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 6, - "n2": 28, - "N1": 26, - "N2": 54, - "programLength": 80, - "programVocabulary": 34, - "volume": 406.9970273000271, - "difficulty": 5.785714285714286, - "effort": 2354.7685150930142, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRect" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::wrapSvg": { - "line": 136, - "lineCount": 21, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 2, - "N2": 8, - "programLength": 10, - "programVocabulary": 4, - "volume": 20, - "difficulty": 1.3333333333333333, - "effort": 26.666666666666664, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::wrapSvg" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::prepareItems": { - "line": 28, - "lineCount": 18, - "argCount": 1, - "returnCount": 1, - "variableCount": 7, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 12, - "N1": 9, - "N2": 30, - "programLength": 39, - "programVocabulary": 17, - "volume": 159.41105080876324, - "difficulty": 6.25, - "effort": 996.3190675547702, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::prepareItems" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findScoreRange": { - "line": 53, - "lineCount": 16, - "argCount": 1, - "returnCount": 3, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 7, - "N2": 13, - "programLength": 20, - "programVocabulary": 8, - "volume": 60, - "difficulty": 3.9000000000000004, - "effort": 234.00000000000003, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findScoreRange" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::normalizeScore": { - "line": 78, - "lineCount": 8, - "argCount": 3, - "returnCount": 2, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 8, - "volume": 45, - "difficulty": 5, - "effort": 225, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::normalizeScore" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::scoreToColor": { - "line": 93, - "lineCount": 9, - "argCount": 1, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 5, - "n2": 9, - "N1": 12, - "N2": 16, - "programLength": 28, - "programVocabulary": 14, - "volume": 106.60593781761291, - "difficulty": 4.444444444444445, - "effort": 473.80416807827964, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::scoreToColor" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::calculateTreemapLayout": { - "line": 115, - "lineCount": 23, - "argCount": 7, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 9, - "N1": 2, - "N2": 18, - "programLength": 20, - "programVocabulary": 11, - "volume": 69.18863237274594, - "difficulty": 2, - "effort": 138.37726474549189, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::calculateTreemapLayout" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::layoutTreemap": { - "line": 152, - "lineCount": 89, - "argCount": 8, - "returnCount": 3, - "variableCount": 11, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 8, - "n2": 28, - "N1": 32, - "N2": 98, - "programLength": 130, - "programVocabulary": 36, - "volume": 672.0902501875006, - "difficulty": 14, - "effort": 9409.263502625008, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::layoutTreemap" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findSplitIndex": { - "line": 249, - "lineCount": 13, - "argCount": 2, - "returnCount": 2, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 7, - "n2": 10, - "N1": 9, - "N2": 23, - "programLength": 32, - "programVocabulary": 17, - "volume": 130.79881092001085, - "difficulty": 8.049999999999999, - "effort": 1052.9304279060873, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findSplitIndex" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::__construct": { - "line": 23, - "lineCount": 18, - "argCount": 1, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 7, - "N2": 11, - "programLength": 18, - "programVocabulary": 6, - "volume": 46.529325012980806, - "difficulty": 5.5, - "effort": 255.91128757139444, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::getAllClasses": { - "line": 47, - "lineCount": 17, - "argCount": 0, - "returnCount": 2, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 6, - "N2": 12, - "programLength": 18, - "programVocabulary": 9, - "volume": 57.05865002596162, - "difficulty": 3, - "effort": 171.17595007788486, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::getAllClasses" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::withClassNode": { - "line": 73, - "lineCount": 8, - "argCount": 2, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 4, - "N2": 8, - "programLength": 12, - "programVocabulary": 8, - "volume": 36, - "difficulty": 4, - "effort": 144, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::withClassNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::findClassNode": { - "line": 85, - "lineCount": 25, - "argCount": 1, - "returnCount": 4, - "variableCount": 5, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 13, - "N2": 29, - "programLength": 42, - "programVocabulary": 11, - "volume": 145.29612798276648, - "difficulty": 8.285714285714286, - "effort": 1203.8822032857795, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::findClassNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::escapeXPathValue": { - "line": 114, - "lineCount": 16, - "argCount": 1, - "returnCount": 3, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 9, - "N1": 11, - "N2": 18, - "programLength": 29, - "programVocabulary": 13, - "volume": 107.31275182609167, - "difficulty": 4, - "effort": 429.2510073043667, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::escapeXPathValue" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getLineCoverage": { - "line": 22, - "lineCount": 18, - "argCount": 1, - "returnCount": 4, - "variableCount": 5, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 9, - "N1": 10, - "N2": 19, - "programLength": 29, - "programVocabulary": 13, - "volume": 107.31275182609167, - "difficulty": 4.222222222222222, - "effort": 453.09828548794263, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getLineCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getBranchCoverage": { - "line": 48, - "lineCount": 18, - "argCount": 1, - "returnCount": 4, - "variableCount": 5, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 9, - "N1": 10, - "N2": 19, - "programLength": 29, - "programVocabulary": 13, - "volume": 107.31275182609167, - "difficulty": 4.222222222222222, - "effort": 453.09828548794263, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getBranchCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getComplexity": { - "line": 73, - "lineCount": 13, - "argCount": 1, - "returnCount": 3, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 7, - "N2": 14, - "programLength": 21, - "programVocabulary": 11, - "volume": 72.64806399138324, - "difficulty": 4, - "effort": 290.59225596553296, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getComplexity" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getCoverageDetails": { - "line": 93, - "lineCount": 26, - "argCount": 1, - "returnCount": 3, - "variableCount": 9, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 17, - "N1": 22, - "N2": 42, - "programLength": 64, - "programVocabulary": 22, - "volume": 285.403623592787, - "difficulty": 6.176470588235294, - "effort": 1762.7870868966259, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getCoverageDetails" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getMetricsNode": { - "line": 123, - "lineCount": 12, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 6, - "N1": 7, - "N2": 13, - "programLength": 20, - "programVocabulary": 10, - "volume": 66.43856189774725, - "difficulty": 4.333333333333333, - "effort": 287.90043489023805, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getMetricsNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getFilenameForClass": { - "line": 139, - "lineCount": 9, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 5, - "N1": 4, - "N2": 9, - "programLength": 13, - "programVocabulary": 9, - "volume": 41.209025018750054, - "difficulty": 3.6, - "effort": 148.3524900675002, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getFilenameForClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodsCoverage": { - "line": 154, - "lineCount": 36, - "argCount": 1, - "returnCount": 3, - "variableCount": 8, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 13, - "N1": 12, - "N2": 30, - "programLength": 42, - "programVocabulary": 16, - "volume": 168, - "difficulty": 3.4615384615384612, - "effort": 581.5384615384614, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodsCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::calculateMethodCoverage": { - "line": 194, - "lineCount": 15, - "argCount": 2, - "returnCount": 2, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 11, - "N1": 9, - "N2": 23, - "programLength": 32, - "programVocabulary": 16, - "volume": 128, - "difficulty": 5.227272727272727, - "effort": 669.090909090909, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::calculateMethodCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodCoverageFromLines": { - "line": 215, - "lineCount": 36, - "argCount": 2, - "returnCount": 1, - "variableCount": 7, - "propertyCallCount": 0, - "ifNestingLevel": 2, - "elseCount": 0, - "ifCount": 5, - "halstead": { - "n1": 2, - "n2": 14, - "N1": 12, - "N2": 35, - "programLength": 47, - "programVocabulary": 16, - "volume": 188, - "difficulty": 2.5, - "effort": 470, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodCoverageFromLines" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStart": { - "line": 252, - "lineCount": 4, - "argCount": 3, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 3, - "N2": 7, - "programLength": 10, - "programVocabulary": 6, - "volume": 25.84962500721156, - "difficulty": 1.75, - "effort": 45.23684376262023, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStart" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodEnd": { - "line": 257, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 5, - "programLength": 7, - "programVocabulary": 5, - "volume": 16.253496664211536, - "difficulty": 1.6666666666666667, - "effort": 27.089161107019226, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodEnd" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStatement": { - "line": 262, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 5, - "programLength": 7, - "programVocabulary": 5, - "volume": 16.253496664211536, - "difficulty": 1.6666666666666667, - "effort": 27.089161107019226, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStatement" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isStatementCovered": { - "line": 267, - "lineCount": 5, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 4, - "N1": 3, - "N2": 6, - "programLength": 9, - "programVocabulary": 7, - "volume": 25.26619429851844, - "difficulty": 2.25, - "effort": 56.848937171666485, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isStatementCovered" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getLineCoverage": { - "line": 20, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 9, - "volume": 44.37895002019237, - "difficulty": 2.5, - "effort": 110.94737505048093, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getLineCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getBranchCoverage": { - "line": 34, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 9, - "volume": 44.37895002019237, - "difficulty": 2.5, - "effort": 110.94737505048093, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getBranchCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getComplexity": { - "line": 48, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 9, - "volume": 44.37895002019237, - "difficulty": 2.5, - "effort": 110.94737505048093, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getComplexity" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getCoverageDetails": { - "line": 62, - "lineCount": 13, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 8, - "N1": 7, - "N2": 16, - "programLength": 23, - "programVocabulary": 9, - "volume": 72.90827503317318, - "difficulty": 1, - "effort": 72.90827503317318, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getCoverageDetails" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::extractMethodsCoverage": { - "line": 81, - "lineCount": 23, - "argCount": 1, - "returnCount": 2, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 11, - "N1": 10, - "N2": 23, - "programLength": 33, - "programVocabulary": 14, - "volume": 125.64271242790093, - "difficulty": 3.1363636363636362, - "effort": 394.061234432962, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::extractMethodsCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CodeCoverageFactory::createFromName": { - "line": 14, - "lineCount": 8, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 4, - "N1": 1, - "N2": 8, - "programLength": 9, - "programVocabulary": 5, - "volume": 20.89735285398626, - "difficulty": 1, - "effort": 20.89735285398626, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CodeCoverageFactory::createFromName" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::__construct": { - "line": 28, - "lineCount": 15, - "argCount": 6, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 6, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 7, - "N1": 6, - "N2": 18, - "programLength": 24, - "programVocabulary": 8, - "volume": 72, - "difficulty": 1.2857142857142858, - "effort": 92.57142857142858, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getName": { - "line": 44, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getName" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getFilename": { - "line": 49, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getFilename" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getLineRate": { - "line": 54, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getLineRate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getBranchRate": { - "line": 59, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getBranchRate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getComplexity": { - "line": 64, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getComplexity" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getMethods": { - "line": 72, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getMethods" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::__construct": { - "line": 17, - "lineCount": 11, - "argCount": 4, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 4, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 5, - "N1": 4, - "N2": 12, - "programLength": 16, - "programVocabulary": 6, - "volume": 41.3594000115385, - "difficulty": 1.2, - "effort": 49.631280013846194, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getName": { - "line": 29, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getName" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getLineRate": { - "line": 34, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getLineRate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getBranchRate": { - "line": 39, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getBranchRate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getComplexity": { - "line": 44, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getComplexity" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::calculateDeltas": { - "line": 19, - "lineCount": 14, - "argCount": 2, - "returnCount": 0, - "variableCount": 6, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 9, - "N1": 4, - "N2": 18, - "programLength": 22, - "programVocabulary": 11, - "volume": 76.10749561002054, - "difficulty": 2, - "effort": 152.21499122004107, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::calculateDeltas" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::loadBaseline": { - "line": 41, - "lineCount": 13, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 5, - "N2": 9, - "programLength": 14, - "programVocabulary": 8, - "volume": 42, - "difficulty": 2.7, - "effort": 113.4, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::loadBaseline" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::__construct": { - "line": 72, - "lineCount": 21, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 6, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 9, - "N1": 12, - "N2": 34, - "programLength": 46, - "programVocabulary": 12, - "volume": 164.90827503317317, - "difficulty": 5.666666666666666, - "effort": 934.4802251879812, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setRequiredMetricProperties": { - "line": 98, - "lineCount": 30, - "argCount": 1, - "returnCount": 0, - "variableCount": 6, - "propertyCallCount": 9, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 21, - "N1": 21, - "N2": 51, - "programLength": 72, - "programVocabulary": 24, - "volume": 330.1173000519232, - "difficulty": 3.6428571428571423, - "effort": 1202.570164474863, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setRequiredMetricProperties" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setOptionalMetricProperties": { - "line": 133, - "lineCount": 12, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 8, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 11, - "N1": 16, - "N2": 33, - "programLength": 49, - "programVocabulary": 13, - "volume": 181.32154618891352, - "difficulty": 3, - "effort": 543.9646385667405, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setOptionalMetricProperties" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setTimesChanged": { - "line": 146, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setTimesChanged" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertSame": { - "line": 151, - "lineCount": 14, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 6, - "N2": 8, - "programLength": 14, - "programVocabulary": 5, - "volume": 32.50699332842307, - "difficulty": 2.6666666666666665, - "effort": 86.68531554246152, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertSame" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::calculateDeltas": { - "line": 169, - "lineCount": 13, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 16, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 17, - "N2": 27, - "programLength": 44, - "programVocabulary": 4, - "volume": 88, - "difficulty": 13.5, - "effort": 1188, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::calculateDeltas" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::fromArray": { - "line": 187, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::fromArray" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertArrayKeyIsPresent": { - "line": 197, - "lineCount": 6, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 5, - "programLength": 5, - "programVocabulary": 2, - "volume": 5, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertArrayKeyIsPresent" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getClass": { - "line": 204, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getMethod": { - "line": 209, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getMethod" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCount": { - "line": 214, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCount": { - "line": 219, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCount": { - "line": 224, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCount": { - "line": 229, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCount": { - "line": 234, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCount": { - "line": 239, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevel": { - "line": 244, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevel" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCount": { - "line": 249, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeight": { - "line": 254, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setLineCountWeight": { - "line": 259, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setLineCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeight": { - "line": 264, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setArgCountWeight": { - "line": 269, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setArgCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeight": { - "line": 274, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setReturnCountWeight": { - "line": 279, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setReturnCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeight": { - "line": 284, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setVariableCountWeight": { - "line": 289, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setVariableCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeight": { - "line": 294, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setPropertyCallCountWeight": { - "line": 299, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setPropertyCallCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeight": { - "line": 304, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfCountWeight": { - "line": 309, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeight": { - "line": 314, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfNestingLevelWeight": { - "line": 319, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfNestingLevelWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeight": { - "line": 324, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setElseCountWeight": { - "line": 329, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setElseCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setScore": { - "line": 334, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setScore" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getScore": { - "line": 339, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getScore" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setCoverage": { - "line": 344, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCoverage": { - "line": 349, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeightDelta": { - "line": 354, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeightDelta": { - "line": 359, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeightDelta": { - "line": 364, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeightDelta": { - "line": 369, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeightDelta": { - "line": 374, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeightDelta": { - "line": 379, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeightDelta": { - "line": 384, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeightDelta": { - "line": 389, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getTimesChanged": { - "line": 394, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 2, - "programLength": 3, - "programVocabulary": 3, - "volume": 4.754887502163468, - "difficulty": 0.5, - "effort": 2.377443751081734, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getTimesChanged" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getFileName": { - "line": 399, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getFileName" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLine": { - "line": 404, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLine" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::equals": { - "line": 409, - "lineCount": 5, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 2, - "N1": 5, - "N2": 5, - "programLength": 10, - "programVocabulary": 5, - "volume": 23.21928094887362, - "difficulty": 3.75, - "effort": 87.07230355827608, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::equals" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::toArray": { - "line": 418, - "lineCount": 34, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 29, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 30, - "N1": 0, - "N2": 58, - "programLength": 58, - "programVocabulary": 30, - "volume": 284.5996545452941, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::toArray" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::jsonSerialize": { - "line": 456, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::jsonSerialize" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getHalstead": { - "line": 464, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getHalstead" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCyclomatic": { - "line": 472, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCyclomatic" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::add": { - "line": 30, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 5, - "N2": 6, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 3, - "effort": 85.30376252379816, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::add" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filter": { - "line": 40, - "lineCount": 11, - "argCount": 1, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 8, - "volume": 42, - "difficulty": 3, - "effort": 126, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filter" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getIterator": { - "line": 57, - "lineCount": 5, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getIterator" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::count": { - "line": 66, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::count" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterWithScoreGreaterThan": { - "line": 71, - "lineCount": 6, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 3, - "N2": 6, - "programLength": 9, - "programVocabulary": 5, - "volume": 20.89735285398626, - "difficulty": 2, - "effort": 41.79470570797252, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterWithScoreGreaterThan" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::contains": { - "line": 78, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 4, - "N2": 5, - "programLength": 9, - "programVocabulary": 5, - "volume": 20.89735285398626, - "difficulty": 1.6666666666666667, - "effort": 34.82892142331043, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::contains" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getClassWithMethod": { - "line": 83, - "lineCount": 9, - "argCount": 2, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 3, - "N2": 10, - "programLength": 13, - "programVocabulary": 7, - "volume": 36.49561398674886, - "difficulty": 2, - "effort": 72.99122797349771, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getClassWithMethod" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterByClassName": { - "line": 93, - "lineCount": 6, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 3, - "N2": 6, - "programLength": 9, - "programVocabulary": 5, - "volume": 20.89735285398626, - "difficulty": 2, - "effort": 41.79470570797252, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterByClassName" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::assertMetricHasGetter": { - "line": 100, - "lineCount": 9, - "argCount": 3, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 6, - "programLength": 7, - "programVocabulary": 4, - "volume": 14, - "difficulty": 1, - "effort": 14, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::assertMetricHasGetter" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::groupBy": { - "line": 117, - "lineCount": 20, - "argCount": 1, - "returnCount": 1, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 10, - "N2": 23, - "programLength": 33, - "programVocabulary": 11, - "volume": 114.16124341503081, - "difficulty": 6.571428571428571, - "effort": 750.2024567273453, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::groupBy" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::jsonSerialize": { - "line": 141, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::jsonSerialize" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::__construct": { - "line": 32, - "lineCount": 8, - "argCount": 5, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 5, - "N1": 0, - "N2": 5, - "programLength": 5, - "programVocabulary": 5, - "volume": 11.60964047443681, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collect": { - "line": 49, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 5, - "programLength": 6, - "programVocabulary": 4, - "volume": 12, - "difficulty": 0.8333333333333334, - "effort": 10, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collect" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collectFromPaths": { - "line": 62, - "lineCount": 13, - "argCount": 2, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 8, - "N2": 16, - "programLength": 24, - "programVocabulary": 9, - "volume": 76.07820003461549, - "difficulty": 4, - "effort": 304.31280013846197, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collectFromPaths" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCodeFromFile": { - "line": 79, - "lineCount": 10, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 2, - "N1": 5, - "N2": 6, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 6, - "effort": 170.6075250475963, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCodeFromFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findMetrics": { - "line": 98, - "lineCount": 31, - "argCount": 1, - "returnCount": 1, - "variableCount": 9, - "propertyCallCount": 2, - "ifNestingLevel": 2, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 13, - "N1": 18, - "N2": 38, - "programLength": 56, - "programVocabulary": 16, - "volume": 224, - "difficulty": 4.384615384615384, - "effort": 982.1538461538461, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findMetrics" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processMethodMetrics": { - "line": 136, - "lineCount": 29, - "argCount": 3, - "returnCount": 1, - "variableCount": 7, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 14, - "N1": 8, - "N2": 27, - "programLength": 35, - "programVocabulary": 17, - "volume": 143.06119944376186, - "difficulty": 2.892857142857143, - "effort": 413.8556126765968, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processMethodMetrics" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::isExcluded": { - "line": 166, - "lineCount": 12, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 5, - "N1": 5, - "N2": 9, - "programLength": 14, - "programVocabulary": 9, - "volume": 44.37895002019237, - "difficulty": 3.6, - "effort": 159.76422007269252, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::isExcluded" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findSourceFiles": { - "line": 187, - "lineCount": 7, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 2, - "N2": 6, - "programLength": 8, - "programVocabulary": 6, - "volume": 20.67970000576925, - "difficulty": 1.5, - "effort": 31.019550008653873, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findSourceFiles" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getProjectRoot": { - "line": 202, - "lineCount": 13, - "argCount": 0, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 2, - "N1": 8, - "N2": 8, - "programLength": 16, - "programVocabulary": 6, - "volume": 41.3594000115385, - "difficulty": 8, - "effort": 330.875200092308, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getProjectRoot" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateCacheKey": { - "line": 219, - "lineCount": 7, - "argCount": 2, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 6, - "N1": 10, - "N2": 12, - "programLength": 22, - "programVocabulary": 10, - "volume": 73.08241808752197, - "difficulty": 4, - "effort": 292.3296723500879, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateCacheKey" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateConfigHash": { - "line": 230, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 1, - "N1": 3, - "N2": 2, - "programLength": 5, - "programVocabulary": 3, - "volume": 7.92481250360578, - "difficulty": 2, - "effort": 15.84962500721156, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateConfigHash" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::cacheResult": { - "line": 239, - "lineCount": 14, - "argCount": 4, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 13, - "N1": 5, - "N2": 20, - "programLength": 25, - "programVocabulary": 15, - "volume": 97.67226489021297, - "difficulty": 1.5384615384615385, - "effort": 150.26502290801997, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::cacheResult" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::clearCache": { - "line": 254, - "lineCount": 4, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::clearCache" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::normalizeFilename": { - "line": 264, - "lineCount": 15, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 6, - "n2": 7, - "N1": 12, - "N2": 16, - "programLength": 28, - "programVocabulary": 13, - "volume": 103.61231210795059, - "difficulty": 6.857142857142857, - "effort": 710.4844258830897, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::normalizeFilename" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCachedMetrics": { - "line": 286, - "lineCount": 19, - "argCount": 3, - "returnCount": 3, - "variableCount": 4, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 11, - "N1": 10, - "N2": 29, - "programLength": 39, - "programVocabulary": 14, - "volume": 148.48684196024655, - "difficulty": 3.954545454545454, - "effort": 587.1979659337022, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCachedMetrics" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processFile": { - "line": 312, - "lineCount": 37, - "argCount": 5, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 7, - "n2": 10, - "N1": 12, - "N2": 28, - "programLength": 40, - "programVocabulary": 17, - "volume": 163.49851365001356, - "difficulty": 9.799999999999999, - "effort": 1602.2854337701328, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::sort": { - "line": 51, - "lineCount": 41, - "argCount": 3, - "returnCount": 2, - "variableCount": 10, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 18, - "N1": 20, - "N2": 43, - "programLength": 63, - "programVocabulary": 22, - "volume": 280.9441919741497, - "difficulty": 4.777777777777778, - "effort": 1342.2889172098264, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::sort" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getFieldValue": { - "line": 100, - "lineCount": 28, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 25, - "N1": 24, - "N2": 50, - "programLength": 74, - "programVocabulary": 27, - "volume": 351.86167516009664, - "difficulty": 2, - "effort": 703.7233503201933, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getFieldValue" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::compareValues": { - "line": 136, - "lineCount": 13, - "argCount": 2, - "returnCount": 3, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 2, - "N1": 9, - "N2": 12, - "programLength": 21, - "programVocabulary": 5, - "volume": 48.760489992634604, - "difficulty": 9, - "effort": 438.8444099337114, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::compareValues" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getSortableFields": { - "line": 155, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 0, - "N1": 0, - "N2": 0, - "programLength": 0, - "programVocabulary": 0, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getSortableFields" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__construct": { - "line": 15, - "lineCount": 11, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 7, - "N2": 12, - "programLength": 19, - "programVocabulary": 6, - "volume": 49.11428751370197, - "difficulty": 6, - "effort": 294.6857250822118, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::getValue": { - "line": 27, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::getValue" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasIncreased": { - "line": 32, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasIncreased" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__toString": { - "line": 37, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__toString" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasNotChanged": { - "line": 42, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 2, - "programLength": 3, - "programVocabulary": 3, - "volume": 4.754887502163468, - "difficulty": 0.5, - "effort": 2.377443751081734, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasNotChanged" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\FileProcessed::__construct": { - "line": 14, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\FileProcessed::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\ParserFailed::__construct": { - "line": 15, - "lineCount": 5, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\ParserFailed::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\SourceFilesFound::__construct": { - "line": 17, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\SourceFilesFound::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::__construct": { - "line": 15, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::create": { - "line": 27, - "lineCount": 10, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 6, - "N1": 0, - "N2": 8, - "programLength": 8, - "programVocabulary": 6, - "volume": 20.67970000576925, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::create" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::getSupportedTypes": { - "line": 43, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 4, - "N1": 0, - "N2": 4, - "programLength": 4, - "programVocabulary": 4, - "volume": 8, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::getSupportedTypes" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::isSupported": { - "line": 54, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 2, - "N2": 3, - "programLength": 5, - "programVocabulary": 4, - "volume": 10, - "difficulty": 1.5, - "effort": 15, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::isSupported" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CsvExporter::export": { - "line": 46, - "lineCount": 57, - "argCount": 2, - "returnCount": 0, - "variableCount": 6, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 15, - "N1": 37, - "N2": 54, - "programLength": 91, - "programVocabulary": 19, - "volume": 386.56140372336625, - "difficulty": 7.2, - "effort": 2783.242106808237, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CsvExporter::export" - } - } - }, - "ignored_items": [], - "cached_at": 1759967601 -} \ No newline at end of file diff --git a/.phpcca.cache/7f/7f617fc9b463b161bff8498a413e7b13.cache b/.phpcca.cache/7f/7f617fc9b463b161bff8498a413e7b13.cache deleted file mode 100644 index 23c4aff..0000000 --- a/.phpcca.cache/7f/7f617fc9b463b161bff8498a413e7b13.cache +++ /dev/null @@ -1,823 +0,0 @@ -{ - "version": "1.0", - "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/Command\/EventHandler\/ParserErrorHandler.php", - "file_mtime": 1759791861, - "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", - "analysis_result": { - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::__construct": { - "line": 26, - "lineCount": 5, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 4, - "N1": 3, - "N2": 6, - "programLength": 9, - "programVocabulary": 7, - "volume": 25.26619429851844, - "difficulty": 2.25, - "effort": 56.848937171666485, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItem": { - "line": 35, - "lineCount": 15, - "argCount": 1, - "returnCount": 3, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 6, - "N2": 13, - "programLength": 19, - "programVocabulary": 8, - "volume": 57, - "difficulty": 6.5, - "effort": 370.5, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItem" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItems": { - "line": 55, - "lineCount": 9, - "argCount": 1, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 3, - "N2": 9, - "programLength": 12, - "programVocabulary": 6, - "volume": 31.019550008653873, - "difficulty": 2.25, - "effort": 69.79398751947122, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItems" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::hasItem": { - "line": 68, - "lineCount": 6, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 5, - "n2": 3, - "N1": 6, - "N2": 7, - "programLength": 13, - "programVocabulary": 8, - "volume": 39, - "difficulty": 5.833333333333334, - "effort": 227.50000000000003, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::hasItem" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::clear": { - "line": 75, - "lineCount": 10, - "argCount": 0, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 2, - "N2": 4, - "programLength": 6, - "programVocabulary": 3, - "volume": 9.509775004326936, - "difficulty": 1, - "effort": 9.509775004326936, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::clear" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItem": { - "line": 89, - "lineCount": 10, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 4, - "N2": 6, - "programLength": 10, - "programVocabulary": 6, - "volume": 25.84962500721156, - "difficulty": 3, - "effort": 77.54887502163469, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItem" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItems": { - "line": 103, - "lineCount": 10, - "argCount": 1, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 3, - "N2": 8, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 2, - "effort": 56.86917501586544, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItems" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::save": { - "line": 117, - "lineCount": 11, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 4, - "N1": 9, - "N2": 12, - "programLength": 21, - "programVocabulary": 7, - "volume": 58.95445336320969, - "difficulty": 4.5, - "effort": 265.2950401344436, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::save" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveDeferred": { - "line": 129, - "lineCount": 6, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveDeferred" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::commit": { - "line": 136, - "lineCount": 11, - "argCount": 0, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 4, - "N2": 8, - "programLength": 12, - "programVocabulary": 5, - "volume": 27.863137138648348, - "difficulty": 2.6666666666666665, - "effort": 74.30169903639559, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::commit" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::ensureCacheDirectory": { - "line": 152, - "lineCount": 9, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 3, - "N2": 4, - "programLength": 7, - "programVocabulary": 4, - "volume": 14, - "difficulty": 2, - "effort": 28, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::ensureCacheDirectory" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getCacheFilePath": { - "line": 168, - "lineCount": 15, - "argCount": 1, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 10, - "N1": 13, - "N2": 19, - "programLength": 32, - "programVocabulary": 14, - "volume": 121.83535750584333, - "difficulty": 3.8, - "effort": 462.9743585222046, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getCacheFilePath" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::loadCacheData": { - "line": 187, - "lineCount": 14, - "argCount": 1, - "returnCount": 3, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 6, - "N2": 8, - "programLength": 14, - "programVocabulary": 6, - "volume": 36.18947501009619, - "difficulty": 4, - "effort": 144.75790004038475, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::loadCacheData" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveCacheData": { - "line": 209, - "lineCount": 21, - "argCount": 2, - "returnCount": 3, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 6, - "n2": 7, - "N1": 13, - "N2": 17, - "programLength": 30, - "programVocabulary": 13, - "volume": 111.01319154423277, - "difficulty": 7.285714285714285, - "effort": 808.810395536553, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveCacheData" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::sanitizeUtf8": { - "line": 234, - "lineCount": 25, - "argCount": 1, - "returnCount": 4, - "variableCount": 6, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 8, - "N1": 13, - "N2": 29, - "programLength": 42, - "programVocabulary": 11, - "volume": 145.29612798276648, - "difficulty": 5.4375, - "effort": 790.0476959062927, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::sanitizeUtf8" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::removeDirectory": { - "line": 260, - "lineCount": 23, - "argCount": 1, - "returnCount": 2, - "variableCount": 5, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 5, - "n2": 9, - "N1": 13, - "N2": 20, - "programLength": 33, - "programVocabulary": 14, - "volume": 125.64271242790093, - "difficulty": 5.555555555555555, - "effort": 698.0150690438941, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::removeDirectory" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::__construct": { - "line": 42, - "lineCount": 7, - "argCount": 3, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 3, - "N1": 0, - "N2": 3, - "programLength": 3, - "programVocabulary": 3, - "volume": 4.754887502163468, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::configure": { - "line": 53, - "lineCount": 57, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 15, - "N1": 9, - "N2": 16, - "programLength": 25, - "programVocabulary": 16, - "volume": 100, - "difficulty": 0.5333333333333333, - "effort": 53.333333333333336, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::configure" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::execute": { - "line": 119, - "lineCount": 43, - "argCount": 2, - "returnCount": 5, - "variableCount": 9, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 4, - "halstead": { - "n1": 7, - "n2": 14, - "N1": 31, - "N2": 45, - "programLength": 76, - "programVocabulary": 21, - "volume": 333.8161241311858, - "difficulty": 11.25, - "effort": 3755.4313964758403, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::execute" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::loadCoverageReader": { - "line": 171, - "lineCount": 32, - "argCount": 3, - "returnCount": 4, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 2, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 4, - "n2": 9, - "N1": 9, - "N2": 21, - "programLength": 30, - "programVocabulary": 13, - "volume": 111.01319154423277, - "difficulty": 4.666666666666667, - "effort": 518.0615605397529, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::loadCoverageReader" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::detectCoverageFormat": { - "line": 207, - "lineCount": 19, - "argCount": 1, - "returnCount": 4, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 9, - "volume": 47.548875021634686, - "difficulty": 2.5, - "effort": 118.87218755408671, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::detectCoverageFormat" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::coverageFileExists": { - "line": 227, - "lineCount": 20, - "argCount": 2, - "returnCount": 3, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 4, - "N2": 7, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 3.5, - "effort": 99.52105627776452, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::coverageFileExists" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::__construct": { - "line": 49, - "lineCount": 10, - "argCount": 6, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 6, - "N1": 0, - "N2": 6, - "programLength": 6, - "programVocabulary": 6, - "volume": 15.509775004326936, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::configure": { - "line": 63, - "lineCount": 76, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 20, - "N1": 13, - "N2": 20, - "programLength": 33, - "programVocabulary": 21, - "volume": 144.94647495169912, - "difficulty": 0.5, - "effort": 72.47323747584956, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::configure" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::execute": { - "line": 150, - "lineCount": 52, - "argCount": 2, - "returnCount": 5, - "variableCount": 11, - "propertyCallCount": 6, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 7, - "halstead": { - "n1": 6, - "n2": 15, - "N1": 43, - "N2": 61, - "programLength": 104, - "programVocabulary": 21, - "volume": 456.80101196899113, - "difficulty": 12.2, - "effort": 5572.972346021692, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::execute" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::parsePaths": { - "line": 209, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 4, - "N2": 8, - "programLength": 12, - "programVocabulary": 7, - "volume": 33.68825906469125, - "difficulty": 1.6, - "effort": 53.901214503506004, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::parsePaths" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleBaseLine": { - "line": 224, - "lineCount": 8, - "argCount": 2, - "returnCount": 0, - "variableCount": 3, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 5, - "N2": 11, - "programLength": 16, - "programVocabulary": 7, - "volume": 44.91767875292167, - "difficulty": 2.2, - "effort": 98.81889325642767, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleBaseLine" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleCoverageOptions": { - "line": 238, - "lineCount": 20, - "argCount": 2, - "returnCount": 3, - "variableCount": 5, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 5, - "n2": 10, - "N1": 15, - "N2": 25, - "programLength": 40, - "programVocabulary": 15, - "volume": 156.27562382434076, - "difficulty": 6.25, - "effort": 976.7226489021298, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleCoverageOptions" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::applySorting": { - "line": 264, - "lineCount": 21, - "argCount": 3, - "returnCount": 3, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 15, - "N1": 16, - "N2": 32, - "programLength": 48, - "programVocabulary": 20, - "volume": 207.45254855459342, - "difficulty": 5.333333333333333, - "effort": 1106.4135922911648, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::applySorting" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadConfiguration": { - "line": 293, - "lineCount": 10, - "argCount": 2, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 6, - "N1": 5, - "N2": 9, - "programLength": 14, - "programVocabulary": 8, - "volume": 42, - "difficulty": 1.5, - "effort": 63, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadConfiguration" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadCoverageReader": { - "line": 313, - "lineCount": 28, - "argCount": 3, - "returnCount": 4, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 2, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 10, - "N2": 18, - "programLength": 28, - "programVocabulary": 11, - "volume": 96.86408532184433, - "difficulty": 5.142857142857143, - "effort": 498.15815308377086, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadCoverageReader" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::detectCoverageFormat": { - "line": 345, - "lineCount": 19, - "argCount": 1, - "returnCount": 4, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 9, - "volume": 47.548875021634686, - "difficulty": 2.5, - "effort": 118.87218755408671, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::detectCoverageFormat" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::coverageFileExists": { - "line": 365, - "lineCount": 20, - "argCount": 2, - "returnCount": 3, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 4, - "N2": 7, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 3.5, - "effort": 99.52105627776452, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::coverageFileExists" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__construct": { - "line": 12, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__invoke": { - "line": 17, - "lineCount": 22, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 3, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 10, - "N2": 11, - "programLength": 21, - "programVocabulary": 7, - "volume": 58.95445336320969, - "difficulty": 2.2, - "effort": 129.6997973990613, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__invoke" - } - } - }, - "ignored_items": [], - "cached_at": 1759967601 -} \ No newline at end of file diff --git a/.phpcca.cache/82/828eaaf30f2dccec9484d143b57302ff.cache b/.phpcca.cache/82/828eaaf30f2dccec9484d143b57302ff.cache deleted file mode 100644 index 1981322..0000000 --- a/.phpcca.cache/82/828eaaf30f2dccec9484d143b57302ff.cache +++ /dev/null @@ -1,2617 +0,0 @@ -{ - "version": "1.0", - "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/Config\/MetricsConfig.php", - "file_mtime": 1759964701, - "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", - "analysis_result": { - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::__construct": { - "line": 26, - "lineCount": 5, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 4, - "N1": 3, - "N2": 6, - "programLength": 9, - "programVocabulary": 7, - "volume": 25.26619429851844, - "difficulty": 2.25, - "effort": 56.848937171666485, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItem": { - "line": 35, - "lineCount": 15, - "argCount": 1, - "returnCount": 3, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 6, - "N2": 13, - "programLength": 19, - "programVocabulary": 8, - "volume": 57, - "difficulty": 6.5, - "effort": 370.5, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItem" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItems": { - "line": 55, - "lineCount": 9, - "argCount": 1, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 3, - "N2": 9, - "programLength": 12, - "programVocabulary": 6, - "volume": 31.019550008653873, - "difficulty": 2.25, - "effort": 69.79398751947122, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItems" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::hasItem": { - "line": 68, - "lineCount": 6, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 5, - "n2": 3, - "N1": 6, - "N2": 7, - "programLength": 13, - "programVocabulary": 8, - "volume": 39, - "difficulty": 5.833333333333334, - "effort": 227.50000000000003, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::hasItem" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::clear": { - "line": 75, - "lineCount": 10, - "argCount": 0, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 2, - "N2": 4, - "programLength": 6, - "programVocabulary": 3, - "volume": 9.509775004326936, - "difficulty": 1, - "effort": 9.509775004326936, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::clear" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItem": { - "line": 89, - "lineCount": 10, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 4, - "N2": 6, - "programLength": 10, - "programVocabulary": 6, - "volume": 25.84962500721156, - "difficulty": 3, - "effort": 77.54887502163469, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItem" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItems": { - "line": 103, - "lineCount": 10, - "argCount": 1, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 3, - "N2": 8, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 2, - "effort": 56.86917501586544, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItems" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::save": { - "line": 117, - "lineCount": 11, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 4, - "N1": 9, - "N2": 12, - "programLength": 21, - "programVocabulary": 7, - "volume": 58.95445336320969, - "difficulty": 4.5, - "effort": 265.2950401344436, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::save" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveDeferred": { - "line": 129, - "lineCount": 6, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveDeferred" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::commit": { - "line": 136, - "lineCount": 11, - "argCount": 0, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 4, - "N2": 8, - "programLength": 12, - "programVocabulary": 5, - "volume": 27.863137138648348, - "difficulty": 2.6666666666666665, - "effort": 74.30169903639559, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::commit" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::ensureCacheDirectory": { - "line": 152, - "lineCount": 9, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 3, - "N2": 4, - "programLength": 7, - "programVocabulary": 4, - "volume": 14, - "difficulty": 2, - "effort": 28, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::ensureCacheDirectory" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getCacheFilePath": { - "line": 168, - "lineCount": 15, - "argCount": 1, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 10, - "N1": 13, - "N2": 19, - "programLength": 32, - "programVocabulary": 14, - "volume": 121.83535750584333, - "difficulty": 3.8, - "effort": 462.9743585222046, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getCacheFilePath" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::loadCacheData": { - "line": 187, - "lineCount": 14, - "argCount": 1, - "returnCount": 3, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 6, - "N2": 8, - "programLength": 14, - "programVocabulary": 6, - "volume": 36.18947501009619, - "difficulty": 4, - "effort": 144.75790004038475, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::loadCacheData" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveCacheData": { - "line": 209, - "lineCount": 21, - "argCount": 2, - "returnCount": 3, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 6, - "n2": 7, - "N1": 13, - "N2": 17, - "programLength": 30, - "programVocabulary": 13, - "volume": 111.01319154423277, - "difficulty": 7.285714285714285, - "effort": 808.810395536553, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveCacheData" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::sanitizeUtf8": { - "line": 234, - "lineCount": 25, - "argCount": 1, - "returnCount": 4, - "variableCount": 6, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 8, - "N1": 13, - "N2": 29, - "programLength": 42, - "programVocabulary": 11, - "volume": 145.29612798276648, - "difficulty": 5.4375, - "effort": 790.0476959062927, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::sanitizeUtf8" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::removeDirectory": { - "line": 260, - "lineCount": 23, - "argCount": 1, - "returnCount": 2, - "variableCount": 5, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 5, - "n2": 9, - "N1": 13, - "N2": 20, - "programLength": 33, - "programVocabulary": 14, - "volume": 125.64271242790093, - "difficulty": 5.555555555555555, - "effort": 698.0150690438941, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::removeDirectory" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::__construct": { - "line": 42, - "lineCount": 7, - "argCount": 3, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 3, - "N1": 0, - "N2": 3, - "programLength": 3, - "programVocabulary": 3, - "volume": 4.754887502163468, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::configure": { - "line": 53, - "lineCount": 57, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 15, - "N1": 9, - "N2": 16, - "programLength": 25, - "programVocabulary": 16, - "volume": 100, - "difficulty": 0.5333333333333333, - "effort": 53.333333333333336, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::configure" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::execute": { - "line": 119, - "lineCount": 43, - "argCount": 2, - "returnCount": 5, - "variableCount": 9, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 4, - "halstead": { - "n1": 7, - "n2": 14, - "N1": 31, - "N2": 45, - "programLength": 76, - "programVocabulary": 21, - "volume": 333.8161241311858, - "difficulty": 11.25, - "effort": 3755.4313964758403, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::execute" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::loadCoverageReader": { - "line": 171, - "lineCount": 32, - "argCount": 3, - "returnCount": 4, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 2, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 4, - "n2": 9, - "N1": 9, - "N2": 21, - "programLength": 30, - "programVocabulary": 13, - "volume": 111.01319154423277, - "difficulty": 4.666666666666667, - "effort": 518.0615605397529, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::loadCoverageReader" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::detectCoverageFormat": { - "line": 207, - "lineCount": 19, - "argCount": 1, - "returnCount": 4, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 9, - "volume": 47.548875021634686, - "difficulty": 2.5, - "effort": 118.87218755408671, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::detectCoverageFormat" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::coverageFileExists": { - "line": 227, - "lineCount": 20, - "argCount": 2, - "returnCount": 3, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 4, - "N2": 7, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 3.5, - "effort": 99.52105627776452, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::coverageFileExists" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::__construct": { - "line": 49, - "lineCount": 10, - "argCount": 6, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 6, - "N1": 0, - "N2": 6, - "programLength": 6, - "programVocabulary": 6, - "volume": 15.509775004326936, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::configure": { - "line": 63, - "lineCount": 76, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 20, - "N1": 13, - "N2": 20, - "programLength": 33, - "programVocabulary": 21, - "volume": 144.94647495169912, - "difficulty": 0.5, - "effort": 72.47323747584956, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::configure" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::execute": { - "line": 150, - "lineCount": 52, - "argCount": 2, - "returnCount": 5, - "variableCount": 11, - "propertyCallCount": 6, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 7, - "halstead": { - "n1": 6, - "n2": 15, - "N1": 43, - "N2": 61, - "programLength": 104, - "programVocabulary": 21, - "volume": 456.80101196899113, - "difficulty": 12.2, - "effort": 5572.972346021692, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::execute" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::parsePaths": { - "line": 209, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 4, - "N2": 8, - "programLength": 12, - "programVocabulary": 7, - "volume": 33.68825906469125, - "difficulty": 1.6, - "effort": 53.901214503506004, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::parsePaths" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleBaseLine": { - "line": 224, - "lineCount": 8, - "argCount": 2, - "returnCount": 0, - "variableCount": 3, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 5, - "N2": 11, - "programLength": 16, - "programVocabulary": 7, - "volume": 44.91767875292167, - "difficulty": 2.2, - "effort": 98.81889325642767, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleBaseLine" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleCoverageOptions": { - "line": 238, - "lineCount": 20, - "argCount": 2, - "returnCount": 3, - "variableCount": 5, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 5, - "n2": 10, - "N1": 15, - "N2": 25, - "programLength": 40, - "programVocabulary": 15, - "volume": 156.27562382434076, - "difficulty": 6.25, - "effort": 976.7226489021298, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleCoverageOptions" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::applySorting": { - "line": 264, - "lineCount": 21, - "argCount": 3, - "returnCount": 3, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 15, - "N1": 16, - "N2": 32, - "programLength": 48, - "programVocabulary": 20, - "volume": 207.45254855459342, - "difficulty": 5.333333333333333, - "effort": 1106.4135922911648, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::applySorting" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadConfiguration": { - "line": 293, - "lineCount": 10, - "argCount": 2, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 6, - "N1": 5, - "N2": 9, - "programLength": 14, - "programVocabulary": 8, - "volume": 42, - "difficulty": 1.5, - "effort": 63, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadConfiguration" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadCoverageReader": { - "line": 313, - "lineCount": 28, - "argCount": 3, - "returnCount": 4, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 2, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 10, - "N2": 18, - "programLength": 28, - "programVocabulary": 11, - "volume": 96.86408532184433, - "difficulty": 5.142857142857143, - "effort": 498.15815308377086, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadCoverageReader" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::detectCoverageFormat": { - "line": 345, - "lineCount": 19, - "argCount": 1, - "returnCount": 4, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 9, - "volume": 47.548875021634686, - "difficulty": 2.5, - "effort": 118.87218755408671, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::detectCoverageFormat" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::coverageFileExists": { - "line": 365, - "lineCount": 20, - "argCount": 2, - "returnCount": 3, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 4, - "N2": 7, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 3.5, - "effort": 99.52105627776452, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::coverageFileExists" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__construct": { - "line": 12, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__invoke": { - "line": 17, - "lineCount": 22, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 3, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 10, - "N2": 11, - "programLength": 21, - "programVocabulary": 7, - "volume": 58.95445336320969, - "difficulty": 2.2, - "effort": 129.6997973990613, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__invoke" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__construct": { - "line": 21, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__invoke": { - "line": 26, - "lineCount": 11, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 4, - "N2": 9, - "programLength": 13, - "programVocabulary": 4, - "volume": 26, - "difficulty": 4.5, - "effort": 117, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__invoke" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleSourceFilesFound": { - "line": 38, - "lineCount": 6, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 4, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 6, - "N2": 10, - "programLength": 16, - "programVocabulary": 8, - "volume": 48, - "difficulty": 5, - "effort": 240, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleSourceFilesFound" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleFileProcessed": { - "line": 45, - "lineCount": 5, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleFileProcessed" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleAllFilesProcessed": { - "line": 51, - "lineCount": 6, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 3, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 3, - "N2": 5, - "programLength": 8, - "programVocabulary": 5, - "volume": 18.575424759098897, - "difficulty": 1.6666666666666667, - "effort": 30.95904126516483, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleAllFilesProcessed" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__construct": { - "line": 20, - "lineCount": 5, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__invoke": { - "line": 26, - "lineCount": 17, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 5, - "n2": 8, - "N1": 17, - "N2": 17, - "programLength": 34, - "programVocabulary": 13, - "volume": 125.81495041679713, - "difficulty": 5.3125, - "effort": 668.3919240892347, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__invoke" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::formatBytes": { - "line": 50, - "lineCount": 12, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 7, - "n2": 13, - "N1": 10, - "N2": 22, - "programLength": 32, - "programVocabulary": 20, - "volume": 138.3016990363956, - "difficulty": 5.923076923076923, - "effort": 819.1716019848047, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::formatBytes" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::isDebugEnabled": { - "line": 66, - "lineCount": 5, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 1, - "N1": 4, - "N2": 2, - "programLength": 6, - "programVocabulary": 4, - "volume": 12, - "difficulty": 3, - "effort": 36, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::isDebugEnabled" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::__construct": { - "line": 20, - "lineCount": 6, - "argCount": 2, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 4, - "volume": 8, - "difficulty": 0.5, - "effort": 4, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::exportToFile": { - "line": 32, - "lineCount": 27, - "argCount": 3, - "returnCount": 4, - "variableCount": 2, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 1, - "n2": 6, - "N1": 6, - "N2": 19, - "programLength": 25, - "programVocabulary": 7, - "volume": 70.1838730514401, - "difficulty": 1.5833333333333333, - "effort": 111.12446566478016, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::exportToFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::hasIncompleteReportOptions": { - "line": 60, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 2, - "N1": 7, - "N2": 6, - "programLength": 13, - "programVocabulary": 6, - "volume": 33.60451250937503, - "difficulty": 6, - "effort": 201.62707505625016, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::hasIncompleteReportOptions" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::isValidReportType": { - "line": 65, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 2, - "N2": 4, - "programLength": 6, - "programVocabulary": 4, - "volume": 12, - "difficulty": 2, - "effort": 24, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::isValidReportType" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleExceptions": { - "line": 77, - "lineCount": 9, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 3, - "N2": 4, - "programLength": 7, - "programVocabulary": 5, - "volume": 16.253496664211536, - "difficulty": 1.3333333333333333, - "effort": 21.67132888561538, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleExceptions" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleInvalidReportType": { - "line": 91, - "lineCount": 11, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 5, - "N2": 8, - "programLength": 13, - "programVocabulary": 8, - "volume": 39, - "difficulty": 2.4000000000000004, - "effort": 93.60000000000001, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleInvalidReportType" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::__construct": { - "line": 15, - "lineCount": 5, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handle": { - "line": 24, - "lineCount": 27, - "argCount": 3, - "returnCount": 4, - "variableCount": 2, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 1, - "n2": 6, - "N1": 6, - "N2": 19, - "programLength": 25, - "programVocabulary": 7, - "volume": 70.1838730514401, - "difficulty": 1.5833333333333333, - "effort": 111.12446566478016, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handle" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::hasIncompleteReportOptions": { - "line": 52, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 2, - "N1": 7, - "N2": 6, - "programLength": 13, - "programVocabulary": 6, - "volume": 33.60451250937503, - "difficulty": 6, - "effort": 201.62707505625016, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::hasIncompleteReportOptions" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::isValidReportType": { - "line": 57, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 5, - "N1": 1, - "N2": 6, - "programLength": 7, - "programVocabulary": 6, - "volume": 18.094737505048094, - "difficulty": 0.6, - "effort": 10.856842503028856, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::isValidReportType" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handleExceptions": { - "line": 66, - "lineCount": 9, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 3, - "N2": 4, - "programLength": 7, - "programVocabulary": 5, - "volume": 16.253496664211536, - "difficulty": 1.3333333333333333, - "effort": 21.67132888561538, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handleExceptions" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handleInvalidReporType": { - "line": 80, - "lineCount": 9, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 4, - "programLength": 6, - "programVocabulary": 5, - "volume": 13.931568569324174, - "difficulty": 1.3333333333333333, - "effort": 18.575424759098897, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handleInvalidReporType" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::__construct": { - "line": 42, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::reportWritten": { - "line": 47, - "lineCount": 7, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 4, - "programLength": 6, - "programVocabulary": 5, - "volume": 13.931568569324174, - "difficulty": 1.3333333333333333, - "effort": 18.575424759098897, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::reportWritten" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::renderChurnTable": { - "line": 59, - "lineCount": 35, - "argCount": 1, - "returnCount": 0, - "variableCount": 6, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 8, - "n2": 18, - "N1": 21, - "N2": 53, - "programLength": 74, - "programVocabulary": 26, - "volume": 347.8325391424408, - "difficulty": 11.777777777777779, - "effort": 4096.694349899859, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::renderChurnTable" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricSummaryTextRenderer::__construct": { - "line": 18, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricSummaryTextRenderer::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricSummaryTextRenderer::render": { - "line": 23, - "lineCount": 32, - "argCount": 2, - "returnCount": 0, - "variableCount": 6, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 6, - "n2": 16, - "N1": 27, - "N2": 38, - "programLength": 65, - "programVocabulary": 22, - "volume": 289.86305521142435, - "difficulty": 7.125, - "effort": 2065.2742683813985, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricSummaryTextRenderer::render" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::__construct": { - "line": 27, - "lineCount": 5, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::metricExceedsThreshold": { - "line": 33, - "lineCount": 6, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 2, - "N1": 3, - "N2": 5, - "programLength": 8, - "programVocabulary": 5, - "volume": 18.575424759098897, - "difficulty": 3.75, - "effort": 69.65784284662087, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::metricExceedsThreshold" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::hasCoverageInCollection": { - "line": 43, - "lineCount": 10, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 2, - "N2": 4, - "programLength": 6, - "programVocabulary": 4, - "volume": 12, - "difficulty": 2, - "effort": 24, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::hasCoverageInCollection" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::render": { - "line": 58, - "lineCount": 17, - "argCount": 2, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 6, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 9, - "N2": 25, - "programLength": 34, - "programVocabulary": 6, - "volume": 87.8887250245193, - "difficulty": 6.25, - "effort": 549.3045314032456, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::render" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderGroupedByClass": { - "line": 81, - "lineCount": 19, - "argCount": 3, - "returnCount": 0, - "variableCount": 6, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 5, - "n2": 11, - "N1": 11, - "N2": 25, - "programLength": 36, - "programVocabulary": 16, - "volume": 144, - "difficulty": 5.6818181818181825, - "effort": 818.1818181818182, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderGroupedByClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::buildRowsForClass": { - "line": 106, - "lineCount": 13, - "argCount": 2, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 4, - "N2": 12, - "programLength": 16, - "programVocabulary": 7, - "volume": 44.91767875292167, - "difficulty": 2.4, - "effort": 107.802429007012, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::buildRowsForClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::getFilenameFromMetrics": { - "line": 123, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 5, - "programLength": 6, - "programVocabulary": 4, - "volume": 12, - "difficulty": 0.8333333333333334, - "effort": 10, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::getFilenameFromMetrics" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderAllMethodsInSingleTable": { - "line": 136, - "lineCount": 12, - "argCount": 3, - "returnCount": 0, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 6, - "N2": 15, - "programLength": 21, - "programVocabulary": 11, - "volume": 72.64806399138324, - "difficulty": 4.285714285714286, - "effort": 311.34884567735673, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderAllMethodsInSingleTable" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::buildRowsForSingleTable": { - "line": 154, - "lineCount": 13, - "argCount": 2, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 4, - "N2": 12, - "programLength": 16, - "programVocabulary": 7, - "volume": 44.91767875292167, - "difficulty": 2.4, - "effort": 107.802429007012, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::buildRowsForSingleTable" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderTableCommon": { - "line": 173, - "lineCount": 19, - "argCount": 4, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 8, - "N1": 7, - "N2": 19, - "programLength": 26, - "programVocabulary": 10, - "volume": 86.37013046707142, - "difficulty": 2.375, - "effort": 205.1290598592946, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderTableCommon" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderTable": { - "line": 196, - "lineCount": 13, - "argCount": 4, - "returnCount": 0, - "variableCount": 3, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 7, - "N1": 4, - "N2": 14, - "programLength": 18, - "programVocabulary": 9, - "volume": 57.05865002596162, - "difficulty": 2, - "effort": 114.11730005192324, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderTable" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderSingleTable": { - "line": 213, - "lineCount": 11, - "argCount": 3, - "returnCount": 0, - "variableCount": 3, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 6, - "N1": 4, - "N2": 12, - "programLength": 16, - "programVocabulary": 8, - "volume": 48, - "difficulty": 2, - "effort": 96, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderSingleTable" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::__construct": { - "line": 16, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatScore": { - "line": 21, - "lineCount": 6, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 6, - "N1": 5, - "N2": 9, - "programLength": 14, - "programVocabulary": 8, - "volume": 42, - "difficulty": 1.5, - "effort": 63, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatScore" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadVolume": { - "line": 28, - "lineCount": 14, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 10, - "N1": 9, - "N2": 17, - "programLength": 26, - "programVocabulary": 15, - "volume": 101.57915548582149, - "difficulty": 4.25, - "effort": 431.7114108147413, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadVolume" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadDifficulty": { - "line": 43, - "lineCount": 13, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 10, - "N1": 8, - "N2": 17, - "programLength": 25, - "programVocabulary": 14, - "volume": 95.1838730514401, - "difficulty": 3.4, - "effort": 323.62516837489636, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadDifficulty" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadEffort": { - "line": 57, - "lineCount": 13, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 10, - "N1": 8, - "N2": 17, - "programLength": 25, - "programVocabulary": 14, - "volume": 95.1838730514401, - "difficulty": 3.4, - "effort": 323.62516837489636, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadEffort" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatCyclomaticComplexity": { - "line": 71, - "lineCount": 13, - "argCount": 1, - "returnCount": 3, - "variableCount": 4, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 5, - "n2": 9, - "N1": 9, - "N2": 18, - "programLength": 27, - "programVocabulary": 14, - "volume": 102.79858289555531, - "difficulty": 5, - "effort": 513.9929144777766, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatCyclomaticComplexity" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::colorCyclomaticRisk": { - "line": 85, - "lineCount": 8, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 7, - "N1": 5, - "N2": 11, - "programLength": 16, - "programVocabulary": 9, - "volume": 50.718800023076994, - "difficulty": 1.5714285714285714, - "effort": 79.70097146483528, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::colorCyclomaticRisk" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::__construct": { - "line": 17, - "lineCount": 5, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::getGroupedTableHeaders": { - "line": 28, - "lineCount": 16, - "argCount": 0, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 10, - "N2": 17, - "programLength": 27, - "programVocabulary": 6, - "volume": 69.79398751947122, - "difficulty": 4.25, - "effort": 296.62444695775264, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::getGroupedTableHeaders" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCoverageHeader": { - "line": 49, - "lineCount": 10, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 6, - "programLength": 7, - "programVocabulary": 4, - "volume": 14, - "difficulty": 1, - "effort": 14, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCoverageHeader" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::getSingleTableHeaders": { - "line": 65, - "lineCount": 20, - "argCount": 0, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 6, - "N1": 9, - "N2": 18, - "programLength": 27, - "programVocabulary": 8, - "volume": 81, - "difficulty": 3, - "effort": 243, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::getSingleTableHeaders" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addHalsteadHeaders": { - "line": 92, - "lineCount": 10, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 1, - "n2": 5, - "N1": 3, - "N2": 9, - "programLength": 12, - "programVocabulary": 6, - "volume": 31.019550008653873, - "difficulty": 0.9, - "effort": 27.917595007788485, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addHalsteadHeaders" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCyclomaticHeaders": { - "line": 109, - "lineCount": 8, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 5, - "programLength": 6, - "programVocabulary": 4, - "volume": 12, - "difficulty": 0.8333333333333334, - "effort": 10, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCyclomaticHeaders" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCognitiveMetricDetails": { - "line": 122, - "lineCount": 16, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 10, - "N1": 2, - "N2": 13, - "programLength": 15, - "programVocabulary": 12, - "volume": 53.77443751081734, - "difficulty": 1.3, - "effort": 69.90676876406255, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCognitiveMetricDetails" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::__construct": { - "line": 21, - "lineCount": 6, - "argCount": 3, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 3, - "N1": 0, - "N2": 3, - "programLength": 3, - "programVocabulary": 3, - "volume": 4.754887502163468, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::buildRow": { - "line": 34, - "lineCount": 16, - "argCount": 1, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 10, - "N2": 24, - "programLength": 34, - "programVocabulary": 7, - "volume": 95.45006734995854, - "difficulty": 4.8, - "effort": 458.160323279801, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::buildRow" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::buildRowWithClassInfo": { - "line": 57, - "lineCount": 16, - "argCount": 1, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 10, - "N2": 24, - "programLength": 34, - "programVocabulary": 7, - "volume": 95.45006734995854, - "difficulty": 4.8, - "effort": 458.160323279801, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::buildRowWithClassInfo" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::metricsToArray": { - "line": 79, - "lineCount": 8, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 3, - "N2": 7, - "programLength": 10, - "programVocabulary": 6, - "volume": 25.84962500721156, - "difficulty": 1.75, - "effort": 45.23684376262023, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::metricsToArray" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::metricsToArrayWithClassInfo": { - "line": 93, - "lineCount": 9, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 4, - "N2": 9, - "programLength": 13, - "programVocabulary": 7, - "volume": 36.49561398674886, - "difficulty": 1.8, - "effort": 65.69210517614795, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::metricsToArrayWithClassInfo" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addHalsteadFields": { - "line": 109, - "lineCount": 10, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 6, - "N1": 6, - "N2": 16, - "programLength": 22, - "programVocabulary": 8, - "volume": 66, - "difficulty": 2.6666666666666665, - "effort": 176, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addHalsteadFields" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addCyclomaticFields": { - "line": 126, - "lineCount": 8, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 2, - "N2": 8, - "programLength": 10, - "programVocabulary": 6, - "volume": 25.84962500721156, - "difficulty": 2, - "effort": 51.69925001442312, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addCyclomaticFields" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addWeightedValue": { - "line": 141, - "lineCount": 10, - "argCount": 3, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 11, - "N1": 13, - "N2": 22, - "programLength": 35, - "programVocabulary": 15, - "volume": 136.74117084629816, - "difficulty": 4, - "effort": 546.9646833851926, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addWeightedValue" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addDelta": { - "line": 158, - "lineCount": 20, - "argCount": 3, - "returnCount": 3, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 6, - "n2": 13, - "N1": 19, - "N2": 30, - "programLength": 49, - "programVocabulary": 19, - "volume": 208.14844815873568, - "difficulty": 6.9230769230769225, - "effort": 1441.0277180220162, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::getKeys": { - "line": 184, - "lineCount": 17, - "argCount": 0, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 0, - "n2": 9, - "N1": 0, - "N2": 9, - "programLength": 9, - "programVocabulary": 9, - "volume": 28.52932501298081, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::getKeys" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::assertDeltaMethodExists": { - "line": 205, - "lineCount": 6, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 6, - "programLength": 8, - "programVocabulary": 5, - "volume": 18.575424759098897, - "difficulty": 2, - "effort": 37.150849518197795, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::assertDeltaMethodExists" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addCoverageValue": { - "line": 216, - "lineCount": 11, - "argCount": 2, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 7, - "N1": 7, - "N2": 15, - "programLength": 22, - "programVocabulary": 12, - "volume": 78.86917501586544, - "difficulty": 5.357142857142857, - "effort": 422.51343758499337, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addCoverageValue" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::extracted": { - "line": 233, - "lineCount": 22, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 12, - "N1": 19, - "N2": 34, - "programLength": 53, - "programVocabulary": 15, - "volume": 207.06520156725148, - "difficulty": 4.25, - "effort": 880.0271066608187, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::extracted" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CacheConfig::__construct": { - "line": 12, - "lineCount": 5, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CacheConfig::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CacheConfig::toArray": { - "line": 23, - "lineCount": 7, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 3, - "N1": 0, - "N2": 4, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CacheConfig::toArray" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CognitiveConfig::__construct": { - "line": 20, - "lineCount": 13, - "argCount": 10, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 10, - "N1": 0, - "N2": 10, - "programLength": 10, - "programVocabulary": 10, - "volume": 33.219280948873624, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CognitiveConfig::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CognitiveConfig::toArray": { - "line": 39, - "lineCount": 20, - "argCount": 0, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 10, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 14, - "N1": 3, - "N2": 27, - "programLength": 30, - "programVocabulary": 16, - "volume": 120, - "difficulty": 1.9285714285714286, - "effort": 231.42857142857144, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CognitiveConfig::toArray" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigFactory::fromArray": { - "line": 16, - "lineCount": 31, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 20, - "N1": 10, - "N2": 52, - "programLength": 62, - "programVocabulary": 23, - "volume": 280.4608412755348, - "difficulty": 3.9000000000000004, - "effort": 1093.7972809745859, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigFactory::fromArray" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigLoader::getCognitiveMetricDefaults": { - "line": 27, - "lineCount": 45, - "argCount": 0, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 8, - "N1": 0, - "N2": 16, - "programLength": 16, - "programVocabulary": 8, - "volume": 48, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigLoader::getCognitiveMetricDefaults" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigLoader::getConfigTreeBuilder": { - "line": 73, - "lineCount": 75, - "argCount": 0, - "returnCount": 2, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 24, - "N1": 68, - "N2": 29, - "programLength": 97, - "programVocabulary": 27, - "volume": 461.2240877098564, - "difficulty": 1.8125, - "effort": 835.9686589741148, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigLoader::getConfigTreeBuilder" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigService::__construct": { - "line": 20, - "lineCount": 6, - "argCount": 2, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 4, - "volume": 8, - "difficulty": 0.5, - "effort": 4, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigService::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigService::loadDefaultConfig": { - "line": 30, - "lineCount": 8, - "argCount": 0, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 3, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 5, - "N2": 6, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 3, - "effort": 85.30376252379816, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigService::loadDefaultConfig" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigService::loadConfig": { - "line": 42, - "lineCount": 9, - "argCount": 1, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 3, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 4, - "N1": 5, - "N2": 8, - "programLength": 13, - "programVocabulary": 7, - "volume": 36.49561398674886, - "difficulty": 3, - "effort": 109.48684196024658, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigService::loadConfig" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigService::getConfig": { - "line": 52, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigService::getConfig" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\MetricsConfig::__construct": { - "line": 12, - "lineCount": 6, - "argCount": 3, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 0, - "n2": 3, - "N1": 0, - "N2": 3, - "programLength": 3, - "programVocabulary": 3, - "volume": 4.754887502163468, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\MetricsConfig::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\MetricsConfig::toArray": { - "line": 24, - "lineCount": 8, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 3, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 0, - "n2": 4, - "N1": 0, - "N2": 6, - "programLength": 6, - "programVocabulary": 4, - "volume": 12, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\MetricsConfig::toArray" - } - } - }, - "ignored_items": [], - "cached_at": 1759967602 -} \ No newline at end of file diff --git a/.phpcca.cache/88/884ddbbf56530b7369bd1f608753ef9f.cache b/.phpcca.cache/88/884ddbbf56530b7369bd1f608753ef9f.cache deleted file mode 100644 index c02e18b..0000000 --- a/.phpcca.cache/88/884ddbbf56530b7369bd1f608753ef9f.cache +++ /dev/null @@ -1,5764 +0,0 @@ -{ - "version": "1.0", - "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/Business\/Traits\/CoverageDataDetector.php", - "file_mtime": 1759784766, - "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", - "analysis_result": { - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct": { - "line": 60, - "lineCount": 5, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 1, - "N1": 2, - "N2": 2, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 2, - "effort": 12.679700005769249, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices": { - "line": 66, - "lineCount": 95, - "argCount": 0, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 5, - "N1": 58, - "N2": 32, - "programLength": 90, - "programVocabulary": 9, - "volume": 285.2932501298081, - "difficulty": 12.8, - "effort": 3651.7536016615436, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap": { - "line": 162, - "lineCount": 10, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 7, - "N2": 7, - "programLength": 14, - "programVocabulary": 2, - "volume": 14, - "difficulty": 3.5, - "effort": 49, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors": { - "line": 173, - "lineCount": 12, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 3, - "N2": 1, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0.5, - "effort": 2, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus": { - "line": 186, - "lineCount": 19, - "argCount": 0, - "returnCount": 0, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 9, - "N2": 13, - "programLength": 22, - "programVocabulary": 7, - "volume": 61.76180828526729, - "difficulty": 2.6, - "effort": 160.58070154169496, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService": { - "line": 206, - "lineCount": 9, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 3, - "N2": 1, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0.5, - "effort": 2, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade": { - "line": 216, - "lineCount": 13, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 3, - "N2": 1, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0.5, - "effort": 2, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands": { - "line": 230, - "lineCount": 21, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 6, - "N2": 2, - "programLength": 8, - "programVocabulary": 2, - "volume": 8, - "difficulty": 1, - "effort": 8, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication": { - "line": 252, - "lineCount": 11, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 5, - "N2": 4, - "programLength": 9, - "programVocabulary": 4, - "volume": 18, - "difficulty": 0.6666666666666666, - "effort": 12, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run": { - "line": 264, - "lineCount": 9, - "argCount": 0, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 5, - "N2": 5, - "programLength": 10, - "programVocabulary": 4, - "volume": 20, - "difficulty": 2.5, - "effort": 50, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get": { - "line": 274, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer": { - "line": 279, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator": { - "line": 289, - "lineCount": 16, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 7, - "programLength": 8, - "programVocabulary": 4, - "volume": 16, - "difficulty": 1.1666666666666667, - "effort": 18.666666666666668, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create": { - "line": 18, - "lineCount": 7, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 4, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile": { - "line": 17, - "lineCount": 17, - "argCount": 2, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 8, - "N1": 11, - "N2": 19, - "programLength": 30, - "programVocabulary": 11, - "volume": 103.78294855911892, - "difficulty": 3.5625, - "effort": 369.72675424186116, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode": { - "line": 42, - "lineCount": 8, - "argCount": 3, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 3, - "N2": 8, - "programLength": 11, - "programVocabulary": 8, - "volume": 33, - "difficulty": 2.4000000000000004, - "effort": 79.20000000000002, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate": { - "line": 22, - "lineCount": 10, - "argCount": 2, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 6, - "N2": 13, - "programLength": 19, - "programVocabulary": 6, - "volume": 49.11428751370197, - "difficulty": 3.25, - "effort": 159.6214344195314, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending": { - "line": 37, - "lineCount": 8, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 2, - "N2": 9, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 2.25, - "effort": 63.97782189284862, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn": { - "line": 51, - "lineCount": 24, - "argCount": 2, - "returnCount": 1, - "variableCount": 6, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 15, - "N1": 17, - "N2": 46, - "programLength": 63, - "programVocabulary": 20, - "volume": 272.28146997790384, - "difficulty": 7.666666666666667, - "effort": 2087.491269830596, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses": { - "line": 81, - "lineCount": 20, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 2, - "n2": 7, - "N1": 10, - "N2": 24, - "programLength": 34, - "programVocabulary": 9, - "volume": 107.7774500490386, - "difficulty": 3.4285714285714284, - "effort": 369.52268588241805, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass": { - "line": 109, - "lineCount": 9, - "argCount": 2, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 6, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 10, - "volume": 49.82892142331043, - "difficulty": 3.3333333333333335, - "effort": 166.09640474436813, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel": { - "line": 126, - "lineCount": 16, - "argCount": 2, - "returnCount": 4, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 12, - "N1": 9, - "N2": 18, - "programLength": 27, - "programVocabulary": 15, - "volume": 105.48604608143, - "difficulty": 2.25, - "effort": 237.3436036832175, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile": { - "line": 14, - "lineCount": 6, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 2, - "N2": 5, - "programLength": 7, - "programVocabulary": 4, - "volume": 14, - "difficulty": 2.5, - "effort": 35, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable": { - "line": 24, - "lineCount": 11, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 10, - "N2": 12, - "programLength": 22, - "programVocabulary": 8, - "volume": 66, - "difficulty": 6, - "effort": 396, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create": { - "line": 21, - "lineCount": 11, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 7, - "N1": 0, - "N2": 9, - "programLength": 9, - "programVocabulary": 7, - "volume": 25.26619429851844, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes": { - "line": 38, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 6, - "N1": 0, - "N2": 6, - "programLength": 6, - "programVocabulary": 6, - "volume": 15.509775004326936, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported": { - "line": 49, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 2, - "N2": 3, - "programLength": 5, - "programVocabulary": 4, - "volume": 10, - "difficulty": 1.5, - "effort": 15, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export": { - "line": 30, - "lineCount": 23, - "argCount": 2, - "returnCount": 0, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 16, - "N1": 10, - "N2": 33, - "programLength": 43, - "programVocabulary": 20, - "volume": 185.8429080801566, - "difficulty": 4.125, - "effort": 766.601995830646, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export": { - "line": 28, - "lineCount": 8, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 6, - "volume": 36.18947501009619, - "difficulty": 2.5, - "effort": 90.47368752524048, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape": { - "line": 37, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber": { - "line": 42, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml": { - "line": 52, - "lineCount": 50, - "argCount": 1, - "returnCount": 1, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 12, - "N1": 11, - "N2": 25, - "programLength": 36, - "programVocabulary": 17, - "volume": 147.14866228501222, - "difficulty": 5.208333333333334, - "effort": 766.3992827344388, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export": { - "line": 17, - "lineCount": 13, - "argCount": 2, - "returnCount": 0, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 8, - "N1": 7, - "N2": 14, - "programLength": 21, - "programVocabulary": 12, - "volume": 75.28421251514428, - "difficulty": 3.5, - "effort": 263.49474380300495, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export": { - "line": 48, - "lineCount": 8, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 6, - "volume": 36.18947501009619, - "difficulty": 2.5, - "effort": 90.47368752524048, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown": { - "line": 61, - "lineCount": 24, - "argCount": 1, - "returnCount": 1, - "variableCount": 6, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 6, - "n2": 16, - "N1": 19, - "N2": 41, - "programLength": 60, - "programVocabulary": 22, - "volume": 267.56589711823784, - "difficulty": 7.6875, - "effort": 2056.9128340964535, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow": { - "line": 94, - "lineCount": 21, - "argCount": 3, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 7, - "n2": 18, - "N1": 16, - "N2": 39, - "programLength": 55, - "programVocabulary": 25, - "volume": 255.41209043760983, - "difficulty": 7.583333333333333, - "effort": 1936.8750191518745, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::__construct": { - "line": 26, - "lineCount": 4, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::export": { - "line": 36, - "lineCount": 10, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 8, - "volume": 45, - "difficulty": 5, - "effort": 225, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::generateSvgTreemap": { - "line": 53, - "lineCount": 20, - "argCount": 1, - "returnCount": 1, - "variableCount": 6, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 8, - "N1": 9, - "N2": 20, - "programLength": 29, - "programVocabulary": 10, - "volume": 96.3359147517335, - "difficulty": 2.5, - "effort": 240.83978687933376, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::generateSvgTreemap" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRects": { - "line": 82, - "lineCount": 10, - "argCount": 3, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 9, - "N1": 6, - "N2": 18, - "programLength": 24, - "programVocabulary": 12, - "volume": 86.03910001730775, - "difficulty": 3, - "effort": 258.1173000519232, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRects" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRect": { - "line": 100, - "lineCount": 29, - "argCount": 2, - "returnCount": 1, - "variableCount": 12, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 6, - "n2": 28, - "N1": 26, - "N2": 54, - "programLength": 80, - "programVocabulary": 34, - "volume": 406.9970273000271, - "difficulty": 5.785714285714286, - "effort": 2354.7685150930142, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRect" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::wrapSvg": { - "line": 136, - "lineCount": 21, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 2, - "N2": 8, - "programLength": 10, - "programVocabulary": 4, - "volume": 20, - "difficulty": 1.3333333333333333, - "effort": 26.666666666666664, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::wrapSvg" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::prepareItems": { - "line": 28, - "lineCount": 18, - "argCount": 1, - "returnCount": 1, - "variableCount": 7, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 12, - "N1": 9, - "N2": 30, - "programLength": 39, - "programVocabulary": 17, - "volume": 159.41105080876324, - "difficulty": 6.25, - "effort": 996.3190675547702, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::prepareItems" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findScoreRange": { - "line": 53, - "lineCount": 16, - "argCount": 1, - "returnCount": 3, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 7, - "N2": 13, - "programLength": 20, - "programVocabulary": 8, - "volume": 60, - "difficulty": 3.9000000000000004, - "effort": 234.00000000000003, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findScoreRange" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::normalizeScore": { - "line": 78, - "lineCount": 8, - "argCount": 3, - "returnCount": 2, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 8, - "volume": 45, - "difficulty": 5, - "effort": 225, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::normalizeScore" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::scoreToColor": { - "line": 93, - "lineCount": 9, - "argCount": 1, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 5, - "n2": 9, - "N1": 12, - "N2": 16, - "programLength": 28, - "programVocabulary": 14, - "volume": 106.60593781761291, - "difficulty": 4.444444444444445, - "effort": 473.80416807827964, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::scoreToColor" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::calculateTreemapLayout": { - "line": 115, - "lineCount": 23, - "argCount": 7, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 9, - "N1": 2, - "N2": 18, - "programLength": 20, - "programVocabulary": 11, - "volume": 69.18863237274594, - "difficulty": 2, - "effort": 138.37726474549189, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::calculateTreemapLayout" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::layoutTreemap": { - "line": 152, - "lineCount": 89, - "argCount": 8, - "returnCount": 3, - "variableCount": 11, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 8, - "n2": 28, - "N1": 32, - "N2": 98, - "programLength": 130, - "programVocabulary": 36, - "volume": 672.0902501875006, - "difficulty": 14, - "effort": 9409.263502625008, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::layoutTreemap" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findSplitIndex": { - "line": 249, - "lineCount": 13, - "argCount": 2, - "returnCount": 2, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 7, - "n2": 10, - "N1": 9, - "N2": 23, - "programLength": 32, - "programVocabulary": 17, - "volume": 130.79881092001085, - "difficulty": 8.049999999999999, - "effort": 1052.9304279060873, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findSplitIndex" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::__construct": { - "line": 23, - "lineCount": 18, - "argCount": 1, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 7, - "N2": 11, - "programLength": 18, - "programVocabulary": 6, - "volume": 46.529325012980806, - "difficulty": 5.5, - "effort": 255.91128757139444, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::getAllClasses": { - "line": 47, - "lineCount": 17, - "argCount": 0, - "returnCount": 2, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 6, - "N2": 12, - "programLength": 18, - "programVocabulary": 9, - "volume": 57.05865002596162, - "difficulty": 3, - "effort": 171.17595007788486, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::getAllClasses" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::withClassNode": { - "line": 73, - "lineCount": 8, - "argCount": 2, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 4, - "N2": 8, - "programLength": 12, - "programVocabulary": 8, - "volume": 36, - "difficulty": 4, - "effort": 144, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::withClassNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::findClassNode": { - "line": 85, - "lineCount": 25, - "argCount": 1, - "returnCount": 4, - "variableCount": 5, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 13, - "N2": 29, - "programLength": 42, - "programVocabulary": 11, - "volume": 145.29612798276648, - "difficulty": 8.285714285714286, - "effort": 1203.8822032857795, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::findClassNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::escapeXPathValue": { - "line": 114, - "lineCount": 16, - "argCount": 1, - "returnCount": 3, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 9, - "N1": 11, - "N2": 18, - "programLength": 29, - "programVocabulary": 13, - "volume": 107.31275182609167, - "difficulty": 4, - "effort": 429.2510073043667, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::escapeXPathValue" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getLineCoverage": { - "line": 22, - "lineCount": 18, - "argCount": 1, - "returnCount": 4, - "variableCount": 5, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 9, - "N1": 10, - "N2": 19, - "programLength": 29, - "programVocabulary": 13, - "volume": 107.31275182609167, - "difficulty": 4.222222222222222, - "effort": 453.09828548794263, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getLineCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getBranchCoverage": { - "line": 48, - "lineCount": 18, - "argCount": 1, - "returnCount": 4, - "variableCount": 5, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 9, - "N1": 10, - "N2": 19, - "programLength": 29, - "programVocabulary": 13, - "volume": 107.31275182609167, - "difficulty": 4.222222222222222, - "effort": 453.09828548794263, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getBranchCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getComplexity": { - "line": 73, - "lineCount": 13, - "argCount": 1, - "returnCount": 3, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 7, - "N2": 14, - "programLength": 21, - "programVocabulary": 11, - "volume": 72.64806399138324, - "difficulty": 4, - "effort": 290.59225596553296, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getComplexity" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getCoverageDetails": { - "line": 93, - "lineCount": 26, - "argCount": 1, - "returnCount": 3, - "variableCount": 9, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 17, - "N1": 22, - "N2": 42, - "programLength": 64, - "programVocabulary": 22, - "volume": 285.403623592787, - "difficulty": 6.176470588235294, - "effort": 1762.7870868966259, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getCoverageDetails" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getMetricsNode": { - "line": 123, - "lineCount": 12, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 6, - "N1": 7, - "N2": 13, - "programLength": 20, - "programVocabulary": 10, - "volume": 66.43856189774725, - "difficulty": 4.333333333333333, - "effort": 287.90043489023805, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getMetricsNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getFilenameForClass": { - "line": 139, - "lineCount": 9, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 5, - "N1": 4, - "N2": 9, - "programLength": 13, - "programVocabulary": 9, - "volume": 41.209025018750054, - "difficulty": 3.6, - "effort": 148.3524900675002, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getFilenameForClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodsCoverage": { - "line": 154, - "lineCount": 36, - "argCount": 1, - "returnCount": 3, - "variableCount": 8, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 13, - "N1": 12, - "N2": 30, - "programLength": 42, - "programVocabulary": 16, - "volume": 168, - "difficulty": 3.4615384615384612, - "effort": 581.5384615384614, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodsCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::calculateMethodCoverage": { - "line": 194, - "lineCount": 15, - "argCount": 2, - "returnCount": 2, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 11, - "N1": 9, - "N2": 23, - "programLength": 32, - "programVocabulary": 16, - "volume": 128, - "difficulty": 5.227272727272727, - "effort": 669.090909090909, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::calculateMethodCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodCoverageFromLines": { - "line": 215, - "lineCount": 36, - "argCount": 2, - "returnCount": 1, - "variableCount": 7, - "propertyCallCount": 0, - "ifNestingLevel": 2, - "elseCount": 0, - "ifCount": 5, - "halstead": { - "n1": 2, - "n2": 14, - "N1": 12, - "N2": 35, - "programLength": 47, - "programVocabulary": 16, - "volume": 188, - "difficulty": 2.5, - "effort": 470, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodCoverageFromLines" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStart": { - "line": 252, - "lineCount": 4, - "argCount": 3, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 3, - "N2": 7, - "programLength": 10, - "programVocabulary": 6, - "volume": 25.84962500721156, - "difficulty": 1.75, - "effort": 45.23684376262023, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStart" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodEnd": { - "line": 257, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 5, - "programLength": 7, - "programVocabulary": 5, - "volume": 16.253496664211536, - "difficulty": 1.6666666666666667, - "effort": 27.089161107019226, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodEnd" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStatement": { - "line": 262, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 5, - "programLength": 7, - "programVocabulary": 5, - "volume": 16.253496664211536, - "difficulty": 1.6666666666666667, - "effort": 27.089161107019226, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStatement" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isStatementCovered": { - "line": 267, - "lineCount": 5, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 4, - "N1": 3, - "N2": 6, - "programLength": 9, - "programVocabulary": 7, - "volume": 25.26619429851844, - "difficulty": 2.25, - "effort": 56.848937171666485, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isStatementCovered" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getLineCoverage": { - "line": 20, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 9, - "volume": 44.37895002019237, - "difficulty": 2.5, - "effort": 110.94737505048093, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getLineCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getBranchCoverage": { - "line": 34, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 9, - "volume": 44.37895002019237, - "difficulty": 2.5, - "effort": 110.94737505048093, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getBranchCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getComplexity": { - "line": 48, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 9, - "volume": 44.37895002019237, - "difficulty": 2.5, - "effort": 110.94737505048093, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getComplexity" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getCoverageDetails": { - "line": 62, - "lineCount": 13, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 8, - "N1": 7, - "N2": 16, - "programLength": 23, - "programVocabulary": 9, - "volume": 72.90827503317318, - "difficulty": 1, - "effort": 72.90827503317318, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getCoverageDetails" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::extractMethodsCoverage": { - "line": 81, - "lineCount": 23, - "argCount": 1, - "returnCount": 2, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 11, - "N1": 10, - "N2": 23, - "programLength": 33, - "programVocabulary": 14, - "volume": 125.64271242790093, - "difficulty": 3.1363636363636362, - "effort": 394.061234432962, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::extractMethodsCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CodeCoverageFactory::createFromName": { - "line": 14, - "lineCount": 8, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 4, - "N1": 1, - "N2": 8, - "programLength": 9, - "programVocabulary": 5, - "volume": 20.89735285398626, - "difficulty": 1, - "effort": 20.89735285398626, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CodeCoverageFactory::createFromName" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::__construct": { - "line": 28, - "lineCount": 15, - "argCount": 6, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 6, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 7, - "N1": 6, - "N2": 18, - "programLength": 24, - "programVocabulary": 8, - "volume": 72, - "difficulty": 1.2857142857142858, - "effort": 92.57142857142858, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getName": { - "line": 44, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getName" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getFilename": { - "line": 49, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getFilename" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getLineRate": { - "line": 54, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getLineRate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getBranchRate": { - "line": 59, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getBranchRate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getComplexity": { - "line": 64, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getComplexity" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getMethods": { - "line": 72, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getMethods" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::__construct": { - "line": 17, - "lineCount": 11, - "argCount": 4, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 4, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 5, - "N1": 4, - "N2": 12, - "programLength": 16, - "programVocabulary": 6, - "volume": 41.3594000115385, - "difficulty": 1.2, - "effort": 49.631280013846194, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getName": { - "line": 29, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getName" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getLineRate": { - "line": 34, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getLineRate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getBranchRate": { - "line": 39, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getBranchRate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getComplexity": { - "line": 44, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getComplexity" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::calculateDeltas": { - "line": 19, - "lineCount": 14, - "argCount": 2, - "returnCount": 0, - "variableCount": 6, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 9, - "N1": 4, - "N2": 18, - "programLength": 22, - "programVocabulary": 11, - "volume": 76.10749561002054, - "difficulty": 2, - "effort": 152.21499122004107, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::calculateDeltas" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::loadBaseline": { - "line": 41, - "lineCount": 13, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 5, - "N2": 9, - "programLength": 14, - "programVocabulary": 8, - "volume": 42, - "difficulty": 2.7, - "effort": 113.4, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::loadBaseline" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::__construct": { - "line": 72, - "lineCount": 21, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 6, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 9, - "N1": 12, - "N2": 34, - "programLength": 46, - "programVocabulary": 12, - "volume": 164.90827503317317, - "difficulty": 5.666666666666666, - "effort": 934.4802251879812, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setRequiredMetricProperties": { - "line": 98, - "lineCount": 30, - "argCount": 1, - "returnCount": 0, - "variableCount": 6, - "propertyCallCount": 9, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 21, - "N1": 21, - "N2": 51, - "programLength": 72, - "programVocabulary": 24, - "volume": 330.1173000519232, - "difficulty": 3.6428571428571423, - "effort": 1202.570164474863, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setRequiredMetricProperties" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setOptionalMetricProperties": { - "line": 133, - "lineCount": 12, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 8, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 11, - "N1": 16, - "N2": 33, - "programLength": 49, - "programVocabulary": 13, - "volume": 181.32154618891352, - "difficulty": 3, - "effort": 543.9646385667405, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setOptionalMetricProperties" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setTimesChanged": { - "line": 146, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setTimesChanged" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertSame": { - "line": 151, - "lineCount": 14, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 6, - "N2": 8, - "programLength": 14, - "programVocabulary": 5, - "volume": 32.50699332842307, - "difficulty": 2.6666666666666665, - "effort": 86.68531554246152, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertSame" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::calculateDeltas": { - "line": 169, - "lineCount": 13, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 16, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 17, - "N2": 27, - "programLength": 44, - "programVocabulary": 4, - "volume": 88, - "difficulty": 13.5, - "effort": 1188, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::calculateDeltas" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::fromArray": { - "line": 187, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::fromArray" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertArrayKeyIsPresent": { - "line": 197, - "lineCount": 6, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 5, - "programLength": 5, - "programVocabulary": 2, - "volume": 5, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertArrayKeyIsPresent" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getClass": { - "line": 204, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getMethod": { - "line": 209, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getMethod" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCount": { - "line": 214, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCount": { - "line": 219, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCount": { - "line": 224, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCount": { - "line": 229, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCount": { - "line": 234, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCount": { - "line": 239, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevel": { - "line": 244, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevel" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCount": { - "line": 249, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeight": { - "line": 254, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setLineCountWeight": { - "line": 259, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setLineCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeight": { - "line": 264, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setArgCountWeight": { - "line": 269, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setArgCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeight": { - "line": 274, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setReturnCountWeight": { - "line": 279, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setReturnCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeight": { - "line": 284, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setVariableCountWeight": { - "line": 289, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setVariableCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeight": { - "line": 294, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setPropertyCallCountWeight": { - "line": 299, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setPropertyCallCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeight": { - "line": 304, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfCountWeight": { - "line": 309, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeight": { - "line": 314, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfNestingLevelWeight": { - "line": 319, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfNestingLevelWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeight": { - "line": 324, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setElseCountWeight": { - "line": 329, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setElseCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setScore": { - "line": 334, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setScore" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getScore": { - "line": 339, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getScore" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setCoverage": { - "line": 344, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCoverage": { - "line": 349, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeightDelta": { - "line": 354, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeightDelta": { - "line": 359, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeightDelta": { - "line": 364, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeightDelta": { - "line": 369, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeightDelta": { - "line": 374, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeightDelta": { - "line": 379, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeightDelta": { - "line": 384, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeightDelta": { - "line": 389, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getTimesChanged": { - "line": 394, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 2, - "programLength": 3, - "programVocabulary": 3, - "volume": 4.754887502163468, - "difficulty": 0.5, - "effort": 2.377443751081734, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getTimesChanged" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getFileName": { - "line": 399, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getFileName" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLine": { - "line": 404, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLine" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::equals": { - "line": 409, - "lineCount": 5, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 2, - "N1": 5, - "N2": 5, - "programLength": 10, - "programVocabulary": 5, - "volume": 23.21928094887362, - "difficulty": 3.75, - "effort": 87.07230355827608, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::equals" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::toArray": { - "line": 418, - "lineCount": 34, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 29, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 30, - "N1": 0, - "N2": 58, - "programLength": 58, - "programVocabulary": 30, - "volume": 284.5996545452941, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::toArray" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::jsonSerialize": { - "line": 456, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::jsonSerialize" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getHalstead": { - "line": 464, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getHalstead" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCyclomatic": { - "line": 472, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCyclomatic" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::add": { - "line": 30, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 5, - "N2": 6, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 3, - "effort": 85.30376252379816, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::add" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filter": { - "line": 40, - "lineCount": 11, - "argCount": 1, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 8, - "volume": 42, - "difficulty": 3, - "effort": 126, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filter" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getIterator": { - "line": 57, - "lineCount": 5, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getIterator" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::count": { - "line": 66, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::count" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterWithScoreGreaterThan": { - "line": 71, - "lineCount": 6, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 3, - "N2": 6, - "programLength": 9, - "programVocabulary": 5, - "volume": 20.89735285398626, - "difficulty": 2, - "effort": 41.79470570797252, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterWithScoreGreaterThan" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::contains": { - "line": 78, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 4, - "N2": 5, - "programLength": 9, - "programVocabulary": 5, - "volume": 20.89735285398626, - "difficulty": 1.6666666666666667, - "effort": 34.82892142331043, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::contains" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getClassWithMethod": { - "line": 83, - "lineCount": 9, - "argCount": 2, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 3, - "N2": 10, - "programLength": 13, - "programVocabulary": 7, - "volume": 36.49561398674886, - "difficulty": 2, - "effort": 72.99122797349771, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getClassWithMethod" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterByClassName": { - "line": 93, - "lineCount": 6, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 3, - "N2": 6, - "programLength": 9, - "programVocabulary": 5, - "volume": 20.89735285398626, - "difficulty": 2, - "effort": 41.79470570797252, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterByClassName" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::assertMetricHasGetter": { - "line": 100, - "lineCount": 9, - "argCount": 3, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 6, - "programLength": 7, - "programVocabulary": 4, - "volume": 14, - "difficulty": 1, - "effort": 14, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::assertMetricHasGetter" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::groupBy": { - "line": 117, - "lineCount": 20, - "argCount": 1, - "returnCount": 1, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 10, - "N2": 23, - "programLength": 33, - "programVocabulary": 11, - "volume": 114.16124341503081, - "difficulty": 6.571428571428571, - "effort": 750.2024567273453, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::groupBy" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::jsonSerialize": { - "line": 141, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::jsonSerialize" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::__construct": { - "line": 32, - "lineCount": 8, - "argCount": 5, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 5, - "N1": 0, - "N2": 5, - "programLength": 5, - "programVocabulary": 5, - "volume": 11.60964047443681, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collect": { - "line": 49, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 5, - "programLength": 6, - "programVocabulary": 4, - "volume": 12, - "difficulty": 0.8333333333333334, - "effort": 10, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collect" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collectFromPaths": { - "line": 62, - "lineCount": 13, - "argCount": 2, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 8, - "N2": 16, - "programLength": 24, - "programVocabulary": 9, - "volume": 76.07820003461549, - "difficulty": 4, - "effort": 304.31280013846197, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collectFromPaths" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCodeFromFile": { - "line": 79, - "lineCount": 10, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 2, - "N1": 5, - "N2": 6, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 6, - "effort": 170.6075250475963, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCodeFromFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findMetrics": { - "line": 98, - "lineCount": 31, - "argCount": 1, - "returnCount": 1, - "variableCount": 9, - "propertyCallCount": 2, - "ifNestingLevel": 2, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 13, - "N1": 18, - "N2": 38, - "programLength": 56, - "programVocabulary": 16, - "volume": 224, - "difficulty": 4.384615384615384, - "effort": 982.1538461538461, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findMetrics" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processMethodMetrics": { - "line": 136, - "lineCount": 29, - "argCount": 3, - "returnCount": 1, - "variableCount": 7, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 14, - "N1": 8, - "N2": 27, - "programLength": 35, - "programVocabulary": 17, - "volume": 143.06119944376186, - "difficulty": 2.892857142857143, - "effort": 413.8556126765968, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processMethodMetrics" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::isExcluded": { - "line": 166, - "lineCount": 12, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 5, - "N1": 5, - "N2": 9, - "programLength": 14, - "programVocabulary": 9, - "volume": 44.37895002019237, - "difficulty": 3.6, - "effort": 159.76422007269252, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::isExcluded" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findSourceFiles": { - "line": 187, - "lineCount": 7, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 2, - "N2": 6, - "programLength": 8, - "programVocabulary": 6, - "volume": 20.67970000576925, - "difficulty": 1.5, - "effort": 31.019550008653873, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findSourceFiles" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getProjectRoot": { - "line": 202, - "lineCount": 13, - "argCount": 0, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 2, - "N1": 8, - "N2": 8, - "programLength": 16, - "programVocabulary": 6, - "volume": 41.3594000115385, - "difficulty": 8, - "effort": 330.875200092308, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getProjectRoot" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateCacheKey": { - "line": 219, - "lineCount": 7, - "argCount": 2, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 6, - "N1": 10, - "N2": 12, - "programLength": 22, - "programVocabulary": 10, - "volume": 73.08241808752197, - "difficulty": 4, - "effort": 292.3296723500879, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateCacheKey" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateConfigHash": { - "line": 230, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 1, - "N1": 3, - "N2": 2, - "programLength": 5, - "programVocabulary": 3, - "volume": 7.92481250360578, - "difficulty": 2, - "effort": 15.84962500721156, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateConfigHash" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::cacheResult": { - "line": 239, - "lineCount": 14, - "argCount": 4, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 13, - "N1": 5, - "N2": 20, - "programLength": 25, - "programVocabulary": 15, - "volume": 97.67226489021297, - "difficulty": 1.5384615384615385, - "effort": 150.26502290801997, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::cacheResult" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::clearCache": { - "line": 254, - "lineCount": 4, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::clearCache" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::normalizeFilename": { - "line": 264, - "lineCount": 15, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 6, - "n2": 7, - "N1": 12, - "N2": 16, - "programLength": 28, - "programVocabulary": 13, - "volume": 103.61231210795059, - "difficulty": 6.857142857142857, - "effort": 710.4844258830897, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::normalizeFilename" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCachedMetrics": { - "line": 286, - "lineCount": 19, - "argCount": 3, - "returnCount": 3, - "variableCount": 4, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 11, - "N1": 10, - "N2": 29, - "programLength": 39, - "programVocabulary": 14, - "volume": 148.48684196024655, - "difficulty": 3.954545454545454, - "effort": 587.1979659337022, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCachedMetrics" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processFile": { - "line": 312, - "lineCount": 37, - "argCount": 5, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 7, - "n2": 10, - "N1": 12, - "N2": 28, - "programLength": 40, - "programVocabulary": 17, - "volume": 163.49851365001356, - "difficulty": 9.799999999999999, - "effort": 1602.2854337701328, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::sort": { - "line": 51, - "lineCount": 41, - "argCount": 3, - "returnCount": 2, - "variableCount": 10, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 18, - "N1": 20, - "N2": 43, - "programLength": 63, - "programVocabulary": 22, - "volume": 280.9441919741497, - "difficulty": 4.777777777777778, - "effort": 1342.2889172098264, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::sort" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getFieldValue": { - "line": 100, - "lineCount": 28, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 25, - "N1": 24, - "N2": 50, - "programLength": 74, - "programVocabulary": 27, - "volume": 351.86167516009664, - "difficulty": 2, - "effort": 703.7233503201933, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getFieldValue" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::compareValues": { - "line": 136, - "lineCount": 13, - "argCount": 2, - "returnCount": 3, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 2, - "N1": 9, - "N2": 12, - "programLength": 21, - "programVocabulary": 5, - "volume": 48.760489992634604, - "difficulty": 9, - "effort": 438.8444099337114, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::compareValues" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getSortableFields": { - "line": 155, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 0, - "N1": 0, - "N2": 0, - "programLength": 0, - "programVocabulary": 0, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getSortableFields" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__construct": { - "line": 15, - "lineCount": 11, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 7, - "N2": 12, - "programLength": 19, - "programVocabulary": 6, - "volume": 49.11428751370197, - "difficulty": 6, - "effort": 294.6857250822118, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::getValue": { - "line": 27, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::getValue" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasIncreased": { - "line": 32, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasIncreased" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__toString": { - "line": 37, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__toString" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasNotChanged": { - "line": 42, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 2, - "programLength": 3, - "programVocabulary": 3, - "volume": 4.754887502163468, - "difficulty": 0.5, - "effort": 2.377443751081734, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasNotChanged" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\FileProcessed::__construct": { - "line": 14, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\FileProcessed::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\ParserFailed::__construct": { - "line": 15, - "lineCount": 5, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\ParserFailed::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\SourceFilesFound::__construct": { - "line": 17, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\SourceFilesFound::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::__construct": { - "line": 15, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::create": { - "line": 27, - "lineCount": 10, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 6, - "N1": 0, - "N2": 8, - "programLength": 8, - "programVocabulary": 6, - "volume": 20.67970000576925, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::create" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::getSupportedTypes": { - "line": 43, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 4, - "N1": 0, - "N2": 4, - "programLength": 4, - "programVocabulary": 4, - "volume": 8, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::getSupportedTypes" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::isSupported": { - "line": 54, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 2, - "N2": 3, - "programLength": 5, - "programVocabulary": 4, - "volume": 10, - "difficulty": 1.5, - "effort": 15, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::isSupported" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CsvExporter::export": { - "line": 46, - "lineCount": 57, - "argCount": 2, - "returnCount": 0, - "variableCount": 6, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 15, - "N1": 37, - "N2": 54, - "programLength": 91, - "programVocabulary": 19, - "volume": 386.56140372336625, - "difficulty": 7.2, - "effort": 2783.242106808237, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CsvExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::export": { - "line": 40, - "lineCount": 8, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 5, - "N1": 4, - "N2": 8, - "programLength": 12, - "programVocabulary": 9, - "volume": 38.039100017307746, - "difficulty": 3.2, - "effort": 121.72512005538479, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::escape": { - "line": 49, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::escape" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::formatNumber": { - "line": 54, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::formatNumber" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::generateMetricRow": { - "line": 59, - "lineCount": 12, - "argCount": 3, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 16, - "N1": 19, - "N2": 27, - "programLength": 46, - "programVocabulary": 21, - "volume": 202.04660144782298, - "difficulty": 4.21875, - "effort": 852.3840998580032, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::generateMetricRow" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::generateHtml": { - "line": 78, - "lineCount": 64, - "argCount": 1, - "returnCount": 1, - "variableCount": 7, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 11, - "N1": 46, - "N2": 57, - "programLength": 103, - "programVocabulary": 15, - "volume": 402.40973134767745, - "difficulty": 10.363636363636363, - "effort": 4170.42812487593, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::generateHtml" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\JsonExporter::export": { - "line": 19, - "lineCount": 38, - "argCount": 2, - "returnCount": 0, - "variableCount": 5, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 27, - "N1": 29, - "N2": 58, - "programLength": 87, - "programVocabulary": 32, - "volume": 435, - "difficulty": 5.370370370370371, - "effort": 2336.1111111111113, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\JsonExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::__construct": { - "line": 24, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::export": { - "line": 36, - "lineCount": 8, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 5, - "N1": 4, - "N2": 8, - "programLength": 12, - "programVocabulary": 9, - "volume": 38.039100017307746, - "difficulty": 3.2, - "effort": 121.72512005538479, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::escape": { - "line": 48, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::escape" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateMetricCell": { - "line": 56, - "lineCount": 12, - "argCount": 3, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 12, - "N1": 16, - "N2": 24, - "programLength": 40, - "programVocabulary": 17, - "volume": 163.49851365001356, - "difficulty": 5, - "effort": 817.4925682500678, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateMetricCell" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::filterMetrics": { - "line": 75, - "lineCount": 15, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 4, - "N1": 4, - "N2": 11, - "programLength": 15, - "programVocabulary": 7, - "volume": 42.11032383086406, - "difficulty": 4.125, - "effort": 173.70508580231424, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::filterMetrics" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableHeader": { - "line": 94, - "lineCount": 33, - "argCount": 0, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 4, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 19, - "N1": 10, - "N2": 28, - "programLength": 38, - "programVocabulary": 22, - "volume": 169.4584015082173, - "difficulty": 2.2105263157894735, - "effort": 374.5922559655329, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableHeader" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableHeaderWithClass": { - "line": 131, - "lineCount": 33, - "argCount": 0, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 4, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 20, - "N1": 10, - "N2": 29, - "programLength": 39, - "programVocabulary": 23, - "volume": 176.41891628622352, - "difficulty": 2.175, - "effort": 383.7111429225361, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableHeaderWithClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableSeparator": { - "line": 168, - "lineCount": 20, - "argCount": 0, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 4, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 7, - "N1": 3, - "N2": 16, - "programLength": 19, - "programVocabulary": 10, - "volume": 63.11663380285988, - "difficulty": 3.4285714285714284, - "effort": 216.399887324091, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableSeparator" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableSeparatorWithClass": { - "line": 192, - "lineCount": 20, - "argCount": 0, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 4, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 8, - "N1": 3, - "N2": 16, - "programLength": 19, - "programVocabulary": 11, - "volume": 65.72920075410865, - "difficulty": 3, - "effort": 197.18760226232592, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableSeparatorWithClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableRow": { - "line": 216, - "lineCount": 22, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 6, - "N1": 53, - "N2": 60, - "programLength": 113, - "programVocabulary": 10, - "volume": 375.37787472227194, - "difficulty": 20, - "effort": 7507.557494445438, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableRow" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableRowWithClass": { - "line": 242, - "lineCount": 25, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 6, - "N1": 55, - "N2": 62, - "programLength": 117, - "programVocabulary": 10, - "volume": 388.66558710182136, - "difficulty": 20.666666666666668, - "effort": 8032.422133437642, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableRowWithClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::addHalsteadCells": { - "line": 274, - "lineCount": 20, - "argCount": 2, - "returnCount": 3, - "variableCount": 2, - "propertyCallCount": 5, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 12, - "N2": 24, - "programLength": 36, - "programVocabulary": 8, - "volume": 108, - "difficulty": 7.199999999999999, - "effort": 777.5999999999999, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::addHalsteadCells" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::addCyclomaticCell": { - "line": 301, - "lineCount": 16, - "argCount": 2, - "returnCount": 3, - "variableCount": 2, - "propertyCallCount": 4, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 8, - "N2": 16, - "programLength": 24, - "programVocabulary": 11, - "volume": 83.02635884729514, - "difficulty": 4.571428571428571, - "effort": 379.5490690162063, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::addCyclomaticCell" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateMarkdown": { - "line": 325, - "lineCount": 8, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 2, - "N2": 6, - "programLength": 8, - "programVocabulary": 3, - "volume": 12.679700005769249, - "difficulty": 1.5, - "effort": 19.019550008653873, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateMarkdown" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateGroupedMarkdown": { - "line": 337, - "lineCount": 49, - "argCount": 1, - "returnCount": 1, - "variableCount": 10, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 8, - "n2": 23, - "N1": 33, - "N2": 65, - "programLength": 98, - "programVocabulary": 31, - "volume": 485.5112384179137, - "difficulty": 11.304347826086957, - "effort": 5488.387912550329, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateGroupedMarkdown" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateSingleTableMarkdown": { - "line": 390, - "lineCount": 28, - "argCount": 1, - "returnCount": 1, - "variableCount": 6, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 6, - "n2": 13, - "N1": 19, - "N2": 37, - "programLength": 56, - "programVocabulary": 19, - "volume": 237.88394075284077, - "difficulty": 8.538461538461538, - "effort": 2031.1628787357943, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateSingleTableMarkdown" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::__construct": { - "line": 32, - "lineCount": 26, - "argCount": 2, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 7, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 14, - "N2": 22, - "programLength": 36, - "programVocabulary": 5, - "volume": 83.58941141594504, - "difficulty": 7.333333333333333, - "effort": 612.9890170502636, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::parse": { - "line": 63, - "lineCount": 37, - "argCount": 1, - "returnCount": 1, - "variableCount": 9, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 14, - "N1": 16, - "N2": 43, - "programLength": 59, - "programVocabulary": 17, - "volume": 241.16030763377, - "difficulty": 4.607142857142858, - "effort": 1111.0599887412977, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::parse" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::scanForAnnotations": { - "line": 104, - "lineCount": 20, - "argCount": 1, - "returnCount": 0, - "variableCount": 4, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 7, - "N1": 8, - "N2": 16, - "programLength": 24, - "programVocabulary": 10, - "volume": 79.7262742772967, - "difficulty": 3.4285714285714284, - "effort": 273.34722609358863, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::scanForAnnotations" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::traverseAbstractSyntaxTreeWithCombinedVisitor": { - "line": 129, - "lineCount": 17, - "argCount": 1, - "returnCount": 0, - "variableCount": 4, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 7, - "N1": 7, - "N2": 15, - "programLength": 22, - "programVocabulary": 10, - "volume": 73.08241808752197, - "difficulty": 3.2142857142857144, - "effort": 234.90777242417778, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::traverseAbstractSyntaxTreeWithCombinedVisitor" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getIgnored": { - "line": 153, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getIgnored" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getIgnoredClasses": { - "line": 163, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getIgnoredClasses" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getIgnoredMethods": { - "line": 173, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getIgnoredMethods" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::clearStaticCaches": { - "line": 181, - "lineCount": 15, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 9, - "N1": 7, - "N2": 19, - "programLength": 26, - "programVocabulary": 10, - "volume": 86.37013046707142, - "difficulty": 1.0555555555555556, - "effort": 91.16847104857538, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::clearStaticCaches" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::clearStaticProperty": { - "line": 200, - "lineCount": 14, - "argCount": 2, - "returnCount": 0, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 6, - "N2": 12, - "programLength": 18, - "programVocabulary": 7, - "volume": 50.53238859703688, - "difficulty": 2.4, - "effort": 121.2777326328885, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::clearStaticProperty" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getRiskLevel": { - "line": 218, - "lineCount": 9, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 8, - "N1": 3, - "N2": 11, - "programLength": 14, - "programVocabulary": 9, - "volume": 44.37895002019237, - "difficulty": 0.6875, - "effort": 30.510528138882254, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getRiskLevel" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculate": { - "line": 47, - "lineCount": 5, - "argCount": 2, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 2, - "N2": 8, - "programLength": 10, - "programVocabulary": 4, - "volume": 20, - "difficulty": 1.3333333333333333, - "effort": 26.666666666666664, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculateScore": { - "line": 53, - "lineCount": 10, - "argCount": 1, - "returnCount": 0, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 9, - "N1": 7, - "N2": 15, - "programLength": 22, - "programVocabulary": 13, - "volume": 81.40967379910403, - "difficulty": 3.3333333333333335, - "effort": 271.36557933034675, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculateScore" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculateMetricWeights": { - "line": 70, - "lineCount": 17, - "argCount": 3, - "returnCount": 0, - "variableCount": 6, - "propertyCallCount": 3, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 12, - "N1": 9, - "N2": 24, - "programLength": 33, - "programVocabulary": 15, - "volume": 128.92738965508113, - "difficulty": 3, - "effort": 386.7821689652434, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculateMetricWeights" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculateLogWeight": { - "line": 132, - "lineCount": 8, - "argCount": 3, - "returnCount": 2, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 5, - "N1": 5, - "N2": 11, - "programLength": 16, - "programVocabulary": 10, - "volume": 53.150849518197795, - "difficulty": 5.5, - "effort": 292.3296723500879, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculateLogWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cyclomatic\\CyclomaticMetrics::__construct": { - "line": 129, - "lineCount": 23, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 19, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 43, - "N1": 56, - "N2": 130, - "programLength": 186, - "programVocabulary": 45, - "volume": 1021.4846759173195, - "difficulty": 3.0232558139534884, - "effort": 3088.209485331431, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cyclomatic\\CyclomaticMetrics::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::escapeMarkdown": { - "line": 18, - "lineCount": 6, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 5, - "N1": 1, - "N2": 6, - "programLength": 7, - "programVocabulary": 6, - "volume": 18.094737505048094, - "difficulty": 0.6, - "effort": 10.856842503028856, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::escapeMarkdown" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::formatNumber": { - "line": 32, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 5, - "programLength": 6, - "programVocabulary": 4, - "volume": 12, - "difficulty": 0.8333333333333334, - "effort": 10, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::formatNumber" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::buildTableHeader": { - "line": 43, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 3, - "N2": 5, - "programLength": 8, - "programVocabulary": 6, - "volume": 20.67970000576925, - "difficulty": 1.25, - "effort": 25.84962500721156, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::buildTableHeader" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::buildTableSeparator": { - "line": 54, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 4, - "programLength": 6, - "programVocabulary": 5, - "volume": 13.931568569324174, - "difficulty": 1.3333333333333333, - "effort": 18.575424759098897, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::buildTableSeparator" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::buildTableRow": { - "line": 65, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 3, - "N2": 5, - "programLength": 8, - "programVocabulary": 6, - "volume": 20.67970000576925, - "difficulty": 1.25, - "effort": 25.84962500721156, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::buildTableRow" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::formatPercentage": { - "line": 77, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 2, - "N2": 6, - "programLength": 8, - "programVocabulary": 6, - "volume": 20.67970000576925, - "difficulty": 1.5, - "effort": 31.019550008653873, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::formatPercentage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::escapeMarkdown": { - "line": 18, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 5, - "N1": 1, - "N2": 6, - "programLength": 7, - "programVocabulary": 6, - "volume": 18.094737505048094, - "difficulty": 0.6, - "effort": 10.856842503028856, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::escapeMarkdown" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::formatNumber": { - "line": 30, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 5, - "programLength": 6, - "programVocabulary": 4, - "volume": 12, - "difficulty": 0.8333333333333334, - "effort": 10, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::formatNumber" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::buildMarkdownTableHeader": { - "line": 41, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 3, - "N2": 5, - "programLength": 8, - "programVocabulary": 6, - "volume": 20.67970000576925, - "difficulty": 1.25, - "effort": 25.84962500721156, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::buildMarkdownTableHeader" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::buildMarkdownTableSeparator": { - "line": 52, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 4, - "programLength": 6, - "programVocabulary": 5, - "volume": 13.931568569324174, - "difficulty": 1.3333333333333333, - "effort": 18.575424759098897, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::buildMarkdownTableSeparator" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::buildMarkdownTableRow": { - "line": 63, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 3, - "N2": 5, - "programLength": 8, - "programVocabulary": 6, - "volume": 20.67970000576925, - "difficulty": 1.25, - "effort": 25.84962500721156, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::buildMarkdownTableRow" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::formatMarkdownPercentage": { - "line": 75, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 2, - "N2": 6, - "programLength": 8, - "programVocabulary": 6, - "volume": 20.67970000576925, - "difficulty": 1.5, - "effort": 31.019550008653873, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::formatMarkdownPercentage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Halstead\\HalsteadMetrics::__construct": { - "line": 33, - "lineCount": 13, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 10, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 12, - "N1": 10, - "N2": 31, - "programLength": 41, - "programVocabulary": 13, - "volume": 151.7180284437848, - "difficulty": 1.2916666666666667, - "effort": 195.96912007322203, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Halstead\\HalsteadMetrics::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Halstead\\HalsteadMetrics::getVolume": { - "line": 47, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Halstead\\HalsteadMetrics::getVolume" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::__construct": { - "line": 32, - "lineCount": 9, - "argCount": 5, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 7, - "N1": 2, - "N2": 7, - "programLength": 9, - "programVocabulary": 9, - "volume": 28.52932501298081, - "difficulty": 1, - "effort": 28.52932501298081, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::getChurnExporterFactory": { - "line": 45, - "lineCount": 7, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 1, - "N1": 2, - "N2": 3, - "programLength": 5, - "programVocabulary": 3, - "volume": 7.92481250360578, - "difficulty": 3, - "effort": 23.774437510817343, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::getChurnExporterFactory" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::getCognitiveExporterFactory": { - "line": 56, - "lineCount": 7, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 1, - "N1": 3, - "N2": 4, - "programLength": 7, - "programVocabulary": 4, - "volume": 14, - "difficulty": 6, - "effort": 84, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::getCognitiveExporterFactory" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::getCognitiveMetrics": { - "line": 72, - "lineCount": 10, - "argCount": 1, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 3, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 5, - "N2": 11, - "programLength": 16, - "programVocabulary": 6, - "volume": 41.3594000115385, - "difficulty": 2.75, - "effort": 113.73835003173087, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::getCognitiveMetrics" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::getCognitiveMetricsFromPaths": { - "line": 92, - "lineCount": 16, - "argCount": 2, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 8, - "N2": 18, - "programLength": 26, - "programVocabulary": 9, - "volume": 82.41805003750011, - "difficulty": 4.5, - "effort": 370.88122516875046, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::getCognitiveMetricsFromPaths" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::calculateChurn": { - "line": 118, - "lineCount": 18, - "argCount": 4, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 10, - "N1": 8, - "N2": 21, - "programLength": 29, - "programVocabulary": 12, - "volume": 103.96391252091352, - "difficulty": 2.1, - "effort": 218.3242162939184, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::calculateChurn" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::loadConfig": { - "line": 143, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::loadConfig" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::getConfig": { - "line": 148, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::getConfig" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::exportChurnReport": { - "line": 156, - "lineCount": 9, - "argCount": 3, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 4, - "N1": 3, - "N2": 7, - "programLength": 10, - "programVocabulary": 5, - "volume": 23.21928094887362, - "difficulty": 0.875, - "effort": 20.316870830264417, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::exportChurnReport" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::exportMetricsReport": { - "line": 168, - "lineCount": 8, - "argCount": 3, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 4, - "N2": 9, - "programLength": 13, - "programVocabulary": 7, - "volume": 36.49561398674886, - "difficulty": 1.8, - "effort": 65.69210517614795, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::exportMetricsReport" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::clearCache": { - "line": 177, - "lineCount": 4, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::clearCache" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::addCoverageToMetric": { - "line": 185, - "lineCount": 20, - "argCount": 2, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 11, - "N2": 18, - "programLength": 29, - "programVocabulary": 11, - "volume": 100.32351694048162, - "difficulty": 5.142857142857143, - "effort": 515.9495156939055, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::addCoverageToMetric" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::addMethodLevelCoverage": { - "line": 209, - "lineCount": 16, - "argCount": 2, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 9, - "N2": 15, - "programLength": 24, - "programVocabulary": 7, - "volume": 67.3765181293825, - "difficulty": 3, - "effort": 202.1295543881475, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::addMethodLevelCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Traits\\CoverageDataDetector::hasCoverageData": { - "line": 18, - "lineCount": 10, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "cyclomatic_complexity": { - "complexity": 3, - "risk_level": "low" - }, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 3, - "N2": 7, - "programLength": 10, - "programVocabulary": 6, - "volume": 25.84962500721156, - "difficulty": 3.5, - "effort": 90.47368752524046, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Traits\\CoverageDataDetector::hasCoverageData" - } - } - }, - "ignored_items": [], - "cached_at": 1759967601 -} \ No newline at end of file diff --git a/.phpcca.cache/8a/8ac8f17016c111faee10a2099a1303eb.cache b/.phpcca.cache/8a/8ac8f17016c111faee10a2099a1303eb.cache deleted file mode 100644 index 24f57f5..0000000 --- a/.phpcca.cache/8a/8ac8f17016c111faee10a2099a1303eb.cache +++ /dev/null @@ -1,5109 +0,0 @@ -{ - "version": "1.0", - "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/Business\/Cognitive\/ScoreCalculator.php", - "file_mtime": 1759791861, - "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", - "analysis_result": { - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct": { - "line": 60, - "lineCount": 5, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 1, - "N1": 2, - "N2": 2, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 2, - "effort": 12.679700005769249, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices": { - "line": 66, - "lineCount": 95, - "argCount": 0, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 5, - "N1": 58, - "N2": 32, - "programLength": 90, - "programVocabulary": 9, - "volume": 285.2932501298081, - "difficulty": 12.8, - "effort": 3651.7536016615436, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap": { - "line": 162, - "lineCount": 10, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 7, - "N2": 7, - "programLength": 14, - "programVocabulary": 2, - "volume": 14, - "difficulty": 3.5, - "effort": 49, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors": { - "line": 173, - "lineCount": 12, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 3, - "N2": 1, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0.5, - "effort": 2, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus": { - "line": 186, - "lineCount": 19, - "argCount": 0, - "returnCount": 0, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 9, - "N2": 13, - "programLength": 22, - "programVocabulary": 7, - "volume": 61.76180828526729, - "difficulty": 2.6, - "effort": 160.58070154169496, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService": { - "line": 206, - "lineCount": 9, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 3, - "N2": 1, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0.5, - "effort": 2, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade": { - "line": 216, - "lineCount": 13, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 3, - "N2": 1, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0.5, - "effort": 2, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands": { - "line": 230, - "lineCount": 21, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 6, - "N2": 2, - "programLength": 8, - "programVocabulary": 2, - "volume": 8, - "difficulty": 1, - "effort": 8, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication": { - "line": 252, - "lineCount": 11, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 5, - "N2": 4, - "programLength": 9, - "programVocabulary": 4, - "volume": 18, - "difficulty": 0.6666666666666666, - "effort": 12, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run": { - "line": 264, - "lineCount": 9, - "argCount": 0, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 5, - "N2": 5, - "programLength": 10, - "programVocabulary": 4, - "volume": 20, - "difficulty": 2.5, - "effort": 50, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get": { - "line": 274, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer": { - "line": 279, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator": { - "line": 289, - "lineCount": 16, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 7, - "programLength": 8, - "programVocabulary": 4, - "volume": 16, - "difficulty": 1.1666666666666667, - "effort": 18.666666666666668, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create": { - "line": 18, - "lineCount": 7, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 4, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile": { - "line": 17, - "lineCount": 17, - "argCount": 2, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 8, - "N1": 11, - "N2": 19, - "programLength": 30, - "programVocabulary": 11, - "volume": 103.78294855911892, - "difficulty": 3.5625, - "effort": 369.72675424186116, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode": { - "line": 42, - "lineCount": 8, - "argCount": 3, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 3, - "N2": 8, - "programLength": 11, - "programVocabulary": 8, - "volume": 33, - "difficulty": 2.4000000000000004, - "effort": 79.20000000000002, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate": { - "line": 22, - "lineCount": 10, - "argCount": 2, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 6, - "N2": 13, - "programLength": 19, - "programVocabulary": 6, - "volume": 49.11428751370197, - "difficulty": 3.25, - "effort": 159.6214344195314, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending": { - "line": 37, - "lineCount": 8, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 2, - "N2": 9, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 2.25, - "effort": 63.97782189284862, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn": { - "line": 51, - "lineCount": 24, - "argCount": 2, - "returnCount": 1, - "variableCount": 6, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 15, - "N1": 17, - "N2": 46, - "programLength": 63, - "programVocabulary": 20, - "volume": 272.28146997790384, - "difficulty": 7.666666666666667, - "effort": 2087.491269830596, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses": { - "line": 81, - "lineCount": 20, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 2, - "n2": 7, - "N1": 10, - "N2": 24, - "programLength": 34, - "programVocabulary": 9, - "volume": 107.7774500490386, - "difficulty": 3.4285714285714284, - "effort": 369.52268588241805, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass": { - "line": 109, - "lineCount": 9, - "argCount": 2, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 6, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 10, - "volume": 49.82892142331043, - "difficulty": 3.3333333333333335, - "effort": 166.09640474436813, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel": { - "line": 126, - "lineCount": 16, - "argCount": 2, - "returnCount": 4, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 12, - "N1": 9, - "N2": 18, - "programLength": 27, - "programVocabulary": 15, - "volume": 105.48604608143, - "difficulty": 2.25, - "effort": 237.3436036832175, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile": { - "line": 14, - "lineCount": 6, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 2, - "N2": 5, - "programLength": 7, - "programVocabulary": 4, - "volume": 14, - "difficulty": 2.5, - "effort": 35, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable": { - "line": 24, - "lineCount": 11, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 10, - "N2": 12, - "programLength": 22, - "programVocabulary": 8, - "volume": 66, - "difficulty": 6, - "effort": 396, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create": { - "line": 21, - "lineCount": 11, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 7, - "N1": 0, - "N2": 9, - "programLength": 9, - "programVocabulary": 7, - "volume": 25.26619429851844, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes": { - "line": 38, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 6, - "N1": 0, - "N2": 6, - "programLength": 6, - "programVocabulary": 6, - "volume": 15.509775004326936, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported": { - "line": 49, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 2, - "N2": 3, - "programLength": 5, - "programVocabulary": 4, - "volume": 10, - "difficulty": 1.5, - "effort": 15, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export": { - "line": 30, - "lineCount": 23, - "argCount": 2, - "returnCount": 0, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 16, - "N1": 10, - "N2": 33, - "programLength": 43, - "programVocabulary": 20, - "volume": 185.8429080801566, - "difficulty": 4.125, - "effort": 766.601995830646, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export": { - "line": 28, - "lineCount": 8, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 6, - "volume": 36.18947501009619, - "difficulty": 2.5, - "effort": 90.47368752524048, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape": { - "line": 37, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber": { - "line": 42, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml": { - "line": 52, - "lineCount": 50, - "argCount": 1, - "returnCount": 1, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 12, - "N1": 11, - "N2": 25, - "programLength": 36, - "programVocabulary": 17, - "volume": 147.14866228501222, - "difficulty": 5.208333333333334, - "effort": 766.3992827344388, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export": { - "line": 17, - "lineCount": 13, - "argCount": 2, - "returnCount": 0, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 8, - "N1": 7, - "N2": 14, - "programLength": 21, - "programVocabulary": 12, - "volume": 75.28421251514428, - "difficulty": 3.5, - "effort": 263.49474380300495, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export": { - "line": 48, - "lineCount": 8, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 6, - "volume": 36.18947501009619, - "difficulty": 2.5, - "effort": 90.47368752524048, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown": { - "line": 61, - "lineCount": 24, - "argCount": 1, - "returnCount": 1, - "variableCount": 6, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 6, - "n2": 16, - "N1": 19, - "N2": 41, - "programLength": 60, - "programVocabulary": 22, - "volume": 267.56589711823784, - "difficulty": 7.6875, - "effort": 2056.9128340964535, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow": { - "line": 94, - "lineCount": 21, - "argCount": 3, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 7, - "n2": 18, - "N1": 16, - "N2": 39, - "programLength": 55, - "programVocabulary": 25, - "volume": 255.41209043760983, - "difficulty": 7.583333333333333, - "effort": 1936.8750191518745, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::__construct": { - "line": 26, - "lineCount": 4, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::export": { - "line": 36, - "lineCount": 10, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 8, - "volume": 45, - "difficulty": 5, - "effort": 225, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::generateSvgTreemap": { - "line": 53, - "lineCount": 20, - "argCount": 1, - "returnCount": 1, - "variableCount": 6, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 8, - "N1": 9, - "N2": 20, - "programLength": 29, - "programVocabulary": 10, - "volume": 96.3359147517335, - "difficulty": 2.5, - "effort": 240.83978687933376, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::generateSvgTreemap" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRects": { - "line": 82, - "lineCount": 10, - "argCount": 3, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 9, - "N1": 6, - "N2": 18, - "programLength": 24, - "programVocabulary": 12, - "volume": 86.03910001730775, - "difficulty": 3, - "effort": 258.1173000519232, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRects" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRect": { - "line": 100, - "lineCount": 29, - "argCount": 2, - "returnCount": 1, - "variableCount": 12, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 6, - "n2": 28, - "N1": 26, - "N2": 54, - "programLength": 80, - "programVocabulary": 34, - "volume": 406.9970273000271, - "difficulty": 5.785714285714286, - "effort": 2354.7685150930142, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRect" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::wrapSvg": { - "line": 136, - "lineCount": 21, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 2, - "N2": 8, - "programLength": 10, - "programVocabulary": 4, - "volume": 20, - "difficulty": 1.3333333333333333, - "effort": 26.666666666666664, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::wrapSvg" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::prepareItems": { - "line": 28, - "lineCount": 18, - "argCount": 1, - "returnCount": 1, - "variableCount": 7, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 12, - "N1": 9, - "N2": 30, - "programLength": 39, - "programVocabulary": 17, - "volume": 159.41105080876324, - "difficulty": 6.25, - "effort": 996.3190675547702, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::prepareItems" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findScoreRange": { - "line": 53, - "lineCount": 16, - "argCount": 1, - "returnCount": 3, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 7, - "N2": 13, - "programLength": 20, - "programVocabulary": 8, - "volume": 60, - "difficulty": 3.9000000000000004, - "effort": 234.00000000000003, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findScoreRange" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::normalizeScore": { - "line": 78, - "lineCount": 8, - "argCount": 3, - "returnCount": 2, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 8, - "volume": 45, - "difficulty": 5, - "effort": 225, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::normalizeScore" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::scoreToColor": { - "line": 93, - "lineCount": 9, - "argCount": 1, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 5, - "n2": 9, - "N1": 12, - "N2": 16, - "programLength": 28, - "programVocabulary": 14, - "volume": 106.60593781761291, - "difficulty": 4.444444444444445, - "effort": 473.80416807827964, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::scoreToColor" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::calculateTreemapLayout": { - "line": 115, - "lineCount": 23, - "argCount": 7, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 9, - "N1": 2, - "N2": 18, - "programLength": 20, - "programVocabulary": 11, - "volume": 69.18863237274594, - "difficulty": 2, - "effort": 138.37726474549189, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::calculateTreemapLayout" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::layoutTreemap": { - "line": 152, - "lineCount": 89, - "argCount": 8, - "returnCount": 3, - "variableCount": 11, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 8, - "n2": 28, - "N1": 32, - "N2": 98, - "programLength": 130, - "programVocabulary": 36, - "volume": 672.0902501875006, - "difficulty": 14, - "effort": 9409.263502625008, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::layoutTreemap" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findSplitIndex": { - "line": 249, - "lineCount": 13, - "argCount": 2, - "returnCount": 2, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 7, - "n2": 10, - "N1": 9, - "N2": 23, - "programLength": 32, - "programVocabulary": 17, - "volume": 130.79881092001085, - "difficulty": 8.049999999999999, - "effort": 1052.9304279060873, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findSplitIndex" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::__construct": { - "line": 23, - "lineCount": 18, - "argCount": 1, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 7, - "N2": 11, - "programLength": 18, - "programVocabulary": 6, - "volume": 46.529325012980806, - "difficulty": 5.5, - "effort": 255.91128757139444, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::getAllClasses": { - "line": 47, - "lineCount": 17, - "argCount": 0, - "returnCount": 2, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 6, - "N2": 12, - "programLength": 18, - "programVocabulary": 9, - "volume": 57.05865002596162, - "difficulty": 3, - "effort": 171.17595007788486, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::getAllClasses" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::withClassNode": { - "line": 73, - "lineCount": 8, - "argCount": 2, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 4, - "N2": 8, - "programLength": 12, - "programVocabulary": 8, - "volume": 36, - "difficulty": 4, - "effort": 144, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::withClassNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::findClassNode": { - "line": 85, - "lineCount": 25, - "argCount": 1, - "returnCount": 4, - "variableCount": 5, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 13, - "N2": 29, - "programLength": 42, - "programVocabulary": 11, - "volume": 145.29612798276648, - "difficulty": 8.285714285714286, - "effort": 1203.8822032857795, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::findClassNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::escapeXPathValue": { - "line": 114, - "lineCount": 16, - "argCount": 1, - "returnCount": 3, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 9, - "N1": 11, - "N2": 18, - "programLength": 29, - "programVocabulary": 13, - "volume": 107.31275182609167, - "difficulty": 4, - "effort": 429.2510073043667, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::escapeXPathValue" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getLineCoverage": { - "line": 22, - "lineCount": 18, - "argCount": 1, - "returnCount": 4, - "variableCount": 5, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 9, - "N1": 10, - "N2": 19, - "programLength": 29, - "programVocabulary": 13, - "volume": 107.31275182609167, - "difficulty": 4.222222222222222, - "effort": 453.09828548794263, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getLineCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getBranchCoverage": { - "line": 48, - "lineCount": 18, - "argCount": 1, - "returnCount": 4, - "variableCount": 5, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 9, - "N1": 10, - "N2": 19, - "programLength": 29, - "programVocabulary": 13, - "volume": 107.31275182609167, - "difficulty": 4.222222222222222, - "effort": 453.09828548794263, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getBranchCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getComplexity": { - "line": 73, - "lineCount": 13, - "argCount": 1, - "returnCount": 3, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 7, - "N2": 14, - "programLength": 21, - "programVocabulary": 11, - "volume": 72.64806399138324, - "difficulty": 4, - "effort": 290.59225596553296, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getComplexity" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getCoverageDetails": { - "line": 93, - "lineCount": 26, - "argCount": 1, - "returnCount": 3, - "variableCount": 9, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 17, - "N1": 22, - "N2": 42, - "programLength": 64, - "programVocabulary": 22, - "volume": 285.403623592787, - "difficulty": 6.176470588235294, - "effort": 1762.7870868966259, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getCoverageDetails" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getMetricsNode": { - "line": 123, - "lineCount": 12, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 6, - "N1": 7, - "N2": 13, - "programLength": 20, - "programVocabulary": 10, - "volume": 66.43856189774725, - "difficulty": 4.333333333333333, - "effort": 287.90043489023805, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getMetricsNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getFilenameForClass": { - "line": 139, - "lineCount": 9, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 5, - "N1": 4, - "N2": 9, - "programLength": 13, - "programVocabulary": 9, - "volume": 41.209025018750054, - "difficulty": 3.6, - "effort": 148.3524900675002, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getFilenameForClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodsCoverage": { - "line": 154, - "lineCount": 36, - "argCount": 1, - "returnCount": 3, - "variableCount": 8, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 13, - "N1": 12, - "N2": 30, - "programLength": 42, - "programVocabulary": 16, - "volume": 168, - "difficulty": 3.4615384615384612, - "effort": 581.5384615384614, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodsCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::calculateMethodCoverage": { - "line": 194, - "lineCount": 15, - "argCount": 2, - "returnCount": 2, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 11, - "N1": 9, - "N2": 23, - "programLength": 32, - "programVocabulary": 16, - "volume": 128, - "difficulty": 5.227272727272727, - "effort": 669.090909090909, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::calculateMethodCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodCoverageFromLines": { - "line": 215, - "lineCount": 36, - "argCount": 2, - "returnCount": 1, - "variableCount": 7, - "propertyCallCount": 0, - "ifNestingLevel": 2, - "elseCount": 0, - "ifCount": 5, - "halstead": { - "n1": 2, - "n2": 14, - "N1": 12, - "N2": 35, - "programLength": 47, - "programVocabulary": 16, - "volume": 188, - "difficulty": 2.5, - "effort": 470, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodCoverageFromLines" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStart": { - "line": 252, - "lineCount": 4, - "argCount": 3, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 3, - "N2": 7, - "programLength": 10, - "programVocabulary": 6, - "volume": 25.84962500721156, - "difficulty": 1.75, - "effort": 45.23684376262023, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStart" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodEnd": { - "line": 257, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 5, - "programLength": 7, - "programVocabulary": 5, - "volume": 16.253496664211536, - "difficulty": 1.6666666666666667, - "effort": 27.089161107019226, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodEnd" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStatement": { - "line": 262, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 5, - "programLength": 7, - "programVocabulary": 5, - "volume": 16.253496664211536, - "difficulty": 1.6666666666666667, - "effort": 27.089161107019226, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStatement" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isStatementCovered": { - "line": 267, - "lineCount": 5, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 4, - "N1": 3, - "N2": 6, - "programLength": 9, - "programVocabulary": 7, - "volume": 25.26619429851844, - "difficulty": 2.25, - "effort": 56.848937171666485, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isStatementCovered" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getLineCoverage": { - "line": 20, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 9, - "volume": 44.37895002019237, - "difficulty": 2.5, - "effort": 110.94737505048093, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getLineCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getBranchCoverage": { - "line": 34, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 9, - "volume": 44.37895002019237, - "difficulty": 2.5, - "effort": 110.94737505048093, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getBranchCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getComplexity": { - "line": 48, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 9, - "volume": 44.37895002019237, - "difficulty": 2.5, - "effort": 110.94737505048093, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getComplexity" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getCoverageDetails": { - "line": 62, - "lineCount": 13, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 8, - "N1": 7, - "N2": 16, - "programLength": 23, - "programVocabulary": 9, - "volume": 72.90827503317318, - "difficulty": 1, - "effort": 72.90827503317318, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getCoverageDetails" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::extractMethodsCoverage": { - "line": 81, - "lineCount": 23, - "argCount": 1, - "returnCount": 2, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 11, - "N1": 10, - "N2": 23, - "programLength": 33, - "programVocabulary": 14, - "volume": 125.64271242790093, - "difficulty": 3.1363636363636362, - "effort": 394.061234432962, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::extractMethodsCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CodeCoverageFactory::createFromName": { - "line": 14, - "lineCount": 8, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 4, - "N1": 1, - "N2": 8, - "programLength": 9, - "programVocabulary": 5, - "volume": 20.89735285398626, - "difficulty": 1, - "effort": 20.89735285398626, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CodeCoverageFactory::createFromName" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::__construct": { - "line": 28, - "lineCount": 15, - "argCount": 6, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 6, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 7, - "N1": 6, - "N2": 18, - "programLength": 24, - "programVocabulary": 8, - "volume": 72, - "difficulty": 1.2857142857142858, - "effort": 92.57142857142858, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getName": { - "line": 44, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getName" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getFilename": { - "line": 49, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getFilename" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getLineRate": { - "line": 54, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getLineRate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getBranchRate": { - "line": 59, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getBranchRate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getComplexity": { - "line": 64, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getComplexity" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getMethods": { - "line": 72, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getMethods" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::__construct": { - "line": 17, - "lineCount": 11, - "argCount": 4, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 4, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 5, - "N1": 4, - "N2": 12, - "programLength": 16, - "programVocabulary": 6, - "volume": 41.3594000115385, - "difficulty": 1.2, - "effort": 49.631280013846194, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getName": { - "line": 29, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getName" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getLineRate": { - "line": 34, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getLineRate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getBranchRate": { - "line": 39, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getBranchRate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getComplexity": { - "line": 44, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getComplexity" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::calculateDeltas": { - "line": 19, - "lineCount": 14, - "argCount": 2, - "returnCount": 0, - "variableCount": 6, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 9, - "N1": 4, - "N2": 18, - "programLength": 22, - "programVocabulary": 11, - "volume": 76.10749561002054, - "difficulty": 2, - "effort": 152.21499122004107, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::calculateDeltas" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::loadBaseline": { - "line": 41, - "lineCount": 13, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 5, - "N2": 9, - "programLength": 14, - "programVocabulary": 8, - "volume": 42, - "difficulty": 2.7, - "effort": 113.4, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::loadBaseline" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::__construct": { - "line": 72, - "lineCount": 21, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 6, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 9, - "N1": 12, - "N2": 34, - "programLength": 46, - "programVocabulary": 12, - "volume": 164.90827503317317, - "difficulty": 5.666666666666666, - "effort": 934.4802251879812, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setRequiredMetricProperties": { - "line": 98, - "lineCount": 30, - "argCount": 1, - "returnCount": 0, - "variableCount": 6, - "propertyCallCount": 9, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 21, - "N1": 21, - "N2": 51, - "programLength": 72, - "programVocabulary": 24, - "volume": 330.1173000519232, - "difficulty": 3.6428571428571423, - "effort": 1202.570164474863, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setRequiredMetricProperties" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setOptionalMetricProperties": { - "line": 133, - "lineCount": 12, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 8, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 11, - "N1": 16, - "N2": 33, - "programLength": 49, - "programVocabulary": 13, - "volume": 181.32154618891352, - "difficulty": 3, - "effort": 543.9646385667405, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setOptionalMetricProperties" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setTimesChanged": { - "line": 146, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setTimesChanged" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertSame": { - "line": 151, - "lineCount": 14, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 6, - "N2": 8, - "programLength": 14, - "programVocabulary": 5, - "volume": 32.50699332842307, - "difficulty": 2.6666666666666665, - "effort": 86.68531554246152, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertSame" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::calculateDeltas": { - "line": 169, - "lineCount": 13, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 16, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 17, - "N2": 27, - "programLength": 44, - "programVocabulary": 4, - "volume": 88, - "difficulty": 13.5, - "effort": 1188, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::calculateDeltas" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::fromArray": { - "line": 187, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::fromArray" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertArrayKeyIsPresent": { - "line": 197, - "lineCount": 6, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 5, - "programLength": 5, - "programVocabulary": 2, - "volume": 5, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertArrayKeyIsPresent" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getClass": { - "line": 204, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getMethod": { - "line": 209, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getMethod" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCount": { - "line": 214, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCount": { - "line": 219, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCount": { - "line": 224, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCount": { - "line": 229, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCount": { - "line": 234, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCount": { - "line": 239, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevel": { - "line": 244, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevel" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCount": { - "line": 249, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeight": { - "line": 254, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setLineCountWeight": { - "line": 259, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setLineCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeight": { - "line": 264, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setArgCountWeight": { - "line": 269, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setArgCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeight": { - "line": 274, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setReturnCountWeight": { - "line": 279, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setReturnCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeight": { - "line": 284, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setVariableCountWeight": { - "line": 289, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setVariableCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeight": { - "line": 294, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setPropertyCallCountWeight": { - "line": 299, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setPropertyCallCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeight": { - "line": 304, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfCountWeight": { - "line": 309, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeight": { - "line": 314, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfNestingLevelWeight": { - "line": 319, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfNestingLevelWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeight": { - "line": 324, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setElseCountWeight": { - "line": 329, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setElseCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setScore": { - "line": 334, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setScore" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getScore": { - "line": 339, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getScore" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setCoverage": { - "line": 344, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCoverage": { - "line": 349, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeightDelta": { - "line": 354, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeightDelta": { - "line": 359, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeightDelta": { - "line": 364, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeightDelta": { - "line": 369, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeightDelta": { - "line": 374, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeightDelta": { - "line": 379, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeightDelta": { - "line": 384, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeightDelta": { - "line": 389, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getTimesChanged": { - "line": 394, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 2, - "programLength": 3, - "programVocabulary": 3, - "volume": 4.754887502163468, - "difficulty": 0.5, - "effort": 2.377443751081734, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getTimesChanged" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getFileName": { - "line": 399, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getFileName" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLine": { - "line": 404, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLine" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::equals": { - "line": 409, - "lineCount": 5, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 2, - "N1": 5, - "N2": 5, - "programLength": 10, - "programVocabulary": 5, - "volume": 23.21928094887362, - "difficulty": 3.75, - "effort": 87.07230355827608, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::equals" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::toArray": { - "line": 418, - "lineCount": 34, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 29, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 30, - "N1": 0, - "N2": 58, - "programLength": 58, - "programVocabulary": 30, - "volume": 284.5996545452941, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::toArray" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::jsonSerialize": { - "line": 456, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::jsonSerialize" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getHalstead": { - "line": 464, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getHalstead" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCyclomatic": { - "line": 472, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCyclomatic" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::add": { - "line": 30, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 5, - "N2": 6, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 3, - "effort": 85.30376252379816, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::add" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filter": { - "line": 40, - "lineCount": 11, - "argCount": 1, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 8, - "volume": 42, - "difficulty": 3, - "effort": 126, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filter" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getIterator": { - "line": 57, - "lineCount": 5, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getIterator" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::count": { - "line": 66, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::count" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterWithScoreGreaterThan": { - "line": 71, - "lineCount": 6, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 3, - "N2": 6, - "programLength": 9, - "programVocabulary": 5, - "volume": 20.89735285398626, - "difficulty": 2, - "effort": 41.79470570797252, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterWithScoreGreaterThan" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::contains": { - "line": 78, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 4, - "N2": 5, - "programLength": 9, - "programVocabulary": 5, - "volume": 20.89735285398626, - "difficulty": 1.6666666666666667, - "effort": 34.82892142331043, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::contains" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getClassWithMethod": { - "line": 83, - "lineCount": 9, - "argCount": 2, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 3, - "N2": 10, - "programLength": 13, - "programVocabulary": 7, - "volume": 36.49561398674886, - "difficulty": 2, - "effort": 72.99122797349771, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getClassWithMethod" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterByClassName": { - "line": 93, - "lineCount": 6, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 3, - "N2": 6, - "programLength": 9, - "programVocabulary": 5, - "volume": 20.89735285398626, - "difficulty": 2, - "effort": 41.79470570797252, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterByClassName" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::assertMetricHasGetter": { - "line": 100, - "lineCount": 9, - "argCount": 3, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 6, - "programLength": 7, - "programVocabulary": 4, - "volume": 14, - "difficulty": 1, - "effort": 14, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::assertMetricHasGetter" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::groupBy": { - "line": 117, - "lineCount": 20, - "argCount": 1, - "returnCount": 1, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 10, - "N2": 23, - "programLength": 33, - "programVocabulary": 11, - "volume": 114.16124341503081, - "difficulty": 6.571428571428571, - "effort": 750.2024567273453, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::groupBy" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::jsonSerialize": { - "line": 141, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::jsonSerialize" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::__construct": { - "line": 32, - "lineCount": 8, - "argCount": 5, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 5, - "N1": 0, - "N2": 5, - "programLength": 5, - "programVocabulary": 5, - "volume": 11.60964047443681, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collect": { - "line": 49, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 5, - "programLength": 6, - "programVocabulary": 4, - "volume": 12, - "difficulty": 0.8333333333333334, - "effort": 10, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collect" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collectFromPaths": { - "line": 62, - "lineCount": 13, - "argCount": 2, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 8, - "N2": 16, - "programLength": 24, - "programVocabulary": 9, - "volume": 76.07820003461549, - "difficulty": 4, - "effort": 304.31280013846197, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collectFromPaths" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCodeFromFile": { - "line": 79, - "lineCount": 10, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 2, - "N1": 5, - "N2": 6, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 6, - "effort": 170.6075250475963, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCodeFromFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findMetrics": { - "line": 98, - "lineCount": 31, - "argCount": 1, - "returnCount": 1, - "variableCount": 9, - "propertyCallCount": 2, - "ifNestingLevel": 2, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 13, - "N1": 18, - "N2": 38, - "programLength": 56, - "programVocabulary": 16, - "volume": 224, - "difficulty": 4.384615384615384, - "effort": 982.1538461538461, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findMetrics" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processMethodMetrics": { - "line": 136, - "lineCount": 29, - "argCount": 3, - "returnCount": 1, - "variableCount": 7, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 14, - "N1": 8, - "N2": 27, - "programLength": 35, - "programVocabulary": 17, - "volume": 143.06119944376186, - "difficulty": 2.892857142857143, - "effort": 413.8556126765968, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processMethodMetrics" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::isExcluded": { - "line": 166, - "lineCount": 12, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 5, - "N1": 5, - "N2": 9, - "programLength": 14, - "programVocabulary": 9, - "volume": 44.37895002019237, - "difficulty": 3.6, - "effort": 159.76422007269252, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::isExcluded" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findSourceFiles": { - "line": 187, - "lineCount": 7, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 2, - "N2": 6, - "programLength": 8, - "programVocabulary": 6, - "volume": 20.67970000576925, - "difficulty": 1.5, - "effort": 31.019550008653873, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findSourceFiles" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getProjectRoot": { - "line": 202, - "lineCount": 13, - "argCount": 0, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 2, - "N1": 8, - "N2": 8, - "programLength": 16, - "programVocabulary": 6, - "volume": 41.3594000115385, - "difficulty": 8, - "effort": 330.875200092308, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getProjectRoot" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateCacheKey": { - "line": 219, - "lineCount": 7, - "argCount": 2, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 6, - "N1": 10, - "N2": 12, - "programLength": 22, - "programVocabulary": 10, - "volume": 73.08241808752197, - "difficulty": 4, - "effort": 292.3296723500879, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateCacheKey" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateConfigHash": { - "line": 230, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 1, - "N1": 3, - "N2": 2, - "programLength": 5, - "programVocabulary": 3, - "volume": 7.92481250360578, - "difficulty": 2, - "effort": 15.84962500721156, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateConfigHash" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::cacheResult": { - "line": 239, - "lineCount": 14, - "argCount": 4, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 13, - "N1": 5, - "N2": 20, - "programLength": 25, - "programVocabulary": 15, - "volume": 97.67226489021297, - "difficulty": 1.5384615384615385, - "effort": 150.26502290801997, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::cacheResult" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::clearCache": { - "line": 254, - "lineCount": 4, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::clearCache" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::normalizeFilename": { - "line": 264, - "lineCount": 15, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 6, - "n2": 7, - "N1": 12, - "N2": 16, - "programLength": 28, - "programVocabulary": 13, - "volume": 103.61231210795059, - "difficulty": 6.857142857142857, - "effort": 710.4844258830897, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::normalizeFilename" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCachedMetrics": { - "line": 286, - "lineCount": 19, - "argCount": 3, - "returnCount": 3, - "variableCount": 4, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 11, - "N1": 10, - "N2": 29, - "programLength": 39, - "programVocabulary": 14, - "volume": 148.48684196024655, - "difficulty": 3.954545454545454, - "effort": 587.1979659337022, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCachedMetrics" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processFile": { - "line": 312, - "lineCount": 37, - "argCount": 5, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 7, - "n2": 10, - "N1": 12, - "N2": 28, - "programLength": 40, - "programVocabulary": 17, - "volume": 163.49851365001356, - "difficulty": 9.799999999999999, - "effort": 1602.2854337701328, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::sort": { - "line": 51, - "lineCount": 41, - "argCount": 3, - "returnCount": 2, - "variableCount": 10, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 18, - "N1": 20, - "N2": 43, - "programLength": 63, - "programVocabulary": 22, - "volume": 280.9441919741497, - "difficulty": 4.777777777777778, - "effort": 1342.2889172098264, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::sort" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getFieldValue": { - "line": 100, - "lineCount": 28, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 25, - "N1": 24, - "N2": 50, - "programLength": 74, - "programVocabulary": 27, - "volume": 351.86167516009664, - "difficulty": 2, - "effort": 703.7233503201933, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getFieldValue" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::compareValues": { - "line": 136, - "lineCount": 13, - "argCount": 2, - "returnCount": 3, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 2, - "N1": 9, - "N2": 12, - "programLength": 21, - "programVocabulary": 5, - "volume": 48.760489992634604, - "difficulty": 9, - "effort": 438.8444099337114, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::compareValues" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getSortableFields": { - "line": 155, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 0, - "N1": 0, - "N2": 0, - "programLength": 0, - "programVocabulary": 0, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getSortableFields" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__construct": { - "line": 15, - "lineCount": 11, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 7, - "N2": 12, - "programLength": 19, - "programVocabulary": 6, - "volume": 49.11428751370197, - "difficulty": 6, - "effort": 294.6857250822118, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::getValue": { - "line": 27, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::getValue" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasIncreased": { - "line": 32, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasIncreased" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__toString": { - "line": 37, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__toString" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasNotChanged": { - "line": 42, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 2, - "programLength": 3, - "programVocabulary": 3, - "volume": 4.754887502163468, - "difficulty": 0.5, - "effort": 2.377443751081734, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasNotChanged" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\FileProcessed::__construct": { - "line": 14, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\FileProcessed::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\ParserFailed::__construct": { - "line": 15, - "lineCount": 5, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\ParserFailed::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\SourceFilesFound::__construct": { - "line": 17, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\SourceFilesFound::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::__construct": { - "line": 15, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::create": { - "line": 27, - "lineCount": 10, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 6, - "N1": 0, - "N2": 8, - "programLength": 8, - "programVocabulary": 6, - "volume": 20.67970000576925, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::create" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::getSupportedTypes": { - "line": 43, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 4, - "N1": 0, - "N2": 4, - "programLength": 4, - "programVocabulary": 4, - "volume": 8, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::getSupportedTypes" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::isSupported": { - "line": 54, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 2, - "N2": 3, - "programLength": 5, - "programVocabulary": 4, - "volume": 10, - "difficulty": 1.5, - "effort": 15, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::isSupported" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CsvExporter::export": { - "line": 46, - "lineCount": 57, - "argCount": 2, - "returnCount": 0, - "variableCount": 6, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 15, - "N1": 37, - "N2": 54, - "programLength": 91, - "programVocabulary": 19, - "volume": 386.56140372336625, - "difficulty": 7.2, - "effort": 2783.242106808237, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CsvExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::export": { - "line": 40, - "lineCount": 8, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 5, - "N1": 4, - "N2": 8, - "programLength": 12, - "programVocabulary": 9, - "volume": 38.039100017307746, - "difficulty": 3.2, - "effort": 121.72512005538479, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::escape": { - "line": 49, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::escape" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::formatNumber": { - "line": 54, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::formatNumber" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::generateMetricRow": { - "line": 59, - "lineCount": 12, - "argCount": 3, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 16, - "N1": 19, - "N2": 27, - "programLength": 46, - "programVocabulary": 21, - "volume": 202.04660144782298, - "difficulty": 4.21875, - "effort": 852.3840998580032, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::generateMetricRow" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::generateHtml": { - "line": 78, - "lineCount": 64, - "argCount": 1, - "returnCount": 1, - "variableCount": 7, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 11, - "N1": 46, - "N2": 57, - "programLength": 103, - "programVocabulary": 15, - "volume": 402.40973134767745, - "difficulty": 10.363636363636363, - "effort": 4170.42812487593, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::generateHtml" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\JsonExporter::export": { - "line": 19, - "lineCount": 38, - "argCount": 2, - "returnCount": 0, - "variableCount": 5, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 27, - "N1": 29, - "N2": 58, - "programLength": 87, - "programVocabulary": 32, - "volume": 435, - "difficulty": 5.370370370370371, - "effort": 2336.1111111111113, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\JsonExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::__construct": { - "line": 24, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::export": { - "line": 36, - "lineCount": 8, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 5, - "N1": 4, - "N2": 8, - "programLength": 12, - "programVocabulary": 9, - "volume": 38.039100017307746, - "difficulty": 3.2, - "effort": 121.72512005538479, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::escape": { - "line": 48, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::escape" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateMetricCell": { - "line": 56, - "lineCount": 12, - "argCount": 3, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 12, - "N1": 16, - "N2": 24, - "programLength": 40, - "programVocabulary": 17, - "volume": 163.49851365001356, - "difficulty": 5, - "effort": 817.4925682500678, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateMetricCell" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::filterMetrics": { - "line": 75, - "lineCount": 15, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 4, - "N1": 4, - "N2": 11, - "programLength": 15, - "programVocabulary": 7, - "volume": 42.11032383086406, - "difficulty": 4.125, - "effort": 173.70508580231424, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::filterMetrics" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableHeader": { - "line": 94, - "lineCount": 33, - "argCount": 0, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 4, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 19, - "N1": 10, - "N2": 28, - "programLength": 38, - "programVocabulary": 22, - "volume": 169.4584015082173, - "difficulty": 2.2105263157894735, - "effort": 374.5922559655329, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableHeader" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableHeaderWithClass": { - "line": 131, - "lineCount": 33, - "argCount": 0, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 4, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 20, - "N1": 10, - "N2": 29, - "programLength": 39, - "programVocabulary": 23, - "volume": 176.41891628622352, - "difficulty": 2.175, - "effort": 383.7111429225361, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableHeaderWithClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableSeparator": { - "line": 168, - "lineCount": 20, - "argCount": 0, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 4, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 7, - "N1": 3, - "N2": 16, - "programLength": 19, - "programVocabulary": 10, - "volume": 63.11663380285988, - "difficulty": 3.4285714285714284, - "effort": 216.399887324091, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableSeparator" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableSeparatorWithClass": { - "line": 192, - "lineCount": 20, - "argCount": 0, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 4, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 8, - "N1": 3, - "N2": 16, - "programLength": 19, - "programVocabulary": 11, - "volume": 65.72920075410865, - "difficulty": 3, - "effort": 197.18760226232592, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableSeparatorWithClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableRow": { - "line": 216, - "lineCount": 22, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 6, - "N1": 53, - "N2": 60, - "programLength": 113, - "programVocabulary": 10, - "volume": 375.37787472227194, - "difficulty": 20, - "effort": 7507.557494445438, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableRow" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableRowWithClass": { - "line": 242, - "lineCount": 25, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 6, - "N1": 55, - "N2": 62, - "programLength": 117, - "programVocabulary": 10, - "volume": 388.66558710182136, - "difficulty": 20.666666666666668, - "effort": 8032.422133437642, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableRowWithClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::addHalsteadCells": { - "line": 274, - "lineCount": 20, - "argCount": 2, - "returnCount": 3, - "variableCount": 2, - "propertyCallCount": 5, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 12, - "N2": 24, - "programLength": 36, - "programVocabulary": 8, - "volume": 108, - "difficulty": 7.199999999999999, - "effort": 777.5999999999999, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::addHalsteadCells" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::addCyclomaticCell": { - "line": 301, - "lineCount": 16, - "argCount": 2, - "returnCount": 3, - "variableCount": 2, - "propertyCallCount": 4, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 8, - "N2": 16, - "programLength": 24, - "programVocabulary": 11, - "volume": 83.02635884729514, - "difficulty": 4.571428571428571, - "effort": 379.5490690162063, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::addCyclomaticCell" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateMarkdown": { - "line": 325, - "lineCount": 8, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 2, - "N2": 6, - "programLength": 8, - "programVocabulary": 3, - "volume": 12.679700005769249, - "difficulty": 1.5, - "effort": 19.019550008653873, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateMarkdown" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateGroupedMarkdown": { - "line": 337, - "lineCount": 49, - "argCount": 1, - "returnCount": 1, - "variableCount": 10, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 8, - "n2": 23, - "N1": 33, - "N2": 65, - "programLength": 98, - "programVocabulary": 31, - "volume": 485.5112384179137, - "difficulty": 11.304347826086957, - "effort": 5488.387912550329, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateGroupedMarkdown" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateSingleTableMarkdown": { - "line": 390, - "lineCount": 28, - "argCount": 1, - "returnCount": 1, - "variableCount": 6, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 6, - "n2": 13, - "N1": 19, - "N2": 37, - "programLength": 56, - "programVocabulary": 19, - "volume": 237.88394075284077, - "difficulty": 8.538461538461538, - "effort": 2031.1628787357943, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateSingleTableMarkdown" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::__construct": { - "line": 32, - "lineCount": 26, - "argCount": 2, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 7, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 14, - "N2": 22, - "programLength": 36, - "programVocabulary": 5, - "volume": 83.58941141594504, - "difficulty": 7.333333333333333, - "effort": 612.9890170502636, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::parse": { - "line": 63, - "lineCount": 37, - "argCount": 1, - "returnCount": 1, - "variableCount": 9, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 14, - "N1": 16, - "N2": 43, - "programLength": 59, - "programVocabulary": 17, - "volume": 241.16030763377, - "difficulty": 4.607142857142858, - "effort": 1111.0599887412977, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::parse" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::scanForAnnotations": { - "line": 104, - "lineCount": 20, - "argCount": 1, - "returnCount": 0, - "variableCount": 4, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 7, - "N1": 8, - "N2": 16, - "programLength": 24, - "programVocabulary": 10, - "volume": 79.7262742772967, - "difficulty": 3.4285714285714284, - "effort": 273.34722609358863, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::scanForAnnotations" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::traverseAbstractSyntaxTreeWithCombinedVisitor": { - "line": 129, - "lineCount": 17, - "argCount": 1, - "returnCount": 0, - "variableCount": 4, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 7, - "N1": 7, - "N2": 15, - "programLength": 22, - "programVocabulary": 10, - "volume": 73.08241808752197, - "difficulty": 3.2142857142857144, - "effort": 234.90777242417778, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::traverseAbstractSyntaxTreeWithCombinedVisitor" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getIgnored": { - "line": 153, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getIgnored" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getIgnoredClasses": { - "line": 163, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getIgnoredClasses" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getIgnoredMethods": { - "line": 173, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getIgnoredMethods" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::clearStaticCaches": { - "line": 181, - "lineCount": 15, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 9, - "N1": 7, - "N2": 19, - "programLength": 26, - "programVocabulary": 10, - "volume": 86.37013046707142, - "difficulty": 1.0555555555555556, - "effort": 91.16847104857538, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::clearStaticCaches" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::clearStaticProperty": { - "line": 200, - "lineCount": 14, - "argCount": 2, - "returnCount": 0, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 6, - "N2": 12, - "programLength": 18, - "programVocabulary": 7, - "volume": 50.53238859703688, - "difficulty": 2.4, - "effort": 121.2777326328885, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::clearStaticProperty" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getRiskLevel": { - "line": 218, - "lineCount": 9, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 8, - "N1": 3, - "N2": 11, - "programLength": 14, - "programVocabulary": 9, - "volume": 44.37895002019237, - "difficulty": 0.6875, - "effort": 30.510528138882254, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getRiskLevel" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculate": { - "line": 47, - "lineCount": 5, - "argCount": 2, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 2, - "N2": 8, - "programLength": 10, - "programVocabulary": 4, - "volume": 20, - "difficulty": 1.3333333333333333, - "effort": 26.666666666666664, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculateScore": { - "line": 53, - "lineCount": 10, - "argCount": 1, - "returnCount": 0, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 2, - "risk_level": "low" - }, - "halstead": { - "n1": 4, - "n2": 9, - "N1": 7, - "N2": 15, - "programLength": 22, - "programVocabulary": 13, - "volume": 81.40967379910403, - "difficulty": 3.3333333333333335, - "effort": 271.36557933034675, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculateScore" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculateMetricWeights": { - "line": 70, - "lineCount": 17, - "argCount": 3, - "returnCount": 0, - "variableCount": 6, - "propertyCallCount": 3, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 2, - "risk_level": "low" - }, - "halstead": { - "n1": 3, - "n2": 12, - "N1": 9, - "N2": 24, - "programLength": 33, - "programVocabulary": 15, - "volume": 128.92738965508113, - "difficulty": 3, - "effort": 386.7821689652434, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculateMetricWeights" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculateLogWeight": { - "line": 132, - "lineCount": 8, - "argCount": 3, - "returnCount": 2, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "cyclomatic_complexity": { - "complexity": 2, - "risk_level": "low" - }, - "halstead": { - "n1": 5, - "n2": 5, - "N1": 5, - "N2": 11, - "programLength": 16, - "programVocabulary": 10, - "volume": 53.150849518197795, - "difficulty": 5.5, - "effort": 292.3296723500879, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculateLogWeight" - } - } - }, - "ignored_items": [], - "cached_at": 1759967601 -} \ No newline at end of file diff --git a/.phpcca.cache/94/9461dfa3641f2f91486512ddb2e4f86b.cache b/.phpcca.cache/94/9461dfa3641f2f91486512ddb2e4f86b.cache deleted file mode 100644 index 4a906ce..0000000 --- a/.phpcca.cache/94/9461dfa3641f2f91486512ddb2e4f86b.cache +++ /dev/null @@ -1,4101 +0,0 @@ -{ - "version": "1.0", - "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/Business\/Cognitive\/Delta.php", - "file_mtime": 1752612112, - "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", - "analysis_result": { - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct": { - "line": 60, - "lineCount": 5, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 1, - "N1": 2, - "N2": 2, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 2, - "effort": 12.679700005769249, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices": { - "line": 66, - "lineCount": 95, - "argCount": 0, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 5, - "N1": 58, - "N2": 32, - "programLength": 90, - "programVocabulary": 9, - "volume": 285.2932501298081, - "difficulty": 12.8, - "effort": 3651.7536016615436, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap": { - "line": 162, - "lineCount": 10, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 7, - "N2": 7, - "programLength": 14, - "programVocabulary": 2, - "volume": 14, - "difficulty": 3.5, - "effort": 49, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors": { - "line": 173, - "lineCount": 12, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 3, - "N2": 1, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0.5, - "effort": 2, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus": { - "line": 186, - "lineCount": 19, - "argCount": 0, - "returnCount": 0, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 9, - "N2": 13, - "programLength": 22, - "programVocabulary": 7, - "volume": 61.76180828526729, - "difficulty": 2.6, - "effort": 160.58070154169496, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService": { - "line": 206, - "lineCount": 9, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 3, - "N2": 1, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0.5, - "effort": 2, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade": { - "line": 216, - "lineCount": 13, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 3, - "N2": 1, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0.5, - "effort": 2, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands": { - "line": 230, - "lineCount": 21, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 6, - "N2": 2, - "programLength": 8, - "programVocabulary": 2, - "volume": 8, - "difficulty": 1, - "effort": 8, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication": { - "line": 252, - "lineCount": 11, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 5, - "N2": 4, - "programLength": 9, - "programVocabulary": 4, - "volume": 18, - "difficulty": 0.6666666666666666, - "effort": 12, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run": { - "line": 264, - "lineCount": 9, - "argCount": 0, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 5, - "N2": 5, - "programLength": 10, - "programVocabulary": 4, - "volume": 20, - "difficulty": 2.5, - "effort": 50, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get": { - "line": 274, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer": { - "line": 279, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator": { - "line": 289, - "lineCount": 16, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 7, - "programLength": 8, - "programVocabulary": 4, - "volume": 16, - "difficulty": 1.1666666666666667, - "effort": 18.666666666666668, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create": { - "line": 18, - "lineCount": 7, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 4, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile": { - "line": 17, - "lineCount": 17, - "argCount": 2, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 8, - "N1": 11, - "N2": 19, - "programLength": 30, - "programVocabulary": 11, - "volume": 103.78294855911892, - "difficulty": 3.5625, - "effort": 369.72675424186116, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode": { - "line": 42, - "lineCount": 8, - "argCount": 3, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 3, - "N2": 8, - "programLength": 11, - "programVocabulary": 8, - "volume": 33, - "difficulty": 2.4000000000000004, - "effort": 79.20000000000002, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate": { - "line": 22, - "lineCount": 10, - "argCount": 2, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 6, - "N2": 13, - "programLength": 19, - "programVocabulary": 6, - "volume": 49.11428751370197, - "difficulty": 3.25, - "effort": 159.6214344195314, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending": { - "line": 37, - "lineCount": 8, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 2, - "N2": 9, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 2.25, - "effort": 63.97782189284862, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn": { - "line": 51, - "lineCount": 24, - "argCount": 2, - "returnCount": 1, - "variableCount": 6, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 15, - "N1": 17, - "N2": 46, - "programLength": 63, - "programVocabulary": 20, - "volume": 272.28146997790384, - "difficulty": 7.666666666666667, - "effort": 2087.491269830596, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses": { - "line": 81, - "lineCount": 20, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 2, - "n2": 7, - "N1": 10, - "N2": 24, - "programLength": 34, - "programVocabulary": 9, - "volume": 107.7774500490386, - "difficulty": 3.4285714285714284, - "effort": 369.52268588241805, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass": { - "line": 109, - "lineCount": 9, - "argCount": 2, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 6, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 10, - "volume": 49.82892142331043, - "difficulty": 3.3333333333333335, - "effort": 166.09640474436813, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel": { - "line": 126, - "lineCount": 16, - "argCount": 2, - "returnCount": 4, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 12, - "N1": 9, - "N2": 18, - "programLength": 27, - "programVocabulary": 15, - "volume": 105.48604608143, - "difficulty": 2.25, - "effort": 237.3436036832175, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile": { - "line": 14, - "lineCount": 6, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 2, - "N2": 5, - "programLength": 7, - "programVocabulary": 4, - "volume": 14, - "difficulty": 2.5, - "effort": 35, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable": { - "line": 24, - "lineCount": 11, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 10, - "N2": 12, - "programLength": 22, - "programVocabulary": 8, - "volume": 66, - "difficulty": 6, - "effort": 396, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create": { - "line": 21, - "lineCount": 11, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 7, - "N1": 0, - "N2": 9, - "programLength": 9, - "programVocabulary": 7, - "volume": 25.26619429851844, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes": { - "line": 38, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 6, - "N1": 0, - "N2": 6, - "programLength": 6, - "programVocabulary": 6, - "volume": 15.509775004326936, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported": { - "line": 49, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 2, - "N2": 3, - "programLength": 5, - "programVocabulary": 4, - "volume": 10, - "difficulty": 1.5, - "effort": 15, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export": { - "line": 30, - "lineCount": 23, - "argCount": 2, - "returnCount": 0, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 16, - "N1": 10, - "N2": 33, - "programLength": 43, - "programVocabulary": 20, - "volume": 185.8429080801566, - "difficulty": 4.125, - "effort": 766.601995830646, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export": { - "line": 28, - "lineCount": 8, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 6, - "volume": 36.18947501009619, - "difficulty": 2.5, - "effort": 90.47368752524048, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape": { - "line": 37, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber": { - "line": 42, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml": { - "line": 52, - "lineCount": 50, - "argCount": 1, - "returnCount": 1, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 12, - "N1": 11, - "N2": 25, - "programLength": 36, - "programVocabulary": 17, - "volume": 147.14866228501222, - "difficulty": 5.208333333333334, - "effort": 766.3992827344388, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export": { - "line": 17, - "lineCount": 13, - "argCount": 2, - "returnCount": 0, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 8, - "N1": 7, - "N2": 14, - "programLength": 21, - "programVocabulary": 12, - "volume": 75.28421251514428, - "difficulty": 3.5, - "effort": 263.49474380300495, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export": { - "line": 48, - "lineCount": 8, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 6, - "volume": 36.18947501009619, - "difficulty": 2.5, - "effort": 90.47368752524048, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown": { - "line": 61, - "lineCount": 24, - "argCount": 1, - "returnCount": 1, - "variableCount": 6, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 6, - "n2": 16, - "N1": 19, - "N2": 41, - "programLength": 60, - "programVocabulary": 22, - "volume": 267.56589711823784, - "difficulty": 7.6875, - "effort": 2056.9128340964535, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow": { - "line": 94, - "lineCount": 21, - "argCount": 3, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 7, - "n2": 18, - "N1": 16, - "N2": 39, - "programLength": 55, - "programVocabulary": 25, - "volume": 255.41209043760983, - "difficulty": 7.583333333333333, - "effort": 1936.8750191518745, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::__construct": { - "line": 26, - "lineCount": 4, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::export": { - "line": 36, - "lineCount": 10, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 8, - "volume": 45, - "difficulty": 5, - "effort": 225, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::generateSvgTreemap": { - "line": 53, - "lineCount": 20, - "argCount": 1, - "returnCount": 1, - "variableCount": 6, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 8, - "N1": 9, - "N2": 20, - "programLength": 29, - "programVocabulary": 10, - "volume": 96.3359147517335, - "difficulty": 2.5, - "effort": 240.83978687933376, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::generateSvgTreemap" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRects": { - "line": 82, - "lineCount": 10, - "argCount": 3, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 9, - "N1": 6, - "N2": 18, - "programLength": 24, - "programVocabulary": 12, - "volume": 86.03910001730775, - "difficulty": 3, - "effort": 258.1173000519232, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRects" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRect": { - "line": 100, - "lineCount": 29, - "argCount": 2, - "returnCount": 1, - "variableCount": 12, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 6, - "n2": 28, - "N1": 26, - "N2": 54, - "programLength": 80, - "programVocabulary": 34, - "volume": 406.9970273000271, - "difficulty": 5.785714285714286, - "effort": 2354.7685150930142, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRect" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::wrapSvg": { - "line": 136, - "lineCount": 21, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 2, - "N2": 8, - "programLength": 10, - "programVocabulary": 4, - "volume": 20, - "difficulty": 1.3333333333333333, - "effort": 26.666666666666664, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::wrapSvg" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::prepareItems": { - "line": 28, - "lineCount": 18, - "argCount": 1, - "returnCount": 1, - "variableCount": 7, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 12, - "N1": 9, - "N2": 30, - "programLength": 39, - "programVocabulary": 17, - "volume": 159.41105080876324, - "difficulty": 6.25, - "effort": 996.3190675547702, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::prepareItems" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findScoreRange": { - "line": 53, - "lineCount": 16, - "argCount": 1, - "returnCount": 3, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 7, - "N2": 13, - "programLength": 20, - "programVocabulary": 8, - "volume": 60, - "difficulty": 3.9000000000000004, - "effort": 234.00000000000003, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findScoreRange" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::normalizeScore": { - "line": 78, - "lineCount": 8, - "argCount": 3, - "returnCount": 2, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 8, - "volume": 45, - "difficulty": 5, - "effort": 225, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::normalizeScore" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::scoreToColor": { - "line": 93, - "lineCount": 9, - "argCount": 1, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 5, - "n2": 9, - "N1": 12, - "N2": 16, - "programLength": 28, - "programVocabulary": 14, - "volume": 106.60593781761291, - "difficulty": 4.444444444444445, - "effort": 473.80416807827964, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::scoreToColor" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::calculateTreemapLayout": { - "line": 115, - "lineCount": 23, - "argCount": 7, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 9, - "N1": 2, - "N2": 18, - "programLength": 20, - "programVocabulary": 11, - "volume": 69.18863237274594, - "difficulty": 2, - "effort": 138.37726474549189, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::calculateTreemapLayout" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::layoutTreemap": { - "line": 152, - "lineCount": 89, - "argCount": 8, - "returnCount": 3, - "variableCount": 11, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 8, - "n2": 28, - "N1": 32, - "N2": 98, - "programLength": 130, - "programVocabulary": 36, - "volume": 672.0902501875006, - "difficulty": 14, - "effort": 9409.263502625008, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::layoutTreemap" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findSplitIndex": { - "line": 249, - "lineCount": 13, - "argCount": 2, - "returnCount": 2, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 7, - "n2": 10, - "N1": 9, - "N2": 23, - "programLength": 32, - "programVocabulary": 17, - "volume": 130.79881092001085, - "difficulty": 8.049999999999999, - "effort": 1052.9304279060873, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findSplitIndex" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::__construct": { - "line": 23, - "lineCount": 18, - "argCount": 1, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 7, - "N2": 11, - "programLength": 18, - "programVocabulary": 6, - "volume": 46.529325012980806, - "difficulty": 5.5, - "effort": 255.91128757139444, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::getAllClasses": { - "line": 47, - "lineCount": 17, - "argCount": 0, - "returnCount": 2, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 6, - "N2": 12, - "programLength": 18, - "programVocabulary": 9, - "volume": 57.05865002596162, - "difficulty": 3, - "effort": 171.17595007788486, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::getAllClasses" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::withClassNode": { - "line": 73, - "lineCount": 8, - "argCount": 2, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 4, - "N2": 8, - "programLength": 12, - "programVocabulary": 8, - "volume": 36, - "difficulty": 4, - "effort": 144, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::withClassNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::findClassNode": { - "line": 85, - "lineCount": 25, - "argCount": 1, - "returnCount": 4, - "variableCount": 5, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 13, - "N2": 29, - "programLength": 42, - "programVocabulary": 11, - "volume": 145.29612798276648, - "difficulty": 8.285714285714286, - "effort": 1203.8822032857795, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::findClassNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::escapeXPathValue": { - "line": 114, - "lineCount": 16, - "argCount": 1, - "returnCount": 3, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 9, - "N1": 11, - "N2": 18, - "programLength": 29, - "programVocabulary": 13, - "volume": 107.31275182609167, - "difficulty": 4, - "effort": 429.2510073043667, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::escapeXPathValue" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getLineCoverage": { - "line": 22, - "lineCount": 18, - "argCount": 1, - "returnCount": 4, - "variableCount": 5, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 9, - "N1": 10, - "N2": 19, - "programLength": 29, - "programVocabulary": 13, - "volume": 107.31275182609167, - "difficulty": 4.222222222222222, - "effort": 453.09828548794263, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getLineCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getBranchCoverage": { - "line": 48, - "lineCount": 18, - "argCount": 1, - "returnCount": 4, - "variableCount": 5, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 9, - "N1": 10, - "N2": 19, - "programLength": 29, - "programVocabulary": 13, - "volume": 107.31275182609167, - "difficulty": 4.222222222222222, - "effort": 453.09828548794263, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getBranchCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getComplexity": { - "line": 73, - "lineCount": 13, - "argCount": 1, - "returnCount": 3, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 7, - "N2": 14, - "programLength": 21, - "programVocabulary": 11, - "volume": 72.64806399138324, - "difficulty": 4, - "effort": 290.59225596553296, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getComplexity" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getCoverageDetails": { - "line": 93, - "lineCount": 26, - "argCount": 1, - "returnCount": 3, - "variableCount": 9, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 17, - "N1": 22, - "N2": 42, - "programLength": 64, - "programVocabulary": 22, - "volume": 285.403623592787, - "difficulty": 6.176470588235294, - "effort": 1762.7870868966259, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getCoverageDetails" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getMetricsNode": { - "line": 123, - "lineCount": 12, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 6, - "N1": 7, - "N2": 13, - "programLength": 20, - "programVocabulary": 10, - "volume": 66.43856189774725, - "difficulty": 4.333333333333333, - "effort": 287.90043489023805, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getMetricsNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getFilenameForClass": { - "line": 139, - "lineCount": 9, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 5, - "N1": 4, - "N2": 9, - "programLength": 13, - "programVocabulary": 9, - "volume": 41.209025018750054, - "difficulty": 3.6, - "effort": 148.3524900675002, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getFilenameForClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodsCoverage": { - "line": 154, - "lineCount": 36, - "argCount": 1, - "returnCount": 3, - "variableCount": 8, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 13, - "N1": 12, - "N2": 30, - "programLength": 42, - "programVocabulary": 16, - "volume": 168, - "difficulty": 3.4615384615384612, - "effort": 581.5384615384614, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodsCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::calculateMethodCoverage": { - "line": 194, - "lineCount": 15, - "argCount": 2, - "returnCount": 2, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 11, - "N1": 9, - "N2": 23, - "programLength": 32, - "programVocabulary": 16, - "volume": 128, - "difficulty": 5.227272727272727, - "effort": 669.090909090909, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::calculateMethodCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodCoverageFromLines": { - "line": 215, - "lineCount": 36, - "argCount": 2, - "returnCount": 1, - "variableCount": 7, - "propertyCallCount": 0, - "ifNestingLevel": 2, - "elseCount": 0, - "ifCount": 5, - "halstead": { - "n1": 2, - "n2": 14, - "N1": 12, - "N2": 35, - "programLength": 47, - "programVocabulary": 16, - "volume": 188, - "difficulty": 2.5, - "effort": 470, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodCoverageFromLines" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStart": { - "line": 252, - "lineCount": 4, - "argCount": 3, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 3, - "N2": 7, - "programLength": 10, - "programVocabulary": 6, - "volume": 25.84962500721156, - "difficulty": 1.75, - "effort": 45.23684376262023, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStart" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodEnd": { - "line": 257, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 5, - "programLength": 7, - "programVocabulary": 5, - "volume": 16.253496664211536, - "difficulty": 1.6666666666666667, - "effort": 27.089161107019226, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodEnd" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStatement": { - "line": 262, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 5, - "programLength": 7, - "programVocabulary": 5, - "volume": 16.253496664211536, - "difficulty": 1.6666666666666667, - "effort": 27.089161107019226, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStatement" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isStatementCovered": { - "line": 267, - "lineCount": 5, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 4, - "N1": 3, - "N2": 6, - "programLength": 9, - "programVocabulary": 7, - "volume": 25.26619429851844, - "difficulty": 2.25, - "effort": 56.848937171666485, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isStatementCovered" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getLineCoverage": { - "line": 20, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 9, - "volume": 44.37895002019237, - "difficulty": 2.5, - "effort": 110.94737505048093, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getLineCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getBranchCoverage": { - "line": 34, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 9, - "volume": 44.37895002019237, - "difficulty": 2.5, - "effort": 110.94737505048093, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getBranchCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getComplexity": { - "line": 48, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 9, - "volume": 44.37895002019237, - "difficulty": 2.5, - "effort": 110.94737505048093, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getComplexity" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getCoverageDetails": { - "line": 62, - "lineCount": 13, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 8, - "N1": 7, - "N2": 16, - "programLength": 23, - "programVocabulary": 9, - "volume": 72.90827503317318, - "difficulty": 1, - "effort": 72.90827503317318, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getCoverageDetails" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::extractMethodsCoverage": { - "line": 81, - "lineCount": 23, - "argCount": 1, - "returnCount": 2, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 11, - "N1": 10, - "N2": 23, - "programLength": 33, - "programVocabulary": 14, - "volume": 125.64271242790093, - "difficulty": 3.1363636363636362, - "effort": 394.061234432962, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::extractMethodsCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CodeCoverageFactory::createFromName": { - "line": 14, - "lineCount": 8, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 4, - "N1": 1, - "N2": 8, - "programLength": 9, - "programVocabulary": 5, - "volume": 20.89735285398626, - "difficulty": 1, - "effort": 20.89735285398626, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CodeCoverageFactory::createFromName" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::__construct": { - "line": 28, - "lineCount": 15, - "argCount": 6, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 6, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 7, - "N1": 6, - "N2": 18, - "programLength": 24, - "programVocabulary": 8, - "volume": 72, - "difficulty": 1.2857142857142858, - "effort": 92.57142857142858, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getName": { - "line": 44, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getName" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getFilename": { - "line": 49, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getFilename" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getLineRate": { - "line": 54, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getLineRate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getBranchRate": { - "line": 59, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getBranchRate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getComplexity": { - "line": 64, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getComplexity" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getMethods": { - "line": 72, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getMethods" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::__construct": { - "line": 17, - "lineCount": 11, - "argCount": 4, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 4, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 5, - "N1": 4, - "N2": 12, - "programLength": 16, - "programVocabulary": 6, - "volume": 41.3594000115385, - "difficulty": 1.2, - "effort": 49.631280013846194, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getName": { - "line": 29, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getName" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getLineRate": { - "line": 34, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getLineRate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getBranchRate": { - "line": 39, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getBranchRate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getComplexity": { - "line": 44, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getComplexity" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::calculateDeltas": { - "line": 19, - "lineCount": 14, - "argCount": 2, - "returnCount": 0, - "variableCount": 6, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 9, - "N1": 4, - "N2": 18, - "programLength": 22, - "programVocabulary": 11, - "volume": 76.10749561002054, - "difficulty": 2, - "effort": 152.21499122004107, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::calculateDeltas" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::loadBaseline": { - "line": 41, - "lineCount": 13, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 5, - "N2": 9, - "programLength": 14, - "programVocabulary": 8, - "volume": 42, - "difficulty": 2.7, - "effort": 113.4, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::loadBaseline" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::__construct": { - "line": 72, - "lineCount": 21, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 6, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 9, - "N1": 12, - "N2": 34, - "programLength": 46, - "programVocabulary": 12, - "volume": 164.90827503317317, - "difficulty": 5.666666666666666, - "effort": 934.4802251879812, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setRequiredMetricProperties": { - "line": 98, - "lineCount": 30, - "argCount": 1, - "returnCount": 0, - "variableCount": 6, - "propertyCallCount": 9, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 21, - "N1": 21, - "N2": 51, - "programLength": 72, - "programVocabulary": 24, - "volume": 330.1173000519232, - "difficulty": 3.6428571428571423, - "effort": 1202.570164474863, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setRequiredMetricProperties" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setOptionalMetricProperties": { - "line": 133, - "lineCount": 12, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 8, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 11, - "N1": 16, - "N2": 33, - "programLength": 49, - "programVocabulary": 13, - "volume": 181.32154618891352, - "difficulty": 3, - "effort": 543.9646385667405, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setOptionalMetricProperties" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setTimesChanged": { - "line": 146, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setTimesChanged" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertSame": { - "line": 151, - "lineCount": 14, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 6, - "N2": 8, - "programLength": 14, - "programVocabulary": 5, - "volume": 32.50699332842307, - "difficulty": 2.6666666666666665, - "effort": 86.68531554246152, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertSame" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::calculateDeltas": { - "line": 169, - "lineCount": 13, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 16, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 17, - "N2": 27, - "programLength": 44, - "programVocabulary": 4, - "volume": 88, - "difficulty": 13.5, - "effort": 1188, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::calculateDeltas" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::fromArray": { - "line": 187, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::fromArray" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertArrayKeyIsPresent": { - "line": 197, - "lineCount": 6, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 5, - "programLength": 5, - "programVocabulary": 2, - "volume": 5, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertArrayKeyIsPresent" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getClass": { - "line": 204, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getMethod": { - "line": 209, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getMethod" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCount": { - "line": 214, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCount": { - "line": 219, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCount": { - "line": 224, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCount": { - "line": 229, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCount": { - "line": 234, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCount": { - "line": 239, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevel": { - "line": 244, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevel" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCount": { - "line": 249, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeight": { - "line": 254, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setLineCountWeight": { - "line": 259, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setLineCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeight": { - "line": 264, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setArgCountWeight": { - "line": 269, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setArgCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeight": { - "line": 274, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setReturnCountWeight": { - "line": 279, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setReturnCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeight": { - "line": 284, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setVariableCountWeight": { - "line": 289, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setVariableCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeight": { - "line": 294, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setPropertyCallCountWeight": { - "line": 299, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setPropertyCallCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeight": { - "line": 304, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfCountWeight": { - "line": 309, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeight": { - "line": 314, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfNestingLevelWeight": { - "line": 319, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfNestingLevelWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeight": { - "line": 324, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setElseCountWeight": { - "line": 329, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setElseCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setScore": { - "line": 334, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setScore" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getScore": { - "line": 339, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getScore" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setCoverage": { - "line": 344, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCoverage": { - "line": 349, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeightDelta": { - "line": 354, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeightDelta": { - "line": 359, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeightDelta": { - "line": 364, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeightDelta": { - "line": 369, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeightDelta": { - "line": 374, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeightDelta": { - "line": 379, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeightDelta": { - "line": 384, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeightDelta": { - "line": 389, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getTimesChanged": { - "line": 394, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 2, - "programLength": 3, - "programVocabulary": 3, - "volume": 4.754887502163468, - "difficulty": 0.5, - "effort": 2.377443751081734, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getTimesChanged" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getFileName": { - "line": 399, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getFileName" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLine": { - "line": 404, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLine" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::equals": { - "line": 409, - "lineCount": 5, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 2, - "N1": 5, - "N2": 5, - "programLength": 10, - "programVocabulary": 5, - "volume": 23.21928094887362, - "difficulty": 3.75, - "effort": 87.07230355827608, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::equals" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::toArray": { - "line": 418, - "lineCount": 34, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 29, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 30, - "N1": 0, - "N2": 58, - "programLength": 58, - "programVocabulary": 30, - "volume": 284.5996545452941, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::toArray" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::jsonSerialize": { - "line": 456, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::jsonSerialize" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getHalstead": { - "line": 464, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getHalstead" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCyclomatic": { - "line": 472, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCyclomatic" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::add": { - "line": 30, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 5, - "N2": 6, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 3, - "effort": 85.30376252379816, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::add" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filter": { - "line": 40, - "lineCount": 11, - "argCount": 1, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 8, - "volume": 42, - "difficulty": 3, - "effort": 126, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filter" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getIterator": { - "line": 57, - "lineCount": 5, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getIterator" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::count": { - "line": 66, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::count" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterWithScoreGreaterThan": { - "line": 71, - "lineCount": 6, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 3, - "N2": 6, - "programLength": 9, - "programVocabulary": 5, - "volume": 20.89735285398626, - "difficulty": 2, - "effort": 41.79470570797252, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterWithScoreGreaterThan" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::contains": { - "line": 78, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 4, - "N2": 5, - "programLength": 9, - "programVocabulary": 5, - "volume": 20.89735285398626, - "difficulty": 1.6666666666666667, - "effort": 34.82892142331043, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::contains" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getClassWithMethod": { - "line": 83, - "lineCount": 9, - "argCount": 2, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 3, - "N2": 10, - "programLength": 13, - "programVocabulary": 7, - "volume": 36.49561398674886, - "difficulty": 2, - "effort": 72.99122797349771, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getClassWithMethod" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterByClassName": { - "line": 93, - "lineCount": 6, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 3, - "N2": 6, - "programLength": 9, - "programVocabulary": 5, - "volume": 20.89735285398626, - "difficulty": 2, - "effort": 41.79470570797252, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterByClassName" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::assertMetricHasGetter": { - "line": 100, - "lineCount": 9, - "argCount": 3, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 6, - "programLength": 7, - "programVocabulary": 4, - "volume": 14, - "difficulty": 1, - "effort": 14, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::assertMetricHasGetter" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::groupBy": { - "line": 117, - "lineCount": 20, - "argCount": 1, - "returnCount": 1, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 10, - "N2": 23, - "programLength": 33, - "programVocabulary": 11, - "volume": 114.16124341503081, - "difficulty": 6.571428571428571, - "effort": 750.2024567273453, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::groupBy" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::jsonSerialize": { - "line": 141, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::jsonSerialize" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::__construct": { - "line": 32, - "lineCount": 8, - "argCount": 5, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 5, - "N1": 0, - "N2": 5, - "programLength": 5, - "programVocabulary": 5, - "volume": 11.60964047443681, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collect": { - "line": 49, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 5, - "programLength": 6, - "programVocabulary": 4, - "volume": 12, - "difficulty": 0.8333333333333334, - "effort": 10, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collect" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collectFromPaths": { - "line": 62, - "lineCount": 13, - "argCount": 2, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 8, - "N2": 16, - "programLength": 24, - "programVocabulary": 9, - "volume": 76.07820003461549, - "difficulty": 4, - "effort": 304.31280013846197, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collectFromPaths" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCodeFromFile": { - "line": 79, - "lineCount": 10, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 2, - "N1": 5, - "N2": 6, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 6, - "effort": 170.6075250475963, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCodeFromFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findMetrics": { - "line": 98, - "lineCount": 31, - "argCount": 1, - "returnCount": 1, - "variableCount": 9, - "propertyCallCount": 2, - "ifNestingLevel": 2, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 13, - "N1": 18, - "N2": 38, - "programLength": 56, - "programVocabulary": 16, - "volume": 224, - "difficulty": 4.384615384615384, - "effort": 982.1538461538461, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findMetrics" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processMethodMetrics": { - "line": 136, - "lineCount": 29, - "argCount": 3, - "returnCount": 1, - "variableCount": 7, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 14, - "N1": 8, - "N2": 27, - "programLength": 35, - "programVocabulary": 17, - "volume": 143.06119944376186, - "difficulty": 2.892857142857143, - "effort": 413.8556126765968, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processMethodMetrics" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::isExcluded": { - "line": 166, - "lineCount": 12, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 5, - "N1": 5, - "N2": 9, - "programLength": 14, - "programVocabulary": 9, - "volume": 44.37895002019237, - "difficulty": 3.6, - "effort": 159.76422007269252, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::isExcluded" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findSourceFiles": { - "line": 187, - "lineCount": 7, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 2, - "N2": 6, - "programLength": 8, - "programVocabulary": 6, - "volume": 20.67970000576925, - "difficulty": 1.5, - "effort": 31.019550008653873, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findSourceFiles" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getProjectRoot": { - "line": 202, - "lineCount": 13, - "argCount": 0, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 2, - "N1": 8, - "N2": 8, - "programLength": 16, - "programVocabulary": 6, - "volume": 41.3594000115385, - "difficulty": 8, - "effort": 330.875200092308, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getProjectRoot" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateCacheKey": { - "line": 219, - "lineCount": 7, - "argCount": 2, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 6, - "N1": 10, - "N2": 12, - "programLength": 22, - "programVocabulary": 10, - "volume": 73.08241808752197, - "difficulty": 4, - "effort": 292.3296723500879, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateCacheKey" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateConfigHash": { - "line": 230, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 1, - "N1": 3, - "N2": 2, - "programLength": 5, - "programVocabulary": 3, - "volume": 7.92481250360578, - "difficulty": 2, - "effort": 15.84962500721156, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateConfigHash" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::cacheResult": { - "line": 239, - "lineCount": 14, - "argCount": 4, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 13, - "N1": 5, - "N2": 20, - "programLength": 25, - "programVocabulary": 15, - "volume": 97.67226489021297, - "difficulty": 1.5384615384615385, - "effort": 150.26502290801997, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::cacheResult" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::clearCache": { - "line": 254, - "lineCount": 4, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::clearCache" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::normalizeFilename": { - "line": 264, - "lineCount": 15, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 6, - "n2": 7, - "N1": 12, - "N2": 16, - "programLength": 28, - "programVocabulary": 13, - "volume": 103.61231210795059, - "difficulty": 6.857142857142857, - "effort": 710.4844258830897, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::normalizeFilename" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCachedMetrics": { - "line": 286, - "lineCount": 19, - "argCount": 3, - "returnCount": 3, - "variableCount": 4, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 11, - "N1": 10, - "N2": 29, - "programLength": 39, - "programVocabulary": 14, - "volume": 148.48684196024655, - "difficulty": 3.954545454545454, - "effort": 587.1979659337022, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCachedMetrics" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processFile": { - "line": 312, - "lineCount": 37, - "argCount": 5, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 7, - "n2": 10, - "N1": 12, - "N2": 28, - "programLength": 40, - "programVocabulary": 17, - "volume": 163.49851365001356, - "difficulty": 9.799999999999999, - "effort": 1602.2854337701328, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::sort": { - "line": 51, - "lineCount": 41, - "argCount": 3, - "returnCount": 2, - "variableCount": 10, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 18, - "N1": 20, - "N2": 43, - "programLength": 63, - "programVocabulary": 22, - "volume": 280.9441919741497, - "difficulty": 4.777777777777778, - "effort": 1342.2889172098264, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::sort" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getFieldValue": { - "line": 100, - "lineCount": 28, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 25, - "N1": 24, - "N2": 50, - "programLength": 74, - "programVocabulary": 27, - "volume": 351.86167516009664, - "difficulty": 2, - "effort": 703.7233503201933, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getFieldValue" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::compareValues": { - "line": 136, - "lineCount": 13, - "argCount": 2, - "returnCount": 3, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 2, - "N1": 9, - "N2": 12, - "programLength": 21, - "programVocabulary": 5, - "volume": 48.760489992634604, - "difficulty": 9, - "effort": 438.8444099337114, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::compareValues" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getSortableFields": { - "line": 155, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 0, - "N1": 0, - "N2": 0, - "programLength": 0, - "programVocabulary": 0, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getSortableFields" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__construct": { - "line": 15, - "lineCount": 11, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "cyclomatic_complexity": { - "complexity": 2, - "risk_level": "low" - }, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 7, - "N2": 12, - "programLength": 19, - "programVocabulary": 6, - "volume": 49.11428751370197, - "difficulty": 6, - "effort": 294.6857250822118, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::getValue": { - "line": 27, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::getValue" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasIncreased": { - "line": 32, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasIncreased" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__toString": { - "line": 37, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__toString" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasNotChanged": { - "line": 42, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 2, - "programLength": 3, - "programVocabulary": 3, - "volume": 4.754887502163468, - "difficulty": 0.5, - "effort": 2.377443751081734, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasNotChanged" - } - } - }, - "ignored_items": [], - "cached_at": 1759967601 -} \ No newline at end of file diff --git a/.phpcca.cache/96/964076a765aa13ec3431a60dd38c4fa2.cache b/.phpcca.cache/96/964076a765aa13ec3431a60dd38c4fa2.cache deleted file mode 100644 index 86b7982..0000000 --- a/.phpcca.cache/96/964076a765aa13ec3431a60dd38c4fa2.cache +++ /dev/null @@ -1,1322 +0,0 @@ -{ - "version": "1.0", - "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/Command\/Handler\/CognitiveMetricsReportHandler.php", - "file_mtime": 1759791861, - "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", - "analysis_result": { - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::__construct": { - "line": 26, - "lineCount": 5, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 4, - "N1": 3, - "N2": 6, - "programLength": 9, - "programVocabulary": 7, - "volume": 25.26619429851844, - "difficulty": 2.25, - "effort": 56.848937171666485, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItem": { - "line": 35, - "lineCount": 15, - "argCount": 1, - "returnCount": 3, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 6, - "N2": 13, - "programLength": 19, - "programVocabulary": 8, - "volume": 57, - "difficulty": 6.5, - "effort": 370.5, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItem" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItems": { - "line": 55, - "lineCount": 9, - "argCount": 1, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 3, - "N2": 9, - "programLength": 12, - "programVocabulary": 6, - "volume": 31.019550008653873, - "difficulty": 2.25, - "effort": 69.79398751947122, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItems" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::hasItem": { - "line": 68, - "lineCount": 6, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 5, - "n2": 3, - "N1": 6, - "N2": 7, - "programLength": 13, - "programVocabulary": 8, - "volume": 39, - "difficulty": 5.833333333333334, - "effort": 227.50000000000003, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::hasItem" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::clear": { - "line": 75, - "lineCount": 10, - "argCount": 0, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 2, - "N2": 4, - "programLength": 6, - "programVocabulary": 3, - "volume": 9.509775004326936, - "difficulty": 1, - "effort": 9.509775004326936, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::clear" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItem": { - "line": 89, - "lineCount": 10, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 4, - "N2": 6, - "programLength": 10, - "programVocabulary": 6, - "volume": 25.84962500721156, - "difficulty": 3, - "effort": 77.54887502163469, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItem" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItems": { - "line": 103, - "lineCount": 10, - "argCount": 1, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 3, - "N2": 8, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 2, - "effort": 56.86917501586544, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItems" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::save": { - "line": 117, - "lineCount": 11, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 4, - "N1": 9, - "N2": 12, - "programLength": 21, - "programVocabulary": 7, - "volume": 58.95445336320969, - "difficulty": 4.5, - "effort": 265.2950401344436, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::save" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveDeferred": { - "line": 129, - "lineCount": 6, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveDeferred" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::commit": { - "line": 136, - "lineCount": 11, - "argCount": 0, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 4, - "N2": 8, - "programLength": 12, - "programVocabulary": 5, - "volume": 27.863137138648348, - "difficulty": 2.6666666666666665, - "effort": 74.30169903639559, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::commit" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::ensureCacheDirectory": { - "line": 152, - "lineCount": 9, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 3, - "N2": 4, - "programLength": 7, - "programVocabulary": 4, - "volume": 14, - "difficulty": 2, - "effort": 28, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::ensureCacheDirectory" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getCacheFilePath": { - "line": 168, - "lineCount": 15, - "argCount": 1, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 10, - "N1": 13, - "N2": 19, - "programLength": 32, - "programVocabulary": 14, - "volume": 121.83535750584333, - "difficulty": 3.8, - "effort": 462.9743585222046, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getCacheFilePath" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::loadCacheData": { - "line": 187, - "lineCount": 14, - "argCount": 1, - "returnCount": 3, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 6, - "N2": 8, - "programLength": 14, - "programVocabulary": 6, - "volume": 36.18947501009619, - "difficulty": 4, - "effort": 144.75790004038475, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::loadCacheData" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveCacheData": { - "line": 209, - "lineCount": 21, - "argCount": 2, - "returnCount": 3, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 6, - "n2": 7, - "N1": 13, - "N2": 17, - "programLength": 30, - "programVocabulary": 13, - "volume": 111.01319154423277, - "difficulty": 7.285714285714285, - "effort": 808.810395536553, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveCacheData" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::sanitizeUtf8": { - "line": 234, - "lineCount": 25, - "argCount": 1, - "returnCount": 4, - "variableCount": 6, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 8, - "N1": 13, - "N2": 29, - "programLength": 42, - "programVocabulary": 11, - "volume": 145.29612798276648, - "difficulty": 5.4375, - "effort": 790.0476959062927, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::sanitizeUtf8" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::removeDirectory": { - "line": 260, - "lineCount": 23, - "argCount": 1, - "returnCount": 2, - "variableCount": 5, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 5, - "n2": 9, - "N1": 13, - "N2": 20, - "programLength": 33, - "programVocabulary": 14, - "volume": 125.64271242790093, - "difficulty": 5.555555555555555, - "effort": 698.0150690438941, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::removeDirectory" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::__construct": { - "line": 42, - "lineCount": 7, - "argCount": 3, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 3, - "N1": 0, - "N2": 3, - "programLength": 3, - "programVocabulary": 3, - "volume": 4.754887502163468, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::configure": { - "line": 53, - "lineCount": 57, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 15, - "N1": 9, - "N2": 16, - "programLength": 25, - "programVocabulary": 16, - "volume": 100, - "difficulty": 0.5333333333333333, - "effort": 53.333333333333336, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::configure" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::execute": { - "line": 119, - "lineCount": 43, - "argCount": 2, - "returnCount": 5, - "variableCount": 9, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 4, - "halstead": { - "n1": 7, - "n2": 14, - "N1": 31, - "N2": 45, - "programLength": 76, - "programVocabulary": 21, - "volume": 333.8161241311858, - "difficulty": 11.25, - "effort": 3755.4313964758403, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::execute" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::loadCoverageReader": { - "line": 171, - "lineCount": 32, - "argCount": 3, - "returnCount": 4, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 2, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 4, - "n2": 9, - "N1": 9, - "N2": 21, - "programLength": 30, - "programVocabulary": 13, - "volume": 111.01319154423277, - "difficulty": 4.666666666666667, - "effort": 518.0615605397529, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::loadCoverageReader" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::detectCoverageFormat": { - "line": 207, - "lineCount": 19, - "argCount": 1, - "returnCount": 4, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 9, - "volume": 47.548875021634686, - "difficulty": 2.5, - "effort": 118.87218755408671, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::detectCoverageFormat" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::coverageFileExists": { - "line": 227, - "lineCount": 20, - "argCount": 2, - "returnCount": 3, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 4, - "N2": 7, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 3.5, - "effort": 99.52105627776452, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::coverageFileExists" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::__construct": { - "line": 49, - "lineCount": 10, - "argCount": 6, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 6, - "N1": 0, - "N2": 6, - "programLength": 6, - "programVocabulary": 6, - "volume": 15.509775004326936, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::configure": { - "line": 63, - "lineCount": 76, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 20, - "N1": 13, - "N2": 20, - "programLength": 33, - "programVocabulary": 21, - "volume": 144.94647495169912, - "difficulty": 0.5, - "effort": 72.47323747584956, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::configure" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::execute": { - "line": 150, - "lineCount": 52, - "argCount": 2, - "returnCount": 5, - "variableCount": 11, - "propertyCallCount": 6, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 7, - "halstead": { - "n1": 6, - "n2": 15, - "N1": 43, - "N2": 61, - "programLength": 104, - "programVocabulary": 21, - "volume": 456.80101196899113, - "difficulty": 12.2, - "effort": 5572.972346021692, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::execute" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::parsePaths": { - "line": 209, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 4, - "N2": 8, - "programLength": 12, - "programVocabulary": 7, - "volume": 33.68825906469125, - "difficulty": 1.6, - "effort": 53.901214503506004, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::parsePaths" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleBaseLine": { - "line": 224, - "lineCount": 8, - "argCount": 2, - "returnCount": 0, - "variableCount": 3, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 5, - "N2": 11, - "programLength": 16, - "programVocabulary": 7, - "volume": 44.91767875292167, - "difficulty": 2.2, - "effort": 98.81889325642767, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleBaseLine" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleCoverageOptions": { - "line": 238, - "lineCount": 20, - "argCount": 2, - "returnCount": 3, - "variableCount": 5, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 5, - "n2": 10, - "N1": 15, - "N2": 25, - "programLength": 40, - "programVocabulary": 15, - "volume": 156.27562382434076, - "difficulty": 6.25, - "effort": 976.7226489021298, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleCoverageOptions" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::applySorting": { - "line": 264, - "lineCount": 21, - "argCount": 3, - "returnCount": 3, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 15, - "N1": 16, - "N2": 32, - "programLength": 48, - "programVocabulary": 20, - "volume": 207.45254855459342, - "difficulty": 5.333333333333333, - "effort": 1106.4135922911648, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::applySorting" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadConfiguration": { - "line": 293, - "lineCount": 10, - "argCount": 2, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 6, - "N1": 5, - "N2": 9, - "programLength": 14, - "programVocabulary": 8, - "volume": 42, - "difficulty": 1.5, - "effort": 63, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadConfiguration" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadCoverageReader": { - "line": 313, - "lineCount": 28, - "argCount": 3, - "returnCount": 4, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 2, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 10, - "N2": 18, - "programLength": 28, - "programVocabulary": 11, - "volume": 96.86408532184433, - "difficulty": 5.142857142857143, - "effort": 498.15815308377086, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadCoverageReader" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::detectCoverageFormat": { - "line": 345, - "lineCount": 19, - "argCount": 1, - "returnCount": 4, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 9, - "volume": 47.548875021634686, - "difficulty": 2.5, - "effort": 118.87218755408671, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::detectCoverageFormat" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::coverageFileExists": { - "line": 365, - "lineCount": 20, - "argCount": 2, - "returnCount": 3, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 4, - "N2": 7, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 3.5, - "effort": 99.52105627776452, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::coverageFileExists" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__construct": { - "line": 12, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__invoke": { - "line": 17, - "lineCount": 22, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 3, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 10, - "N2": 11, - "programLength": 21, - "programVocabulary": 7, - "volume": 58.95445336320969, - "difficulty": 2.2, - "effort": 129.6997973990613, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__invoke" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__construct": { - "line": 21, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__invoke": { - "line": 26, - "lineCount": 11, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 4, - "N2": 9, - "programLength": 13, - "programVocabulary": 4, - "volume": 26, - "difficulty": 4.5, - "effort": 117, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__invoke" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleSourceFilesFound": { - "line": 38, - "lineCount": 6, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 4, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 6, - "N2": 10, - "programLength": 16, - "programVocabulary": 8, - "volume": 48, - "difficulty": 5, - "effort": 240, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleSourceFilesFound" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleFileProcessed": { - "line": 45, - "lineCount": 5, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleFileProcessed" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleAllFilesProcessed": { - "line": 51, - "lineCount": 6, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 3, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 3, - "N2": 5, - "programLength": 8, - "programVocabulary": 5, - "volume": 18.575424759098897, - "difficulty": 1.6666666666666667, - "effort": 30.95904126516483, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleAllFilesProcessed" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__construct": { - "line": 20, - "lineCount": 5, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__invoke": { - "line": 26, - "lineCount": 17, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 5, - "n2": 8, - "N1": 17, - "N2": 17, - "programLength": 34, - "programVocabulary": 13, - "volume": 125.81495041679713, - "difficulty": 5.3125, - "effort": 668.3919240892347, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__invoke" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::formatBytes": { - "line": 50, - "lineCount": 12, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 7, - "n2": 13, - "N1": 10, - "N2": 22, - "programLength": 32, - "programVocabulary": 20, - "volume": 138.3016990363956, - "difficulty": 5.923076923076923, - "effort": 819.1716019848047, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::formatBytes" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::isDebugEnabled": { - "line": 66, - "lineCount": 5, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 1, - "N1": 4, - "N2": 2, - "programLength": 6, - "programVocabulary": 4, - "volume": 12, - "difficulty": 3, - "effort": 36, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::isDebugEnabled" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::__construct": { - "line": 20, - "lineCount": 6, - "argCount": 2, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 4, - "volume": 8, - "difficulty": 0.5, - "effort": 4, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::exportToFile": { - "line": 32, - "lineCount": 27, - "argCount": 3, - "returnCount": 4, - "variableCount": 2, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 1, - "n2": 6, - "N1": 6, - "N2": 19, - "programLength": 25, - "programVocabulary": 7, - "volume": 70.1838730514401, - "difficulty": 1.5833333333333333, - "effort": 111.12446566478016, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::exportToFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::hasIncompleteReportOptions": { - "line": 60, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 2, - "N1": 7, - "N2": 6, - "programLength": 13, - "programVocabulary": 6, - "volume": 33.60451250937503, - "difficulty": 6, - "effort": 201.62707505625016, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::hasIncompleteReportOptions" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::isValidReportType": { - "line": 65, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 2, - "N2": 4, - "programLength": 6, - "programVocabulary": 4, - "volume": 12, - "difficulty": 2, - "effort": 24, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::isValidReportType" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleExceptions": { - "line": 77, - "lineCount": 9, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 3, - "N2": 4, - "programLength": 7, - "programVocabulary": 5, - "volume": 16.253496664211536, - "difficulty": 1.3333333333333333, - "effort": 21.67132888561538, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleExceptions" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleInvalidReportType": { - "line": 91, - "lineCount": 11, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 5, - "N2": 8, - "programLength": 13, - "programVocabulary": 8, - "volume": 39, - "difficulty": 2.4000000000000004, - "effort": 93.60000000000001, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleInvalidReportType" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::__construct": { - "line": 15, - "lineCount": 5, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handle": { - "line": 24, - "lineCount": 27, - "argCount": 3, - "returnCount": 4, - "variableCount": 2, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "cyclomatic_complexity": { - "complexity": 4, - "risk_level": "low" - }, - "halstead": { - "n1": 1, - "n2": 6, - "N1": 6, - "N2": 19, - "programLength": 25, - "programVocabulary": 7, - "volume": 70.1838730514401, - "difficulty": 1.5833333333333333, - "effort": 111.12446566478016, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handle" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::hasIncompleteReportOptions": { - "line": 52, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 4, - "n2": 2, - "N1": 7, - "N2": 6, - "programLength": 13, - "programVocabulary": 6, - "volume": 33.60451250937503, - "difficulty": 6, - "effort": 201.62707505625016, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::hasIncompleteReportOptions" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::isValidReportType": { - "line": 57, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 1, - "n2": 5, - "N1": 1, - "N2": 6, - "programLength": 7, - "programVocabulary": 6, - "volume": 18.094737505048094, - "difficulty": 0.6, - "effort": 10.856842503028856, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::isValidReportType" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handleExceptions": { - "line": 66, - "lineCount": 9, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 3, - "N2": 4, - "programLength": 7, - "programVocabulary": 5, - "volume": 16.253496664211536, - "difficulty": 1.3333333333333333, - "effort": 21.67132888561538, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handleExceptions" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handleInvalidReporType": { - "line": 80, - "lineCount": 9, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 4, - "programLength": 6, - "programVocabulary": 5, - "volume": 13.931568569324174, - "difficulty": 1.3333333333333333, - "effort": 18.575424759098897, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handleInvalidReporType" - } - } - }, - "ignored_items": [], - "cached_at": 1759967602 -} \ No newline at end of file diff --git a/.phpcca.cache/97/97aa92a1903454f3238d0c0bc9c3669b.cache b/.phpcca.cache/97/97aa92a1903454f3238d0c0bc9c3669b.cache deleted file mode 100644 index 5357eed..0000000 --- a/.phpcca.cache/97/97aa92a1903454f3238d0c0bc9c3669b.cache +++ /dev/null @@ -1,950 +0,0 @@ -{ - "version": "1.0", - "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/Command\/EventHandler\/ProgressBarHandler.php", - "file_mtime": 1759791861, - "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", - "analysis_result": { - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::__construct": { - "line": 26, - "lineCount": 5, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 4, - "N1": 3, - "N2": 6, - "programLength": 9, - "programVocabulary": 7, - "volume": 25.26619429851844, - "difficulty": 2.25, - "effort": 56.848937171666485, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItem": { - "line": 35, - "lineCount": 15, - "argCount": 1, - "returnCount": 3, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 6, - "N2": 13, - "programLength": 19, - "programVocabulary": 8, - "volume": 57, - "difficulty": 6.5, - "effort": 370.5, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItem" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItems": { - "line": 55, - "lineCount": 9, - "argCount": 1, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 3, - "N2": 9, - "programLength": 12, - "programVocabulary": 6, - "volume": 31.019550008653873, - "difficulty": 2.25, - "effort": 69.79398751947122, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItems" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::hasItem": { - "line": 68, - "lineCount": 6, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 5, - "n2": 3, - "N1": 6, - "N2": 7, - "programLength": 13, - "programVocabulary": 8, - "volume": 39, - "difficulty": 5.833333333333334, - "effort": 227.50000000000003, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::hasItem" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::clear": { - "line": 75, - "lineCount": 10, - "argCount": 0, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 2, - "N2": 4, - "programLength": 6, - "programVocabulary": 3, - "volume": 9.509775004326936, - "difficulty": 1, - "effort": 9.509775004326936, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::clear" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItem": { - "line": 89, - "lineCount": 10, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 4, - "N2": 6, - "programLength": 10, - "programVocabulary": 6, - "volume": 25.84962500721156, - "difficulty": 3, - "effort": 77.54887502163469, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItem" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItems": { - "line": 103, - "lineCount": 10, - "argCount": 1, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 3, - "N2": 8, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 2, - "effort": 56.86917501586544, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItems" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::save": { - "line": 117, - "lineCount": 11, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 4, - "N1": 9, - "N2": 12, - "programLength": 21, - "programVocabulary": 7, - "volume": 58.95445336320969, - "difficulty": 4.5, - "effort": 265.2950401344436, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::save" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveDeferred": { - "line": 129, - "lineCount": 6, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveDeferred" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::commit": { - "line": 136, - "lineCount": 11, - "argCount": 0, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 4, - "N2": 8, - "programLength": 12, - "programVocabulary": 5, - "volume": 27.863137138648348, - "difficulty": 2.6666666666666665, - "effort": 74.30169903639559, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::commit" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::ensureCacheDirectory": { - "line": 152, - "lineCount": 9, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 3, - "N2": 4, - "programLength": 7, - "programVocabulary": 4, - "volume": 14, - "difficulty": 2, - "effort": 28, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::ensureCacheDirectory" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getCacheFilePath": { - "line": 168, - "lineCount": 15, - "argCount": 1, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 10, - "N1": 13, - "N2": 19, - "programLength": 32, - "programVocabulary": 14, - "volume": 121.83535750584333, - "difficulty": 3.8, - "effort": 462.9743585222046, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getCacheFilePath" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::loadCacheData": { - "line": 187, - "lineCount": 14, - "argCount": 1, - "returnCount": 3, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 6, - "N2": 8, - "programLength": 14, - "programVocabulary": 6, - "volume": 36.18947501009619, - "difficulty": 4, - "effort": 144.75790004038475, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::loadCacheData" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveCacheData": { - "line": 209, - "lineCount": 21, - "argCount": 2, - "returnCount": 3, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 6, - "n2": 7, - "N1": 13, - "N2": 17, - "programLength": 30, - "programVocabulary": 13, - "volume": 111.01319154423277, - "difficulty": 7.285714285714285, - "effort": 808.810395536553, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveCacheData" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::sanitizeUtf8": { - "line": 234, - "lineCount": 25, - "argCount": 1, - "returnCount": 4, - "variableCount": 6, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 8, - "N1": 13, - "N2": 29, - "programLength": 42, - "programVocabulary": 11, - "volume": 145.29612798276648, - "difficulty": 5.4375, - "effort": 790.0476959062927, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::sanitizeUtf8" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::removeDirectory": { - "line": 260, - "lineCount": 23, - "argCount": 1, - "returnCount": 2, - "variableCount": 5, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 5, - "n2": 9, - "N1": 13, - "N2": 20, - "programLength": 33, - "programVocabulary": 14, - "volume": 125.64271242790093, - "difficulty": 5.555555555555555, - "effort": 698.0150690438941, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::removeDirectory" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::__construct": { - "line": 42, - "lineCount": 7, - "argCount": 3, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 3, - "N1": 0, - "N2": 3, - "programLength": 3, - "programVocabulary": 3, - "volume": 4.754887502163468, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::configure": { - "line": 53, - "lineCount": 57, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 15, - "N1": 9, - "N2": 16, - "programLength": 25, - "programVocabulary": 16, - "volume": 100, - "difficulty": 0.5333333333333333, - "effort": 53.333333333333336, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::configure" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::execute": { - "line": 119, - "lineCount": 43, - "argCount": 2, - "returnCount": 5, - "variableCount": 9, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 4, - "halstead": { - "n1": 7, - "n2": 14, - "N1": 31, - "N2": 45, - "programLength": 76, - "programVocabulary": 21, - "volume": 333.8161241311858, - "difficulty": 11.25, - "effort": 3755.4313964758403, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::execute" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::loadCoverageReader": { - "line": 171, - "lineCount": 32, - "argCount": 3, - "returnCount": 4, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 2, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 4, - "n2": 9, - "N1": 9, - "N2": 21, - "programLength": 30, - "programVocabulary": 13, - "volume": 111.01319154423277, - "difficulty": 4.666666666666667, - "effort": 518.0615605397529, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::loadCoverageReader" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::detectCoverageFormat": { - "line": 207, - "lineCount": 19, - "argCount": 1, - "returnCount": 4, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 9, - "volume": 47.548875021634686, - "difficulty": 2.5, - "effort": 118.87218755408671, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::detectCoverageFormat" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::coverageFileExists": { - "line": 227, - "lineCount": 20, - "argCount": 2, - "returnCount": 3, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 4, - "N2": 7, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 3.5, - "effort": 99.52105627776452, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::coverageFileExists" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::__construct": { - "line": 49, - "lineCount": 10, - "argCount": 6, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 6, - "N1": 0, - "N2": 6, - "programLength": 6, - "programVocabulary": 6, - "volume": 15.509775004326936, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::configure": { - "line": 63, - "lineCount": 76, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 20, - "N1": 13, - "N2": 20, - "programLength": 33, - "programVocabulary": 21, - "volume": 144.94647495169912, - "difficulty": 0.5, - "effort": 72.47323747584956, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::configure" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::execute": { - "line": 150, - "lineCount": 52, - "argCount": 2, - "returnCount": 5, - "variableCount": 11, - "propertyCallCount": 6, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 7, - "halstead": { - "n1": 6, - "n2": 15, - "N1": 43, - "N2": 61, - "programLength": 104, - "programVocabulary": 21, - "volume": 456.80101196899113, - "difficulty": 12.2, - "effort": 5572.972346021692, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::execute" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::parsePaths": { - "line": 209, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 4, - "N2": 8, - "programLength": 12, - "programVocabulary": 7, - "volume": 33.68825906469125, - "difficulty": 1.6, - "effort": 53.901214503506004, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::parsePaths" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleBaseLine": { - "line": 224, - "lineCount": 8, - "argCount": 2, - "returnCount": 0, - "variableCount": 3, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 5, - "N2": 11, - "programLength": 16, - "programVocabulary": 7, - "volume": 44.91767875292167, - "difficulty": 2.2, - "effort": 98.81889325642767, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleBaseLine" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleCoverageOptions": { - "line": 238, - "lineCount": 20, - "argCount": 2, - "returnCount": 3, - "variableCount": 5, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 5, - "n2": 10, - "N1": 15, - "N2": 25, - "programLength": 40, - "programVocabulary": 15, - "volume": 156.27562382434076, - "difficulty": 6.25, - "effort": 976.7226489021298, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleCoverageOptions" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::applySorting": { - "line": 264, - "lineCount": 21, - "argCount": 3, - "returnCount": 3, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 15, - "N1": 16, - "N2": 32, - "programLength": 48, - "programVocabulary": 20, - "volume": 207.45254855459342, - "difficulty": 5.333333333333333, - "effort": 1106.4135922911648, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::applySorting" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadConfiguration": { - "line": 293, - "lineCount": 10, - "argCount": 2, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 6, - "N1": 5, - "N2": 9, - "programLength": 14, - "programVocabulary": 8, - "volume": 42, - "difficulty": 1.5, - "effort": 63, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadConfiguration" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadCoverageReader": { - "line": 313, - "lineCount": 28, - "argCount": 3, - "returnCount": 4, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 2, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 10, - "N2": 18, - "programLength": 28, - "programVocabulary": 11, - "volume": 96.86408532184433, - "difficulty": 5.142857142857143, - "effort": 498.15815308377086, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadCoverageReader" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::detectCoverageFormat": { - "line": 345, - "lineCount": 19, - "argCount": 1, - "returnCount": 4, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 9, - "volume": 47.548875021634686, - "difficulty": 2.5, - "effort": 118.87218755408671, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::detectCoverageFormat" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::coverageFileExists": { - "line": 365, - "lineCount": 20, - "argCount": 2, - "returnCount": 3, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 4, - "N2": 7, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 3.5, - "effort": 99.52105627776452, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::coverageFileExists" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__construct": { - "line": 12, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__invoke": { - "line": 17, - "lineCount": 22, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 3, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 10, - "N2": 11, - "programLength": 21, - "programVocabulary": 7, - "volume": 58.95445336320969, - "difficulty": 2.2, - "effort": 129.6997973990613, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__invoke" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__construct": { - "line": 21, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__invoke": { - "line": 26, - "lineCount": 11, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "cyclomatic_complexity": { - "complexity": 2, - "risk_level": "low" - }, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 4, - "N2": 9, - "programLength": 13, - "programVocabulary": 4, - "volume": 26, - "difficulty": 4.5, - "effort": 117, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__invoke" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleSourceFilesFound": { - "line": 38, - "lineCount": 6, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 4, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 6, - "N2": 10, - "programLength": 16, - "programVocabulary": 8, - "volume": 48, - "difficulty": 5, - "effort": 240, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleSourceFilesFound" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleFileProcessed": { - "line": 45, - "lineCount": 5, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleFileProcessed" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleAllFilesProcessed": { - "line": 51, - "lineCount": 6, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 3, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 3, - "N2": 5, - "programLength": 8, - "programVocabulary": 5, - "volume": 18.575424759098897, - "difficulty": 1.6666666666666667, - "effort": 30.95904126516483, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleAllFilesProcessed" - } - } - }, - "ignored_items": [], - "cached_at": 1759967601 -} \ No newline at end of file diff --git a/.phpcca.cache/9f/9f79ee702d014eb40442a807e23a6d2d.cache b/.phpcca.cache/9f/9f79ee702d014eb40442a807e23a6d2d.cache deleted file mode 100644 index 4ab1640..0000000 --- a/.phpcca.cache/9f/9f79ee702d014eb40442a807e23a6d2d.cache +++ /dev/null @@ -1,442 +0,0 @@ -{ - "version": "1.0", - "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/Cache\/FileCache.php", - "file_mtime": 1759967628, - "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", - "analysis_result": { - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::__construct": { - "line": 26, - "lineCount": 5, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 3, - "n2": 4, - "N1": 3, - "N2": 6, - "programLength": 9, - "programVocabulary": 7, - "volume": 25.26619429851844, - "difficulty": 2.25, - "effort": 56.848937171666485, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItem": { - "line": 35, - "lineCount": 15, - "argCount": 1, - "returnCount": 3, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "cyclomatic_complexity": { - "complexity": 3, - "risk_level": "low" - }, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 6, - "N2": 13, - "programLength": 19, - "programVocabulary": 8, - "volume": 57, - "difficulty": 6.5, - "effort": 370.5, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItem" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItems": { - "line": 55, - "lineCount": 9, - "argCount": 1, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 2, - "risk_level": "low" - }, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 3, - "N2": 9, - "programLength": 12, - "programVocabulary": 6, - "volume": 31.019550008653873, - "difficulty": 2.25, - "effort": 69.79398751947122, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItems" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::hasItem": { - "line": 68, - "lineCount": 6, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 5, - "n2": 3, - "N1": 6, - "N2": 7, - "programLength": 13, - "programVocabulary": 8, - "volume": 39, - "difficulty": 5.833333333333334, - "effort": 227.50000000000003, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::hasItem" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::clear": { - "line": 75, - "lineCount": 10, - "argCount": 0, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 2, - "risk_level": "low" - }, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 2, - "N2": 4, - "programLength": 6, - "programVocabulary": 3, - "volume": 9.509775004326936, - "difficulty": 1, - "effort": 9.509775004326936, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::clear" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItem": { - "line": 89, - "lineCount": 10, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "cyclomatic_complexity": { - "complexity": 2, - "risk_level": "low" - }, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 4, - "N2": 6, - "programLength": 10, - "programVocabulary": 6, - "volume": 25.84962500721156, - "difficulty": 3, - "effort": 77.54887502163469, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItem" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItems": { - "line": 103, - "lineCount": 10, - "argCount": 1, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "cyclomatic_complexity": { - "complexity": 3, - "risk_level": "low" - }, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 3, - "N2": 8, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 2, - "effort": 56.86917501586544, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItems" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::save": { - "line": 117, - "lineCount": 11, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "cyclomatic_complexity": { - "complexity": 2, - "risk_level": "low" - }, - "halstead": { - "n1": 3, - "n2": 4, - "N1": 9, - "N2": 12, - "programLength": 21, - "programVocabulary": 7, - "volume": 58.95445336320969, - "difficulty": 4.5, - "effort": 265.2950401344436, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::save" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveDeferred": { - "line": 129, - "lineCount": 6, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveDeferred" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::commit": { - "line": 136, - "lineCount": 11, - "argCount": 0, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "cyclomatic_complexity": { - "complexity": 3, - "risk_level": "low" - }, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 4, - "N2": 8, - "programLength": 12, - "programVocabulary": 5, - "volume": 27.863137138648348, - "difficulty": 2.6666666666666665, - "effort": 74.30169903639559, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::commit" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::ensureCacheDirectory": { - "line": 152, - "lineCount": 9, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "cyclomatic_complexity": { - "complexity": 2, - "risk_level": "low" - }, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 3, - "N2": 4, - "programLength": 7, - "programVocabulary": 4, - "volume": 14, - "difficulty": 2, - "effort": 28, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::ensureCacheDirectory" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getCacheFilePath": { - "line": 168, - "lineCount": 15, - "argCount": 1, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "cyclomatic_complexity": { - "complexity": 2, - "risk_level": "low" - }, - "halstead": { - "n1": 4, - "n2": 10, - "N1": 13, - "N2": 19, - "programLength": 32, - "programVocabulary": 14, - "volume": 121.83535750584333, - "difficulty": 3.8, - "effort": 462.9743585222046, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getCacheFilePath" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::loadCacheData": { - "line": 187, - "lineCount": 14, - "argCount": 1, - "returnCount": 3, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "cyclomatic_complexity": { - "complexity": 3, - "risk_level": "low" - }, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 6, - "N2": 8, - "programLength": 14, - "programVocabulary": 6, - "volume": 36.18947501009619, - "difficulty": 4, - "effort": 144.75790004038475, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::loadCacheData" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveCacheData": { - "line": 209, - "lineCount": 21, - "argCount": 2, - "returnCount": 3, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "cyclomatic_complexity": { - "complexity": 3, - "risk_level": "low" - }, - "halstead": { - "n1": 6, - "n2": 7, - "N1": 13, - "N2": 17, - "programLength": 30, - "programVocabulary": 13, - "volume": 111.01319154423277, - "difficulty": 7.285714285714285, - "effort": 808.810395536553, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveCacheData" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::sanitizeUtf8": { - "line": 234, - "lineCount": 25, - "argCount": 1, - "returnCount": 4, - "variableCount": 6, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "cyclomatic_complexity": { - "complexity": 6, - "risk_level": "medium" - }, - "halstead": { - "n1": 3, - "n2": 8, - "N1": 13, - "N2": 29, - "programLength": 42, - "programVocabulary": 11, - "volume": 145.29612798276648, - "difficulty": 5.4375, - "effort": 790.0476959062927, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::sanitizeUtf8" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::removeDirectory": { - "line": 260, - "lineCount": 23, - "argCount": 1, - "returnCount": 2, - "variableCount": 5, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "cyclomatic_complexity": { - "complexity": 5, - "risk_level": "low" - }, - "halstead": { - "n1": 5, - "n2": 9, - "N1": 13, - "N2": 20, - "programLength": 33, - "programVocabulary": 14, - "volume": 125.64271242790093, - "difficulty": 5.555555555555555, - "effort": 698.0150690438941, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::removeDirectory" - } - } - }, - "ignored_items": [], - "cached_at": 1759967650 -} \ No newline at end of file diff --git a/.phpcca.cache/a1/a168ffba4ceb9e8f5c525b84a3ab779f.cache b/.phpcca.cache/a1/a168ffba4ceb9e8f5c525b84a3ab779f.cache deleted file mode 100644 index 5d64db0..0000000 --- a/.phpcca.cache/a1/a168ffba4ceb9e8f5c525b84a3ab779f.cache +++ /dev/null @@ -1,3469 +0,0 @@ -{ - "version": "1.0", - "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/Business\/Cognitive\/CognitiveMetrics.php", - "file_mtime": 1759870485, - "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", - "analysis_result": { - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct": { - "line": 60, - "lineCount": 5, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 1, - "N1": 2, - "N2": 2, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 2, - "effort": 12.679700005769249, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices": { - "line": 66, - "lineCount": 95, - "argCount": 0, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 5, - "N1": 58, - "N2": 32, - "programLength": 90, - "programVocabulary": 9, - "volume": 285.2932501298081, - "difficulty": 12.8, - "effort": 3651.7536016615436, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap": { - "line": 162, - "lineCount": 10, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 7, - "N2": 7, - "programLength": 14, - "programVocabulary": 2, - "volume": 14, - "difficulty": 3.5, - "effort": 49, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors": { - "line": 173, - "lineCount": 12, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 3, - "N2": 1, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0.5, - "effort": 2, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus": { - "line": 186, - "lineCount": 19, - "argCount": 0, - "returnCount": 0, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 9, - "N2": 13, - "programLength": 22, - "programVocabulary": 7, - "volume": 61.76180828526729, - "difficulty": 2.6, - "effort": 160.58070154169496, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService": { - "line": 206, - "lineCount": 9, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 3, - "N2": 1, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0.5, - "effort": 2, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade": { - "line": 216, - "lineCount": 13, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 3, - "N2": 1, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0.5, - "effort": 2, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands": { - "line": 230, - "lineCount": 21, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 6, - "N2": 2, - "programLength": 8, - "programVocabulary": 2, - "volume": 8, - "difficulty": 1, - "effort": 8, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication": { - "line": 252, - "lineCount": 11, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 5, - "N2": 4, - "programLength": 9, - "programVocabulary": 4, - "volume": 18, - "difficulty": 0.6666666666666666, - "effort": 12, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run": { - "line": 264, - "lineCount": 9, - "argCount": 0, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 5, - "N2": 5, - "programLength": 10, - "programVocabulary": 4, - "volume": 20, - "difficulty": 2.5, - "effort": 50, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get": { - "line": 274, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer": { - "line": 279, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator": { - "line": 289, - "lineCount": 16, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 7, - "programLength": 8, - "programVocabulary": 4, - "volume": 16, - "difficulty": 1.1666666666666667, - "effort": 18.666666666666668, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create": { - "line": 18, - "lineCount": 7, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 4, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile": { - "line": 17, - "lineCount": 17, - "argCount": 2, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 8, - "N1": 11, - "N2": 19, - "programLength": 30, - "programVocabulary": 11, - "volume": 103.78294855911892, - "difficulty": 3.5625, - "effort": 369.72675424186116, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode": { - "line": 42, - "lineCount": 8, - "argCount": 3, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 3, - "N2": 8, - "programLength": 11, - "programVocabulary": 8, - "volume": 33, - "difficulty": 2.4000000000000004, - "effort": 79.20000000000002, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate": { - "line": 22, - "lineCount": 10, - "argCount": 2, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 6, - "N2": 13, - "programLength": 19, - "programVocabulary": 6, - "volume": 49.11428751370197, - "difficulty": 3.25, - "effort": 159.6214344195314, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending": { - "line": 37, - "lineCount": 8, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 2, - "N2": 9, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 2.25, - "effort": 63.97782189284862, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn": { - "line": 51, - "lineCount": 24, - "argCount": 2, - "returnCount": 1, - "variableCount": 6, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 15, - "N1": 17, - "N2": 46, - "programLength": 63, - "programVocabulary": 20, - "volume": 272.28146997790384, - "difficulty": 7.666666666666667, - "effort": 2087.491269830596, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses": { - "line": 81, - "lineCount": 20, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 2, - "n2": 7, - "N1": 10, - "N2": 24, - "programLength": 34, - "programVocabulary": 9, - "volume": 107.7774500490386, - "difficulty": 3.4285714285714284, - "effort": 369.52268588241805, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass": { - "line": 109, - "lineCount": 9, - "argCount": 2, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 6, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 10, - "volume": 49.82892142331043, - "difficulty": 3.3333333333333335, - "effort": 166.09640474436813, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel": { - "line": 126, - "lineCount": 16, - "argCount": 2, - "returnCount": 4, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 12, - "N1": 9, - "N2": 18, - "programLength": 27, - "programVocabulary": 15, - "volume": 105.48604608143, - "difficulty": 2.25, - "effort": 237.3436036832175, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile": { - "line": 14, - "lineCount": 6, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 2, - "N2": 5, - "programLength": 7, - "programVocabulary": 4, - "volume": 14, - "difficulty": 2.5, - "effort": 35, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable": { - "line": 24, - "lineCount": 11, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 10, - "N2": 12, - "programLength": 22, - "programVocabulary": 8, - "volume": 66, - "difficulty": 6, - "effort": 396, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create": { - "line": 21, - "lineCount": 11, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 7, - "N1": 0, - "N2": 9, - "programLength": 9, - "programVocabulary": 7, - "volume": 25.26619429851844, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes": { - "line": 38, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 6, - "N1": 0, - "N2": 6, - "programLength": 6, - "programVocabulary": 6, - "volume": 15.509775004326936, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported": { - "line": 49, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 2, - "N2": 3, - "programLength": 5, - "programVocabulary": 4, - "volume": 10, - "difficulty": 1.5, - "effort": 15, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export": { - "line": 30, - "lineCount": 23, - "argCount": 2, - "returnCount": 0, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 16, - "N1": 10, - "N2": 33, - "programLength": 43, - "programVocabulary": 20, - "volume": 185.8429080801566, - "difficulty": 4.125, - "effort": 766.601995830646, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export": { - "line": 28, - "lineCount": 8, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 6, - "volume": 36.18947501009619, - "difficulty": 2.5, - "effort": 90.47368752524048, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape": { - "line": 37, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber": { - "line": 42, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml": { - "line": 52, - "lineCount": 50, - "argCount": 1, - "returnCount": 1, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 12, - "N1": 11, - "N2": 25, - "programLength": 36, - "programVocabulary": 17, - "volume": 147.14866228501222, - "difficulty": 5.208333333333334, - "effort": 766.3992827344388, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export": { - "line": 17, - "lineCount": 13, - "argCount": 2, - "returnCount": 0, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 8, - "N1": 7, - "N2": 14, - "programLength": 21, - "programVocabulary": 12, - "volume": 75.28421251514428, - "difficulty": 3.5, - "effort": 263.49474380300495, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export": { - "line": 48, - "lineCount": 8, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 6, - "volume": 36.18947501009619, - "difficulty": 2.5, - "effort": 90.47368752524048, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown": { - "line": 61, - "lineCount": 24, - "argCount": 1, - "returnCount": 1, - "variableCount": 6, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 6, - "n2": 16, - "N1": 19, - "N2": 41, - "programLength": 60, - "programVocabulary": 22, - "volume": 267.56589711823784, - "difficulty": 7.6875, - "effort": 2056.9128340964535, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow": { - "line": 94, - "lineCount": 21, - "argCount": 3, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 7, - "n2": 18, - "N1": 16, - "N2": 39, - "programLength": 55, - "programVocabulary": 25, - "volume": 255.41209043760983, - "difficulty": 7.583333333333333, - "effort": 1936.8750191518745, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::__construct": { - "line": 26, - "lineCount": 4, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::export": { - "line": 36, - "lineCount": 10, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 8, - "volume": 45, - "difficulty": 5, - "effort": 225, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::generateSvgTreemap": { - "line": 53, - "lineCount": 20, - "argCount": 1, - "returnCount": 1, - "variableCount": 6, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 8, - "N1": 9, - "N2": 20, - "programLength": 29, - "programVocabulary": 10, - "volume": 96.3359147517335, - "difficulty": 2.5, - "effort": 240.83978687933376, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::generateSvgTreemap" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRects": { - "line": 82, - "lineCount": 10, - "argCount": 3, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 9, - "N1": 6, - "N2": 18, - "programLength": 24, - "programVocabulary": 12, - "volume": 86.03910001730775, - "difficulty": 3, - "effort": 258.1173000519232, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRects" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRect": { - "line": 100, - "lineCount": 29, - "argCount": 2, - "returnCount": 1, - "variableCount": 12, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 6, - "n2": 28, - "N1": 26, - "N2": 54, - "programLength": 80, - "programVocabulary": 34, - "volume": 406.9970273000271, - "difficulty": 5.785714285714286, - "effort": 2354.7685150930142, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRect" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::wrapSvg": { - "line": 136, - "lineCount": 21, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 2, - "N2": 8, - "programLength": 10, - "programVocabulary": 4, - "volume": 20, - "difficulty": 1.3333333333333333, - "effort": 26.666666666666664, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::wrapSvg" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::prepareItems": { - "line": 28, - "lineCount": 18, - "argCount": 1, - "returnCount": 1, - "variableCount": 7, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 12, - "N1": 9, - "N2": 30, - "programLength": 39, - "programVocabulary": 17, - "volume": 159.41105080876324, - "difficulty": 6.25, - "effort": 996.3190675547702, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::prepareItems" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findScoreRange": { - "line": 53, - "lineCount": 16, - "argCount": 1, - "returnCount": 3, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 7, - "N2": 13, - "programLength": 20, - "programVocabulary": 8, - "volume": 60, - "difficulty": 3.9000000000000004, - "effort": 234.00000000000003, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findScoreRange" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::normalizeScore": { - "line": 78, - "lineCount": 8, - "argCount": 3, - "returnCount": 2, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 8, - "volume": 45, - "difficulty": 5, - "effort": 225, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::normalizeScore" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::scoreToColor": { - "line": 93, - "lineCount": 9, - "argCount": 1, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 5, - "n2": 9, - "N1": 12, - "N2": 16, - "programLength": 28, - "programVocabulary": 14, - "volume": 106.60593781761291, - "difficulty": 4.444444444444445, - "effort": 473.80416807827964, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::scoreToColor" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::calculateTreemapLayout": { - "line": 115, - "lineCount": 23, - "argCount": 7, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 9, - "N1": 2, - "N2": 18, - "programLength": 20, - "programVocabulary": 11, - "volume": 69.18863237274594, - "difficulty": 2, - "effort": 138.37726474549189, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::calculateTreemapLayout" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::layoutTreemap": { - "line": 152, - "lineCount": 89, - "argCount": 8, - "returnCount": 3, - "variableCount": 11, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 8, - "n2": 28, - "N1": 32, - "N2": 98, - "programLength": 130, - "programVocabulary": 36, - "volume": 672.0902501875006, - "difficulty": 14, - "effort": 9409.263502625008, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::layoutTreemap" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findSplitIndex": { - "line": 249, - "lineCount": 13, - "argCount": 2, - "returnCount": 2, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 7, - "n2": 10, - "N1": 9, - "N2": 23, - "programLength": 32, - "programVocabulary": 17, - "volume": 130.79881092001085, - "difficulty": 8.049999999999999, - "effort": 1052.9304279060873, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findSplitIndex" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::__construct": { - "line": 23, - "lineCount": 18, - "argCount": 1, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 7, - "N2": 11, - "programLength": 18, - "programVocabulary": 6, - "volume": 46.529325012980806, - "difficulty": 5.5, - "effort": 255.91128757139444, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::getAllClasses": { - "line": 47, - "lineCount": 17, - "argCount": 0, - "returnCount": 2, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 6, - "N2": 12, - "programLength": 18, - "programVocabulary": 9, - "volume": 57.05865002596162, - "difficulty": 3, - "effort": 171.17595007788486, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::getAllClasses" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::withClassNode": { - "line": 73, - "lineCount": 8, - "argCount": 2, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 4, - "N2": 8, - "programLength": 12, - "programVocabulary": 8, - "volume": 36, - "difficulty": 4, - "effort": 144, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::withClassNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::findClassNode": { - "line": 85, - "lineCount": 25, - "argCount": 1, - "returnCount": 4, - "variableCount": 5, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 13, - "N2": 29, - "programLength": 42, - "programVocabulary": 11, - "volume": 145.29612798276648, - "difficulty": 8.285714285714286, - "effort": 1203.8822032857795, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::findClassNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::escapeXPathValue": { - "line": 114, - "lineCount": 16, - "argCount": 1, - "returnCount": 3, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 9, - "N1": 11, - "N2": 18, - "programLength": 29, - "programVocabulary": 13, - "volume": 107.31275182609167, - "difficulty": 4, - "effort": 429.2510073043667, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::escapeXPathValue" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getLineCoverage": { - "line": 22, - "lineCount": 18, - "argCount": 1, - "returnCount": 4, - "variableCount": 5, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 9, - "N1": 10, - "N2": 19, - "programLength": 29, - "programVocabulary": 13, - "volume": 107.31275182609167, - "difficulty": 4.222222222222222, - "effort": 453.09828548794263, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getLineCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getBranchCoverage": { - "line": 48, - "lineCount": 18, - "argCount": 1, - "returnCount": 4, - "variableCount": 5, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 9, - "N1": 10, - "N2": 19, - "programLength": 29, - "programVocabulary": 13, - "volume": 107.31275182609167, - "difficulty": 4.222222222222222, - "effort": 453.09828548794263, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getBranchCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getComplexity": { - "line": 73, - "lineCount": 13, - "argCount": 1, - "returnCount": 3, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 7, - "N2": 14, - "programLength": 21, - "programVocabulary": 11, - "volume": 72.64806399138324, - "difficulty": 4, - "effort": 290.59225596553296, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getComplexity" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getCoverageDetails": { - "line": 93, - "lineCount": 26, - "argCount": 1, - "returnCount": 3, - "variableCount": 9, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 17, - "N1": 22, - "N2": 42, - "programLength": 64, - "programVocabulary": 22, - "volume": 285.403623592787, - "difficulty": 6.176470588235294, - "effort": 1762.7870868966259, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getCoverageDetails" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getMetricsNode": { - "line": 123, - "lineCount": 12, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 6, - "N1": 7, - "N2": 13, - "programLength": 20, - "programVocabulary": 10, - "volume": 66.43856189774725, - "difficulty": 4.333333333333333, - "effort": 287.90043489023805, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getMetricsNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getFilenameForClass": { - "line": 139, - "lineCount": 9, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 5, - "N1": 4, - "N2": 9, - "programLength": 13, - "programVocabulary": 9, - "volume": 41.209025018750054, - "difficulty": 3.6, - "effort": 148.3524900675002, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getFilenameForClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodsCoverage": { - "line": 154, - "lineCount": 36, - "argCount": 1, - "returnCount": 3, - "variableCount": 8, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 13, - "N1": 12, - "N2": 30, - "programLength": 42, - "programVocabulary": 16, - "volume": 168, - "difficulty": 3.4615384615384612, - "effort": 581.5384615384614, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodsCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::calculateMethodCoverage": { - "line": 194, - "lineCount": 15, - "argCount": 2, - "returnCount": 2, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 11, - "N1": 9, - "N2": 23, - "programLength": 32, - "programVocabulary": 16, - "volume": 128, - "difficulty": 5.227272727272727, - "effort": 669.090909090909, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::calculateMethodCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodCoverageFromLines": { - "line": 215, - "lineCount": 36, - "argCount": 2, - "returnCount": 1, - "variableCount": 7, - "propertyCallCount": 0, - "ifNestingLevel": 2, - "elseCount": 0, - "ifCount": 5, - "halstead": { - "n1": 2, - "n2": 14, - "N1": 12, - "N2": 35, - "programLength": 47, - "programVocabulary": 16, - "volume": 188, - "difficulty": 2.5, - "effort": 470, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodCoverageFromLines" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStart": { - "line": 252, - "lineCount": 4, - "argCount": 3, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 3, - "N2": 7, - "programLength": 10, - "programVocabulary": 6, - "volume": 25.84962500721156, - "difficulty": 1.75, - "effort": 45.23684376262023, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStart" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodEnd": { - "line": 257, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 5, - "programLength": 7, - "programVocabulary": 5, - "volume": 16.253496664211536, - "difficulty": 1.6666666666666667, - "effort": 27.089161107019226, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodEnd" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStatement": { - "line": 262, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 5, - "programLength": 7, - "programVocabulary": 5, - "volume": 16.253496664211536, - "difficulty": 1.6666666666666667, - "effort": 27.089161107019226, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStatement" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isStatementCovered": { - "line": 267, - "lineCount": 5, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 4, - "N1": 3, - "N2": 6, - "programLength": 9, - "programVocabulary": 7, - "volume": 25.26619429851844, - "difficulty": 2.25, - "effort": 56.848937171666485, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isStatementCovered" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getLineCoverage": { - "line": 20, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 9, - "volume": 44.37895002019237, - "difficulty": 2.5, - "effort": 110.94737505048093, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getLineCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getBranchCoverage": { - "line": 34, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 9, - "volume": 44.37895002019237, - "difficulty": 2.5, - "effort": 110.94737505048093, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getBranchCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getComplexity": { - "line": 48, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 9, - "volume": 44.37895002019237, - "difficulty": 2.5, - "effort": 110.94737505048093, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getComplexity" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getCoverageDetails": { - "line": 62, - "lineCount": 13, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 8, - "N1": 7, - "N2": 16, - "programLength": 23, - "programVocabulary": 9, - "volume": 72.90827503317318, - "difficulty": 1, - "effort": 72.90827503317318, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getCoverageDetails" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::extractMethodsCoverage": { - "line": 81, - "lineCount": 23, - "argCount": 1, - "returnCount": 2, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 11, - "N1": 10, - "N2": 23, - "programLength": 33, - "programVocabulary": 14, - "volume": 125.64271242790093, - "difficulty": 3.1363636363636362, - "effort": 394.061234432962, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::extractMethodsCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CodeCoverageFactory::createFromName": { - "line": 14, - "lineCount": 8, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 4, - "N1": 1, - "N2": 8, - "programLength": 9, - "programVocabulary": 5, - "volume": 20.89735285398626, - "difficulty": 1, - "effort": 20.89735285398626, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CodeCoverageFactory::createFromName" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::__construct": { - "line": 28, - "lineCount": 15, - "argCount": 6, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 6, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 7, - "N1": 6, - "N2": 18, - "programLength": 24, - "programVocabulary": 8, - "volume": 72, - "difficulty": 1.2857142857142858, - "effort": 92.57142857142858, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getName": { - "line": 44, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getName" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getFilename": { - "line": 49, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getFilename" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getLineRate": { - "line": 54, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getLineRate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getBranchRate": { - "line": 59, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getBranchRate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getComplexity": { - "line": 64, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getComplexity" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getMethods": { - "line": 72, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getMethods" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::__construct": { - "line": 17, - "lineCount": 11, - "argCount": 4, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 4, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 5, - "N1": 4, - "N2": 12, - "programLength": 16, - "programVocabulary": 6, - "volume": 41.3594000115385, - "difficulty": 1.2, - "effort": 49.631280013846194, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getName": { - "line": 29, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getName" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getLineRate": { - "line": 34, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getLineRate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getBranchRate": { - "line": 39, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getBranchRate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getComplexity": { - "line": 44, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getComplexity" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::calculateDeltas": { - "line": 19, - "lineCount": 14, - "argCount": 2, - "returnCount": 0, - "variableCount": 6, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 9, - "N1": 4, - "N2": 18, - "programLength": 22, - "programVocabulary": 11, - "volume": 76.10749561002054, - "difficulty": 2, - "effort": 152.21499122004107, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::calculateDeltas" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::loadBaseline": { - "line": 41, - "lineCount": 13, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 5, - "N2": 9, - "programLength": 14, - "programVocabulary": 8, - "volume": 42, - "difficulty": 2.7, - "effort": 113.4, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::loadBaseline" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::__construct": { - "line": 72, - "lineCount": 21, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 6, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "cyclomatic_complexity": { - "complexity": 3, - "risk_level": "low" - }, - "halstead": { - "n1": 3, - "n2": 9, - "N1": 12, - "N2": 34, - "programLength": 46, - "programVocabulary": 12, - "volume": 164.90827503317317, - "difficulty": 5.666666666666666, - "effort": 934.4802251879812, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setRequiredMetricProperties": { - "line": 98, - "lineCount": 30, - "argCount": 1, - "returnCount": 0, - "variableCount": 6, - "propertyCallCount": 9, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "cyclomatic_complexity": { - "complexity": 2, - "risk_level": "low" - }, - "halstead": { - "n1": 3, - "n2": 21, - "N1": 21, - "N2": 51, - "programLength": 72, - "programVocabulary": 24, - "volume": 330.1173000519232, - "difficulty": 3.6428571428571423, - "effort": 1202.570164474863, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setRequiredMetricProperties" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setOptionalMetricProperties": { - "line": 133, - "lineCount": 12, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 8, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 2, - "n2": 11, - "N1": 16, - "N2": 33, - "programLength": 49, - "programVocabulary": 13, - "volume": 181.32154618891352, - "difficulty": 3, - "effort": 543.9646385667405, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setOptionalMetricProperties" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setTimesChanged": { - "line": 146, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setTimesChanged" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertSame": { - "line": 151, - "lineCount": 14, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "cyclomatic_complexity": { - "complexity": 2, - "risk_level": "low" - }, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 6, - "N2": 8, - "programLength": 14, - "programVocabulary": 5, - "volume": 32.50699332842307, - "difficulty": 2.6666666666666665, - "effort": 86.68531554246152, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertSame" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::calculateDeltas": { - "line": 169, - "lineCount": 13, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 16, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 17, - "N2": 27, - "programLength": 44, - "programVocabulary": 4, - "volume": 88, - "difficulty": 13.5, - "effort": 1188, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::calculateDeltas" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::fromArray": { - "line": 187, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::fromArray" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertArrayKeyIsPresent": { - "line": 197, - "lineCount": 6, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "cyclomatic_complexity": { - "complexity": 2, - "risk_level": "low" - }, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 5, - "programLength": 5, - "programVocabulary": 2, - "volume": 5, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertArrayKeyIsPresent" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getClass": { - "line": 204, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getMethod": { - "line": 209, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getMethod" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCount": { - "line": 214, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCount": { - "line": 219, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCount": { - "line": 224, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCount": { - "line": 229, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCount": { - "line": 234, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCount": { - "line": 239, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevel": { - "line": 244, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevel" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCount": { - "line": 249, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeight": { - "line": 254, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setLineCountWeight": { - "line": 259, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setLineCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeight": { - "line": 264, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setArgCountWeight": { - "line": 269, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setArgCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeight": { - "line": 274, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setReturnCountWeight": { - "line": 279, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setReturnCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeight": { - "line": 284, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setVariableCountWeight": { - "line": 289, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setVariableCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeight": { - "line": 294, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setPropertyCallCountWeight": { - "line": 299, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setPropertyCallCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeight": { - "line": 304, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfCountWeight": { - "line": 309, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeight": { - "line": 314, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfNestingLevelWeight": { - "line": 319, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfNestingLevelWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeight": { - "line": 324, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setElseCountWeight": { - "line": 329, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setElseCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setScore": { - "line": 334, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setScore" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getScore": { - "line": 339, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getScore" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setCoverage": { - "line": 344, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCoverage": { - "line": 349, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeightDelta": { - "line": 354, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeightDelta": { - "line": 359, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeightDelta": { - "line": 364, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeightDelta": { - "line": 369, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeightDelta": { - "line": 374, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeightDelta": { - "line": 379, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeightDelta": { - "line": 384, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeightDelta": { - "line": 389, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getTimesChanged": { - "line": 394, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 2, - "programLength": 3, - "programVocabulary": 3, - "volume": 4.754887502163468, - "difficulty": 0.5, - "effort": 2.377443751081734, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getTimesChanged" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getFileName": { - "line": 399, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getFileName" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLine": { - "line": 404, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLine" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::equals": { - "line": 409, - "lineCount": 5, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 3, - "n2": 2, - "N1": 5, - "N2": 5, - "programLength": 10, - "programVocabulary": 5, - "volume": 23.21928094887362, - "difficulty": 3.75, - "effort": 87.07230355827608, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::equals" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::toArray": { - "line": 418, - "lineCount": 34, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 29, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 0, - "n2": 30, - "N1": 0, - "N2": 58, - "programLength": 58, - "programVocabulary": 30, - "volume": 284.5996545452941, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::toArray" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::jsonSerialize": { - "line": 456, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::jsonSerialize" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getHalstead": { - "line": 464, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getHalstead" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCyclomatic": { - "line": 472, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCyclomatic" - } - } - }, - "ignored_items": [], - "cached_at": 1759967601 -} \ No newline at end of file diff --git a/.phpcca.cache/a2/a280499ad110a86fd31ed7e3b54e1ef6.cache b/.phpcca.cache/a2/a280499ad110a86fd31ed7e3b54e1ef6.cache deleted file mode 100644 index 29f774b..0000000 --- a/.phpcca.cache/a2/a280499ad110a86fd31ed7e3b54e1ef6.cache +++ /dev/null @@ -1,4407 +0,0 @@ -{ - "version": "1.0", - "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/Business\/Cognitive\/Exporter\/JsonExporter.php", - "file_mtime": 1759793044, - "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", - "analysis_result": { - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct": { - "line": 60, - "lineCount": 5, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 1, - "N1": 2, - "N2": 2, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 2, - "effort": 12.679700005769249, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices": { - "line": 66, - "lineCount": 95, - "argCount": 0, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 5, - "N1": 58, - "N2": 32, - "programLength": 90, - "programVocabulary": 9, - "volume": 285.2932501298081, - "difficulty": 12.8, - "effort": 3651.7536016615436, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap": { - "line": 162, - "lineCount": 10, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 7, - "N2": 7, - "programLength": 14, - "programVocabulary": 2, - "volume": 14, - "difficulty": 3.5, - "effort": 49, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors": { - "line": 173, - "lineCount": 12, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 3, - "N2": 1, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0.5, - "effort": 2, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus": { - "line": 186, - "lineCount": 19, - "argCount": 0, - "returnCount": 0, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 9, - "N2": 13, - "programLength": 22, - "programVocabulary": 7, - "volume": 61.76180828526729, - "difficulty": 2.6, - "effort": 160.58070154169496, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService": { - "line": 206, - "lineCount": 9, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 3, - "N2": 1, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0.5, - "effort": 2, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade": { - "line": 216, - "lineCount": 13, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 3, - "N2": 1, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0.5, - "effort": 2, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands": { - "line": 230, - "lineCount": 21, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 6, - "N2": 2, - "programLength": 8, - "programVocabulary": 2, - "volume": 8, - "difficulty": 1, - "effort": 8, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication": { - "line": 252, - "lineCount": 11, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 5, - "N2": 4, - "programLength": 9, - "programVocabulary": 4, - "volume": 18, - "difficulty": 0.6666666666666666, - "effort": 12, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run": { - "line": 264, - "lineCount": 9, - "argCount": 0, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 5, - "N2": 5, - "programLength": 10, - "programVocabulary": 4, - "volume": 20, - "difficulty": 2.5, - "effort": 50, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get": { - "line": 274, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer": { - "line": 279, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator": { - "line": 289, - "lineCount": 16, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 7, - "programLength": 8, - "programVocabulary": 4, - "volume": 16, - "difficulty": 1.1666666666666667, - "effort": 18.666666666666668, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create": { - "line": 18, - "lineCount": 7, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 4, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile": { - "line": 17, - "lineCount": 17, - "argCount": 2, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 8, - "N1": 11, - "N2": 19, - "programLength": 30, - "programVocabulary": 11, - "volume": 103.78294855911892, - "difficulty": 3.5625, - "effort": 369.72675424186116, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode": { - "line": 42, - "lineCount": 8, - "argCount": 3, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 3, - "N2": 8, - "programLength": 11, - "programVocabulary": 8, - "volume": 33, - "difficulty": 2.4000000000000004, - "effort": 79.20000000000002, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate": { - "line": 22, - "lineCount": 10, - "argCount": 2, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 6, - "N2": 13, - "programLength": 19, - "programVocabulary": 6, - "volume": 49.11428751370197, - "difficulty": 3.25, - "effort": 159.6214344195314, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending": { - "line": 37, - "lineCount": 8, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 2, - "N2": 9, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 2.25, - "effort": 63.97782189284862, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn": { - "line": 51, - "lineCount": 24, - "argCount": 2, - "returnCount": 1, - "variableCount": 6, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 15, - "N1": 17, - "N2": 46, - "programLength": 63, - "programVocabulary": 20, - "volume": 272.28146997790384, - "difficulty": 7.666666666666667, - "effort": 2087.491269830596, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses": { - "line": 81, - "lineCount": 20, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 2, - "n2": 7, - "N1": 10, - "N2": 24, - "programLength": 34, - "programVocabulary": 9, - "volume": 107.7774500490386, - "difficulty": 3.4285714285714284, - "effort": 369.52268588241805, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass": { - "line": 109, - "lineCount": 9, - "argCount": 2, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 6, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 10, - "volume": 49.82892142331043, - "difficulty": 3.3333333333333335, - "effort": 166.09640474436813, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel": { - "line": 126, - "lineCount": 16, - "argCount": 2, - "returnCount": 4, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 12, - "N1": 9, - "N2": 18, - "programLength": 27, - "programVocabulary": 15, - "volume": 105.48604608143, - "difficulty": 2.25, - "effort": 237.3436036832175, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile": { - "line": 14, - "lineCount": 6, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 2, - "N2": 5, - "programLength": 7, - "programVocabulary": 4, - "volume": 14, - "difficulty": 2.5, - "effort": 35, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable": { - "line": 24, - "lineCount": 11, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 10, - "N2": 12, - "programLength": 22, - "programVocabulary": 8, - "volume": 66, - "difficulty": 6, - "effort": 396, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create": { - "line": 21, - "lineCount": 11, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 7, - "N1": 0, - "N2": 9, - "programLength": 9, - "programVocabulary": 7, - "volume": 25.26619429851844, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes": { - "line": 38, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 6, - "N1": 0, - "N2": 6, - "programLength": 6, - "programVocabulary": 6, - "volume": 15.509775004326936, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported": { - "line": 49, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 2, - "N2": 3, - "programLength": 5, - "programVocabulary": 4, - "volume": 10, - "difficulty": 1.5, - "effort": 15, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export": { - "line": 30, - "lineCount": 23, - "argCount": 2, - "returnCount": 0, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 16, - "N1": 10, - "N2": 33, - "programLength": 43, - "programVocabulary": 20, - "volume": 185.8429080801566, - "difficulty": 4.125, - "effort": 766.601995830646, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export": { - "line": 28, - "lineCount": 8, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 6, - "volume": 36.18947501009619, - "difficulty": 2.5, - "effort": 90.47368752524048, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape": { - "line": 37, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber": { - "line": 42, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml": { - "line": 52, - "lineCount": 50, - "argCount": 1, - "returnCount": 1, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 12, - "N1": 11, - "N2": 25, - "programLength": 36, - "programVocabulary": 17, - "volume": 147.14866228501222, - "difficulty": 5.208333333333334, - "effort": 766.3992827344388, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export": { - "line": 17, - "lineCount": 13, - "argCount": 2, - "returnCount": 0, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 8, - "N1": 7, - "N2": 14, - "programLength": 21, - "programVocabulary": 12, - "volume": 75.28421251514428, - "difficulty": 3.5, - "effort": 263.49474380300495, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export": { - "line": 48, - "lineCount": 8, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 6, - "volume": 36.18947501009619, - "difficulty": 2.5, - "effort": 90.47368752524048, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown": { - "line": 61, - "lineCount": 24, - "argCount": 1, - "returnCount": 1, - "variableCount": 6, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 6, - "n2": 16, - "N1": 19, - "N2": 41, - "programLength": 60, - "programVocabulary": 22, - "volume": 267.56589711823784, - "difficulty": 7.6875, - "effort": 2056.9128340964535, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow": { - "line": 94, - "lineCount": 21, - "argCount": 3, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 7, - "n2": 18, - "N1": 16, - "N2": 39, - "programLength": 55, - "programVocabulary": 25, - "volume": 255.41209043760983, - "difficulty": 7.583333333333333, - "effort": 1936.8750191518745, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::__construct": { - "line": 26, - "lineCount": 4, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::export": { - "line": 36, - "lineCount": 10, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 8, - "volume": 45, - "difficulty": 5, - "effort": 225, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::generateSvgTreemap": { - "line": 53, - "lineCount": 20, - "argCount": 1, - "returnCount": 1, - "variableCount": 6, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 8, - "N1": 9, - "N2": 20, - "programLength": 29, - "programVocabulary": 10, - "volume": 96.3359147517335, - "difficulty": 2.5, - "effort": 240.83978687933376, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::generateSvgTreemap" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRects": { - "line": 82, - "lineCount": 10, - "argCount": 3, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 9, - "N1": 6, - "N2": 18, - "programLength": 24, - "programVocabulary": 12, - "volume": 86.03910001730775, - "difficulty": 3, - "effort": 258.1173000519232, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRects" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRect": { - "line": 100, - "lineCount": 29, - "argCount": 2, - "returnCount": 1, - "variableCount": 12, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 6, - "n2": 28, - "N1": 26, - "N2": 54, - "programLength": 80, - "programVocabulary": 34, - "volume": 406.9970273000271, - "difficulty": 5.785714285714286, - "effort": 2354.7685150930142, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRect" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::wrapSvg": { - "line": 136, - "lineCount": 21, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 2, - "N2": 8, - "programLength": 10, - "programVocabulary": 4, - "volume": 20, - "difficulty": 1.3333333333333333, - "effort": 26.666666666666664, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::wrapSvg" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::prepareItems": { - "line": 28, - "lineCount": 18, - "argCount": 1, - "returnCount": 1, - "variableCount": 7, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 12, - "N1": 9, - "N2": 30, - "programLength": 39, - "programVocabulary": 17, - "volume": 159.41105080876324, - "difficulty": 6.25, - "effort": 996.3190675547702, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::prepareItems" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findScoreRange": { - "line": 53, - "lineCount": 16, - "argCount": 1, - "returnCount": 3, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 7, - "N2": 13, - "programLength": 20, - "programVocabulary": 8, - "volume": 60, - "difficulty": 3.9000000000000004, - "effort": 234.00000000000003, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findScoreRange" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::normalizeScore": { - "line": 78, - "lineCount": 8, - "argCount": 3, - "returnCount": 2, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 8, - "volume": 45, - "difficulty": 5, - "effort": 225, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::normalizeScore" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::scoreToColor": { - "line": 93, - "lineCount": 9, - "argCount": 1, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 5, - "n2": 9, - "N1": 12, - "N2": 16, - "programLength": 28, - "programVocabulary": 14, - "volume": 106.60593781761291, - "difficulty": 4.444444444444445, - "effort": 473.80416807827964, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::scoreToColor" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::calculateTreemapLayout": { - "line": 115, - "lineCount": 23, - "argCount": 7, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 9, - "N1": 2, - "N2": 18, - "programLength": 20, - "programVocabulary": 11, - "volume": 69.18863237274594, - "difficulty": 2, - "effort": 138.37726474549189, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::calculateTreemapLayout" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::layoutTreemap": { - "line": 152, - "lineCount": 89, - "argCount": 8, - "returnCount": 3, - "variableCount": 11, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 8, - "n2": 28, - "N1": 32, - "N2": 98, - "programLength": 130, - "programVocabulary": 36, - "volume": 672.0902501875006, - "difficulty": 14, - "effort": 9409.263502625008, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::layoutTreemap" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findSplitIndex": { - "line": 249, - "lineCount": 13, - "argCount": 2, - "returnCount": 2, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 7, - "n2": 10, - "N1": 9, - "N2": 23, - "programLength": 32, - "programVocabulary": 17, - "volume": 130.79881092001085, - "difficulty": 8.049999999999999, - "effort": 1052.9304279060873, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findSplitIndex" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::__construct": { - "line": 23, - "lineCount": 18, - "argCount": 1, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 7, - "N2": 11, - "programLength": 18, - "programVocabulary": 6, - "volume": 46.529325012980806, - "difficulty": 5.5, - "effort": 255.91128757139444, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::getAllClasses": { - "line": 47, - "lineCount": 17, - "argCount": 0, - "returnCount": 2, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 6, - "N2": 12, - "programLength": 18, - "programVocabulary": 9, - "volume": 57.05865002596162, - "difficulty": 3, - "effort": 171.17595007788486, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::getAllClasses" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::withClassNode": { - "line": 73, - "lineCount": 8, - "argCount": 2, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 4, - "N2": 8, - "programLength": 12, - "programVocabulary": 8, - "volume": 36, - "difficulty": 4, - "effort": 144, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::withClassNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::findClassNode": { - "line": 85, - "lineCount": 25, - "argCount": 1, - "returnCount": 4, - "variableCount": 5, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 13, - "N2": 29, - "programLength": 42, - "programVocabulary": 11, - "volume": 145.29612798276648, - "difficulty": 8.285714285714286, - "effort": 1203.8822032857795, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::findClassNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::escapeXPathValue": { - "line": 114, - "lineCount": 16, - "argCount": 1, - "returnCount": 3, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 9, - "N1": 11, - "N2": 18, - "programLength": 29, - "programVocabulary": 13, - "volume": 107.31275182609167, - "difficulty": 4, - "effort": 429.2510073043667, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::escapeXPathValue" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getLineCoverage": { - "line": 22, - "lineCount": 18, - "argCount": 1, - "returnCount": 4, - "variableCount": 5, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 9, - "N1": 10, - "N2": 19, - "programLength": 29, - "programVocabulary": 13, - "volume": 107.31275182609167, - "difficulty": 4.222222222222222, - "effort": 453.09828548794263, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getLineCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getBranchCoverage": { - "line": 48, - "lineCount": 18, - "argCount": 1, - "returnCount": 4, - "variableCount": 5, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 9, - "N1": 10, - "N2": 19, - "programLength": 29, - "programVocabulary": 13, - "volume": 107.31275182609167, - "difficulty": 4.222222222222222, - "effort": 453.09828548794263, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getBranchCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getComplexity": { - "line": 73, - "lineCount": 13, - "argCount": 1, - "returnCount": 3, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 7, - "N2": 14, - "programLength": 21, - "programVocabulary": 11, - "volume": 72.64806399138324, - "difficulty": 4, - "effort": 290.59225596553296, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getComplexity" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getCoverageDetails": { - "line": 93, - "lineCount": 26, - "argCount": 1, - "returnCount": 3, - "variableCount": 9, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 17, - "N1": 22, - "N2": 42, - "programLength": 64, - "programVocabulary": 22, - "volume": 285.403623592787, - "difficulty": 6.176470588235294, - "effort": 1762.7870868966259, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getCoverageDetails" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getMetricsNode": { - "line": 123, - "lineCount": 12, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 6, - "N1": 7, - "N2": 13, - "programLength": 20, - "programVocabulary": 10, - "volume": 66.43856189774725, - "difficulty": 4.333333333333333, - "effort": 287.90043489023805, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getMetricsNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getFilenameForClass": { - "line": 139, - "lineCount": 9, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 5, - "N1": 4, - "N2": 9, - "programLength": 13, - "programVocabulary": 9, - "volume": 41.209025018750054, - "difficulty": 3.6, - "effort": 148.3524900675002, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getFilenameForClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodsCoverage": { - "line": 154, - "lineCount": 36, - "argCount": 1, - "returnCount": 3, - "variableCount": 8, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 13, - "N1": 12, - "N2": 30, - "programLength": 42, - "programVocabulary": 16, - "volume": 168, - "difficulty": 3.4615384615384612, - "effort": 581.5384615384614, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodsCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::calculateMethodCoverage": { - "line": 194, - "lineCount": 15, - "argCount": 2, - "returnCount": 2, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 11, - "N1": 9, - "N2": 23, - "programLength": 32, - "programVocabulary": 16, - "volume": 128, - "difficulty": 5.227272727272727, - "effort": 669.090909090909, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::calculateMethodCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodCoverageFromLines": { - "line": 215, - "lineCount": 36, - "argCount": 2, - "returnCount": 1, - "variableCount": 7, - "propertyCallCount": 0, - "ifNestingLevel": 2, - "elseCount": 0, - "ifCount": 5, - "halstead": { - "n1": 2, - "n2": 14, - "N1": 12, - "N2": 35, - "programLength": 47, - "programVocabulary": 16, - "volume": 188, - "difficulty": 2.5, - "effort": 470, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodCoverageFromLines" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStart": { - "line": 252, - "lineCount": 4, - "argCount": 3, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 3, - "N2": 7, - "programLength": 10, - "programVocabulary": 6, - "volume": 25.84962500721156, - "difficulty": 1.75, - "effort": 45.23684376262023, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStart" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodEnd": { - "line": 257, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 5, - "programLength": 7, - "programVocabulary": 5, - "volume": 16.253496664211536, - "difficulty": 1.6666666666666667, - "effort": 27.089161107019226, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodEnd" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStatement": { - "line": 262, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 5, - "programLength": 7, - "programVocabulary": 5, - "volume": 16.253496664211536, - "difficulty": 1.6666666666666667, - "effort": 27.089161107019226, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStatement" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isStatementCovered": { - "line": 267, - "lineCount": 5, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 4, - "N1": 3, - "N2": 6, - "programLength": 9, - "programVocabulary": 7, - "volume": 25.26619429851844, - "difficulty": 2.25, - "effort": 56.848937171666485, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isStatementCovered" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getLineCoverage": { - "line": 20, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 9, - "volume": 44.37895002019237, - "difficulty": 2.5, - "effort": 110.94737505048093, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getLineCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getBranchCoverage": { - "line": 34, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 9, - "volume": 44.37895002019237, - "difficulty": 2.5, - "effort": 110.94737505048093, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getBranchCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getComplexity": { - "line": 48, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 9, - "volume": 44.37895002019237, - "difficulty": 2.5, - "effort": 110.94737505048093, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getComplexity" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getCoverageDetails": { - "line": 62, - "lineCount": 13, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 8, - "N1": 7, - "N2": 16, - "programLength": 23, - "programVocabulary": 9, - "volume": 72.90827503317318, - "difficulty": 1, - "effort": 72.90827503317318, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getCoverageDetails" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::extractMethodsCoverage": { - "line": 81, - "lineCount": 23, - "argCount": 1, - "returnCount": 2, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 11, - "N1": 10, - "N2": 23, - "programLength": 33, - "programVocabulary": 14, - "volume": 125.64271242790093, - "difficulty": 3.1363636363636362, - "effort": 394.061234432962, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::extractMethodsCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CodeCoverageFactory::createFromName": { - "line": 14, - "lineCount": 8, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 4, - "N1": 1, - "N2": 8, - "programLength": 9, - "programVocabulary": 5, - "volume": 20.89735285398626, - "difficulty": 1, - "effort": 20.89735285398626, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CodeCoverageFactory::createFromName" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::__construct": { - "line": 28, - "lineCount": 15, - "argCount": 6, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 6, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 7, - "N1": 6, - "N2": 18, - "programLength": 24, - "programVocabulary": 8, - "volume": 72, - "difficulty": 1.2857142857142858, - "effort": 92.57142857142858, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getName": { - "line": 44, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getName" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getFilename": { - "line": 49, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getFilename" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getLineRate": { - "line": 54, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getLineRate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getBranchRate": { - "line": 59, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getBranchRate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getComplexity": { - "line": 64, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getComplexity" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getMethods": { - "line": 72, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getMethods" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::__construct": { - "line": 17, - "lineCount": 11, - "argCount": 4, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 4, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 5, - "N1": 4, - "N2": 12, - "programLength": 16, - "programVocabulary": 6, - "volume": 41.3594000115385, - "difficulty": 1.2, - "effort": 49.631280013846194, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getName": { - "line": 29, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getName" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getLineRate": { - "line": 34, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getLineRate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getBranchRate": { - "line": 39, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getBranchRate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getComplexity": { - "line": 44, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getComplexity" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::calculateDeltas": { - "line": 19, - "lineCount": 14, - "argCount": 2, - "returnCount": 0, - "variableCount": 6, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 9, - "N1": 4, - "N2": 18, - "programLength": 22, - "programVocabulary": 11, - "volume": 76.10749561002054, - "difficulty": 2, - "effort": 152.21499122004107, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::calculateDeltas" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::loadBaseline": { - "line": 41, - "lineCount": 13, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 5, - "N2": 9, - "programLength": 14, - "programVocabulary": 8, - "volume": 42, - "difficulty": 2.7, - "effort": 113.4, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::loadBaseline" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::__construct": { - "line": 72, - "lineCount": 21, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 6, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 9, - "N1": 12, - "N2": 34, - "programLength": 46, - "programVocabulary": 12, - "volume": 164.90827503317317, - "difficulty": 5.666666666666666, - "effort": 934.4802251879812, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setRequiredMetricProperties": { - "line": 98, - "lineCount": 30, - "argCount": 1, - "returnCount": 0, - "variableCount": 6, - "propertyCallCount": 9, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 21, - "N1": 21, - "N2": 51, - "programLength": 72, - "programVocabulary": 24, - "volume": 330.1173000519232, - "difficulty": 3.6428571428571423, - "effort": 1202.570164474863, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setRequiredMetricProperties" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setOptionalMetricProperties": { - "line": 133, - "lineCount": 12, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 8, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 11, - "N1": 16, - "N2": 33, - "programLength": 49, - "programVocabulary": 13, - "volume": 181.32154618891352, - "difficulty": 3, - "effort": 543.9646385667405, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setOptionalMetricProperties" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setTimesChanged": { - "line": 146, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setTimesChanged" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertSame": { - "line": 151, - "lineCount": 14, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 6, - "N2": 8, - "programLength": 14, - "programVocabulary": 5, - "volume": 32.50699332842307, - "difficulty": 2.6666666666666665, - "effort": 86.68531554246152, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertSame" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::calculateDeltas": { - "line": 169, - "lineCount": 13, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 16, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 17, - "N2": 27, - "programLength": 44, - "programVocabulary": 4, - "volume": 88, - "difficulty": 13.5, - "effort": 1188, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::calculateDeltas" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::fromArray": { - "line": 187, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::fromArray" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertArrayKeyIsPresent": { - "line": 197, - "lineCount": 6, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 5, - "programLength": 5, - "programVocabulary": 2, - "volume": 5, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertArrayKeyIsPresent" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getClass": { - "line": 204, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getMethod": { - "line": 209, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getMethod" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCount": { - "line": 214, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCount": { - "line": 219, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCount": { - "line": 224, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCount": { - "line": 229, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCount": { - "line": 234, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCount": { - "line": 239, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevel": { - "line": 244, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevel" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCount": { - "line": 249, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeight": { - "line": 254, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setLineCountWeight": { - "line": 259, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setLineCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeight": { - "line": 264, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setArgCountWeight": { - "line": 269, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setArgCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeight": { - "line": 274, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setReturnCountWeight": { - "line": 279, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setReturnCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeight": { - "line": 284, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setVariableCountWeight": { - "line": 289, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setVariableCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeight": { - "line": 294, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setPropertyCallCountWeight": { - "line": 299, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setPropertyCallCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeight": { - "line": 304, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfCountWeight": { - "line": 309, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeight": { - "line": 314, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfNestingLevelWeight": { - "line": 319, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfNestingLevelWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeight": { - "line": 324, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setElseCountWeight": { - "line": 329, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setElseCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setScore": { - "line": 334, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setScore" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getScore": { - "line": 339, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getScore" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setCoverage": { - "line": 344, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCoverage": { - "line": 349, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeightDelta": { - "line": 354, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeightDelta": { - "line": 359, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeightDelta": { - "line": 364, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeightDelta": { - "line": 369, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeightDelta": { - "line": 374, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeightDelta": { - "line": 379, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeightDelta": { - "line": 384, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeightDelta": { - "line": 389, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getTimesChanged": { - "line": 394, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 2, - "programLength": 3, - "programVocabulary": 3, - "volume": 4.754887502163468, - "difficulty": 0.5, - "effort": 2.377443751081734, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getTimesChanged" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getFileName": { - "line": 399, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getFileName" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLine": { - "line": 404, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLine" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::equals": { - "line": 409, - "lineCount": 5, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 2, - "N1": 5, - "N2": 5, - "programLength": 10, - "programVocabulary": 5, - "volume": 23.21928094887362, - "difficulty": 3.75, - "effort": 87.07230355827608, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::equals" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::toArray": { - "line": 418, - "lineCount": 34, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 29, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 30, - "N1": 0, - "N2": 58, - "programLength": 58, - "programVocabulary": 30, - "volume": 284.5996545452941, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::toArray" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::jsonSerialize": { - "line": 456, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::jsonSerialize" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getHalstead": { - "line": 464, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getHalstead" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCyclomatic": { - "line": 472, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCyclomatic" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::add": { - "line": 30, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 5, - "N2": 6, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 3, - "effort": 85.30376252379816, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::add" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filter": { - "line": 40, - "lineCount": 11, - "argCount": 1, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 8, - "volume": 42, - "difficulty": 3, - "effort": 126, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filter" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getIterator": { - "line": 57, - "lineCount": 5, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getIterator" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::count": { - "line": 66, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::count" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterWithScoreGreaterThan": { - "line": 71, - "lineCount": 6, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 3, - "N2": 6, - "programLength": 9, - "programVocabulary": 5, - "volume": 20.89735285398626, - "difficulty": 2, - "effort": 41.79470570797252, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterWithScoreGreaterThan" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::contains": { - "line": 78, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 4, - "N2": 5, - "programLength": 9, - "programVocabulary": 5, - "volume": 20.89735285398626, - "difficulty": 1.6666666666666667, - "effort": 34.82892142331043, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::contains" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getClassWithMethod": { - "line": 83, - "lineCount": 9, - "argCount": 2, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 3, - "N2": 10, - "programLength": 13, - "programVocabulary": 7, - "volume": 36.49561398674886, - "difficulty": 2, - "effort": 72.99122797349771, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getClassWithMethod" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterByClassName": { - "line": 93, - "lineCount": 6, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 3, - "N2": 6, - "programLength": 9, - "programVocabulary": 5, - "volume": 20.89735285398626, - "difficulty": 2, - "effort": 41.79470570797252, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterByClassName" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::assertMetricHasGetter": { - "line": 100, - "lineCount": 9, - "argCount": 3, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 6, - "programLength": 7, - "programVocabulary": 4, - "volume": 14, - "difficulty": 1, - "effort": 14, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::assertMetricHasGetter" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::groupBy": { - "line": 117, - "lineCount": 20, - "argCount": 1, - "returnCount": 1, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 10, - "N2": 23, - "programLength": 33, - "programVocabulary": 11, - "volume": 114.16124341503081, - "difficulty": 6.571428571428571, - "effort": 750.2024567273453, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::groupBy" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::jsonSerialize": { - "line": 141, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::jsonSerialize" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::__construct": { - "line": 32, - "lineCount": 8, - "argCount": 5, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 5, - "N1": 0, - "N2": 5, - "programLength": 5, - "programVocabulary": 5, - "volume": 11.60964047443681, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collect": { - "line": 49, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 5, - "programLength": 6, - "programVocabulary": 4, - "volume": 12, - "difficulty": 0.8333333333333334, - "effort": 10, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collect" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collectFromPaths": { - "line": 62, - "lineCount": 13, - "argCount": 2, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 8, - "N2": 16, - "programLength": 24, - "programVocabulary": 9, - "volume": 76.07820003461549, - "difficulty": 4, - "effort": 304.31280013846197, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collectFromPaths" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCodeFromFile": { - "line": 79, - "lineCount": 10, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 2, - "N1": 5, - "N2": 6, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 6, - "effort": 170.6075250475963, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCodeFromFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findMetrics": { - "line": 98, - "lineCount": 31, - "argCount": 1, - "returnCount": 1, - "variableCount": 9, - "propertyCallCount": 2, - "ifNestingLevel": 2, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 13, - "N1": 18, - "N2": 38, - "programLength": 56, - "programVocabulary": 16, - "volume": 224, - "difficulty": 4.384615384615384, - "effort": 982.1538461538461, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findMetrics" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processMethodMetrics": { - "line": 136, - "lineCount": 29, - "argCount": 3, - "returnCount": 1, - "variableCount": 7, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 14, - "N1": 8, - "N2": 27, - "programLength": 35, - "programVocabulary": 17, - "volume": 143.06119944376186, - "difficulty": 2.892857142857143, - "effort": 413.8556126765968, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processMethodMetrics" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::isExcluded": { - "line": 166, - "lineCount": 12, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 5, - "N1": 5, - "N2": 9, - "programLength": 14, - "programVocabulary": 9, - "volume": 44.37895002019237, - "difficulty": 3.6, - "effort": 159.76422007269252, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::isExcluded" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findSourceFiles": { - "line": 187, - "lineCount": 7, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 2, - "N2": 6, - "programLength": 8, - "programVocabulary": 6, - "volume": 20.67970000576925, - "difficulty": 1.5, - "effort": 31.019550008653873, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findSourceFiles" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getProjectRoot": { - "line": 202, - "lineCount": 13, - "argCount": 0, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 2, - "N1": 8, - "N2": 8, - "programLength": 16, - "programVocabulary": 6, - "volume": 41.3594000115385, - "difficulty": 8, - "effort": 330.875200092308, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getProjectRoot" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateCacheKey": { - "line": 219, - "lineCount": 7, - "argCount": 2, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 6, - "N1": 10, - "N2": 12, - "programLength": 22, - "programVocabulary": 10, - "volume": 73.08241808752197, - "difficulty": 4, - "effort": 292.3296723500879, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateCacheKey" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateConfigHash": { - "line": 230, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 1, - "N1": 3, - "N2": 2, - "programLength": 5, - "programVocabulary": 3, - "volume": 7.92481250360578, - "difficulty": 2, - "effort": 15.84962500721156, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateConfigHash" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::cacheResult": { - "line": 239, - "lineCount": 14, - "argCount": 4, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 13, - "N1": 5, - "N2": 20, - "programLength": 25, - "programVocabulary": 15, - "volume": 97.67226489021297, - "difficulty": 1.5384615384615385, - "effort": 150.26502290801997, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::cacheResult" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::clearCache": { - "line": 254, - "lineCount": 4, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::clearCache" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::normalizeFilename": { - "line": 264, - "lineCount": 15, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 6, - "n2": 7, - "N1": 12, - "N2": 16, - "programLength": 28, - "programVocabulary": 13, - "volume": 103.61231210795059, - "difficulty": 6.857142857142857, - "effort": 710.4844258830897, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::normalizeFilename" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCachedMetrics": { - "line": 286, - "lineCount": 19, - "argCount": 3, - "returnCount": 3, - "variableCount": 4, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 11, - "N1": 10, - "N2": 29, - "programLength": 39, - "programVocabulary": 14, - "volume": 148.48684196024655, - "difficulty": 3.954545454545454, - "effort": 587.1979659337022, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCachedMetrics" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processFile": { - "line": 312, - "lineCount": 37, - "argCount": 5, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 7, - "n2": 10, - "N1": 12, - "N2": 28, - "programLength": 40, - "programVocabulary": 17, - "volume": 163.49851365001356, - "difficulty": 9.799999999999999, - "effort": 1602.2854337701328, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::sort": { - "line": 51, - "lineCount": 41, - "argCount": 3, - "returnCount": 2, - "variableCount": 10, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 18, - "N1": 20, - "N2": 43, - "programLength": 63, - "programVocabulary": 22, - "volume": 280.9441919741497, - "difficulty": 4.777777777777778, - "effort": 1342.2889172098264, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::sort" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getFieldValue": { - "line": 100, - "lineCount": 28, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 25, - "N1": 24, - "N2": 50, - "programLength": 74, - "programVocabulary": 27, - "volume": 351.86167516009664, - "difficulty": 2, - "effort": 703.7233503201933, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getFieldValue" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::compareValues": { - "line": 136, - "lineCount": 13, - "argCount": 2, - "returnCount": 3, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 2, - "N1": 9, - "N2": 12, - "programLength": 21, - "programVocabulary": 5, - "volume": 48.760489992634604, - "difficulty": 9, - "effort": 438.8444099337114, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::compareValues" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getSortableFields": { - "line": 155, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 0, - "N1": 0, - "N2": 0, - "programLength": 0, - "programVocabulary": 0, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getSortableFields" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__construct": { - "line": 15, - "lineCount": 11, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 7, - "N2": 12, - "programLength": 19, - "programVocabulary": 6, - "volume": 49.11428751370197, - "difficulty": 6, - "effort": 294.6857250822118, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::getValue": { - "line": 27, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::getValue" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasIncreased": { - "line": 32, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasIncreased" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__toString": { - "line": 37, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__toString" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasNotChanged": { - "line": 42, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 2, - "programLength": 3, - "programVocabulary": 3, - "volume": 4.754887502163468, - "difficulty": 0.5, - "effort": 2.377443751081734, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasNotChanged" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\FileProcessed::__construct": { - "line": 14, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\FileProcessed::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\ParserFailed::__construct": { - "line": 15, - "lineCount": 5, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\ParserFailed::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\SourceFilesFound::__construct": { - "line": 17, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\SourceFilesFound::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::__construct": { - "line": 15, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::create": { - "line": 27, - "lineCount": 10, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 6, - "N1": 0, - "N2": 8, - "programLength": 8, - "programVocabulary": 6, - "volume": 20.67970000576925, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::create" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::getSupportedTypes": { - "line": 43, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 4, - "N1": 0, - "N2": 4, - "programLength": 4, - "programVocabulary": 4, - "volume": 8, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::getSupportedTypes" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::isSupported": { - "line": 54, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 2, - "N2": 3, - "programLength": 5, - "programVocabulary": 4, - "volume": 10, - "difficulty": 1.5, - "effort": 15, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::isSupported" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CsvExporter::export": { - "line": 46, - "lineCount": 57, - "argCount": 2, - "returnCount": 0, - "variableCount": 6, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 15, - "N1": 37, - "N2": 54, - "programLength": 91, - "programVocabulary": 19, - "volume": 386.56140372336625, - "difficulty": 7.2, - "effort": 2783.242106808237, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CsvExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::export": { - "line": 40, - "lineCount": 8, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 5, - "N1": 4, - "N2": 8, - "programLength": 12, - "programVocabulary": 9, - "volume": 38.039100017307746, - "difficulty": 3.2, - "effort": 121.72512005538479, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::escape": { - "line": 49, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::escape" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::formatNumber": { - "line": 54, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::formatNumber" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::generateMetricRow": { - "line": 59, - "lineCount": 12, - "argCount": 3, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 16, - "N1": 19, - "N2": 27, - "programLength": 46, - "programVocabulary": 21, - "volume": 202.04660144782298, - "difficulty": 4.21875, - "effort": 852.3840998580032, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::generateMetricRow" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::generateHtml": { - "line": 78, - "lineCount": 64, - "argCount": 1, - "returnCount": 1, - "variableCount": 7, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 11, - "N1": 46, - "N2": 57, - "programLength": 103, - "programVocabulary": 15, - "volume": 402.40973134767745, - "difficulty": 10.363636363636363, - "effort": 4170.42812487593, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::generateHtml" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\JsonExporter::export": { - "line": 19, - "lineCount": 38, - "argCount": 2, - "returnCount": 0, - "variableCount": 5, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "cyclomatic_complexity": { - "complexity": 4, - "risk_level": "low" - }, - "halstead": { - "n1": 5, - "n2": 27, - "N1": 29, - "N2": 58, - "programLength": 87, - "programVocabulary": 32, - "volume": 435, - "difficulty": 5.370370370370371, - "effort": 2336.1111111111113, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\JsonExporter::export" - } - } - }, - "ignored_items": [], - "cached_at": 1759967601 -} \ No newline at end of file diff --git a/.phpcca.cache/a4/a48cd9157e0d22eecc24a5ba8f9f2bae.cache b/.phpcca.cache/a4/a48cd9157e0d22eecc24a5ba8f9f2bae.cache deleted file mode 100644 index bb97b26..0000000 --- a/.phpcca.cache/a4/a48cd9157e0d22eecc24a5ba8f9f2bae.cache +++ /dev/null @@ -1,4439 +0,0 @@ -{ - "version": "1.0", - "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/PhpParser\/CyclomaticComplexityVisitor.php", - "file_mtime": 1759791861, - "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", - "analysis_result": { - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::__construct": { - "line": 26, - "lineCount": 5, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 4, - "N1": 3, - "N2": 6, - "programLength": 9, - "programVocabulary": 7, - "volume": 25.26619429851844, - "difficulty": 2.25, - "effort": 56.848937171666485, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItem": { - "line": 35, - "lineCount": 15, - "argCount": 1, - "returnCount": 3, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 6, - "N2": 13, - "programLength": 19, - "programVocabulary": 8, - "volume": 57, - "difficulty": 6.5, - "effort": 370.5, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItem" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItems": { - "line": 55, - "lineCount": 9, - "argCount": 1, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 3, - "N2": 9, - "programLength": 12, - "programVocabulary": 6, - "volume": 31.019550008653873, - "difficulty": 2.25, - "effort": 69.79398751947122, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItems" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::hasItem": { - "line": 68, - "lineCount": 6, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 5, - "n2": 3, - "N1": 6, - "N2": 7, - "programLength": 13, - "programVocabulary": 8, - "volume": 39, - "difficulty": 5.833333333333334, - "effort": 227.50000000000003, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::hasItem" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::clear": { - "line": 75, - "lineCount": 10, - "argCount": 0, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 2, - "N2": 4, - "programLength": 6, - "programVocabulary": 3, - "volume": 9.509775004326936, - "difficulty": 1, - "effort": 9.509775004326936, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::clear" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItem": { - "line": 89, - "lineCount": 10, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 4, - "N2": 6, - "programLength": 10, - "programVocabulary": 6, - "volume": 25.84962500721156, - "difficulty": 3, - "effort": 77.54887502163469, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItem" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItems": { - "line": 103, - "lineCount": 10, - "argCount": 1, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 3, - "N2": 8, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 2, - "effort": 56.86917501586544, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItems" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::save": { - "line": 117, - "lineCount": 11, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 4, - "N1": 9, - "N2": 12, - "programLength": 21, - "programVocabulary": 7, - "volume": 58.95445336320969, - "difficulty": 4.5, - "effort": 265.2950401344436, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::save" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveDeferred": { - "line": 129, - "lineCount": 6, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveDeferred" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::commit": { - "line": 136, - "lineCount": 11, - "argCount": 0, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 4, - "N2": 8, - "programLength": 12, - "programVocabulary": 5, - "volume": 27.863137138648348, - "difficulty": 2.6666666666666665, - "effort": 74.30169903639559, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::commit" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::ensureCacheDirectory": { - "line": 152, - "lineCount": 9, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 3, - "N2": 4, - "programLength": 7, - "programVocabulary": 4, - "volume": 14, - "difficulty": 2, - "effort": 28, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::ensureCacheDirectory" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getCacheFilePath": { - "line": 168, - "lineCount": 15, - "argCount": 1, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 10, - "N1": 13, - "N2": 19, - "programLength": 32, - "programVocabulary": 14, - "volume": 121.83535750584333, - "difficulty": 3.8, - "effort": 462.9743585222046, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getCacheFilePath" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::loadCacheData": { - "line": 187, - "lineCount": 14, - "argCount": 1, - "returnCount": 3, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 6, - "N2": 8, - "programLength": 14, - "programVocabulary": 6, - "volume": 36.18947501009619, - "difficulty": 4, - "effort": 144.75790004038475, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::loadCacheData" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveCacheData": { - "line": 209, - "lineCount": 21, - "argCount": 2, - "returnCount": 3, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 6, - "n2": 7, - "N1": 13, - "N2": 17, - "programLength": 30, - "programVocabulary": 13, - "volume": 111.01319154423277, - "difficulty": 7.285714285714285, - "effort": 808.810395536553, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveCacheData" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::sanitizeUtf8": { - "line": 234, - "lineCount": 25, - "argCount": 1, - "returnCount": 4, - "variableCount": 6, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 8, - "N1": 13, - "N2": 29, - "programLength": 42, - "programVocabulary": 11, - "volume": 145.29612798276648, - "difficulty": 5.4375, - "effort": 790.0476959062927, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::sanitizeUtf8" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::removeDirectory": { - "line": 260, - "lineCount": 23, - "argCount": 1, - "returnCount": 2, - "variableCount": 5, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 5, - "n2": 9, - "N1": 13, - "N2": 20, - "programLength": 33, - "programVocabulary": 14, - "volume": 125.64271242790093, - "difficulty": 5.555555555555555, - "effort": 698.0150690438941, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::removeDirectory" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::__construct": { - "line": 42, - "lineCount": 7, - "argCount": 3, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 3, - "N1": 0, - "N2": 3, - "programLength": 3, - "programVocabulary": 3, - "volume": 4.754887502163468, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::configure": { - "line": 53, - "lineCount": 57, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 15, - "N1": 9, - "N2": 16, - "programLength": 25, - "programVocabulary": 16, - "volume": 100, - "difficulty": 0.5333333333333333, - "effort": 53.333333333333336, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::configure" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::execute": { - "line": 119, - "lineCount": 43, - "argCount": 2, - "returnCount": 5, - "variableCount": 9, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 4, - "halstead": { - "n1": 7, - "n2": 14, - "N1": 31, - "N2": 45, - "programLength": 76, - "programVocabulary": 21, - "volume": 333.8161241311858, - "difficulty": 11.25, - "effort": 3755.4313964758403, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::execute" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::loadCoverageReader": { - "line": 171, - "lineCount": 32, - "argCount": 3, - "returnCount": 4, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 2, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 4, - "n2": 9, - "N1": 9, - "N2": 21, - "programLength": 30, - "programVocabulary": 13, - "volume": 111.01319154423277, - "difficulty": 4.666666666666667, - "effort": 518.0615605397529, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::loadCoverageReader" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::detectCoverageFormat": { - "line": 207, - "lineCount": 19, - "argCount": 1, - "returnCount": 4, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 9, - "volume": 47.548875021634686, - "difficulty": 2.5, - "effort": 118.87218755408671, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::detectCoverageFormat" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::coverageFileExists": { - "line": 227, - "lineCount": 20, - "argCount": 2, - "returnCount": 3, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 4, - "N2": 7, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 3.5, - "effort": 99.52105627776452, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::coverageFileExists" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::__construct": { - "line": 49, - "lineCount": 10, - "argCount": 6, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 6, - "N1": 0, - "N2": 6, - "programLength": 6, - "programVocabulary": 6, - "volume": 15.509775004326936, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::configure": { - "line": 63, - "lineCount": 76, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 20, - "N1": 13, - "N2": 20, - "programLength": 33, - "programVocabulary": 21, - "volume": 144.94647495169912, - "difficulty": 0.5, - "effort": 72.47323747584956, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::configure" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::execute": { - "line": 150, - "lineCount": 52, - "argCount": 2, - "returnCount": 5, - "variableCount": 11, - "propertyCallCount": 6, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 7, - "halstead": { - "n1": 6, - "n2": 15, - "N1": 43, - "N2": 61, - "programLength": 104, - "programVocabulary": 21, - "volume": 456.80101196899113, - "difficulty": 12.2, - "effort": 5572.972346021692, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::execute" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::parsePaths": { - "line": 209, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 4, - "N2": 8, - "programLength": 12, - "programVocabulary": 7, - "volume": 33.68825906469125, - "difficulty": 1.6, - "effort": 53.901214503506004, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::parsePaths" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleBaseLine": { - "line": 224, - "lineCount": 8, - "argCount": 2, - "returnCount": 0, - "variableCount": 3, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 5, - "N2": 11, - "programLength": 16, - "programVocabulary": 7, - "volume": 44.91767875292167, - "difficulty": 2.2, - "effort": 98.81889325642767, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleBaseLine" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleCoverageOptions": { - "line": 238, - "lineCount": 20, - "argCount": 2, - "returnCount": 3, - "variableCount": 5, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 5, - "n2": 10, - "N1": 15, - "N2": 25, - "programLength": 40, - "programVocabulary": 15, - "volume": 156.27562382434076, - "difficulty": 6.25, - "effort": 976.7226489021298, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleCoverageOptions" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::applySorting": { - "line": 264, - "lineCount": 21, - "argCount": 3, - "returnCount": 3, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 15, - "N1": 16, - "N2": 32, - "programLength": 48, - "programVocabulary": 20, - "volume": 207.45254855459342, - "difficulty": 5.333333333333333, - "effort": 1106.4135922911648, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::applySorting" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadConfiguration": { - "line": 293, - "lineCount": 10, - "argCount": 2, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 6, - "N1": 5, - "N2": 9, - "programLength": 14, - "programVocabulary": 8, - "volume": 42, - "difficulty": 1.5, - "effort": 63, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadConfiguration" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadCoverageReader": { - "line": 313, - "lineCount": 28, - "argCount": 3, - "returnCount": 4, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 2, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 10, - "N2": 18, - "programLength": 28, - "programVocabulary": 11, - "volume": 96.86408532184433, - "difficulty": 5.142857142857143, - "effort": 498.15815308377086, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadCoverageReader" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::detectCoverageFormat": { - "line": 345, - "lineCount": 19, - "argCount": 1, - "returnCount": 4, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 9, - "volume": 47.548875021634686, - "difficulty": 2.5, - "effort": 118.87218755408671, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::detectCoverageFormat" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::coverageFileExists": { - "line": 365, - "lineCount": 20, - "argCount": 2, - "returnCount": 3, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 4, - "N2": 7, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 3.5, - "effort": 99.52105627776452, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::coverageFileExists" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__construct": { - "line": 12, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__invoke": { - "line": 17, - "lineCount": 22, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 3, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 10, - "N2": 11, - "programLength": 21, - "programVocabulary": 7, - "volume": 58.95445336320969, - "difficulty": 2.2, - "effort": 129.6997973990613, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__invoke" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__construct": { - "line": 21, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__invoke": { - "line": 26, - "lineCount": 11, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 4, - "N2": 9, - "programLength": 13, - "programVocabulary": 4, - "volume": 26, - "difficulty": 4.5, - "effort": 117, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__invoke" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleSourceFilesFound": { - "line": 38, - "lineCount": 6, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 4, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 6, - "N2": 10, - "programLength": 16, - "programVocabulary": 8, - "volume": 48, - "difficulty": 5, - "effort": 240, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleSourceFilesFound" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleFileProcessed": { - "line": 45, - "lineCount": 5, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleFileProcessed" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleAllFilesProcessed": { - "line": 51, - "lineCount": 6, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 3, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 3, - "N2": 5, - "programLength": 8, - "programVocabulary": 5, - "volume": 18.575424759098897, - "difficulty": 1.6666666666666667, - "effort": 30.95904126516483, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleAllFilesProcessed" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__construct": { - "line": 20, - "lineCount": 5, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__invoke": { - "line": 26, - "lineCount": 17, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 5, - "n2": 8, - "N1": 17, - "N2": 17, - "programLength": 34, - "programVocabulary": 13, - "volume": 125.81495041679713, - "difficulty": 5.3125, - "effort": 668.3919240892347, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__invoke" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::formatBytes": { - "line": 50, - "lineCount": 12, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 7, - "n2": 13, - "N1": 10, - "N2": 22, - "programLength": 32, - "programVocabulary": 20, - "volume": 138.3016990363956, - "difficulty": 5.923076923076923, - "effort": 819.1716019848047, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::formatBytes" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::isDebugEnabled": { - "line": 66, - "lineCount": 5, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 1, - "N1": 4, - "N2": 2, - "programLength": 6, - "programVocabulary": 4, - "volume": 12, - "difficulty": 3, - "effort": 36, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::isDebugEnabled" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::__construct": { - "line": 20, - "lineCount": 6, - "argCount": 2, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 4, - "volume": 8, - "difficulty": 0.5, - "effort": 4, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::exportToFile": { - "line": 32, - "lineCount": 27, - "argCount": 3, - "returnCount": 4, - "variableCount": 2, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 1, - "n2": 6, - "N1": 6, - "N2": 19, - "programLength": 25, - "programVocabulary": 7, - "volume": 70.1838730514401, - "difficulty": 1.5833333333333333, - "effort": 111.12446566478016, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::exportToFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::hasIncompleteReportOptions": { - "line": 60, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 2, - "N1": 7, - "N2": 6, - "programLength": 13, - "programVocabulary": 6, - "volume": 33.60451250937503, - "difficulty": 6, - "effort": 201.62707505625016, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::hasIncompleteReportOptions" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::isValidReportType": { - "line": 65, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 2, - "N2": 4, - "programLength": 6, - "programVocabulary": 4, - "volume": 12, - "difficulty": 2, - "effort": 24, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::isValidReportType" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleExceptions": { - "line": 77, - "lineCount": 9, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 3, - "N2": 4, - "programLength": 7, - "programVocabulary": 5, - "volume": 16.253496664211536, - "difficulty": 1.3333333333333333, - "effort": 21.67132888561538, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleExceptions" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleInvalidReportType": { - "line": 91, - "lineCount": 11, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 5, - "N2": 8, - "programLength": 13, - "programVocabulary": 8, - "volume": 39, - "difficulty": 2.4000000000000004, - "effort": 93.60000000000001, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleInvalidReportType" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::__construct": { - "line": 15, - "lineCount": 5, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handle": { - "line": 24, - "lineCount": 27, - "argCount": 3, - "returnCount": 4, - "variableCount": 2, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 1, - "n2": 6, - "N1": 6, - "N2": 19, - "programLength": 25, - "programVocabulary": 7, - "volume": 70.1838730514401, - "difficulty": 1.5833333333333333, - "effort": 111.12446566478016, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handle" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::hasIncompleteReportOptions": { - "line": 52, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 2, - "N1": 7, - "N2": 6, - "programLength": 13, - "programVocabulary": 6, - "volume": 33.60451250937503, - "difficulty": 6, - "effort": 201.62707505625016, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::hasIncompleteReportOptions" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::isValidReportType": { - "line": 57, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 5, - "N1": 1, - "N2": 6, - "programLength": 7, - "programVocabulary": 6, - "volume": 18.094737505048094, - "difficulty": 0.6, - "effort": 10.856842503028856, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::isValidReportType" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handleExceptions": { - "line": 66, - "lineCount": 9, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 3, - "N2": 4, - "programLength": 7, - "programVocabulary": 5, - "volume": 16.253496664211536, - "difficulty": 1.3333333333333333, - "effort": 21.67132888561538, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handleExceptions" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handleInvalidReporType": { - "line": 80, - "lineCount": 9, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 4, - "programLength": 6, - "programVocabulary": 5, - "volume": 13.931568569324174, - "difficulty": 1.3333333333333333, - "effort": 18.575424759098897, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handleInvalidReporType" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::__construct": { - "line": 42, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::reportWritten": { - "line": 47, - "lineCount": 7, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 4, - "programLength": 6, - "programVocabulary": 5, - "volume": 13.931568569324174, - "difficulty": 1.3333333333333333, - "effort": 18.575424759098897, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::reportWritten" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::renderChurnTable": { - "line": 59, - "lineCount": 35, - "argCount": 1, - "returnCount": 0, - "variableCount": 6, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 8, - "n2": 18, - "N1": 21, - "N2": 53, - "programLength": 74, - "programVocabulary": 26, - "volume": 347.8325391424408, - "difficulty": 11.777777777777779, - "effort": 4096.694349899859, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::renderChurnTable" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricSummaryTextRenderer::__construct": { - "line": 18, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricSummaryTextRenderer::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricSummaryTextRenderer::render": { - "line": 23, - "lineCount": 32, - "argCount": 2, - "returnCount": 0, - "variableCount": 6, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 6, - "n2": 16, - "N1": 27, - "N2": 38, - "programLength": 65, - "programVocabulary": 22, - "volume": 289.86305521142435, - "difficulty": 7.125, - "effort": 2065.2742683813985, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricSummaryTextRenderer::render" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::__construct": { - "line": 27, - "lineCount": 5, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::metricExceedsThreshold": { - "line": 33, - "lineCount": 6, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 2, - "N1": 3, - "N2": 5, - "programLength": 8, - "programVocabulary": 5, - "volume": 18.575424759098897, - "difficulty": 3.75, - "effort": 69.65784284662087, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::metricExceedsThreshold" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::hasCoverageInCollection": { - "line": 43, - "lineCount": 10, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 2, - "N2": 4, - "programLength": 6, - "programVocabulary": 4, - "volume": 12, - "difficulty": 2, - "effort": 24, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::hasCoverageInCollection" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::render": { - "line": 58, - "lineCount": 17, - "argCount": 2, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 6, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 9, - "N2": 25, - "programLength": 34, - "programVocabulary": 6, - "volume": 87.8887250245193, - "difficulty": 6.25, - "effort": 549.3045314032456, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::render" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderGroupedByClass": { - "line": 81, - "lineCount": 19, - "argCount": 3, - "returnCount": 0, - "variableCount": 6, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 5, - "n2": 11, - "N1": 11, - "N2": 25, - "programLength": 36, - "programVocabulary": 16, - "volume": 144, - "difficulty": 5.6818181818181825, - "effort": 818.1818181818182, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderGroupedByClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::buildRowsForClass": { - "line": 106, - "lineCount": 13, - "argCount": 2, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 4, - "N2": 12, - "programLength": 16, - "programVocabulary": 7, - "volume": 44.91767875292167, - "difficulty": 2.4, - "effort": 107.802429007012, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::buildRowsForClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::getFilenameFromMetrics": { - "line": 123, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 5, - "programLength": 6, - "programVocabulary": 4, - "volume": 12, - "difficulty": 0.8333333333333334, - "effort": 10, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::getFilenameFromMetrics" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderAllMethodsInSingleTable": { - "line": 136, - "lineCount": 12, - "argCount": 3, - "returnCount": 0, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 6, - "N2": 15, - "programLength": 21, - "programVocabulary": 11, - "volume": 72.64806399138324, - "difficulty": 4.285714285714286, - "effort": 311.34884567735673, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderAllMethodsInSingleTable" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::buildRowsForSingleTable": { - "line": 154, - "lineCount": 13, - "argCount": 2, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 4, - "N2": 12, - "programLength": 16, - "programVocabulary": 7, - "volume": 44.91767875292167, - "difficulty": 2.4, - "effort": 107.802429007012, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::buildRowsForSingleTable" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderTableCommon": { - "line": 173, - "lineCount": 19, - "argCount": 4, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 8, - "N1": 7, - "N2": 19, - "programLength": 26, - "programVocabulary": 10, - "volume": 86.37013046707142, - "difficulty": 2.375, - "effort": 205.1290598592946, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderTableCommon" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderTable": { - "line": 196, - "lineCount": 13, - "argCount": 4, - "returnCount": 0, - "variableCount": 3, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 7, - "N1": 4, - "N2": 14, - "programLength": 18, - "programVocabulary": 9, - "volume": 57.05865002596162, - "difficulty": 2, - "effort": 114.11730005192324, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderTable" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderSingleTable": { - "line": 213, - "lineCount": 11, - "argCount": 3, - "returnCount": 0, - "variableCount": 3, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 6, - "N1": 4, - "N2": 12, - "programLength": 16, - "programVocabulary": 8, - "volume": 48, - "difficulty": 2, - "effort": 96, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderSingleTable" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::__construct": { - "line": 16, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatScore": { - "line": 21, - "lineCount": 6, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 6, - "N1": 5, - "N2": 9, - "programLength": 14, - "programVocabulary": 8, - "volume": 42, - "difficulty": 1.5, - "effort": 63, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatScore" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadVolume": { - "line": 28, - "lineCount": 14, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 10, - "N1": 9, - "N2": 17, - "programLength": 26, - "programVocabulary": 15, - "volume": 101.57915548582149, - "difficulty": 4.25, - "effort": 431.7114108147413, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadVolume" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadDifficulty": { - "line": 43, - "lineCount": 13, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 10, - "N1": 8, - "N2": 17, - "programLength": 25, - "programVocabulary": 14, - "volume": 95.1838730514401, - "difficulty": 3.4, - "effort": 323.62516837489636, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadDifficulty" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadEffort": { - "line": 57, - "lineCount": 13, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 10, - "N1": 8, - "N2": 17, - "programLength": 25, - "programVocabulary": 14, - "volume": 95.1838730514401, - "difficulty": 3.4, - "effort": 323.62516837489636, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadEffort" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatCyclomaticComplexity": { - "line": 71, - "lineCount": 13, - "argCount": 1, - "returnCount": 3, - "variableCount": 4, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 5, - "n2": 9, - "N1": 9, - "N2": 18, - "programLength": 27, - "programVocabulary": 14, - "volume": 102.79858289555531, - "difficulty": 5, - "effort": 513.9929144777766, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatCyclomaticComplexity" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::colorCyclomaticRisk": { - "line": 85, - "lineCount": 8, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 7, - "N1": 5, - "N2": 11, - "programLength": 16, - "programVocabulary": 9, - "volume": 50.718800023076994, - "difficulty": 1.5714285714285714, - "effort": 79.70097146483528, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::colorCyclomaticRisk" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::__construct": { - "line": 17, - "lineCount": 5, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::getGroupedTableHeaders": { - "line": 28, - "lineCount": 16, - "argCount": 0, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 10, - "N2": 17, - "programLength": 27, - "programVocabulary": 6, - "volume": 69.79398751947122, - "difficulty": 4.25, - "effort": 296.62444695775264, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::getGroupedTableHeaders" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCoverageHeader": { - "line": 49, - "lineCount": 10, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 6, - "programLength": 7, - "programVocabulary": 4, - "volume": 14, - "difficulty": 1, - "effort": 14, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCoverageHeader" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::getSingleTableHeaders": { - "line": 65, - "lineCount": 20, - "argCount": 0, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 6, - "N1": 9, - "N2": 18, - "programLength": 27, - "programVocabulary": 8, - "volume": 81, - "difficulty": 3, - "effort": 243, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::getSingleTableHeaders" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addHalsteadHeaders": { - "line": 92, - "lineCount": 10, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 1, - "n2": 5, - "N1": 3, - "N2": 9, - "programLength": 12, - "programVocabulary": 6, - "volume": 31.019550008653873, - "difficulty": 0.9, - "effort": 27.917595007788485, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addHalsteadHeaders" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCyclomaticHeaders": { - "line": 109, - "lineCount": 8, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 5, - "programLength": 6, - "programVocabulary": 4, - "volume": 12, - "difficulty": 0.8333333333333334, - "effort": 10, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCyclomaticHeaders" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCognitiveMetricDetails": { - "line": 122, - "lineCount": 16, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 10, - "N1": 2, - "N2": 13, - "programLength": 15, - "programVocabulary": 12, - "volume": 53.77443751081734, - "difficulty": 1.3, - "effort": 69.90676876406255, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCognitiveMetricDetails" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::__construct": { - "line": 21, - "lineCount": 6, - "argCount": 3, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 3, - "N1": 0, - "N2": 3, - "programLength": 3, - "programVocabulary": 3, - "volume": 4.754887502163468, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::buildRow": { - "line": 34, - "lineCount": 16, - "argCount": 1, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 10, - "N2": 24, - "programLength": 34, - "programVocabulary": 7, - "volume": 95.45006734995854, - "difficulty": 4.8, - "effort": 458.160323279801, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::buildRow" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::buildRowWithClassInfo": { - "line": 57, - "lineCount": 16, - "argCount": 1, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 10, - "N2": 24, - "programLength": 34, - "programVocabulary": 7, - "volume": 95.45006734995854, - "difficulty": 4.8, - "effort": 458.160323279801, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::buildRowWithClassInfo" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::metricsToArray": { - "line": 79, - "lineCount": 8, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 3, - "N2": 7, - "programLength": 10, - "programVocabulary": 6, - "volume": 25.84962500721156, - "difficulty": 1.75, - "effort": 45.23684376262023, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::metricsToArray" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::metricsToArrayWithClassInfo": { - "line": 93, - "lineCount": 9, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 4, - "N2": 9, - "programLength": 13, - "programVocabulary": 7, - "volume": 36.49561398674886, - "difficulty": 1.8, - "effort": 65.69210517614795, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::metricsToArrayWithClassInfo" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addHalsteadFields": { - "line": 109, - "lineCount": 10, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 6, - "N1": 6, - "N2": 16, - "programLength": 22, - "programVocabulary": 8, - "volume": 66, - "difficulty": 2.6666666666666665, - "effort": 176, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addHalsteadFields" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addCyclomaticFields": { - "line": 126, - "lineCount": 8, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 2, - "N2": 8, - "programLength": 10, - "programVocabulary": 6, - "volume": 25.84962500721156, - "difficulty": 2, - "effort": 51.69925001442312, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addCyclomaticFields" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addWeightedValue": { - "line": 141, - "lineCount": 10, - "argCount": 3, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 11, - "N1": 13, - "N2": 22, - "programLength": 35, - "programVocabulary": 15, - "volume": 136.74117084629816, - "difficulty": 4, - "effort": 546.9646833851926, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addWeightedValue" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addDelta": { - "line": 158, - "lineCount": 20, - "argCount": 3, - "returnCount": 3, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 6, - "n2": 13, - "N1": 19, - "N2": 30, - "programLength": 49, - "programVocabulary": 19, - "volume": 208.14844815873568, - "difficulty": 6.9230769230769225, - "effort": 1441.0277180220162, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::getKeys": { - "line": 184, - "lineCount": 17, - "argCount": 0, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 0, - "n2": 9, - "N1": 0, - "N2": 9, - "programLength": 9, - "programVocabulary": 9, - "volume": 28.52932501298081, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::getKeys" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::assertDeltaMethodExists": { - "line": 205, - "lineCount": 6, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 6, - "programLength": 8, - "programVocabulary": 5, - "volume": 18.575424759098897, - "difficulty": 2, - "effort": 37.150849518197795, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::assertDeltaMethodExists" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addCoverageValue": { - "line": 216, - "lineCount": 11, - "argCount": 2, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 7, - "N1": 7, - "N2": 15, - "programLength": 22, - "programVocabulary": 12, - "volume": 78.86917501586544, - "difficulty": 5.357142857142857, - "effort": 422.51343758499337, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addCoverageValue" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::extracted": { - "line": 233, - "lineCount": 22, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 12, - "N1": 19, - "N2": 34, - "programLength": 53, - "programVocabulary": 15, - "volume": 207.06520156725148, - "difficulty": 4.25, - "effort": 880.0271066608187, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::extracted" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CacheConfig::__construct": { - "line": 12, - "lineCount": 5, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CacheConfig::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CacheConfig::toArray": { - "line": 23, - "lineCount": 7, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 3, - "N1": 0, - "N2": 4, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CacheConfig::toArray" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CognitiveConfig::__construct": { - "line": 20, - "lineCount": 13, - "argCount": 10, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 10, - "N1": 0, - "N2": 10, - "programLength": 10, - "programVocabulary": 10, - "volume": 33.219280948873624, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CognitiveConfig::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CognitiveConfig::toArray": { - "line": 39, - "lineCount": 20, - "argCount": 0, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 10, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 14, - "N1": 3, - "N2": 27, - "programLength": 30, - "programVocabulary": 16, - "volume": 120, - "difficulty": 1.9285714285714286, - "effort": 231.42857142857144, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CognitiveConfig::toArray" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigFactory::fromArray": { - "line": 16, - "lineCount": 31, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 20, - "N1": 10, - "N2": 52, - "programLength": 62, - "programVocabulary": 23, - "volume": 280.4608412755348, - "difficulty": 3.9000000000000004, - "effort": 1093.7972809745859, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigFactory::fromArray" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigLoader::getCognitiveMetricDefaults": { - "line": 27, - "lineCount": 45, - "argCount": 0, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 8, - "N1": 0, - "N2": 16, - "programLength": 16, - "programVocabulary": 8, - "volume": 48, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigLoader::getCognitiveMetricDefaults" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigLoader::getConfigTreeBuilder": { - "line": 73, - "lineCount": 75, - "argCount": 0, - "returnCount": 2, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 24, - "N1": 68, - "N2": 29, - "programLength": 97, - "programVocabulary": 27, - "volume": 461.2240877098564, - "difficulty": 1.8125, - "effort": 835.9686589741148, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigLoader::getConfigTreeBuilder" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigService::__construct": { - "line": 20, - "lineCount": 6, - "argCount": 2, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 4, - "volume": 8, - "difficulty": 0.5, - "effort": 4, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigService::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigService::loadDefaultConfig": { - "line": 30, - "lineCount": 8, - "argCount": 0, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 3, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 5, - "N2": 6, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 3, - "effort": 85.30376252379816, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigService::loadDefaultConfig" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigService::loadConfig": { - "line": 42, - "lineCount": 9, - "argCount": 1, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 3, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 4, - "N1": 5, - "N2": 8, - "programLength": 13, - "programVocabulary": 7, - "volume": 36.49561398674886, - "difficulty": 3, - "effort": 109.48684196024658, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigService::loadConfig" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigService::getConfig": { - "line": 52, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigService::getConfig" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\MetricsConfig::__construct": { - "line": 12, - "lineCount": 6, - "argCount": 3, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 3, - "N1": 0, - "N2": 3, - "programLength": 3, - "programVocabulary": 3, - "volume": 4.754887502163468, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\MetricsConfig::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\MetricsConfig::toArray": { - "line": 24, - "lineCount": 8, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 3, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 4, - "N1": 0, - "N2": 6, - "programLength": 6, - "programVocabulary": 4, - "volume": 12, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\MetricsConfig::toArray" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::setAnnotationVisitor": { - "line": 63, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::setAnnotationVisitor" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::resetValues": { - "line": 68, - "lineCount": 12, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 9, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 9, - "N2": 15, - "programLength": 24, - "programVocabulary": 3, - "volume": 38.039100017307746, - "difficulty": 3.75, - "effort": 142.64662506490404, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::resetValues" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::resetAll": { - "line": 84, - "lineCount": 9, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 4, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 5, - "N2": 8, - "programLength": 13, - "programVocabulary": 4, - "volume": 26, - "difficulty": 4, - "effort": 104, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::resetAll" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::createMetricsArray": { - "line": 97, - "lineCount": 14, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 12, - "N1": 3, - "N2": 21, - "programLength": 24, - "programVocabulary": 13, - "volume": 88.81055323538621, - "difficulty": 0.875, - "effort": 77.70923408096293, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::createMetricsArray" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::isValidContext": { - "line": 115, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::isValidContext" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::buildMethodKey": { - "line": 123, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::buildMethodKey" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::classMethodOnEnterNode": { - "line": 128, - "lineCount": 20, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 3, - "ifNestingLevel": 2, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 5, - "n2": 4, - "N1": 12, - "N2": 16, - "programLength": 28, - "programVocabulary": 9, - "volume": 88.75790004038474, - "difficulty": 10, - "effort": 887.5790004038474, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::classMethodOnEnterNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::isClassMethodNode": { - "line": 155, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::isClassMethodNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::initializeMethodContext": { - "line": 166, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 2, - "N2": 3, - "programLength": 5, - "programVocabulary": 4, - "volume": 10, - "difficulty": 1.5, - "effort": 15, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::initializeMethodContext" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::trackMethodArguments": { - "line": 177, - "lineCount": 8, - "argCount": 1, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 4, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 7, - "programLength": 9, - "programVocabulary": 5, - "volume": 20.89735285398626, - "difficulty": 2.3333333333333335, - "effort": 48.76048999263461, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::trackMethodArguments" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::isVariable": { - "line": 192, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::isVariable" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::calculateLineCount": { - "line": 203, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 2, - "N1": 4, - "N2": 4, - "programLength": 8, - "programVocabulary": 5, - "volume": 18.575424759098897, - "difficulty": 3, - "effort": 55.726274277296696, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::calculateLineCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::countMethodArguments": { - "line": 214, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 2, - "programLength": 3, - "programVocabulary": 2, - "volume": 3, - "difficulty": 1, - "effort": 3, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::countMethodArguments" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::setCurrentNamespaceOnEnterNode": { - "line": 219, - "lineCount": 6, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 6, - "programLength": 8, - "programVocabulary": 5, - "volume": 18.575424759098897, - "difficulty": 2, - "effort": 37.150849518197795, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::setCurrentNamespaceOnEnterNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::isClassOrTraitNode": { - "line": 229, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 1.5, - "effort": 6, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::isClassOrTraitNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::setCurrentClassOnEnterNode": { - "line": 234, - "lineCount": 22, - "argCount": 1, - "returnCount": 4, - "variableCount": 2, - "propertyCallCount": 4, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 6, - "n2": 5, - "N1": 12, - "N2": 16, - "programLength": 28, - "programVocabulary": 11, - "volume": 96.86408532184433, - "difficulty": 9.600000000000001, - "effort": 929.8952190897057, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::setCurrentClassOnEnterNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::normalizeFqcn": { - "line": 261, - "lineCount": 8, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 2, - "N1": 3, - "N2": 9, - "programLength": 12, - "programVocabulary": 5, - "volume": 27.863137138648348, - "difficulty": 6.75, - "effort": 188.07617568587634, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::normalizeFqcn" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::enterNode": { - "line": 270, - "lineCount": 16, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 3, - "volume": 22.189475010096185, - "difficulty": 2.5, - "effort": 55.473687525240464, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::enterNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::gatherMetrics": { - "line": 287, - "lineCount": 12, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 5, - "N2": 14, - "programLength": 19, - "programVocabulary": 3, - "volume": 30.114287513701967, - "difficulty": 3.5, - "effort": 105.40000629795688, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::gatherMetrics" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::incrementReturnCount": { - "line": 300, - "lineCount": 4, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::incrementReturnCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::countVariablesNotAlreadyTrackedAsArguments": { - "line": 326, - "lineCount": 6, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 2, - "N1": 3, - "N2": 6, - "programLength": 9, - "programVocabulary": 5, - "volume": 20.89735285398626, - "difficulty": 4.5, - "effort": 94.03808784293817, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::countVariablesNotAlreadyTrackedAsArguments" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::trackPropertyFetch": { - "line": 333, - "lineCount": 15, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 3, - "N2": 9, - "programLength": 12, - "programVocabulary": 5, - "volume": 27.863137138648348, - "difficulty": 3, - "effort": 83.58941141594505, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::trackPropertyFetch" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::trackIfStatement": { - "line": 349, - "lineCount": 9, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 1, - "N1": 2, - "N2": 6, - "programLength": 8, - "programVocabulary": 3, - "volume": 12.679700005769249, - "difficulty": 6, - "effort": 76.07820003461549, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::trackIfStatement" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::incrementElseCount": { - "line": 359, - "lineCount": 4, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::incrementElseCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::checkNestingLevelOnLeaveNode": { - "line": 364, - "lineCount": 6, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 3, - "programLength": 3, - "programVocabulary": 2, - "volume": 3, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::checkNestingLevelOnLeaveNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::writeMetricsOnLeaveNode": { - "line": 373, - "lineCount": 38, - "argCount": 1, - "returnCount": 3, - "variableCount": 2, - "propertyCallCount": 11, - "ifNestingLevel": 2, - "elseCount": 0, - "ifCount": 5, - "halstead": { - "n1": 7, - "n2": 14, - "N1": 29, - "N2": 58, - "programLength": 87, - "programVocabulary": 21, - "volume": 382.1316157817522, - "difficulty": 14.500000000000002, - "effort": 5540.908428835408, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::writeMetricsOnLeaveNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::checkNameSpaceOnLeaveNode": { - "line": 412, - "lineCount": 6, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 4, - "programLength": 5, - "programVocabulary": 4, - "volume": 10, - "difficulty": 0.6666666666666666, - "effort": 6.666666666666666, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::checkNameSpaceOnLeaveNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::checkClassOnLeaveNode": { - "line": 419, - "lineCount": 11, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 2, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 6, - "programLength": 8, - "programVocabulary": 5, - "volume": 18.575424759098897, - "difficulty": 2, - "effort": 37.150849518197795, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::checkClassOnLeaveNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::leaveNode": { - "line": 431, - "lineCount": 7, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 4, - "N2": 9, - "programLength": 13, - "programVocabulary": 3, - "volume": 20.604512509375027, - "difficulty": 2.25, - "effort": 46.36015314609381, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::leaveNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::getMethodMetrics": { - "line": 439, - "lineCount": 13, - "argCount": 0, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 6, - "N1": 8, - "N2": 15, - "programLength": 23, - "programVocabulary": 10, - "volume": 76.40434618240933, - "difficulty": 5, - "effort": 382.0217309120466, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::getMethodMetrics" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CombinedMetricsVisitor::__construct": { - "line": 22, - "lineCount": 7, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 4, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 4, - "N2": 4, - "programLength": 8, - "programVocabulary": 2, - "volume": 8, - "difficulty": 2, - "effort": 16, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CombinedMetricsVisitor::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CombinedMetricsVisitor::beforeTraverse": { - "line": 33, - "lineCount": 7, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 2, - "programLength": 3, - "programVocabulary": 3, - "volume": 4.754887502163468, - "difficulty": 0.5, - "effort": 2.377443751081734, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CombinedMetricsVisitor::beforeTraverse" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CombinedMetricsVisitor::enterNode": { - "line": 41, - "lineCount": 20, - "argCount": 1, - "returnCount": 2, - "variableCount": 5, - "propertyCallCount": 4, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 6, - "N1": 15, - "N2": 17, - "programLength": 32, - "programVocabulary": 10, - "volume": 106.30169903639559, - "difficulty": 5.666666666666667, - "effort": 602.376294539575, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CombinedMetricsVisitor::enterNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CombinedMetricsVisitor::leaveNode": { - "line": 62, - "lineCount": 10, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 4, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 4, - "N2": 9, - "programLength": 13, - "programVocabulary": 3, - "volume": 20.604512509375027, - "difficulty": 2.25, - "effort": 46.36015314609381, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CombinedMetricsVisitor::leaveNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CombinedMetricsVisitor::afterTraverse": { - "line": 76, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CombinedMetricsVisitor::afterTraverse" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CombinedMetricsVisitor::resetAll": { - "line": 84, - "lineCount": 7, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 4, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 4, - "N2": 4, - "programLength": 8, - "programVocabulary": 2, - "volume": 8, - "difficulty": 2, - "effort": 16, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CombinedMetricsVisitor::resetAll" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CombinedMetricsVisitor::resetAllBetweenFiles": { - "line": 95, - "lineCount": 7, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 4, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 4, - "N2": 4, - "programLength": 8, - "programVocabulary": 2, - "volume": 8, - "difficulty": 2, - "effort": 16, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CombinedMetricsVisitor::resetAllBetweenFiles" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CombinedMetricsVisitor::getMethodMetrics": { - "line": 106, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CombinedMetricsVisitor::getMethodMetrics" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CombinedMetricsVisitor::getMethodComplexity": { - "line": 114, - "lineCount": 5, - "argCount": 0, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 3, - "N2": 4, - "programLength": 7, - "programVocabulary": 6, - "volume": 18.094737505048094, - "difficulty": 2, - "effort": 36.18947501009619, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CombinedMetricsVisitor::getMethodComplexity" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CombinedMetricsVisitor::getHalsteadMethodMetrics": { - "line": 123, - "lineCount": 5, - "argCount": 0, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 3, - "N2": 4, - "programLength": 7, - "programVocabulary": 6, - "volume": 18.094737505048094, - "difficulty": 2, - "effort": 36.18947501009619, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CombinedMetricsVisitor::getHalsteadMethodMetrics" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CombinedMetricsVisitor::getIgnored": { - "line": 132, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CombinedMetricsVisitor::getIgnored" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CombinedMetricsVisitor::setAnnotationVisitor": { - "line": 140, - "lineCount": 4, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 2, - "programLength": 3, - "programVocabulary": 2, - "volume": 3, - "difficulty": 1, - "effort": 3, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CombinedMetricsVisitor::setAnnotationVisitor" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::setAnnotationVisitor": { - "line": 73, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::setAnnotationVisitor" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::resetMethodCounters": { - "line": 78, - "lineCount": 19, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 16, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 16, - "N2": 32, - "programLength": 48, - "programVocabulary": 4, - "volume": 96, - "difficulty": 5.333333333333333, - "effort": 512, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::resetMethodCounters" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::resetAll": { - "line": 101, - "lineCount": 11, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 6, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 7, - "N2": 10, - "programLength": 17, - "programVocabulary": 4, - "volume": 34, - "difficulty": 5, - "effort": 170, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::resetAll" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::enterNode": { - "line": 113, - "lineCount": 10, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "cyclomatic_complexity": { - "complexity": 2, - "risk_level": "low" - }, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 3, - "volume": 22.189475010096185, - "difficulty": 2.5, - "effort": 55.473687525240464, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::enterNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::leaveNode": { - "line": 124, - "lineCount": 6, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 3, - "N2": 7, - "programLength": 10, - "programVocabulary": 3, - "volume": 15.84962500721156, - "difficulty": 1.75, - "effort": 27.736843762620232, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::leaveNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::setCurrentNamespaceOnEnterNode": { - "line": 131, - "lineCount": 6, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "cyclomatic_complexity": { - "complexity": 3, - "risk_level": "low" - }, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 6, - "programLength": 8, - "programVocabulary": 5, - "volume": 18.575424759098897, - "difficulty": 2, - "effort": 37.150849518197795, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::setCurrentNamespaceOnEnterNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::setCurrentClassOnEnterNode": { - "line": 138, - "lineCount": 17, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 5, - "ifNestingLevel": 3, - "elseCount": 0, - "ifCount": 3, - "cyclomatic_complexity": { - "complexity": 4, - "risk_level": "low" - }, - "halstead": { - "n1": 6, - "n2": 6, - "N1": 13, - "N2": 19, - "programLength": 32, - "programVocabulary": 12, - "volume": 114.718800023077, - "difficulty": 9.5, - "effort": 1089.8286002192315, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::setCurrentClassOnEnterNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::normalizeFqcn": { - "line": 156, - "lineCount": 8, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "cyclomatic_complexity": { - "complexity": 3, - "risk_level": "low" - }, - "halstead": { - "n1": 3, - "n2": 2, - "N1": 3, - "N2": 9, - "programLength": 12, - "programVocabulary": 5, - "volume": 27.863137138648348, - "difficulty": 6.75, - "effort": 188.07617568587634, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::normalizeFqcn" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::handleClassMethodEnter": { - "line": 165, - "lineCount": 19, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 4, - "ifNestingLevel": 2, - "elseCount": 0, - "ifCount": 3, - "cyclomatic_complexity": { - "complexity": 4, - "risk_level": "low" - }, - "halstead": { - "n1": 5, - "n2": 4, - "N1": 10, - "N2": 13, - "programLength": 23, - "programVocabulary": 9, - "volume": 72.90827503317318, - "difficulty": 8.125, - "effort": 592.3797346445322, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::handleClassMethodEnter" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::countDecisionPoints": { - "line": 185, - "lineCount": 20, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 14, - "N2": 29, - "programLength": 43, - "programVocabulary": 3, - "volume": 68.15338753100971, - "difficulty": 7.25, - "effort": 494.11205959982044, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::countDecisionPoints" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::countIfStatement": { - "line": 206, - "lineCount": 5, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::countIfStatement" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::countElseIfStatement": { - "line": 212, - "lineCount": 5, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::countElseIfStatement" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::countElseStatement": { - "line": 218, - "lineCount": 5, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::countElseStatement" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::countSwitchStatement": { - "line": 224, - "lineCount": 5, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::countSwitchStatement" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::countCaseStatement": { - "line": 230, - "lineCount": 5, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::countCaseStatement" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::countWhileStatement": { - "line": 236, - "lineCount": 5, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::countWhileStatement" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::countDoWhileStatement": { - "line": 242, - "lineCount": 5, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::countDoWhileStatement" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::countForStatement": { - "line": 248, - "lineCount": 5, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::countForStatement" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::countForeachStatement": { - "line": 254, - "lineCount": 5, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::countForeachStatement" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::countCatchStatement": { - "line": 260, - "lineCount": 5, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::countCatchStatement" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::countLogicalAnd": { - "line": 266, - "lineCount": 5, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::countLogicalAnd" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::countLogicalOr": { - "line": 272, - "lineCount": 5, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::countLogicalOr" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::countLogicalXor": { - "line": 278, - "lineCount": 5, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::countLogicalXor" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::countTernary": { - "line": 284, - "lineCount": 5, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::countTernary" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::handleClassMethodLeave": { - "line": 290, - "lineCount": 43, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 21, - "ifNestingLevel": 2, - "elseCount": 0, - "ifCount": 3, - "cyclomatic_complexity": { - "complexity": 4, - "risk_level": "low" - }, - "halstead": { - "n1": 1, - "n2": 22, - "N1": 5, - "N2": 54, - "programLength": 59, - "programVocabulary": 23, - "volume": 266.89015540736375, - "difficulty": 1.2272727272727273, - "effort": 327.54700890903734, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::handleClassMethodLeave" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::checkNamespaceLeave": { - "line": 334, - "lineCount": 6, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "cyclomatic_complexity": { - "complexity": 2, - "risk_level": "low" - }, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 4, - "programLength": 5, - "programVocabulary": 4, - "volume": 10, - "difficulty": 0.6666666666666666, - "effort": 6.666666666666666, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::checkNamespaceLeave" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::checkClassLeave": { - "line": 341, - "lineCount": 6, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "cyclomatic_complexity": { - "complexity": 2, - "risk_level": "low" - }, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 5, - "programLength": 7, - "programVocabulary": 5, - "volume": 16.253496664211536, - "difficulty": 1.6666666666666667, - "effort": 27.089161107019226, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::checkClassLeave" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::getClassComplexity": { - "line": 353, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::getClassComplexity" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::getMethodComplexity": { - "line": 363, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::getMethodComplexity" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::getMethodComplexityBreakdown": { - "line": 373, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::getMethodComplexityBreakdown" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::getComplexitySummary": { - "line": 383, - "lineCount": 36, - "argCount": 0, - "returnCount": 1, - "variableCount": 6, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "cyclomatic_complexity": { - "complexity": 5, - "risk_level": "low" - }, - "halstead": { - "n1": 4, - "n2": 15, - "N1": 11, - "N2": 45, - "programLength": 56, - "programVocabulary": 19, - "volume": 237.88394075284077, - "difficulty": 6, - "effort": 1427.3036445170446, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::getComplexitySummary" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::getRiskLevel": { - "line": 426, - "lineCount": 9, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 1, - "n2": 8, - "N1": 3, - "N2": 11, - "programLength": 14, - "programVocabulary": 9, - "volume": 44.37895002019237, - "difficulty": 0.6875, - "effort": 30.510528138882254, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::getRiskLevel" - } - } - }, - "ignored_items": [], - "cached_at": 1759967602 -} \ No newline at end of file diff --git a/.phpcca.cache/a4/a4b50d6d91a0b9c1cb499741fa0b7bc3.cache b/.phpcca.cache/a4/a4b50d6d91a0b9c1cb499741fa0b7bc3.cache deleted file mode 100644 index d6f4a52..0000000 --- a/.phpcca.cache/a4/a4b50d6d91a0b9c1cb499741fa0b7bc3.cache +++ /dev/null @@ -1,4258 +0,0 @@ -{ - "version": "1.0", - "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/Business\/Cognitive\/Exporter\/CognitiveExporterFactory.php", - "file_mtime": 1759791861, - "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", - "analysis_result": { - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct": { - "line": 60, - "lineCount": 5, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 1, - "N1": 2, - "N2": 2, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 2, - "effort": 12.679700005769249, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices": { - "line": 66, - "lineCount": 95, - "argCount": 0, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 5, - "N1": 58, - "N2": 32, - "programLength": 90, - "programVocabulary": 9, - "volume": 285.2932501298081, - "difficulty": 12.8, - "effort": 3651.7536016615436, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap": { - "line": 162, - "lineCount": 10, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 7, - "N2": 7, - "programLength": 14, - "programVocabulary": 2, - "volume": 14, - "difficulty": 3.5, - "effort": 49, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors": { - "line": 173, - "lineCount": 12, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 3, - "N2": 1, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0.5, - "effort": 2, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus": { - "line": 186, - "lineCount": 19, - "argCount": 0, - "returnCount": 0, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 9, - "N2": 13, - "programLength": 22, - "programVocabulary": 7, - "volume": 61.76180828526729, - "difficulty": 2.6, - "effort": 160.58070154169496, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService": { - "line": 206, - "lineCount": 9, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 3, - "N2": 1, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0.5, - "effort": 2, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade": { - "line": 216, - "lineCount": 13, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 3, - "N2": 1, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0.5, - "effort": 2, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands": { - "line": 230, - "lineCount": 21, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 6, - "N2": 2, - "programLength": 8, - "programVocabulary": 2, - "volume": 8, - "difficulty": 1, - "effort": 8, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication": { - "line": 252, - "lineCount": 11, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 5, - "N2": 4, - "programLength": 9, - "programVocabulary": 4, - "volume": 18, - "difficulty": 0.6666666666666666, - "effort": 12, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run": { - "line": 264, - "lineCount": 9, - "argCount": 0, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 5, - "N2": 5, - "programLength": 10, - "programVocabulary": 4, - "volume": 20, - "difficulty": 2.5, - "effort": 50, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get": { - "line": 274, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer": { - "line": 279, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator": { - "line": 289, - "lineCount": 16, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 7, - "programLength": 8, - "programVocabulary": 4, - "volume": 16, - "difficulty": 1.1666666666666667, - "effort": 18.666666666666668, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create": { - "line": 18, - "lineCount": 7, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 4, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile": { - "line": 17, - "lineCount": 17, - "argCount": 2, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 8, - "N1": 11, - "N2": 19, - "programLength": 30, - "programVocabulary": 11, - "volume": 103.78294855911892, - "difficulty": 3.5625, - "effort": 369.72675424186116, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode": { - "line": 42, - "lineCount": 8, - "argCount": 3, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 3, - "N2": 8, - "programLength": 11, - "programVocabulary": 8, - "volume": 33, - "difficulty": 2.4000000000000004, - "effort": 79.20000000000002, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate": { - "line": 22, - "lineCount": 10, - "argCount": 2, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 6, - "N2": 13, - "programLength": 19, - "programVocabulary": 6, - "volume": 49.11428751370197, - "difficulty": 3.25, - "effort": 159.6214344195314, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending": { - "line": 37, - "lineCount": 8, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 2, - "N2": 9, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 2.25, - "effort": 63.97782189284862, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn": { - "line": 51, - "lineCount": 24, - "argCount": 2, - "returnCount": 1, - "variableCount": 6, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 15, - "N1": 17, - "N2": 46, - "programLength": 63, - "programVocabulary": 20, - "volume": 272.28146997790384, - "difficulty": 7.666666666666667, - "effort": 2087.491269830596, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses": { - "line": 81, - "lineCount": 20, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 2, - "n2": 7, - "N1": 10, - "N2": 24, - "programLength": 34, - "programVocabulary": 9, - "volume": 107.7774500490386, - "difficulty": 3.4285714285714284, - "effort": 369.52268588241805, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass": { - "line": 109, - "lineCount": 9, - "argCount": 2, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 6, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 10, - "volume": 49.82892142331043, - "difficulty": 3.3333333333333335, - "effort": 166.09640474436813, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel": { - "line": 126, - "lineCount": 16, - "argCount": 2, - "returnCount": 4, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 12, - "N1": 9, - "N2": 18, - "programLength": 27, - "programVocabulary": 15, - "volume": 105.48604608143, - "difficulty": 2.25, - "effort": 237.3436036832175, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile": { - "line": 14, - "lineCount": 6, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 2, - "N2": 5, - "programLength": 7, - "programVocabulary": 4, - "volume": 14, - "difficulty": 2.5, - "effort": 35, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable": { - "line": 24, - "lineCount": 11, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 10, - "N2": 12, - "programLength": 22, - "programVocabulary": 8, - "volume": 66, - "difficulty": 6, - "effort": 396, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create": { - "line": 21, - "lineCount": 11, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 7, - "N1": 0, - "N2": 9, - "programLength": 9, - "programVocabulary": 7, - "volume": 25.26619429851844, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes": { - "line": 38, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 6, - "N1": 0, - "N2": 6, - "programLength": 6, - "programVocabulary": 6, - "volume": 15.509775004326936, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported": { - "line": 49, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 2, - "N2": 3, - "programLength": 5, - "programVocabulary": 4, - "volume": 10, - "difficulty": 1.5, - "effort": 15, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export": { - "line": 30, - "lineCount": 23, - "argCount": 2, - "returnCount": 0, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 16, - "N1": 10, - "N2": 33, - "programLength": 43, - "programVocabulary": 20, - "volume": 185.8429080801566, - "difficulty": 4.125, - "effort": 766.601995830646, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export": { - "line": 28, - "lineCount": 8, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 6, - "volume": 36.18947501009619, - "difficulty": 2.5, - "effort": 90.47368752524048, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape": { - "line": 37, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber": { - "line": 42, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml": { - "line": 52, - "lineCount": 50, - "argCount": 1, - "returnCount": 1, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 12, - "N1": 11, - "N2": 25, - "programLength": 36, - "programVocabulary": 17, - "volume": 147.14866228501222, - "difficulty": 5.208333333333334, - "effort": 766.3992827344388, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export": { - "line": 17, - "lineCount": 13, - "argCount": 2, - "returnCount": 0, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 8, - "N1": 7, - "N2": 14, - "programLength": 21, - "programVocabulary": 12, - "volume": 75.28421251514428, - "difficulty": 3.5, - "effort": 263.49474380300495, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export": { - "line": 48, - "lineCount": 8, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 6, - "volume": 36.18947501009619, - "difficulty": 2.5, - "effort": 90.47368752524048, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown": { - "line": 61, - "lineCount": 24, - "argCount": 1, - "returnCount": 1, - "variableCount": 6, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 6, - "n2": 16, - "N1": 19, - "N2": 41, - "programLength": 60, - "programVocabulary": 22, - "volume": 267.56589711823784, - "difficulty": 7.6875, - "effort": 2056.9128340964535, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow": { - "line": 94, - "lineCount": 21, - "argCount": 3, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 7, - "n2": 18, - "N1": 16, - "N2": 39, - "programLength": 55, - "programVocabulary": 25, - "volume": 255.41209043760983, - "difficulty": 7.583333333333333, - "effort": 1936.8750191518745, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::__construct": { - "line": 26, - "lineCount": 4, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::export": { - "line": 36, - "lineCount": 10, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 8, - "volume": 45, - "difficulty": 5, - "effort": 225, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::generateSvgTreemap": { - "line": 53, - "lineCount": 20, - "argCount": 1, - "returnCount": 1, - "variableCount": 6, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 8, - "N1": 9, - "N2": 20, - "programLength": 29, - "programVocabulary": 10, - "volume": 96.3359147517335, - "difficulty": 2.5, - "effort": 240.83978687933376, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::generateSvgTreemap" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRects": { - "line": 82, - "lineCount": 10, - "argCount": 3, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 9, - "N1": 6, - "N2": 18, - "programLength": 24, - "programVocabulary": 12, - "volume": 86.03910001730775, - "difficulty": 3, - "effort": 258.1173000519232, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRects" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRect": { - "line": 100, - "lineCount": 29, - "argCount": 2, - "returnCount": 1, - "variableCount": 12, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 6, - "n2": 28, - "N1": 26, - "N2": 54, - "programLength": 80, - "programVocabulary": 34, - "volume": 406.9970273000271, - "difficulty": 5.785714285714286, - "effort": 2354.7685150930142, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRect" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::wrapSvg": { - "line": 136, - "lineCount": 21, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 2, - "N2": 8, - "programLength": 10, - "programVocabulary": 4, - "volume": 20, - "difficulty": 1.3333333333333333, - "effort": 26.666666666666664, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::wrapSvg" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::prepareItems": { - "line": 28, - "lineCount": 18, - "argCount": 1, - "returnCount": 1, - "variableCount": 7, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 12, - "N1": 9, - "N2": 30, - "programLength": 39, - "programVocabulary": 17, - "volume": 159.41105080876324, - "difficulty": 6.25, - "effort": 996.3190675547702, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::prepareItems" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findScoreRange": { - "line": 53, - "lineCount": 16, - "argCount": 1, - "returnCount": 3, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 7, - "N2": 13, - "programLength": 20, - "programVocabulary": 8, - "volume": 60, - "difficulty": 3.9000000000000004, - "effort": 234.00000000000003, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findScoreRange" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::normalizeScore": { - "line": 78, - "lineCount": 8, - "argCount": 3, - "returnCount": 2, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 8, - "volume": 45, - "difficulty": 5, - "effort": 225, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::normalizeScore" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::scoreToColor": { - "line": 93, - "lineCount": 9, - "argCount": 1, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 5, - "n2": 9, - "N1": 12, - "N2": 16, - "programLength": 28, - "programVocabulary": 14, - "volume": 106.60593781761291, - "difficulty": 4.444444444444445, - "effort": 473.80416807827964, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::scoreToColor" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::calculateTreemapLayout": { - "line": 115, - "lineCount": 23, - "argCount": 7, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 9, - "N1": 2, - "N2": 18, - "programLength": 20, - "programVocabulary": 11, - "volume": 69.18863237274594, - "difficulty": 2, - "effort": 138.37726474549189, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::calculateTreemapLayout" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::layoutTreemap": { - "line": 152, - "lineCount": 89, - "argCount": 8, - "returnCount": 3, - "variableCount": 11, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 8, - "n2": 28, - "N1": 32, - "N2": 98, - "programLength": 130, - "programVocabulary": 36, - "volume": 672.0902501875006, - "difficulty": 14, - "effort": 9409.263502625008, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::layoutTreemap" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findSplitIndex": { - "line": 249, - "lineCount": 13, - "argCount": 2, - "returnCount": 2, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 7, - "n2": 10, - "N1": 9, - "N2": 23, - "programLength": 32, - "programVocabulary": 17, - "volume": 130.79881092001085, - "difficulty": 8.049999999999999, - "effort": 1052.9304279060873, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findSplitIndex" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::__construct": { - "line": 23, - "lineCount": 18, - "argCount": 1, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 7, - "N2": 11, - "programLength": 18, - "programVocabulary": 6, - "volume": 46.529325012980806, - "difficulty": 5.5, - "effort": 255.91128757139444, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::getAllClasses": { - "line": 47, - "lineCount": 17, - "argCount": 0, - "returnCount": 2, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 6, - "N2": 12, - "programLength": 18, - "programVocabulary": 9, - "volume": 57.05865002596162, - "difficulty": 3, - "effort": 171.17595007788486, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::getAllClasses" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::withClassNode": { - "line": 73, - "lineCount": 8, - "argCount": 2, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 4, - "N2": 8, - "programLength": 12, - "programVocabulary": 8, - "volume": 36, - "difficulty": 4, - "effort": 144, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::withClassNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::findClassNode": { - "line": 85, - "lineCount": 25, - "argCount": 1, - "returnCount": 4, - "variableCount": 5, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 13, - "N2": 29, - "programLength": 42, - "programVocabulary": 11, - "volume": 145.29612798276648, - "difficulty": 8.285714285714286, - "effort": 1203.8822032857795, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::findClassNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::escapeXPathValue": { - "line": 114, - "lineCount": 16, - "argCount": 1, - "returnCount": 3, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 9, - "N1": 11, - "N2": 18, - "programLength": 29, - "programVocabulary": 13, - "volume": 107.31275182609167, - "difficulty": 4, - "effort": 429.2510073043667, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::escapeXPathValue" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getLineCoverage": { - "line": 22, - "lineCount": 18, - "argCount": 1, - "returnCount": 4, - "variableCount": 5, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 9, - "N1": 10, - "N2": 19, - "programLength": 29, - "programVocabulary": 13, - "volume": 107.31275182609167, - "difficulty": 4.222222222222222, - "effort": 453.09828548794263, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getLineCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getBranchCoverage": { - "line": 48, - "lineCount": 18, - "argCount": 1, - "returnCount": 4, - "variableCount": 5, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 9, - "N1": 10, - "N2": 19, - "programLength": 29, - "programVocabulary": 13, - "volume": 107.31275182609167, - "difficulty": 4.222222222222222, - "effort": 453.09828548794263, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getBranchCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getComplexity": { - "line": 73, - "lineCount": 13, - "argCount": 1, - "returnCount": 3, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 7, - "N2": 14, - "programLength": 21, - "programVocabulary": 11, - "volume": 72.64806399138324, - "difficulty": 4, - "effort": 290.59225596553296, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getComplexity" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getCoverageDetails": { - "line": 93, - "lineCount": 26, - "argCount": 1, - "returnCount": 3, - "variableCount": 9, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 17, - "N1": 22, - "N2": 42, - "programLength": 64, - "programVocabulary": 22, - "volume": 285.403623592787, - "difficulty": 6.176470588235294, - "effort": 1762.7870868966259, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getCoverageDetails" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getMetricsNode": { - "line": 123, - "lineCount": 12, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 6, - "N1": 7, - "N2": 13, - "programLength": 20, - "programVocabulary": 10, - "volume": 66.43856189774725, - "difficulty": 4.333333333333333, - "effort": 287.90043489023805, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getMetricsNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getFilenameForClass": { - "line": 139, - "lineCount": 9, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 5, - "N1": 4, - "N2": 9, - "programLength": 13, - "programVocabulary": 9, - "volume": 41.209025018750054, - "difficulty": 3.6, - "effort": 148.3524900675002, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getFilenameForClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodsCoverage": { - "line": 154, - "lineCount": 36, - "argCount": 1, - "returnCount": 3, - "variableCount": 8, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 13, - "N1": 12, - "N2": 30, - "programLength": 42, - "programVocabulary": 16, - "volume": 168, - "difficulty": 3.4615384615384612, - "effort": 581.5384615384614, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodsCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::calculateMethodCoverage": { - "line": 194, - "lineCount": 15, - "argCount": 2, - "returnCount": 2, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 11, - "N1": 9, - "N2": 23, - "programLength": 32, - "programVocabulary": 16, - "volume": 128, - "difficulty": 5.227272727272727, - "effort": 669.090909090909, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::calculateMethodCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodCoverageFromLines": { - "line": 215, - "lineCount": 36, - "argCount": 2, - "returnCount": 1, - "variableCount": 7, - "propertyCallCount": 0, - "ifNestingLevel": 2, - "elseCount": 0, - "ifCount": 5, - "halstead": { - "n1": 2, - "n2": 14, - "N1": 12, - "N2": 35, - "programLength": 47, - "programVocabulary": 16, - "volume": 188, - "difficulty": 2.5, - "effort": 470, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodCoverageFromLines" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStart": { - "line": 252, - "lineCount": 4, - "argCount": 3, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 3, - "N2": 7, - "programLength": 10, - "programVocabulary": 6, - "volume": 25.84962500721156, - "difficulty": 1.75, - "effort": 45.23684376262023, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStart" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodEnd": { - "line": 257, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 5, - "programLength": 7, - "programVocabulary": 5, - "volume": 16.253496664211536, - "difficulty": 1.6666666666666667, - "effort": 27.089161107019226, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodEnd" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStatement": { - "line": 262, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 5, - "programLength": 7, - "programVocabulary": 5, - "volume": 16.253496664211536, - "difficulty": 1.6666666666666667, - "effort": 27.089161107019226, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStatement" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isStatementCovered": { - "line": 267, - "lineCount": 5, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 4, - "N1": 3, - "N2": 6, - "programLength": 9, - "programVocabulary": 7, - "volume": 25.26619429851844, - "difficulty": 2.25, - "effort": 56.848937171666485, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isStatementCovered" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getLineCoverage": { - "line": 20, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 9, - "volume": 44.37895002019237, - "difficulty": 2.5, - "effort": 110.94737505048093, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getLineCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getBranchCoverage": { - "line": 34, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 9, - "volume": 44.37895002019237, - "difficulty": 2.5, - "effort": 110.94737505048093, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getBranchCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getComplexity": { - "line": 48, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 9, - "volume": 44.37895002019237, - "difficulty": 2.5, - "effort": 110.94737505048093, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getComplexity" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getCoverageDetails": { - "line": 62, - "lineCount": 13, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 8, - "N1": 7, - "N2": 16, - "programLength": 23, - "programVocabulary": 9, - "volume": 72.90827503317318, - "difficulty": 1, - "effort": 72.90827503317318, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getCoverageDetails" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::extractMethodsCoverage": { - "line": 81, - "lineCount": 23, - "argCount": 1, - "returnCount": 2, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 11, - "N1": 10, - "N2": 23, - "programLength": 33, - "programVocabulary": 14, - "volume": 125.64271242790093, - "difficulty": 3.1363636363636362, - "effort": 394.061234432962, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::extractMethodsCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CodeCoverageFactory::createFromName": { - "line": 14, - "lineCount": 8, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 4, - "N1": 1, - "N2": 8, - "programLength": 9, - "programVocabulary": 5, - "volume": 20.89735285398626, - "difficulty": 1, - "effort": 20.89735285398626, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CodeCoverageFactory::createFromName" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::__construct": { - "line": 28, - "lineCount": 15, - "argCount": 6, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 6, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 7, - "N1": 6, - "N2": 18, - "programLength": 24, - "programVocabulary": 8, - "volume": 72, - "difficulty": 1.2857142857142858, - "effort": 92.57142857142858, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getName": { - "line": 44, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getName" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getFilename": { - "line": 49, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getFilename" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getLineRate": { - "line": 54, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getLineRate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getBranchRate": { - "line": 59, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getBranchRate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getComplexity": { - "line": 64, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getComplexity" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getMethods": { - "line": 72, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getMethods" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::__construct": { - "line": 17, - "lineCount": 11, - "argCount": 4, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 4, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 5, - "N1": 4, - "N2": 12, - "programLength": 16, - "programVocabulary": 6, - "volume": 41.3594000115385, - "difficulty": 1.2, - "effort": 49.631280013846194, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getName": { - "line": 29, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getName" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getLineRate": { - "line": 34, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getLineRate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getBranchRate": { - "line": 39, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getBranchRate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getComplexity": { - "line": 44, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getComplexity" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::calculateDeltas": { - "line": 19, - "lineCount": 14, - "argCount": 2, - "returnCount": 0, - "variableCount": 6, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 9, - "N1": 4, - "N2": 18, - "programLength": 22, - "programVocabulary": 11, - "volume": 76.10749561002054, - "difficulty": 2, - "effort": 152.21499122004107, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::calculateDeltas" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::loadBaseline": { - "line": 41, - "lineCount": 13, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 5, - "N2": 9, - "programLength": 14, - "programVocabulary": 8, - "volume": 42, - "difficulty": 2.7, - "effort": 113.4, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::loadBaseline" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::__construct": { - "line": 72, - "lineCount": 21, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 6, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 9, - "N1": 12, - "N2": 34, - "programLength": 46, - "programVocabulary": 12, - "volume": 164.90827503317317, - "difficulty": 5.666666666666666, - "effort": 934.4802251879812, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setRequiredMetricProperties": { - "line": 98, - "lineCount": 30, - "argCount": 1, - "returnCount": 0, - "variableCount": 6, - "propertyCallCount": 9, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 21, - "N1": 21, - "N2": 51, - "programLength": 72, - "programVocabulary": 24, - "volume": 330.1173000519232, - "difficulty": 3.6428571428571423, - "effort": 1202.570164474863, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setRequiredMetricProperties" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setOptionalMetricProperties": { - "line": 133, - "lineCount": 12, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 8, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 11, - "N1": 16, - "N2": 33, - "programLength": 49, - "programVocabulary": 13, - "volume": 181.32154618891352, - "difficulty": 3, - "effort": 543.9646385667405, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setOptionalMetricProperties" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setTimesChanged": { - "line": 146, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setTimesChanged" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertSame": { - "line": 151, - "lineCount": 14, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 6, - "N2": 8, - "programLength": 14, - "programVocabulary": 5, - "volume": 32.50699332842307, - "difficulty": 2.6666666666666665, - "effort": 86.68531554246152, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertSame" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::calculateDeltas": { - "line": 169, - "lineCount": 13, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 16, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 17, - "N2": 27, - "programLength": 44, - "programVocabulary": 4, - "volume": 88, - "difficulty": 13.5, - "effort": 1188, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::calculateDeltas" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::fromArray": { - "line": 187, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::fromArray" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertArrayKeyIsPresent": { - "line": 197, - "lineCount": 6, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 5, - "programLength": 5, - "programVocabulary": 2, - "volume": 5, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertArrayKeyIsPresent" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getClass": { - "line": 204, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getMethod": { - "line": 209, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getMethod" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCount": { - "line": 214, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCount": { - "line": 219, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCount": { - "line": 224, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCount": { - "line": 229, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCount": { - "line": 234, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCount": { - "line": 239, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevel": { - "line": 244, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevel" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCount": { - "line": 249, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeight": { - "line": 254, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setLineCountWeight": { - "line": 259, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setLineCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeight": { - "line": 264, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setArgCountWeight": { - "line": 269, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setArgCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeight": { - "line": 274, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setReturnCountWeight": { - "line": 279, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setReturnCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeight": { - "line": 284, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setVariableCountWeight": { - "line": 289, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setVariableCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeight": { - "line": 294, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setPropertyCallCountWeight": { - "line": 299, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setPropertyCallCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeight": { - "line": 304, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfCountWeight": { - "line": 309, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeight": { - "line": 314, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfNestingLevelWeight": { - "line": 319, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfNestingLevelWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeight": { - "line": 324, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setElseCountWeight": { - "line": 329, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setElseCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setScore": { - "line": 334, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setScore" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getScore": { - "line": 339, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getScore" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setCoverage": { - "line": 344, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCoverage": { - "line": 349, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeightDelta": { - "line": 354, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeightDelta": { - "line": 359, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeightDelta": { - "line": 364, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeightDelta": { - "line": 369, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeightDelta": { - "line": 374, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeightDelta": { - "line": 379, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeightDelta": { - "line": 384, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeightDelta": { - "line": 389, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getTimesChanged": { - "line": 394, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 2, - "programLength": 3, - "programVocabulary": 3, - "volume": 4.754887502163468, - "difficulty": 0.5, - "effort": 2.377443751081734, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getTimesChanged" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getFileName": { - "line": 399, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getFileName" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLine": { - "line": 404, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLine" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::equals": { - "line": 409, - "lineCount": 5, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 2, - "N1": 5, - "N2": 5, - "programLength": 10, - "programVocabulary": 5, - "volume": 23.21928094887362, - "difficulty": 3.75, - "effort": 87.07230355827608, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::equals" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::toArray": { - "line": 418, - "lineCount": 34, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 29, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 30, - "N1": 0, - "N2": 58, - "programLength": 58, - "programVocabulary": 30, - "volume": 284.5996545452941, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::toArray" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::jsonSerialize": { - "line": 456, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::jsonSerialize" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getHalstead": { - "line": 464, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getHalstead" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCyclomatic": { - "line": 472, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCyclomatic" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::add": { - "line": 30, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 5, - "N2": 6, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 3, - "effort": 85.30376252379816, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::add" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filter": { - "line": 40, - "lineCount": 11, - "argCount": 1, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 8, - "volume": 42, - "difficulty": 3, - "effort": 126, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filter" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getIterator": { - "line": 57, - "lineCount": 5, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getIterator" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::count": { - "line": 66, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::count" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterWithScoreGreaterThan": { - "line": 71, - "lineCount": 6, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 3, - "N2": 6, - "programLength": 9, - "programVocabulary": 5, - "volume": 20.89735285398626, - "difficulty": 2, - "effort": 41.79470570797252, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterWithScoreGreaterThan" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::contains": { - "line": 78, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 4, - "N2": 5, - "programLength": 9, - "programVocabulary": 5, - "volume": 20.89735285398626, - "difficulty": 1.6666666666666667, - "effort": 34.82892142331043, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::contains" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getClassWithMethod": { - "line": 83, - "lineCount": 9, - "argCount": 2, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 3, - "N2": 10, - "programLength": 13, - "programVocabulary": 7, - "volume": 36.49561398674886, - "difficulty": 2, - "effort": 72.99122797349771, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getClassWithMethod" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterByClassName": { - "line": 93, - "lineCount": 6, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 3, - "N2": 6, - "programLength": 9, - "programVocabulary": 5, - "volume": 20.89735285398626, - "difficulty": 2, - "effort": 41.79470570797252, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterByClassName" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::assertMetricHasGetter": { - "line": 100, - "lineCount": 9, - "argCount": 3, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 6, - "programLength": 7, - "programVocabulary": 4, - "volume": 14, - "difficulty": 1, - "effort": 14, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::assertMetricHasGetter" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::groupBy": { - "line": 117, - "lineCount": 20, - "argCount": 1, - "returnCount": 1, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 10, - "N2": 23, - "programLength": 33, - "programVocabulary": 11, - "volume": 114.16124341503081, - "difficulty": 6.571428571428571, - "effort": 750.2024567273453, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::groupBy" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::jsonSerialize": { - "line": 141, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::jsonSerialize" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::__construct": { - "line": 32, - "lineCount": 8, - "argCount": 5, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 5, - "N1": 0, - "N2": 5, - "programLength": 5, - "programVocabulary": 5, - "volume": 11.60964047443681, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collect": { - "line": 49, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 5, - "programLength": 6, - "programVocabulary": 4, - "volume": 12, - "difficulty": 0.8333333333333334, - "effort": 10, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collect" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collectFromPaths": { - "line": 62, - "lineCount": 13, - "argCount": 2, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 8, - "N2": 16, - "programLength": 24, - "programVocabulary": 9, - "volume": 76.07820003461549, - "difficulty": 4, - "effort": 304.31280013846197, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collectFromPaths" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCodeFromFile": { - "line": 79, - "lineCount": 10, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 2, - "N1": 5, - "N2": 6, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 6, - "effort": 170.6075250475963, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCodeFromFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findMetrics": { - "line": 98, - "lineCount": 31, - "argCount": 1, - "returnCount": 1, - "variableCount": 9, - "propertyCallCount": 2, - "ifNestingLevel": 2, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 13, - "N1": 18, - "N2": 38, - "programLength": 56, - "programVocabulary": 16, - "volume": 224, - "difficulty": 4.384615384615384, - "effort": 982.1538461538461, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findMetrics" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processMethodMetrics": { - "line": 136, - "lineCount": 29, - "argCount": 3, - "returnCount": 1, - "variableCount": 7, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 14, - "N1": 8, - "N2": 27, - "programLength": 35, - "programVocabulary": 17, - "volume": 143.06119944376186, - "difficulty": 2.892857142857143, - "effort": 413.8556126765968, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processMethodMetrics" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::isExcluded": { - "line": 166, - "lineCount": 12, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 5, - "N1": 5, - "N2": 9, - "programLength": 14, - "programVocabulary": 9, - "volume": 44.37895002019237, - "difficulty": 3.6, - "effort": 159.76422007269252, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::isExcluded" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findSourceFiles": { - "line": 187, - "lineCount": 7, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 2, - "N2": 6, - "programLength": 8, - "programVocabulary": 6, - "volume": 20.67970000576925, - "difficulty": 1.5, - "effort": 31.019550008653873, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findSourceFiles" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getProjectRoot": { - "line": 202, - "lineCount": 13, - "argCount": 0, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 2, - "N1": 8, - "N2": 8, - "programLength": 16, - "programVocabulary": 6, - "volume": 41.3594000115385, - "difficulty": 8, - "effort": 330.875200092308, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getProjectRoot" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateCacheKey": { - "line": 219, - "lineCount": 7, - "argCount": 2, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 6, - "N1": 10, - "N2": 12, - "programLength": 22, - "programVocabulary": 10, - "volume": 73.08241808752197, - "difficulty": 4, - "effort": 292.3296723500879, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateCacheKey" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateConfigHash": { - "line": 230, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 1, - "N1": 3, - "N2": 2, - "programLength": 5, - "programVocabulary": 3, - "volume": 7.92481250360578, - "difficulty": 2, - "effort": 15.84962500721156, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateConfigHash" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::cacheResult": { - "line": 239, - "lineCount": 14, - "argCount": 4, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 13, - "N1": 5, - "N2": 20, - "programLength": 25, - "programVocabulary": 15, - "volume": 97.67226489021297, - "difficulty": 1.5384615384615385, - "effort": 150.26502290801997, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::cacheResult" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::clearCache": { - "line": 254, - "lineCount": 4, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::clearCache" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::normalizeFilename": { - "line": 264, - "lineCount": 15, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 6, - "n2": 7, - "N1": 12, - "N2": 16, - "programLength": 28, - "programVocabulary": 13, - "volume": 103.61231210795059, - "difficulty": 6.857142857142857, - "effort": 710.4844258830897, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::normalizeFilename" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCachedMetrics": { - "line": 286, - "lineCount": 19, - "argCount": 3, - "returnCount": 3, - "variableCount": 4, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 11, - "N1": 10, - "N2": 29, - "programLength": 39, - "programVocabulary": 14, - "volume": 148.48684196024655, - "difficulty": 3.954545454545454, - "effort": 587.1979659337022, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCachedMetrics" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processFile": { - "line": 312, - "lineCount": 37, - "argCount": 5, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 7, - "n2": 10, - "N1": 12, - "N2": 28, - "programLength": 40, - "programVocabulary": 17, - "volume": 163.49851365001356, - "difficulty": 9.799999999999999, - "effort": 1602.2854337701328, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::sort": { - "line": 51, - "lineCount": 41, - "argCount": 3, - "returnCount": 2, - "variableCount": 10, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 18, - "N1": 20, - "N2": 43, - "programLength": 63, - "programVocabulary": 22, - "volume": 280.9441919741497, - "difficulty": 4.777777777777778, - "effort": 1342.2889172098264, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::sort" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getFieldValue": { - "line": 100, - "lineCount": 28, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 25, - "N1": 24, - "N2": 50, - "programLength": 74, - "programVocabulary": 27, - "volume": 351.86167516009664, - "difficulty": 2, - "effort": 703.7233503201933, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getFieldValue" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::compareValues": { - "line": 136, - "lineCount": 13, - "argCount": 2, - "returnCount": 3, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 2, - "N1": 9, - "N2": 12, - "programLength": 21, - "programVocabulary": 5, - "volume": 48.760489992634604, - "difficulty": 9, - "effort": 438.8444099337114, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::compareValues" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getSortableFields": { - "line": 155, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 0, - "N1": 0, - "N2": 0, - "programLength": 0, - "programVocabulary": 0, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getSortableFields" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__construct": { - "line": 15, - "lineCount": 11, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 7, - "N2": 12, - "programLength": 19, - "programVocabulary": 6, - "volume": 49.11428751370197, - "difficulty": 6, - "effort": 294.6857250822118, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::getValue": { - "line": 27, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::getValue" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasIncreased": { - "line": 32, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasIncreased" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__toString": { - "line": 37, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__toString" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasNotChanged": { - "line": 42, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 2, - "programLength": 3, - "programVocabulary": 3, - "volume": 4.754887502163468, - "difficulty": 0.5, - "effort": 2.377443751081734, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasNotChanged" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\FileProcessed::__construct": { - "line": 14, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\FileProcessed::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\ParserFailed::__construct": { - "line": 15, - "lineCount": 5, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\ParserFailed::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\SourceFilesFound::__construct": { - "line": 17, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\SourceFilesFound::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::__construct": { - "line": 15, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::create": { - "line": 27, - "lineCount": 10, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 0, - "n2": 6, - "N1": 0, - "N2": 8, - "programLength": 8, - "programVocabulary": 6, - "volume": 20.67970000576925, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::create" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::getSupportedTypes": { - "line": 43, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 0, - "n2": 4, - "N1": 0, - "N2": 4, - "programLength": 4, - "programVocabulary": 4, - "volume": 8, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::getSupportedTypes" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::isSupported": { - "line": 54, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 2, - "N2": 3, - "programLength": 5, - "programVocabulary": 4, - "volume": 10, - "difficulty": 1.5, - "effort": 15, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::isSupported" - } - } - }, - "ignored_items": [], - "cached_at": 1759967601 -} \ No newline at end of file diff --git a/.phpcca.cache/a4/a4e3d3db480a2fbe2536ea5058cf31d8.cache b/.phpcca.cache/a4/a4e3d3db480a2fbe2536ea5058cf31d8.cache deleted file mode 100644 index 9ae2a69..0000000 --- a/.phpcca.cache/a4/a4e3d3db480a2fbe2536ea5058cf31d8.cache +++ /dev/null @@ -1,2019 +0,0 @@ -{ - "version": "1.0", - "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/Business\/Cognitive\/Baseline.php", - "file_mtime": 1752612112, - "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", - "analysis_result": { - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct": { - "line": 60, - "lineCount": 5, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 1, - "N1": 2, - "N2": 2, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 2, - "effort": 12.679700005769249, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices": { - "line": 66, - "lineCount": 95, - "argCount": 0, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 5, - "N1": 58, - "N2": 32, - "programLength": 90, - "programVocabulary": 9, - "volume": 285.2932501298081, - "difficulty": 12.8, - "effort": 3651.7536016615436, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap": { - "line": 162, - "lineCount": 10, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 7, - "N2": 7, - "programLength": 14, - "programVocabulary": 2, - "volume": 14, - "difficulty": 3.5, - "effort": 49, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors": { - "line": 173, - "lineCount": 12, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 3, - "N2": 1, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0.5, - "effort": 2, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus": { - "line": 186, - "lineCount": 19, - "argCount": 0, - "returnCount": 0, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 9, - "N2": 13, - "programLength": 22, - "programVocabulary": 7, - "volume": 61.76180828526729, - "difficulty": 2.6, - "effort": 160.58070154169496, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService": { - "line": 206, - "lineCount": 9, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 3, - "N2": 1, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0.5, - "effort": 2, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade": { - "line": 216, - "lineCount": 13, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 3, - "N2": 1, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0.5, - "effort": 2, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands": { - "line": 230, - "lineCount": 21, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 6, - "N2": 2, - "programLength": 8, - "programVocabulary": 2, - "volume": 8, - "difficulty": 1, - "effort": 8, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication": { - "line": 252, - "lineCount": 11, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 5, - "N2": 4, - "programLength": 9, - "programVocabulary": 4, - "volume": 18, - "difficulty": 0.6666666666666666, - "effort": 12, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run": { - "line": 264, - "lineCount": 9, - "argCount": 0, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 5, - "N2": 5, - "programLength": 10, - "programVocabulary": 4, - "volume": 20, - "difficulty": 2.5, - "effort": 50, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get": { - "line": 274, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer": { - "line": 279, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator": { - "line": 289, - "lineCount": 16, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 7, - "programLength": 8, - "programVocabulary": 4, - "volume": 16, - "difficulty": 1.1666666666666667, - "effort": 18.666666666666668, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create": { - "line": 18, - "lineCount": 7, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 4, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile": { - "line": 17, - "lineCount": 17, - "argCount": 2, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 8, - "N1": 11, - "N2": 19, - "programLength": 30, - "programVocabulary": 11, - "volume": 103.78294855911892, - "difficulty": 3.5625, - "effort": 369.72675424186116, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode": { - "line": 42, - "lineCount": 8, - "argCount": 3, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 3, - "N2": 8, - "programLength": 11, - "programVocabulary": 8, - "volume": 33, - "difficulty": 2.4000000000000004, - "effort": 79.20000000000002, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate": { - "line": 22, - "lineCount": 10, - "argCount": 2, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 6, - "N2": 13, - "programLength": 19, - "programVocabulary": 6, - "volume": 49.11428751370197, - "difficulty": 3.25, - "effort": 159.6214344195314, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending": { - "line": 37, - "lineCount": 8, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 2, - "N2": 9, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 2.25, - "effort": 63.97782189284862, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn": { - "line": 51, - "lineCount": 24, - "argCount": 2, - "returnCount": 1, - "variableCount": 6, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 15, - "N1": 17, - "N2": 46, - "programLength": 63, - "programVocabulary": 20, - "volume": 272.28146997790384, - "difficulty": 7.666666666666667, - "effort": 2087.491269830596, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses": { - "line": 81, - "lineCount": 20, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 2, - "n2": 7, - "N1": 10, - "N2": 24, - "programLength": 34, - "programVocabulary": 9, - "volume": 107.7774500490386, - "difficulty": 3.4285714285714284, - "effort": 369.52268588241805, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass": { - "line": 109, - "lineCount": 9, - "argCount": 2, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 6, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 10, - "volume": 49.82892142331043, - "difficulty": 3.3333333333333335, - "effort": 166.09640474436813, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel": { - "line": 126, - "lineCount": 16, - "argCount": 2, - "returnCount": 4, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 12, - "N1": 9, - "N2": 18, - "programLength": 27, - "programVocabulary": 15, - "volume": 105.48604608143, - "difficulty": 2.25, - "effort": 237.3436036832175, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile": { - "line": 14, - "lineCount": 6, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 2, - "N2": 5, - "programLength": 7, - "programVocabulary": 4, - "volume": 14, - "difficulty": 2.5, - "effort": 35, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable": { - "line": 24, - "lineCount": 11, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 10, - "N2": 12, - "programLength": 22, - "programVocabulary": 8, - "volume": 66, - "difficulty": 6, - "effort": 396, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create": { - "line": 21, - "lineCount": 11, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 7, - "N1": 0, - "N2": 9, - "programLength": 9, - "programVocabulary": 7, - "volume": 25.26619429851844, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes": { - "line": 38, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 6, - "N1": 0, - "N2": 6, - "programLength": 6, - "programVocabulary": 6, - "volume": 15.509775004326936, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported": { - "line": 49, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 2, - "N2": 3, - "programLength": 5, - "programVocabulary": 4, - "volume": 10, - "difficulty": 1.5, - "effort": 15, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export": { - "line": 30, - "lineCount": 23, - "argCount": 2, - "returnCount": 0, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 16, - "N1": 10, - "N2": 33, - "programLength": 43, - "programVocabulary": 20, - "volume": 185.8429080801566, - "difficulty": 4.125, - "effort": 766.601995830646, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export": { - "line": 28, - "lineCount": 8, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 6, - "volume": 36.18947501009619, - "difficulty": 2.5, - "effort": 90.47368752524048, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape": { - "line": 37, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber": { - "line": 42, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml": { - "line": 52, - "lineCount": 50, - "argCount": 1, - "returnCount": 1, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 12, - "N1": 11, - "N2": 25, - "programLength": 36, - "programVocabulary": 17, - "volume": 147.14866228501222, - "difficulty": 5.208333333333334, - "effort": 766.3992827344388, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export": { - "line": 17, - "lineCount": 13, - "argCount": 2, - "returnCount": 0, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 8, - "N1": 7, - "N2": 14, - "programLength": 21, - "programVocabulary": 12, - "volume": 75.28421251514428, - "difficulty": 3.5, - "effort": 263.49474380300495, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export": { - "line": 48, - "lineCount": 8, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 6, - "volume": 36.18947501009619, - "difficulty": 2.5, - "effort": 90.47368752524048, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown": { - "line": 61, - "lineCount": 24, - "argCount": 1, - "returnCount": 1, - "variableCount": 6, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 6, - "n2": 16, - "N1": 19, - "N2": 41, - "programLength": 60, - "programVocabulary": 22, - "volume": 267.56589711823784, - "difficulty": 7.6875, - "effort": 2056.9128340964535, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow": { - "line": 94, - "lineCount": 21, - "argCount": 3, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 7, - "n2": 18, - "N1": 16, - "N2": 39, - "programLength": 55, - "programVocabulary": 25, - "volume": 255.41209043760983, - "difficulty": 7.583333333333333, - "effort": 1936.8750191518745, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::__construct": { - "line": 26, - "lineCount": 4, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::export": { - "line": 36, - "lineCount": 10, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 8, - "volume": 45, - "difficulty": 5, - "effort": 225, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::generateSvgTreemap": { - "line": 53, - "lineCount": 20, - "argCount": 1, - "returnCount": 1, - "variableCount": 6, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 8, - "N1": 9, - "N2": 20, - "programLength": 29, - "programVocabulary": 10, - "volume": 96.3359147517335, - "difficulty": 2.5, - "effort": 240.83978687933376, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::generateSvgTreemap" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRects": { - "line": 82, - "lineCount": 10, - "argCount": 3, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 9, - "N1": 6, - "N2": 18, - "programLength": 24, - "programVocabulary": 12, - "volume": 86.03910001730775, - "difficulty": 3, - "effort": 258.1173000519232, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRects" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRect": { - "line": 100, - "lineCount": 29, - "argCount": 2, - "returnCount": 1, - "variableCount": 12, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 6, - "n2": 28, - "N1": 26, - "N2": 54, - "programLength": 80, - "programVocabulary": 34, - "volume": 406.9970273000271, - "difficulty": 5.785714285714286, - "effort": 2354.7685150930142, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRect" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::wrapSvg": { - "line": 136, - "lineCount": 21, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 2, - "N2": 8, - "programLength": 10, - "programVocabulary": 4, - "volume": 20, - "difficulty": 1.3333333333333333, - "effort": 26.666666666666664, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::wrapSvg" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::prepareItems": { - "line": 28, - "lineCount": 18, - "argCount": 1, - "returnCount": 1, - "variableCount": 7, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 12, - "N1": 9, - "N2": 30, - "programLength": 39, - "programVocabulary": 17, - "volume": 159.41105080876324, - "difficulty": 6.25, - "effort": 996.3190675547702, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::prepareItems" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findScoreRange": { - "line": 53, - "lineCount": 16, - "argCount": 1, - "returnCount": 3, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 7, - "N2": 13, - "programLength": 20, - "programVocabulary": 8, - "volume": 60, - "difficulty": 3.9000000000000004, - "effort": 234.00000000000003, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findScoreRange" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::normalizeScore": { - "line": 78, - "lineCount": 8, - "argCount": 3, - "returnCount": 2, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 8, - "volume": 45, - "difficulty": 5, - "effort": 225, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::normalizeScore" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::scoreToColor": { - "line": 93, - "lineCount": 9, - "argCount": 1, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 5, - "n2": 9, - "N1": 12, - "N2": 16, - "programLength": 28, - "programVocabulary": 14, - "volume": 106.60593781761291, - "difficulty": 4.444444444444445, - "effort": 473.80416807827964, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::scoreToColor" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::calculateTreemapLayout": { - "line": 115, - "lineCount": 23, - "argCount": 7, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 9, - "N1": 2, - "N2": 18, - "programLength": 20, - "programVocabulary": 11, - "volume": 69.18863237274594, - "difficulty": 2, - "effort": 138.37726474549189, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::calculateTreemapLayout" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::layoutTreemap": { - "line": 152, - "lineCount": 89, - "argCount": 8, - "returnCount": 3, - "variableCount": 11, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 8, - "n2": 28, - "N1": 32, - "N2": 98, - "programLength": 130, - "programVocabulary": 36, - "volume": 672.0902501875006, - "difficulty": 14, - "effort": 9409.263502625008, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::layoutTreemap" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findSplitIndex": { - "line": 249, - "lineCount": 13, - "argCount": 2, - "returnCount": 2, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 7, - "n2": 10, - "N1": 9, - "N2": 23, - "programLength": 32, - "programVocabulary": 17, - "volume": 130.79881092001085, - "difficulty": 8.049999999999999, - "effort": 1052.9304279060873, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findSplitIndex" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::__construct": { - "line": 23, - "lineCount": 18, - "argCount": 1, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 7, - "N2": 11, - "programLength": 18, - "programVocabulary": 6, - "volume": 46.529325012980806, - "difficulty": 5.5, - "effort": 255.91128757139444, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::getAllClasses": { - "line": 47, - "lineCount": 17, - "argCount": 0, - "returnCount": 2, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 6, - "N2": 12, - "programLength": 18, - "programVocabulary": 9, - "volume": 57.05865002596162, - "difficulty": 3, - "effort": 171.17595007788486, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::getAllClasses" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::withClassNode": { - "line": 73, - "lineCount": 8, - "argCount": 2, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 4, - "N2": 8, - "programLength": 12, - "programVocabulary": 8, - "volume": 36, - "difficulty": 4, - "effort": 144, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::withClassNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::findClassNode": { - "line": 85, - "lineCount": 25, - "argCount": 1, - "returnCount": 4, - "variableCount": 5, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 13, - "N2": 29, - "programLength": 42, - "programVocabulary": 11, - "volume": 145.29612798276648, - "difficulty": 8.285714285714286, - "effort": 1203.8822032857795, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::findClassNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::escapeXPathValue": { - "line": 114, - "lineCount": 16, - "argCount": 1, - "returnCount": 3, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 9, - "N1": 11, - "N2": 18, - "programLength": 29, - "programVocabulary": 13, - "volume": 107.31275182609167, - "difficulty": 4, - "effort": 429.2510073043667, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::escapeXPathValue" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getLineCoverage": { - "line": 22, - "lineCount": 18, - "argCount": 1, - "returnCount": 4, - "variableCount": 5, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 9, - "N1": 10, - "N2": 19, - "programLength": 29, - "programVocabulary": 13, - "volume": 107.31275182609167, - "difficulty": 4.222222222222222, - "effort": 453.09828548794263, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getLineCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getBranchCoverage": { - "line": 48, - "lineCount": 18, - "argCount": 1, - "returnCount": 4, - "variableCount": 5, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 9, - "N1": 10, - "N2": 19, - "programLength": 29, - "programVocabulary": 13, - "volume": 107.31275182609167, - "difficulty": 4.222222222222222, - "effort": 453.09828548794263, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getBranchCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getComplexity": { - "line": 73, - "lineCount": 13, - "argCount": 1, - "returnCount": 3, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 7, - "N2": 14, - "programLength": 21, - "programVocabulary": 11, - "volume": 72.64806399138324, - "difficulty": 4, - "effort": 290.59225596553296, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getComplexity" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getCoverageDetails": { - "line": 93, - "lineCount": 26, - "argCount": 1, - "returnCount": 3, - "variableCount": 9, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 17, - "N1": 22, - "N2": 42, - "programLength": 64, - "programVocabulary": 22, - "volume": 285.403623592787, - "difficulty": 6.176470588235294, - "effort": 1762.7870868966259, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getCoverageDetails" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getMetricsNode": { - "line": 123, - "lineCount": 12, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 6, - "N1": 7, - "N2": 13, - "programLength": 20, - "programVocabulary": 10, - "volume": 66.43856189774725, - "difficulty": 4.333333333333333, - "effort": 287.90043489023805, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getMetricsNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getFilenameForClass": { - "line": 139, - "lineCount": 9, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 5, - "N1": 4, - "N2": 9, - "programLength": 13, - "programVocabulary": 9, - "volume": 41.209025018750054, - "difficulty": 3.6, - "effort": 148.3524900675002, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getFilenameForClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodsCoverage": { - "line": 154, - "lineCount": 36, - "argCount": 1, - "returnCount": 3, - "variableCount": 8, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 13, - "N1": 12, - "N2": 30, - "programLength": 42, - "programVocabulary": 16, - "volume": 168, - "difficulty": 3.4615384615384612, - "effort": 581.5384615384614, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodsCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::calculateMethodCoverage": { - "line": 194, - "lineCount": 15, - "argCount": 2, - "returnCount": 2, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 11, - "N1": 9, - "N2": 23, - "programLength": 32, - "programVocabulary": 16, - "volume": 128, - "difficulty": 5.227272727272727, - "effort": 669.090909090909, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::calculateMethodCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodCoverageFromLines": { - "line": 215, - "lineCount": 36, - "argCount": 2, - "returnCount": 1, - "variableCount": 7, - "propertyCallCount": 0, - "ifNestingLevel": 2, - "elseCount": 0, - "ifCount": 5, - "halstead": { - "n1": 2, - "n2": 14, - "N1": 12, - "N2": 35, - "programLength": 47, - "programVocabulary": 16, - "volume": 188, - "difficulty": 2.5, - "effort": 470, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodCoverageFromLines" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStart": { - "line": 252, - "lineCount": 4, - "argCount": 3, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 3, - "N2": 7, - "programLength": 10, - "programVocabulary": 6, - "volume": 25.84962500721156, - "difficulty": 1.75, - "effort": 45.23684376262023, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStart" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodEnd": { - "line": 257, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 5, - "programLength": 7, - "programVocabulary": 5, - "volume": 16.253496664211536, - "difficulty": 1.6666666666666667, - "effort": 27.089161107019226, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodEnd" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStatement": { - "line": 262, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 5, - "programLength": 7, - "programVocabulary": 5, - "volume": 16.253496664211536, - "difficulty": 1.6666666666666667, - "effort": 27.089161107019226, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStatement" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isStatementCovered": { - "line": 267, - "lineCount": 5, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 4, - "N1": 3, - "N2": 6, - "programLength": 9, - "programVocabulary": 7, - "volume": 25.26619429851844, - "difficulty": 2.25, - "effort": 56.848937171666485, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isStatementCovered" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getLineCoverage": { - "line": 20, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 9, - "volume": 44.37895002019237, - "difficulty": 2.5, - "effort": 110.94737505048093, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getLineCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getBranchCoverage": { - "line": 34, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 9, - "volume": 44.37895002019237, - "difficulty": 2.5, - "effort": 110.94737505048093, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getBranchCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getComplexity": { - "line": 48, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 9, - "volume": 44.37895002019237, - "difficulty": 2.5, - "effort": 110.94737505048093, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getComplexity" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getCoverageDetails": { - "line": 62, - "lineCount": 13, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 8, - "N1": 7, - "N2": 16, - "programLength": 23, - "programVocabulary": 9, - "volume": 72.90827503317318, - "difficulty": 1, - "effort": 72.90827503317318, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getCoverageDetails" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::extractMethodsCoverage": { - "line": 81, - "lineCount": 23, - "argCount": 1, - "returnCount": 2, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 11, - "N1": 10, - "N2": 23, - "programLength": 33, - "programVocabulary": 14, - "volume": 125.64271242790093, - "difficulty": 3.1363636363636362, - "effort": 394.061234432962, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::extractMethodsCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CodeCoverageFactory::createFromName": { - "line": 14, - "lineCount": 8, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 4, - "N1": 1, - "N2": 8, - "programLength": 9, - "programVocabulary": 5, - "volume": 20.89735285398626, - "difficulty": 1, - "effort": 20.89735285398626, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CodeCoverageFactory::createFromName" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::__construct": { - "line": 28, - "lineCount": 15, - "argCount": 6, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 6, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 7, - "N1": 6, - "N2": 18, - "programLength": 24, - "programVocabulary": 8, - "volume": 72, - "difficulty": 1.2857142857142858, - "effort": 92.57142857142858, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getName": { - "line": 44, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getName" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getFilename": { - "line": 49, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getFilename" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getLineRate": { - "line": 54, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getLineRate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getBranchRate": { - "line": 59, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getBranchRate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getComplexity": { - "line": 64, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getComplexity" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getMethods": { - "line": 72, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getMethods" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::__construct": { - "line": 17, - "lineCount": 11, - "argCount": 4, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 4, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 5, - "N1": 4, - "N2": 12, - "programLength": 16, - "programVocabulary": 6, - "volume": 41.3594000115385, - "difficulty": 1.2, - "effort": 49.631280013846194, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getName": { - "line": 29, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getName" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getLineRate": { - "line": 34, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getLineRate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getBranchRate": { - "line": 39, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getBranchRate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getComplexity": { - "line": 44, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getComplexity" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::calculateDeltas": { - "line": 19, - "lineCount": 14, - "argCount": 2, - "returnCount": 0, - "variableCount": 6, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "cyclomatic_complexity": { - "complexity": 4, - "risk_level": "low" - }, - "halstead": { - "n1": 2, - "n2": 9, - "N1": 4, - "N2": 18, - "programLength": 22, - "programVocabulary": 11, - "volume": 76.10749561002054, - "difficulty": 2, - "effort": 152.21499122004107, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::calculateDeltas" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::loadBaseline": { - "line": 41, - "lineCount": 13, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "cyclomatic_complexity": { - "complexity": 3, - "risk_level": "low" - }, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 5, - "N2": 9, - "programLength": 14, - "programVocabulary": 8, - "volume": 42, - "difficulty": 2.7, - "effort": 113.4, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::loadBaseline" - } - } - }, - "ignored_items": [], - "cached_at": 1759967600 -} \ No newline at end of file diff --git a/.phpcca.cache/a6/a694bd32301ba8960fff46ce0067abbd.cache b/.phpcca.cache/a6/a694bd32301ba8960fff46ce0067abbd.cache deleted file mode 100644 index 39eac3e..0000000 --- a/.phpcca.cache/a6/a694bd32301ba8960fff46ce0067abbd.cache +++ /dev/null @@ -1,6151 +0,0 @@ -{ - "version": "1.0", - "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/Cache\/Exception\/CacheException.php", - "file_mtime": 1759964701, - "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", - "analysis_result": { - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct": { - "line": 60, - "lineCount": 5, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 1, - "N1": 2, - "N2": 2, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 2, - "effort": 12.679700005769249, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices": { - "line": 66, - "lineCount": 95, - "argCount": 0, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 5, - "N1": 58, - "N2": 32, - "programLength": 90, - "programVocabulary": 9, - "volume": 285.2932501298081, - "difficulty": 12.8, - "effort": 3651.7536016615436, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap": { - "line": 162, - "lineCount": 10, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 7, - "N2": 7, - "programLength": 14, - "programVocabulary": 2, - "volume": 14, - "difficulty": 3.5, - "effort": 49, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors": { - "line": 173, - "lineCount": 12, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 3, - "N2": 1, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0.5, - "effort": 2, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus": { - "line": 186, - "lineCount": 19, - "argCount": 0, - "returnCount": 0, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 9, - "N2": 13, - "programLength": 22, - "programVocabulary": 7, - "volume": 61.76180828526729, - "difficulty": 2.6, - "effort": 160.58070154169496, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService": { - "line": 206, - "lineCount": 9, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 3, - "N2": 1, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0.5, - "effort": 2, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade": { - "line": 216, - "lineCount": 13, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 3, - "N2": 1, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0.5, - "effort": 2, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands": { - "line": 230, - "lineCount": 21, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 6, - "N2": 2, - "programLength": 8, - "programVocabulary": 2, - "volume": 8, - "difficulty": 1, - "effort": 8, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication": { - "line": 252, - "lineCount": 11, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 5, - "N2": 4, - "programLength": 9, - "programVocabulary": 4, - "volume": 18, - "difficulty": 0.6666666666666666, - "effort": 12, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run": { - "line": 264, - "lineCount": 9, - "argCount": 0, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 5, - "N2": 5, - "programLength": 10, - "programVocabulary": 4, - "volume": 20, - "difficulty": 2.5, - "effort": 50, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get": { - "line": 274, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer": { - "line": 279, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator": { - "line": 289, - "lineCount": 16, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 7, - "programLength": 8, - "programVocabulary": 4, - "volume": 16, - "difficulty": 1.1666666666666667, - "effort": 18.666666666666668, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create": { - "line": 18, - "lineCount": 7, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 4, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile": { - "line": 17, - "lineCount": 17, - "argCount": 2, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 8, - "N1": 11, - "N2": 19, - "programLength": 30, - "programVocabulary": 11, - "volume": 103.78294855911892, - "difficulty": 3.5625, - "effort": 369.72675424186116, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode": { - "line": 42, - "lineCount": 8, - "argCount": 3, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 3, - "N2": 8, - "programLength": 11, - "programVocabulary": 8, - "volume": 33, - "difficulty": 2.4000000000000004, - "effort": 79.20000000000002, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate": { - "line": 22, - "lineCount": 10, - "argCount": 2, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 6, - "N2": 13, - "programLength": 19, - "programVocabulary": 6, - "volume": 49.11428751370197, - "difficulty": 3.25, - "effort": 159.6214344195314, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending": { - "line": 37, - "lineCount": 8, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 2, - "N2": 9, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 2.25, - "effort": 63.97782189284862, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn": { - "line": 51, - "lineCount": 24, - "argCount": 2, - "returnCount": 1, - "variableCount": 6, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 15, - "N1": 17, - "N2": 46, - "programLength": 63, - "programVocabulary": 20, - "volume": 272.28146997790384, - "difficulty": 7.666666666666667, - "effort": 2087.491269830596, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses": { - "line": 81, - "lineCount": 20, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 2, - "n2": 7, - "N1": 10, - "N2": 24, - "programLength": 34, - "programVocabulary": 9, - "volume": 107.7774500490386, - "difficulty": 3.4285714285714284, - "effort": 369.52268588241805, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass": { - "line": 109, - "lineCount": 9, - "argCount": 2, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 6, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 10, - "volume": 49.82892142331043, - "difficulty": 3.3333333333333335, - "effort": 166.09640474436813, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel": { - "line": 126, - "lineCount": 16, - "argCount": 2, - "returnCount": 4, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 12, - "N1": 9, - "N2": 18, - "programLength": 27, - "programVocabulary": 15, - "volume": 105.48604608143, - "difficulty": 2.25, - "effort": 237.3436036832175, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile": { - "line": 14, - "lineCount": 6, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 2, - "N2": 5, - "programLength": 7, - "programVocabulary": 4, - "volume": 14, - "difficulty": 2.5, - "effort": 35, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable": { - "line": 24, - "lineCount": 11, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 10, - "N2": 12, - "programLength": 22, - "programVocabulary": 8, - "volume": 66, - "difficulty": 6, - "effort": 396, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create": { - "line": 21, - "lineCount": 11, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 7, - "N1": 0, - "N2": 9, - "programLength": 9, - "programVocabulary": 7, - "volume": 25.26619429851844, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes": { - "line": 38, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 6, - "N1": 0, - "N2": 6, - "programLength": 6, - "programVocabulary": 6, - "volume": 15.509775004326936, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported": { - "line": 49, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 2, - "N2": 3, - "programLength": 5, - "programVocabulary": 4, - "volume": 10, - "difficulty": 1.5, - "effort": 15, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export": { - "line": 30, - "lineCount": 23, - "argCount": 2, - "returnCount": 0, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 16, - "N1": 10, - "N2": 33, - "programLength": 43, - "programVocabulary": 20, - "volume": 185.8429080801566, - "difficulty": 4.125, - "effort": 766.601995830646, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export": { - "line": 28, - "lineCount": 8, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 6, - "volume": 36.18947501009619, - "difficulty": 2.5, - "effort": 90.47368752524048, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape": { - "line": 37, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber": { - "line": 42, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml": { - "line": 52, - "lineCount": 50, - "argCount": 1, - "returnCount": 1, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 12, - "N1": 11, - "N2": 25, - "programLength": 36, - "programVocabulary": 17, - "volume": 147.14866228501222, - "difficulty": 5.208333333333334, - "effort": 766.3992827344388, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export": { - "line": 17, - "lineCount": 13, - "argCount": 2, - "returnCount": 0, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 8, - "N1": 7, - "N2": 14, - "programLength": 21, - "programVocabulary": 12, - "volume": 75.28421251514428, - "difficulty": 3.5, - "effort": 263.49474380300495, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export": { - "line": 48, - "lineCount": 8, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 6, - "volume": 36.18947501009619, - "difficulty": 2.5, - "effort": 90.47368752524048, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown": { - "line": 61, - "lineCount": 24, - "argCount": 1, - "returnCount": 1, - "variableCount": 6, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 6, - "n2": 16, - "N1": 19, - "N2": 41, - "programLength": 60, - "programVocabulary": 22, - "volume": 267.56589711823784, - "difficulty": 7.6875, - "effort": 2056.9128340964535, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow": { - "line": 94, - "lineCount": 21, - "argCount": 3, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 7, - "n2": 18, - "N1": 16, - "N2": 39, - "programLength": 55, - "programVocabulary": 25, - "volume": 255.41209043760983, - "difficulty": 7.583333333333333, - "effort": 1936.8750191518745, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::__construct": { - "line": 26, - "lineCount": 4, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::export": { - "line": 36, - "lineCount": 10, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 8, - "volume": 45, - "difficulty": 5, - "effort": 225, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::generateSvgTreemap": { - "line": 53, - "lineCount": 20, - "argCount": 1, - "returnCount": 1, - "variableCount": 6, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 8, - "N1": 9, - "N2": 20, - "programLength": 29, - "programVocabulary": 10, - "volume": 96.3359147517335, - "difficulty": 2.5, - "effort": 240.83978687933376, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::generateSvgTreemap" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRects": { - "line": 82, - "lineCount": 10, - "argCount": 3, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 9, - "N1": 6, - "N2": 18, - "programLength": 24, - "programVocabulary": 12, - "volume": 86.03910001730775, - "difficulty": 3, - "effort": 258.1173000519232, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRects" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRect": { - "line": 100, - "lineCount": 29, - "argCount": 2, - "returnCount": 1, - "variableCount": 12, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 6, - "n2": 28, - "N1": 26, - "N2": 54, - "programLength": 80, - "programVocabulary": 34, - "volume": 406.9970273000271, - "difficulty": 5.785714285714286, - "effort": 2354.7685150930142, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRect" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::wrapSvg": { - "line": 136, - "lineCount": 21, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 2, - "N2": 8, - "programLength": 10, - "programVocabulary": 4, - "volume": 20, - "difficulty": 1.3333333333333333, - "effort": 26.666666666666664, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::wrapSvg" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::prepareItems": { - "line": 28, - "lineCount": 18, - "argCount": 1, - "returnCount": 1, - "variableCount": 7, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 12, - "N1": 9, - "N2": 30, - "programLength": 39, - "programVocabulary": 17, - "volume": 159.41105080876324, - "difficulty": 6.25, - "effort": 996.3190675547702, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::prepareItems" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findScoreRange": { - "line": 53, - "lineCount": 16, - "argCount": 1, - "returnCount": 3, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 7, - "N2": 13, - "programLength": 20, - "programVocabulary": 8, - "volume": 60, - "difficulty": 3.9000000000000004, - "effort": 234.00000000000003, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findScoreRange" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::normalizeScore": { - "line": 78, - "lineCount": 8, - "argCount": 3, - "returnCount": 2, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 8, - "volume": 45, - "difficulty": 5, - "effort": 225, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::normalizeScore" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::scoreToColor": { - "line": 93, - "lineCount": 9, - "argCount": 1, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 5, - "n2": 9, - "N1": 12, - "N2": 16, - "programLength": 28, - "programVocabulary": 14, - "volume": 106.60593781761291, - "difficulty": 4.444444444444445, - "effort": 473.80416807827964, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::scoreToColor" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::calculateTreemapLayout": { - "line": 115, - "lineCount": 23, - "argCount": 7, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 9, - "N1": 2, - "N2": 18, - "programLength": 20, - "programVocabulary": 11, - "volume": 69.18863237274594, - "difficulty": 2, - "effort": 138.37726474549189, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::calculateTreemapLayout" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::layoutTreemap": { - "line": 152, - "lineCount": 89, - "argCount": 8, - "returnCount": 3, - "variableCount": 11, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 8, - "n2": 28, - "N1": 32, - "N2": 98, - "programLength": 130, - "programVocabulary": 36, - "volume": 672.0902501875006, - "difficulty": 14, - "effort": 9409.263502625008, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::layoutTreemap" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findSplitIndex": { - "line": 249, - "lineCount": 13, - "argCount": 2, - "returnCount": 2, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 7, - "n2": 10, - "N1": 9, - "N2": 23, - "programLength": 32, - "programVocabulary": 17, - "volume": 130.79881092001085, - "difficulty": 8.049999999999999, - "effort": 1052.9304279060873, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findSplitIndex" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::__construct": { - "line": 23, - "lineCount": 18, - "argCount": 1, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 7, - "N2": 11, - "programLength": 18, - "programVocabulary": 6, - "volume": 46.529325012980806, - "difficulty": 5.5, - "effort": 255.91128757139444, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::getAllClasses": { - "line": 47, - "lineCount": 17, - "argCount": 0, - "returnCount": 2, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 6, - "N2": 12, - "programLength": 18, - "programVocabulary": 9, - "volume": 57.05865002596162, - "difficulty": 3, - "effort": 171.17595007788486, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::getAllClasses" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::withClassNode": { - "line": 73, - "lineCount": 8, - "argCount": 2, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 4, - "N2": 8, - "programLength": 12, - "programVocabulary": 8, - "volume": 36, - "difficulty": 4, - "effort": 144, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::withClassNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::findClassNode": { - "line": 85, - "lineCount": 25, - "argCount": 1, - "returnCount": 4, - "variableCount": 5, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 13, - "N2": 29, - "programLength": 42, - "programVocabulary": 11, - "volume": 145.29612798276648, - "difficulty": 8.285714285714286, - "effort": 1203.8822032857795, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::findClassNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::escapeXPathValue": { - "line": 114, - "lineCount": 16, - "argCount": 1, - "returnCount": 3, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 9, - "N1": 11, - "N2": 18, - "programLength": 29, - "programVocabulary": 13, - "volume": 107.31275182609167, - "difficulty": 4, - "effort": 429.2510073043667, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::escapeXPathValue" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getLineCoverage": { - "line": 22, - "lineCount": 18, - "argCount": 1, - "returnCount": 4, - "variableCount": 5, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 9, - "N1": 10, - "N2": 19, - "programLength": 29, - "programVocabulary": 13, - "volume": 107.31275182609167, - "difficulty": 4.222222222222222, - "effort": 453.09828548794263, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getLineCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getBranchCoverage": { - "line": 48, - "lineCount": 18, - "argCount": 1, - "returnCount": 4, - "variableCount": 5, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 9, - "N1": 10, - "N2": 19, - "programLength": 29, - "programVocabulary": 13, - "volume": 107.31275182609167, - "difficulty": 4.222222222222222, - "effort": 453.09828548794263, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getBranchCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getComplexity": { - "line": 73, - "lineCount": 13, - "argCount": 1, - "returnCount": 3, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 7, - "N2": 14, - "programLength": 21, - "programVocabulary": 11, - "volume": 72.64806399138324, - "difficulty": 4, - "effort": 290.59225596553296, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getComplexity" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getCoverageDetails": { - "line": 93, - "lineCount": 26, - "argCount": 1, - "returnCount": 3, - "variableCount": 9, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 17, - "N1": 22, - "N2": 42, - "programLength": 64, - "programVocabulary": 22, - "volume": 285.403623592787, - "difficulty": 6.176470588235294, - "effort": 1762.7870868966259, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getCoverageDetails" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getMetricsNode": { - "line": 123, - "lineCount": 12, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 6, - "N1": 7, - "N2": 13, - "programLength": 20, - "programVocabulary": 10, - "volume": 66.43856189774725, - "difficulty": 4.333333333333333, - "effort": 287.90043489023805, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getMetricsNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getFilenameForClass": { - "line": 139, - "lineCount": 9, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 5, - "N1": 4, - "N2": 9, - "programLength": 13, - "programVocabulary": 9, - "volume": 41.209025018750054, - "difficulty": 3.6, - "effort": 148.3524900675002, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getFilenameForClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodsCoverage": { - "line": 154, - "lineCount": 36, - "argCount": 1, - "returnCount": 3, - "variableCount": 8, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 13, - "N1": 12, - "N2": 30, - "programLength": 42, - "programVocabulary": 16, - "volume": 168, - "difficulty": 3.4615384615384612, - "effort": 581.5384615384614, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodsCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::calculateMethodCoverage": { - "line": 194, - "lineCount": 15, - "argCount": 2, - "returnCount": 2, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 11, - "N1": 9, - "N2": 23, - "programLength": 32, - "programVocabulary": 16, - "volume": 128, - "difficulty": 5.227272727272727, - "effort": 669.090909090909, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::calculateMethodCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodCoverageFromLines": { - "line": 215, - "lineCount": 36, - "argCount": 2, - "returnCount": 1, - "variableCount": 7, - "propertyCallCount": 0, - "ifNestingLevel": 2, - "elseCount": 0, - "ifCount": 5, - "halstead": { - "n1": 2, - "n2": 14, - "N1": 12, - "N2": 35, - "programLength": 47, - "programVocabulary": 16, - "volume": 188, - "difficulty": 2.5, - "effort": 470, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodCoverageFromLines" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStart": { - "line": 252, - "lineCount": 4, - "argCount": 3, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 3, - "N2": 7, - "programLength": 10, - "programVocabulary": 6, - "volume": 25.84962500721156, - "difficulty": 1.75, - "effort": 45.23684376262023, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStart" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodEnd": { - "line": 257, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 5, - "programLength": 7, - "programVocabulary": 5, - "volume": 16.253496664211536, - "difficulty": 1.6666666666666667, - "effort": 27.089161107019226, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodEnd" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStatement": { - "line": 262, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 5, - "programLength": 7, - "programVocabulary": 5, - "volume": 16.253496664211536, - "difficulty": 1.6666666666666667, - "effort": 27.089161107019226, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStatement" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isStatementCovered": { - "line": 267, - "lineCount": 5, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 4, - "N1": 3, - "N2": 6, - "programLength": 9, - "programVocabulary": 7, - "volume": 25.26619429851844, - "difficulty": 2.25, - "effort": 56.848937171666485, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isStatementCovered" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getLineCoverage": { - "line": 20, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 9, - "volume": 44.37895002019237, - "difficulty": 2.5, - "effort": 110.94737505048093, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getLineCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getBranchCoverage": { - "line": 34, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 9, - "volume": 44.37895002019237, - "difficulty": 2.5, - "effort": 110.94737505048093, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getBranchCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getComplexity": { - "line": 48, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 9, - "volume": 44.37895002019237, - "difficulty": 2.5, - "effort": 110.94737505048093, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getComplexity" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getCoverageDetails": { - "line": 62, - "lineCount": 13, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 8, - "N1": 7, - "N2": 16, - "programLength": 23, - "programVocabulary": 9, - "volume": 72.90827503317318, - "difficulty": 1, - "effort": 72.90827503317318, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getCoverageDetails" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::extractMethodsCoverage": { - "line": 81, - "lineCount": 23, - "argCount": 1, - "returnCount": 2, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 11, - "N1": 10, - "N2": 23, - "programLength": 33, - "programVocabulary": 14, - "volume": 125.64271242790093, - "difficulty": 3.1363636363636362, - "effort": 394.061234432962, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::extractMethodsCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CodeCoverageFactory::createFromName": { - "line": 14, - "lineCount": 8, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 4, - "N1": 1, - "N2": 8, - "programLength": 9, - "programVocabulary": 5, - "volume": 20.89735285398626, - "difficulty": 1, - "effort": 20.89735285398626, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CodeCoverageFactory::createFromName" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::__construct": { - "line": 28, - "lineCount": 15, - "argCount": 6, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 6, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 7, - "N1": 6, - "N2": 18, - "programLength": 24, - "programVocabulary": 8, - "volume": 72, - "difficulty": 1.2857142857142858, - "effort": 92.57142857142858, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getName": { - "line": 44, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getName" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getFilename": { - "line": 49, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getFilename" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getLineRate": { - "line": 54, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getLineRate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getBranchRate": { - "line": 59, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getBranchRate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getComplexity": { - "line": 64, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getComplexity" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getMethods": { - "line": 72, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getMethods" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::__construct": { - "line": 17, - "lineCount": 11, - "argCount": 4, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 4, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 5, - "N1": 4, - "N2": 12, - "programLength": 16, - "programVocabulary": 6, - "volume": 41.3594000115385, - "difficulty": 1.2, - "effort": 49.631280013846194, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getName": { - "line": 29, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getName" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getLineRate": { - "line": 34, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getLineRate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getBranchRate": { - "line": 39, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getBranchRate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getComplexity": { - "line": 44, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getComplexity" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::calculateDeltas": { - "line": 19, - "lineCount": 14, - "argCount": 2, - "returnCount": 0, - "variableCount": 6, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 9, - "N1": 4, - "N2": 18, - "programLength": 22, - "programVocabulary": 11, - "volume": 76.10749561002054, - "difficulty": 2, - "effort": 152.21499122004107, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::calculateDeltas" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::loadBaseline": { - "line": 41, - "lineCount": 13, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 5, - "N2": 9, - "programLength": 14, - "programVocabulary": 8, - "volume": 42, - "difficulty": 2.7, - "effort": 113.4, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::loadBaseline" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::__construct": { - "line": 72, - "lineCount": 21, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 6, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 9, - "N1": 12, - "N2": 34, - "programLength": 46, - "programVocabulary": 12, - "volume": 164.90827503317317, - "difficulty": 5.666666666666666, - "effort": 934.4802251879812, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setRequiredMetricProperties": { - "line": 98, - "lineCount": 30, - "argCount": 1, - "returnCount": 0, - "variableCount": 6, - "propertyCallCount": 9, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 21, - "N1": 21, - "N2": 51, - "programLength": 72, - "programVocabulary": 24, - "volume": 330.1173000519232, - "difficulty": 3.6428571428571423, - "effort": 1202.570164474863, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setRequiredMetricProperties" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setOptionalMetricProperties": { - "line": 133, - "lineCount": 12, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 8, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 11, - "N1": 16, - "N2": 33, - "programLength": 49, - "programVocabulary": 13, - "volume": 181.32154618891352, - "difficulty": 3, - "effort": 543.9646385667405, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setOptionalMetricProperties" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setTimesChanged": { - "line": 146, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setTimesChanged" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertSame": { - "line": 151, - "lineCount": 14, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 6, - "N2": 8, - "programLength": 14, - "programVocabulary": 5, - "volume": 32.50699332842307, - "difficulty": 2.6666666666666665, - "effort": 86.68531554246152, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertSame" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::calculateDeltas": { - "line": 169, - "lineCount": 13, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 16, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 17, - "N2": 27, - "programLength": 44, - "programVocabulary": 4, - "volume": 88, - "difficulty": 13.5, - "effort": 1188, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::calculateDeltas" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::fromArray": { - "line": 187, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::fromArray" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertArrayKeyIsPresent": { - "line": 197, - "lineCount": 6, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 5, - "programLength": 5, - "programVocabulary": 2, - "volume": 5, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertArrayKeyIsPresent" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getClass": { - "line": 204, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getMethod": { - "line": 209, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getMethod" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCount": { - "line": 214, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCount": { - "line": 219, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCount": { - "line": 224, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCount": { - "line": 229, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCount": { - "line": 234, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCount": { - "line": 239, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevel": { - "line": 244, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevel" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCount": { - "line": 249, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeight": { - "line": 254, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setLineCountWeight": { - "line": 259, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setLineCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeight": { - "line": 264, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setArgCountWeight": { - "line": 269, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setArgCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeight": { - "line": 274, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setReturnCountWeight": { - "line": 279, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setReturnCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeight": { - "line": 284, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setVariableCountWeight": { - "line": 289, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setVariableCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeight": { - "line": 294, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setPropertyCallCountWeight": { - "line": 299, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setPropertyCallCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeight": { - "line": 304, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfCountWeight": { - "line": 309, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeight": { - "line": 314, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfNestingLevelWeight": { - "line": 319, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfNestingLevelWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeight": { - "line": 324, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setElseCountWeight": { - "line": 329, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setElseCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setScore": { - "line": 334, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setScore" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getScore": { - "line": 339, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getScore" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setCoverage": { - "line": 344, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCoverage": { - "line": 349, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeightDelta": { - "line": 354, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeightDelta": { - "line": 359, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeightDelta": { - "line": 364, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeightDelta": { - "line": 369, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeightDelta": { - "line": 374, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeightDelta": { - "line": 379, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeightDelta": { - "line": 384, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeightDelta": { - "line": 389, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getTimesChanged": { - "line": 394, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 2, - "programLength": 3, - "programVocabulary": 3, - "volume": 4.754887502163468, - "difficulty": 0.5, - "effort": 2.377443751081734, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getTimesChanged" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getFileName": { - "line": 399, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getFileName" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLine": { - "line": 404, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLine" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::equals": { - "line": 409, - "lineCount": 5, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 2, - "N1": 5, - "N2": 5, - "programLength": 10, - "programVocabulary": 5, - "volume": 23.21928094887362, - "difficulty": 3.75, - "effort": 87.07230355827608, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::equals" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::toArray": { - "line": 418, - "lineCount": 34, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 29, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 30, - "N1": 0, - "N2": 58, - "programLength": 58, - "programVocabulary": 30, - "volume": 284.5996545452941, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::toArray" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::jsonSerialize": { - "line": 456, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::jsonSerialize" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getHalstead": { - "line": 464, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getHalstead" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCyclomatic": { - "line": 472, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCyclomatic" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::add": { - "line": 30, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 5, - "N2": 6, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 3, - "effort": 85.30376252379816, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::add" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filter": { - "line": 40, - "lineCount": 11, - "argCount": 1, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 8, - "volume": 42, - "difficulty": 3, - "effort": 126, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filter" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getIterator": { - "line": 57, - "lineCount": 5, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getIterator" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::count": { - "line": 66, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::count" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterWithScoreGreaterThan": { - "line": 71, - "lineCount": 6, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 3, - "N2": 6, - "programLength": 9, - "programVocabulary": 5, - "volume": 20.89735285398626, - "difficulty": 2, - "effort": 41.79470570797252, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterWithScoreGreaterThan" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::contains": { - "line": 78, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 4, - "N2": 5, - "programLength": 9, - "programVocabulary": 5, - "volume": 20.89735285398626, - "difficulty": 1.6666666666666667, - "effort": 34.82892142331043, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::contains" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getClassWithMethod": { - "line": 83, - "lineCount": 9, - "argCount": 2, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 3, - "N2": 10, - "programLength": 13, - "programVocabulary": 7, - "volume": 36.49561398674886, - "difficulty": 2, - "effort": 72.99122797349771, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getClassWithMethod" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterByClassName": { - "line": 93, - "lineCount": 6, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 3, - "N2": 6, - "programLength": 9, - "programVocabulary": 5, - "volume": 20.89735285398626, - "difficulty": 2, - "effort": 41.79470570797252, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterByClassName" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::assertMetricHasGetter": { - "line": 100, - "lineCount": 9, - "argCount": 3, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 6, - "programLength": 7, - "programVocabulary": 4, - "volume": 14, - "difficulty": 1, - "effort": 14, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::assertMetricHasGetter" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::groupBy": { - "line": 117, - "lineCount": 20, - "argCount": 1, - "returnCount": 1, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 10, - "N2": 23, - "programLength": 33, - "programVocabulary": 11, - "volume": 114.16124341503081, - "difficulty": 6.571428571428571, - "effort": 750.2024567273453, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::groupBy" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::jsonSerialize": { - "line": 141, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::jsonSerialize" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::__construct": { - "line": 32, - "lineCount": 8, - "argCount": 5, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 5, - "N1": 0, - "N2": 5, - "programLength": 5, - "programVocabulary": 5, - "volume": 11.60964047443681, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collect": { - "line": 49, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 5, - "programLength": 6, - "programVocabulary": 4, - "volume": 12, - "difficulty": 0.8333333333333334, - "effort": 10, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collect" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collectFromPaths": { - "line": 62, - "lineCount": 13, - "argCount": 2, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 8, - "N2": 16, - "programLength": 24, - "programVocabulary": 9, - "volume": 76.07820003461549, - "difficulty": 4, - "effort": 304.31280013846197, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collectFromPaths" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCodeFromFile": { - "line": 79, - "lineCount": 10, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 2, - "N1": 5, - "N2": 6, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 6, - "effort": 170.6075250475963, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCodeFromFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findMetrics": { - "line": 98, - "lineCount": 31, - "argCount": 1, - "returnCount": 1, - "variableCount": 9, - "propertyCallCount": 2, - "ifNestingLevel": 2, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 13, - "N1": 18, - "N2": 38, - "programLength": 56, - "programVocabulary": 16, - "volume": 224, - "difficulty": 4.384615384615384, - "effort": 982.1538461538461, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findMetrics" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processMethodMetrics": { - "line": 136, - "lineCount": 29, - "argCount": 3, - "returnCount": 1, - "variableCount": 7, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 14, - "N1": 8, - "N2": 27, - "programLength": 35, - "programVocabulary": 17, - "volume": 143.06119944376186, - "difficulty": 2.892857142857143, - "effort": 413.8556126765968, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processMethodMetrics" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::isExcluded": { - "line": 166, - "lineCount": 12, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 5, - "N1": 5, - "N2": 9, - "programLength": 14, - "programVocabulary": 9, - "volume": 44.37895002019237, - "difficulty": 3.6, - "effort": 159.76422007269252, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::isExcluded" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findSourceFiles": { - "line": 187, - "lineCount": 7, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 2, - "N2": 6, - "programLength": 8, - "programVocabulary": 6, - "volume": 20.67970000576925, - "difficulty": 1.5, - "effort": 31.019550008653873, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findSourceFiles" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getProjectRoot": { - "line": 202, - "lineCount": 13, - "argCount": 0, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 2, - "N1": 8, - "N2": 8, - "programLength": 16, - "programVocabulary": 6, - "volume": 41.3594000115385, - "difficulty": 8, - "effort": 330.875200092308, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getProjectRoot" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateCacheKey": { - "line": 219, - "lineCount": 7, - "argCount": 2, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 6, - "N1": 10, - "N2": 12, - "programLength": 22, - "programVocabulary": 10, - "volume": 73.08241808752197, - "difficulty": 4, - "effort": 292.3296723500879, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateCacheKey" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateConfigHash": { - "line": 230, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 1, - "N1": 3, - "N2": 2, - "programLength": 5, - "programVocabulary": 3, - "volume": 7.92481250360578, - "difficulty": 2, - "effort": 15.84962500721156, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateConfigHash" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::cacheResult": { - "line": 239, - "lineCount": 14, - "argCount": 4, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 13, - "N1": 5, - "N2": 20, - "programLength": 25, - "programVocabulary": 15, - "volume": 97.67226489021297, - "difficulty": 1.5384615384615385, - "effort": 150.26502290801997, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::cacheResult" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::clearCache": { - "line": 254, - "lineCount": 4, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::clearCache" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::normalizeFilename": { - "line": 264, - "lineCount": 15, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 6, - "n2": 7, - "N1": 12, - "N2": 16, - "programLength": 28, - "programVocabulary": 13, - "volume": 103.61231210795059, - "difficulty": 6.857142857142857, - "effort": 710.4844258830897, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::normalizeFilename" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCachedMetrics": { - "line": 286, - "lineCount": 19, - "argCount": 3, - "returnCount": 3, - "variableCount": 4, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 11, - "N1": 10, - "N2": 29, - "programLength": 39, - "programVocabulary": 14, - "volume": 148.48684196024655, - "difficulty": 3.954545454545454, - "effort": 587.1979659337022, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCachedMetrics" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processFile": { - "line": 312, - "lineCount": 37, - "argCount": 5, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 7, - "n2": 10, - "N1": 12, - "N2": 28, - "programLength": 40, - "programVocabulary": 17, - "volume": 163.49851365001356, - "difficulty": 9.799999999999999, - "effort": 1602.2854337701328, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::sort": { - "line": 51, - "lineCount": 41, - "argCount": 3, - "returnCount": 2, - "variableCount": 10, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 18, - "N1": 20, - "N2": 43, - "programLength": 63, - "programVocabulary": 22, - "volume": 280.9441919741497, - "difficulty": 4.777777777777778, - "effort": 1342.2889172098264, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::sort" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getFieldValue": { - "line": 100, - "lineCount": 28, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 25, - "N1": 24, - "N2": 50, - "programLength": 74, - "programVocabulary": 27, - "volume": 351.86167516009664, - "difficulty": 2, - "effort": 703.7233503201933, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getFieldValue" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::compareValues": { - "line": 136, - "lineCount": 13, - "argCount": 2, - "returnCount": 3, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 2, - "N1": 9, - "N2": 12, - "programLength": 21, - "programVocabulary": 5, - "volume": 48.760489992634604, - "difficulty": 9, - "effort": 438.8444099337114, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::compareValues" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getSortableFields": { - "line": 155, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 0, - "N1": 0, - "N2": 0, - "programLength": 0, - "programVocabulary": 0, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getSortableFields" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__construct": { - "line": 15, - "lineCount": 11, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 7, - "N2": 12, - "programLength": 19, - "programVocabulary": 6, - "volume": 49.11428751370197, - "difficulty": 6, - "effort": 294.6857250822118, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::getValue": { - "line": 27, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::getValue" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasIncreased": { - "line": 32, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasIncreased" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__toString": { - "line": 37, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__toString" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasNotChanged": { - "line": 42, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 2, - "programLength": 3, - "programVocabulary": 3, - "volume": 4.754887502163468, - "difficulty": 0.5, - "effort": 2.377443751081734, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasNotChanged" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\FileProcessed::__construct": { - "line": 14, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\FileProcessed::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\ParserFailed::__construct": { - "line": 15, - "lineCount": 5, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\ParserFailed::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\SourceFilesFound::__construct": { - "line": 17, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\SourceFilesFound::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::__construct": { - "line": 15, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::create": { - "line": 27, - "lineCount": 10, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 6, - "N1": 0, - "N2": 8, - "programLength": 8, - "programVocabulary": 6, - "volume": 20.67970000576925, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::create" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::getSupportedTypes": { - "line": 43, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 4, - "N1": 0, - "N2": 4, - "programLength": 4, - "programVocabulary": 4, - "volume": 8, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::getSupportedTypes" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::isSupported": { - "line": 54, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 2, - "N2": 3, - "programLength": 5, - "programVocabulary": 4, - "volume": 10, - "difficulty": 1.5, - "effort": 15, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::isSupported" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CsvExporter::export": { - "line": 46, - "lineCount": 57, - "argCount": 2, - "returnCount": 0, - "variableCount": 6, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 15, - "N1": 37, - "N2": 54, - "programLength": 91, - "programVocabulary": 19, - "volume": 386.56140372336625, - "difficulty": 7.2, - "effort": 2783.242106808237, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CsvExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::export": { - "line": 40, - "lineCount": 8, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 5, - "N1": 4, - "N2": 8, - "programLength": 12, - "programVocabulary": 9, - "volume": 38.039100017307746, - "difficulty": 3.2, - "effort": 121.72512005538479, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::escape": { - "line": 49, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::escape" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::formatNumber": { - "line": 54, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::formatNumber" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::generateMetricRow": { - "line": 59, - "lineCount": 12, - "argCount": 3, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 16, - "N1": 19, - "N2": 27, - "programLength": 46, - "programVocabulary": 21, - "volume": 202.04660144782298, - "difficulty": 4.21875, - "effort": 852.3840998580032, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::generateMetricRow" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::generateHtml": { - "line": 78, - "lineCount": 64, - "argCount": 1, - "returnCount": 1, - "variableCount": 7, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 11, - "N1": 46, - "N2": 57, - "programLength": 103, - "programVocabulary": 15, - "volume": 402.40973134767745, - "difficulty": 10.363636363636363, - "effort": 4170.42812487593, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::generateHtml" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\JsonExporter::export": { - "line": 19, - "lineCount": 38, - "argCount": 2, - "returnCount": 0, - "variableCount": 5, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 27, - "N1": 29, - "N2": 58, - "programLength": 87, - "programVocabulary": 32, - "volume": 435, - "difficulty": 5.370370370370371, - "effort": 2336.1111111111113, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\JsonExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::__construct": { - "line": 24, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::export": { - "line": 36, - "lineCount": 8, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 5, - "N1": 4, - "N2": 8, - "programLength": 12, - "programVocabulary": 9, - "volume": 38.039100017307746, - "difficulty": 3.2, - "effort": 121.72512005538479, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::escape": { - "line": 48, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::escape" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateMetricCell": { - "line": 56, - "lineCount": 12, - "argCount": 3, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 12, - "N1": 16, - "N2": 24, - "programLength": 40, - "programVocabulary": 17, - "volume": 163.49851365001356, - "difficulty": 5, - "effort": 817.4925682500678, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateMetricCell" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::filterMetrics": { - "line": 75, - "lineCount": 15, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 4, - "N1": 4, - "N2": 11, - "programLength": 15, - "programVocabulary": 7, - "volume": 42.11032383086406, - "difficulty": 4.125, - "effort": 173.70508580231424, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::filterMetrics" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableHeader": { - "line": 94, - "lineCount": 33, - "argCount": 0, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 4, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 19, - "N1": 10, - "N2": 28, - "programLength": 38, - "programVocabulary": 22, - "volume": 169.4584015082173, - "difficulty": 2.2105263157894735, - "effort": 374.5922559655329, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableHeader" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableHeaderWithClass": { - "line": 131, - "lineCount": 33, - "argCount": 0, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 4, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 20, - "N1": 10, - "N2": 29, - "programLength": 39, - "programVocabulary": 23, - "volume": 176.41891628622352, - "difficulty": 2.175, - "effort": 383.7111429225361, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableHeaderWithClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableSeparator": { - "line": 168, - "lineCount": 20, - "argCount": 0, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 4, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 7, - "N1": 3, - "N2": 16, - "programLength": 19, - "programVocabulary": 10, - "volume": 63.11663380285988, - "difficulty": 3.4285714285714284, - "effort": 216.399887324091, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableSeparator" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableSeparatorWithClass": { - "line": 192, - "lineCount": 20, - "argCount": 0, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 4, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 8, - "N1": 3, - "N2": 16, - "programLength": 19, - "programVocabulary": 11, - "volume": 65.72920075410865, - "difficulty": 3, - "effort": 197.18760226232592, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableSeparatorWithClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableRow": { - "line": 216, - "lineCount": 22, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 6, - "N1": 53, - "N2": 60, - "programLength": 113, - "programVocabulary": 10, - "volume": 375.37787472227194, - "difficulty": 20, - "effort": 7507.557494445438, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableRow" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableRowWithClass": { - "line": 242, - "lineCount": 25, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 6, - "N1": 55, - "N2": 62, - "programLength": 117, - "programVocabulary": 10, - "volume": 388.66558710182136, - "difficulty": 20.666666666666668, - "effort": 8032.422133437642, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableRowWithClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::addHalsteadCells": { - "line": 274, - "lineCount": 20, - "argCount": 2, - "returnCount": 3, - "variableCount": 2, - "propertyCallCount": 5, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 12, - "N2": 24, - "programLength": 36, - "programVocabulary": 8, - "volume": 108, - "difficulty": 7.199999999999999, - "effort": 777.5999999999999, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::addHalsteadCells" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::addCyclomaticCell": { - "line": 301, - "lineCount": 16, - "argCount": 2, - "returnCount": 3, - "variableCount": 2, - "propertyCallCount": 4, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 8, - "N2": 16, - "programLength": 24, - "programVocabulary": 11, - "volume": 83.02635884729514, - "difficulty": 4.571428571428571, - "effort": 379.5490690162063, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::addCyclomaticCell" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateMarkdown": { - "line": 325, - "lineCount": 8, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 2, - "N2": 6, - "programLength": 8, - "programVocabulary": 3, - "volume": 12.679700005769249, - "difficulty": 1.5, - "effort": 19.019550008653873, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateMarkdown" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateGroupedMarkdown": { - "line": 337, - "lineCount": 49, - "argCount": 1, - "returnCount": 1, - "variableCount": 10, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 8, - "n2": 23, - "N1": 33, - "N2": 65, - "programLength": 98, - "programVocabulary": 31, - "volume": 485.5112384179137, - "difficulty": 11.304347826086957, - "effort": 5488.387912550329, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateGroupedMarkdown" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateSingleTableMarkdown": { - "line": 390, - "lineCount": 28, - "argCount": 1, - "returnCount": 1, - "variableCount": 6, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 6, - "n2": 13, - "N1": 19, - "N2": 37, - "programLength": 56, - "programVocabulary": 19, - "volume": 237.88394075284077, - "difficulty": 8.538461538461538, - "effort": 2031.1628787357943, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateSingleTableMarkdown" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::__construct": { - "line": 32, - "lineCount": 26, - "argCount": 2, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 7, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 14, - "N2": 22, - "programLength": 36, - "programVocabulary": 5, - "volume": 83.58941141594504, - "difficulty": 7.333333333333333, - "effort": 612.9890170502636, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::parse": { - "line": 63, - "lineCount": 37, - "argCount": 1, - "returnCount": 1, - "variableCount": 9, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 14, - "N1": 16, - "N2": 43, - "programLength": 59, - "programVocabulary": 17, - "volume": 241.16030763377, - "difficulty": 4.607142857142858, - "effort": 1111.0599887412977, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::parse" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::scanForAnnotations": { - "line": 104, - "lineCount": 20, - "argCount": 1, - "returnCount": 0, - "variableCount": 4, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 7, - "N1": 8, - "N2": 16, - "programLength": 24, - "programVocabulary": 10, - "volume": 79.7262742772967, - "difficulty": 3.4285714285714284, - "effort": 273.34722609358863, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::scanForAnnotations" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::traverseAbstractSyntaxTreeWithCombinedVisitor": { - "line": 129, - "lineCount": 17, - "argCount": 1, - "returnCount": 0, - "variableCount": 4, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 7, - "N1": 7, - "N2": 15, - "programLength": 22, - "programVocabulary": 10, - "volume": 73.08241808752197, - "difficulty": 3.2142857142857144, - "effort": 234.90777242417778, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::traverseAbstractSyntaxTreeWithCombinedVisitor" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getIgnored": { - "line": 153, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getIgnored" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getIgnoredClasses": { - "line": 163, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getIgnoredClasses" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getIgnoredMethods": { - "line": 173, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getIgnoredMethods" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::clearStaticCaches": { - "line": 181, - "lineCount": 15, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 9, - "N1": 7, - "N2": 19, - "programLength": 26, - "programVocabulary": 10, - "volume": 86.37013046707142, - "difficulty": 1.0555555555555556, - "effort": 91.16847104857538, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::clearStaticCaches" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::clearStaticProperty": { - "line": 200, - "lineCount": 14, - "argCount": 2, - "returnCount": 0, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 6, - "N2": 12, - "programLength": 18, - "programVocabulary": 7, - "volume": 50.53238859703688, - "difficulty": 2.4, - "effort": 121.2777326328885, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::clearStaticProperty" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getRiskLevel": { - "line": 218, - "lineCount": 9, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 8, - "N1": 3, - "N2": 11, - "programLength": 14, - "programVocabulary": 9, - "volume": 44.37895002019237, - "difficulty": 0.6875, - "effort": 30.510528138882254, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getRiskLevel" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculate": { - "line": 47, - "lineCount": 5, - "argCount": 2, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 2, - "N2": 8, - "programLength": 10, - "programVocabulary": 4, - "volume": 20, - "difficulty": 1.3333333333333333, - "effort": 26.666666666666664, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculateScore": { - "line": 53, - "lineCount": 10, - "argCount": 1, - "returnCount": 0, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 9, - "N1": 7, - "N2": 15, - "programLength": 22, - "programVocabulary": 13, - "volume": 81.40967379910403, - "difficulty": 3.3333333333333335, - "effort": 271.36557933034675, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculateScore" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculateMetricWeights": { - "line": 70, - "lineCount": 17, - "argCount": 3, - "returnCount": 0, - "variableCount": 6, - "propertyCallCount": 3, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 12, - "N1": 9, - "N2": 24, - "programLength": 33, - "programVocabulary": 15, - "volume": 128.92738965508113, - "difficulty": 3, - "effort": 386.7821689652434, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculateMetricWeights" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculateLogWeight": { - "line": 132, - "lineCount": 8, - "argCount": 3, - "returnCount": 2, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 5, - "N1": 5, - "N2": 11, - "programLength": 16, - "programVocabulary": 10, - "volume": 53.150849518197795, - "difficulty": 5.5, - "effort": 292.3296723500879, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculateLogWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cyclomatic\\CyclomaticMetrics::__construct": { - "line": 129, - "lineCount": 23, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 19, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 43, - "N1": 56, - "N2": 130, - "programLength": 186, - "programVocabulary": 45, - "volume": 1021.4846759173195, - "difficulty": 3.0232558139534884, - "effort": 3088.209485331431, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cyclomatic\\CyclomaticMetrics::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::escapeMarkdown": { - "line": 18, - "lineCount": 6, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 5, - "N1": 1, - "N2": 6, - "programLength": 7, - "programVocabulary": 6, - "volume": 18.094737505048094, - "difficulty": 0.6, - "effort": 10.856842503028856, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::escapeMarkdown" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::formatNumber": { - "line": 32, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 5, - "programLength": 6, - "programVocabulary": 4, - "volume": 12, - "difficulty": 0.8333333333333334, - "effort": 10, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::formatNumber" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::buildTableHeader": { - "line": 43, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 3, - "N2": 5, - "programLength": 8, - "programVocabulary": 6, - "volume": 20.67970000576925, - "difficulty": 1.25, - "effort": 25.84962500721156, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::buildTableHeader" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::buildTableSeparator": { - "line": 54, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 4, - "programLength": 6, - "programVocabulary": 5, - "volume": 13.931568569324174, - "difficulty": 1.3333333333333333, - "effort": 18.575424759098897, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::buildTableSeparator" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::buildTableRow": { - "line": 65, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 3, - "N2": 5, - "programLength": 8, - "programVocabulary": 6, - "volume": 20.67970000576925, - "difficulty": 1.25, - "effort": 25.84962500721156, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::buildTableRow" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::formatPercentage": { - "line": 77, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 2, - "N2": 6, - "programLength": 8, - "programVocabulary": 6, - "volume": 20.67970000576925, - "difficulty": 1.5, - "effort": 31.019550008653873, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::formatPercentage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::escapeMarkdown": { - "line": 18, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 5, - "N1": 1, - "N2": 6, - "programLength": 7, - "programVocabulary": 6, - "volume": 18.094737505048094, - "difficulty": 0.6, - "effort": 10.856842503028856, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::escapeMarkdown" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::formatNumber": { - "line": 30, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 5, - "programLength": 6, - "programVocabulary": 4, - "volume": 12, - "difficulty": 0.8333333333333334, - "effort": 10, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::formatNumber" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::buildMarkdownTableHeader": { - "line": 41, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 3, - "N2": 5, - "programLength": 8, - "programVocabulary": 6, - "volume": 20.67970000576925, - "difficulty": 1.25, - "effort": 25.84962500721156, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::buildMarkdownTableHeader" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::buildMarkdownTableSeparator": { - "line": 52, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 4, - "programLength": 6, - "programVocabulary": 5, - "volume": 13.931568569324174, - "difficulty": 1.3333333333333333, - "effort": 18.575424759098897, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::buildMarkdownTableSeparator" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::buildMarkdownTableRow": { - "line": 63, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 3, - "N2": 5, - "programLength": 8, - "programVocabulary": 6, - "volume": 20.67970000576925, - "difficulty": 1.25, - "effort": 25.84962500721156, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::buildMarkdownTableRow" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::formatMarkdownPercentage": { - "line": 75, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 2, - "N2": 6, - "programLength": 8, - "programVocabulary": 6, - "volume": 20.67970000576925, - "difficulty": 1.5, - "effort": 31.019550008653873, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::formatMarkdownPercentage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Halstead\\HalsteadMetrics::__construct": { - "line": 33, - "lineCount": 13, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 10, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 12, - "N1": 10, - "N2": 31, - "programLength": 41, - "programVocabulary": 13, - "volume": 151.7180284437848, - "difficulty": 1.2916666666666667, - "effort": 195.96912007322203, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Halstead\\HalsteadMetrics::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Halstead\\HalsteadMetrics::getVolume": { - "line": 47, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Halstead\\HalsteadMetrics::getVolume" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::__construct": { - "line": 32, - "lineCount": 9, - "argCount": 5, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 7, - "N1": 2, - "N2": 7, - "programLength": 9, - "programVocabulary": 9, - "volume": 28.52932501298081, - "difficulty": 1, - "effort": 28.52932501298081, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::getChurnExporterFactory": { - "line": 45, - "lineCount": 7, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 1, - "N1": 2, - "N2": 3, - "programLength": 5, - "programVocabulary": 3, - "volume": 7.92481250360578, - "difficulty": 3, - "effort": 23.774437510817343, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::getChurnExporterFactory" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::getCognitiveExporterFactory": { - "line": 56, - "lineCount": 7, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 1, - "N1": 3, - "N2": 4, - "programLength": 7, - "programVocabulary": 4, - "volume": 14, - "difficulty": 6, - "effort": 84, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::getCognitiveExporterFactory" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::getCognitiveMetrics": { - "line": 72, - "lineCount": 10, - "argCount": 1, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 3, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 5, - "N2": 11, - "programLength": 16, - "programVocabulary": 6, - "volume": 41.3594000115385, - "difficulty": 2.75, - "effort": 113.73835003173087, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::getCognitiveMetrics" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::getCognitiveMetricsFromPaths": { - "line": 92, - "lineCount": 16, - "argCount": 2, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 8, - "N2": 18, - "programLength": 26, - "programVocabulary": 9, - "volume": 82.41805003750011, - "difficulty": 4.5, - "effort": 370.88122516875046, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::getCognitiveMetricsFromPaths" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::calculateChurn": { - "line": 118, - "lineCount": 18, - "argCount": 4, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 10, - "N1": 8, - "N2": 21, - "programLength": 29, - "programVocabulary": 12, - "volume": 103.96391252091352, - "difficulty": 2.1, - "effort": 218.3242162939184, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::calculateChurn" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::loadConfig": { - "line": 143, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::loadConfig" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::getConfig": { - "line": 148, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::getConfig" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::exportChurnReport": { - "line": 156, - "lineCount": 9, - "argCount": 3, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 4, - "N1": 3, - "N2": 7, - "programLength": 10, - "programVocabulary": 5, - "volume": 23.21928094887362, - "difficulty": 0.875, - "effort": 20.316870830264417, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::exportChurnReport" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::exportMetricsReport": { - "line": 168, - "lineCount": 8, - "argCount": 3, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 4, - "N2": 9, - "programLength": 13, - "programVocabulary": 7, - "volume": 36.49561398674886, - "difficulty": 1.8, - "effort": 65.69210517614795, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::exportMetricsReport" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::clearCache": { - "line": 177, - "lineCount": 4, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::clearCache" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::addCoverageToMetric": { - "line": 185, - "lineCount": 20, - "argCount": 2, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 11, - "N2": 18, - "programLength": 29, - "programVocabulary": 11, - "volume": 100.32351694048162, - "difficulty": 5.142857142857143, - "effort": 515.9495156939055, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::addCoverageToMetric" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::addMethodLevelCoverage": { - "line": 209, - "lineCount": 16, - "argCount": 2, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 9, - "N2": 15, - "programLength": 24, - "programVocabulary": 7, - "volume": 67.3765181293825, - "difficulty": 3, - "effort": 202.1295543881475, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::addMethodLevelCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Traits\\CoverageDataDetector::hasCoverageData": { - "line": 18, - "lineCount": 10, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 3, - "N2": 7, - "programLength": 10, - "programVocabulary": 6, - "volume": 25.84962500721156, - "difficulty": 3.5, - "effort": 90.47368752524046, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Traits\\CoverageDataDetector::hasCoverageData" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Utility\\Datetime::__construct": { - "line": 19, - "lineCount": 9, - "argCount": 0, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 1, - "n2": 0, - "N1": 1, - "N2": 0, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Utility\\Datetime::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Utility\\DirectoryScanner::scan": { - "line": 29, - "lineCount": 14, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 5, - "N2": 14, - "programLength": 19, - "programVocabulary": 6, - "volume": 49.11428751370197, - "difficulty": 3.5, - "effort": 171.90000629795688, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Utility\\DirectoryScanner::scan" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Utility\\DirectoryScanner::assertValidPath": { - "line": 47, - "lineCount": 6, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 1.5, - "effort": 6, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Utility\\DirectoryScanner::assertValidPath" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Utility\\DirectoryScanner::yieldFileIfNotExcluded": { - "line": 59, - "lineCount": 8, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 2, - "N2": 8, - "programLength": 10, - "programVocabulary": 6, - "volume": 25.84962500721156, - "difficulty": 2, - "effort": 51.69925001442312, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Utility\\DirectoryScanner::yieldFileIfNotExcluded" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Utility\\DirectoryScanner::traverseDirectory": { - "line": 76, - "lineCount": 15, - "argCount": 2, - "returnCount": 0, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 6, - "N1": 4, - "N2": 13, - "programLength": 17, - "programVocabulary": 8, - "volume": 51, - "difficulty": 2.1666666666666665, - "effort": 110.49999999999999, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Utility\\DirectoryScanner::traverseDirectory" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Utility\\DirectoryScanner::sortFilesByPathname": { - "line": 97, - "lineCount": 6, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 4, - "N2": 6, - "programLength": 10, - "programVocabulary": 5, - "volume": 23.21928094887362, - "difficulty": 2, - "effort": 46.43856189774724, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Utility\\DirectoryScanner::sortFilesByPathname" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Utility\\DirectoryScanner::getFilesFromIterator": { - "line": 111, - "lineCount": 11, - "argCount": 2, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 5, - "N2": 12, - "programLength": 17, - "programVocabulary": 8, - "volume": 51, - "difficulty": 3.5999999999999996, - "effort": 183.6, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Utility\\DirectoryScanner::getFilesFromIterator" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Utility\\DirectoryScanner::isExcluded": { - "line": 130, - "lineCount": 12, - "argCount": 2, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 5, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 9, - "volume": 47.548875021634686, - "difficulty": 4, - "effort": 190.19550008653874, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Utility\\DirectoryScanner::isExcluded" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\CacheItem::__construct": { - "line": 20, - "lineCount": 6, - "argCount": 3, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 3, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 4, - "N1": 3, - "N2": 9, - "programLength": 12, - "programVocabulary": 5, - "volume": 27.863137138648348, - "difficulty": 1.125, - "effort": 31.34602928097939, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\CacheItem::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\CacheItem::getKey": { - "line": 27, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\CacheItem::getKey" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\CacheItem::get": { - "line": 32, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\CacheItem::get" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\CacheItem::set": { - "line": 37, - "lineCount": 5, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 4, - "programLength": 5, - "programVocabulary": 3, - "volume": 7.92481250360578, - "difficulty": 1, - "effort": 7.92481250360578, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\CacheItem::set" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\CacheItem::isHit": { - "line": 43, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\CacheItem::isHit" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\CacheItem::setExpiration": { - "line": 48, - "lineCount": 6, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\CacheItem::setExpiration" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\CacheItem::getExpiration": { - "line": 55, - "lineCount": 5, - "argCount": 0, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 0, - "N1": 0, - "N2": 0, - "programLength": 0, - "programVocabulary": 0, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\CacheItem::getExpiration" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\CacheItem::expiresAt": { - "line": 61, - "lineCount": 6, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\CacheItem::expiresAt" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\CacheItem::expiresAfter": { - "line": 68, - "lineCount": 6, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\CacheItem::expiresAfter" - } - } - }, - "ignored_items": [], - "cached_at": 1759967601 -} \ No newline at end of file diff --git a/.phpcca.cache/a7/a73b4cc0abef322a14d9909b06eea860.cache b/.phpcca.cache/a7/a73b4cc0abef322a14d9909b06eea860.cache deleted file mode 100644 index f418a33..0000000 --- a/.phpcca.cache/a7/a73b4cc0abef322a14d9909b06eea860.cache +++ /dev/null @@ -1,4771 +0,0 @@ -{ - "version": "1.0", - "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/Business\/Cognitive\/MetricNames.php", - "file_mtime": 1752612112, - "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", - "analysis_result": { - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct": { - "line": 60, - "lineCount": 5, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 1, - "N1": 2, - "N2": 2, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 2, - "effort": 12.679700005769249, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices": { - "line": 66, - "lineCount": 95, - "argCount": 0, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 5, - "N1": 58, - "N2": 32, - "programLength": 90, - "programVocabulary": 9, - "volume": 285.2932501298081, - "difficulty": 12.8, - "effort": 3651.7536016615436, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap": { - "line": 162, - "lineCount": 10, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 7, - "N2": 7, - "programLength": 14, - "programVocabulary": 2, - "volume": 14, - "difficulty": 3.5, - "effort": 49, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors": { - "line": 173, - "lineCount": 12, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 3, - "N2": 1, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0.5, - "effort": 2, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus": { - "line": 186, - "lineCount": 19, - "argCount": 0, - "returnCount": 0, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 9, - "N2": 13, - "programLength": 22, - "programVocabulary": 7, - "volume": 61.76180828526729, - "difficulty": 2.6, - "effort": 160.58070154169496, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService": { - "line": 206, - "lineCount": 9, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 3, - "N2": 1, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0.5, - "effort": 2, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade": { - "line": 216, - "lineCount": 13, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 3, - "N2": 1, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0.5, - "effort": 2, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands": { - "line": 230, - "lineCount": 21, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 6, - "N2": 2, - "programLength": 8, - "programVocabulary": 2, - "volume": 8, - "difficulty": 1, - "effort": 8, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication": { - "line": 252, - "lineCount": 11, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 5, - "N2": 4, - "programLength": 9, - "programVocabulary": 4, - "volume": 18, - "difficulty": 0.6666666666666666, - "effort": 12, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run": { - "line": 264, - "lineCount": 9, - "argCount": 0, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 5, - "N2": 5, - "programLength": 10, - "programVocabulary": 4, - "volume": 20, - "difficulty": 2.5, - "effort": 50, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get": { - "line": 274, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer": { - "line": 279, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator": { - "line": 289, - "lineCount": 16, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 7, - "programLength": 8, - "programVocabulary": 4, - "volume": 16, - "difficulty": 1.1666666666666667, - "effort": 18.666666666666668, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create": { - "line": 18, - "lineCount": 7, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 4, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile": { - "line": 17, - "lineCount": 17, - "argCount": 2, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 8, - "N1": 11, - "N2": 19, - "programLength": 30, - "programVocabulary": 11, - "volume": 103.78294855911892, - "difficulty": 3.5625, - "effort": 369.72675424186116, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode": { - "line": 42, - "lineCount": 8, - "argCount": 3, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 3, - "N2": 8, - "programLength": 11, - "programVocabulary": 8, - "volume": 33, - "difficulty": 2.4000000000000004, - "effort": 79.20000000000002, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate": { - "line": 22, - "lineCount": 10, - "argCount": 2, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 6, - "N2": 13, - "programLength": 19, - "programVocabulary": 6, - "volume": 49.11428751370197, - "difficulty": 3.25, - "effort": 159.6214344195314, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending": { - "line": 37, - "lineCount": 8, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 2, - "N2": 9, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 2.25, - "effort": 63.97782189284862, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn": { - "line": 51, - "lineCount": 24, - "argCount": 2, - "returnCount": 1, - "variableCount": 6, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 15, - "N1": 17, - "N2": 46, - "programLength": 63, - "programVocabulary": 20, - "volume": 272.28146997790384, - "difficulty": 7.666666666666667, - "effort": 2087.491269830596, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses": { - "line": 81, - "lineCount": 20, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 2, - "n2": 7, - "N1": 10, - "N2": 24, - "programLength": 34, - "programVocabulary": 9, - "volume": 107.7774500490386, - "difficulty": 3.4285714285714284, - "effort": 369.52268588241805, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass": { - "line": 109, - "lineCount": 9, - "argCount": 2, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 6, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 10, - "volume": 49.82892142331043, - "difficulty": 3.3333333333333335, - "effort": 166.09640474436813, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel": { - "line": 126, - "lineCount": 16, - "argCount": 2, - "returnCount": 4, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 12, - "N1": 9, - "N2": 18, - "programLength": 27, - "programVocabulary": 15, - "volume": 105.48604608143, - "difficulty": 2.25, - "effort": 237.3436036832175, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile": { - "line": 14, - "lineCount": 6, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 2, - "N2": 5, - "programLength": 7, - "programVocabulary": 4, - "volume": 14, - "difficulty": 2.5, - "effort": 35, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable": { - "line": 24, - "lineCount": 11, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 10, - "N2": 12, - "programLength": 22, - "programVocabulary": 8, - "volume": 66, - "difficulty": 6, - "effort": 396, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create": { - "line": 21, - "lineCount": 11, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 7, - "N1": 0, - "N2": 9, - "programLength": 9, - "programVocabulary": 7, - "volume": 25.26619429851844, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes": { - "line": 38, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 6, - "N1": 0, - "N2": 6, - "programLength": 6, - "programVocabulary": 6, - "volume": 15.509775004326936, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported": { - "line": 49, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 2, - "N2": 3, - "programLength": 5, - "programVocabulary": 4, - "volume": 10, - "difficulty": 1.5, - "effort": 15, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export": { - "line": 30, - "lineCount": 23, - "argCount": 2, - "returnCount": 0, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 16, - "N1": 10, - "N2": 33, - "programLength": 43, - "programVocabulary": 20, - "volume": 185.8429080801566, - "difficulty": 4.125, - "effort": 766.601995830646, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export": { - "line": 28, - "lineCount": 8, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 6, - "volume": 36.18947501009619, - "difficulty": 2.5, - "effort": 90.47368752524048, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape": { - "line": 37, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber": { - "line": 42, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml": { - "line": 52, - "lineCount": 50, - "argCount": 1, - "returnCount": 1, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 12, - "N1": 11, - "N2": 25, - "programLength": 36, - "programVocabulary": 17, - "volume": 147.14866228501222, - "difficulty": 5.208333333333334, - "effort": 766.3992827344388, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export": { - "line": 17, - "lineCount": 13, - "argCount": 2, - "returnCount": 0, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 8, - "N1": 7, - "N2": 14, - "programLength": 21, - "programVocabulary": 12, - "volume": 75.28421251514428, - "difficulty": 3.5, - "effort": 263.49474380300495, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export": { - "line": 48, - "lineCount": 8, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 6, - "volume": 36.18947501009619, - "difficulty": 2.5, - "effort": 90.47368752524048, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown": { - "line": 61, - "lineCount": 24, - "argCount": 1, - "returnCount": 1, - "variableCount": 6, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 6, - "n2": 16, - "N1": 19, - "N2": 41, - "programLength": 60, - "programVocabulary": 22, - "volume": 267.56589711823784, - "difficulty": 7.6875, - "effort": 2056.9128340964535, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow": { - "line": 94, - "lineCount": 21, - "argCount": 3, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 7, - "n2": 18, - "N1": 16, - "N2": 39, - "programLength": 55, - "programVocabulary": 25, - "volume": 255.41209043760983, - "difficulty": 7.583333333333333, - "effort": 1936.8750191518745, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::__construct": { - "line": 26, - "lineCount": 4, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::export": { - "line": 36, - "lineCount": 10, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 8, - "volume": 45, - "difficulty": 5, - "effort": 225, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::generateSvgTreemap": { - "line": 53, - "lineCount": 20, - "argCount": 1, - "returnCount": 1, - "variableCount": 6, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 8, - "N1": 9, - "N2": 20, - "programLength": 29, - "programVocabulary": 10, - "volume": 96.3359147517335, - "difficulty": 2.5, - "effort": 240.83978687933376, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::generateSvgTreemap" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRects": { - "line": 82, - "lineCount": 10, - "argCount": 3, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 9, - "N1": 6, - "N2": 18, - "programLength": 24, - "programVocabulary": 12, - "volume": 86.03910001730775, - "difficulty": 3, - "effort": 258.1173000519232, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRects" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRect": { - "line": 100, - "lineCount": 29, - "argCount": 2, - "returnCount": 1, - "variableCount": 12, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 6, - "n2": 28, - "N1": 26, - "N2": 54, - "programLength": 80, - "programVocabulary": 34, - "volume": 406.9970273000271, - "difficulty": 5.785714285714286, - "effort": 2354.7685150930142, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRect" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::wrapSvg": { - "line": 136, - "lineCount": 21, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 2, - "N2": 8, - "programLength": 10, - "programVocabulary": 4, - "volume": 20, - "difficulty": 1.3333333333333333, - "effort": 26.666666666666664, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::wrapSvg" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::prepareItems": { - "line": 28, - "lineCount": 18, - "argCount": 1, - "returnCount": 1, - "variableCount": 7, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 12, - "N1": 9, - "N2": 30, - "programLength": 39, - "programVocabulary": 17, - "volume": 159.41105080876324, - "difficulty": 6.25, - "effort": 996.3190675547702, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::prepareItems" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findScoreRange": { - "line": 53, - "lineCount": 16, - "argCount": 1, - "returnCount": 3, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 7, - "N2": 13, - "programLength": 20, - "programVocabulary": 8, - "volume": 60, - "difficulty": 3.9000000000000004, - "effort": 234.00000000000003, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findScoreRange" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::normalizeScore": { - "line": 78, - "lineCount": 8, - "argCount": 3, - "returnCount": 2, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 8, - "volume": 45, - "difficulty": 5, - "effort": 225, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::normalizeScore" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::scoreToColor": { - "line": 93, - "lineCount": 9, - "argCount": 1, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 5, - "n2": 9, - "N1": 12, - "N2": 16, - "programLength": 28, - "programVocabulary": 14, - "volume": 106.60593781761291, - "difficulty": 4.444444444444445, - "effort": 473.80416807827964, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::scoreToColor" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::calculateTreemapLayout": { - "line": 115, - "lineCount": 23, - "argCount": 7, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 9, - "N1": 2, - "N2": 18, - "programLength": 20, - "programVocabulary": 11, - "volume": 69.18863237274594, - "difficulty": 2, - "effort": 138.37726474549189, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::calculateTreemapLayout" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::layoutTreemap": { - "line": 152, - "lineCount": 89, - "argCount": 8, - "returnCount": 3, - "variableCount": 11, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 8, - "n2": 28, - "N1": 32, - "N2": 98, - "programLength": 130, - "programVocabulary": 36, - "volume": 672.0902501875006, - "difficulty": 14, - "effort": 9409.263502625008, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::layoutTreemap" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findSplitIndex": { - "line": 249, - "lineCount": 13, - "argCount": 2, - "returnCount": 2, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 7, - "n2": 10, - "N1": 9, - "N2": 23, - "programLength": 32, - "programVocabulary": 17, - "volume": 130.79881092001085, - "difficulty": 8.049999999999999, - "effort": 1052.9304279060873, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findSplitIndex" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::__construct": { - "line": 23, - "lineCount": 18, - "argCount": 1, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 7, - "N2": 11, - "programLength": 18, - "programVocabulary": 6, - "volume": 46.529325012980806, - "difficulty": 5.5, - "effort": 255.91128757139444, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::getAllClasses": { - "line": 47, - "lineCount": 17, - "argCount": 0, - "returnCount": 2, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 6, - "N2": 12, - "programLength": 18, - "programVocabulary": 9, - "volume": 57.05865002596162, - "difficulty": 3, - "effort": 171.17595007788486, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::getAllClasses" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::withClassNode": { - "line": 73, - "lineCount": 8, - "argCount": 2, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 4, - "N2": 8, - "programLength": 12, - "programVocabulary": 8, - "volume": 36, - "difficulty": 4, - "effort": 144, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::withClassNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::findClassNode": { - "line": 85, - "lineCount": 25, - "argCount": 1, - "returnCount": 4, - "variableCount": 5, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 13, - "N2": 29, - "programLength": 42, - "programVocabulary": 11, - "volume": 145.29612798276648, - "difficulty": 8.285714285714286, - "effort": 1203.8822032857795, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::findClassNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::escapeXPathValue": { - "line": 114, - "lineCount": 16, - "argCount": 1, - "returnCount": 3, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 9, - "N1": 11, - "N2": 18, - "programLength": 29, - "programVocabulary": 13, - "volume": 107.31275182609167, - "difficulty": 4, - "effort": 429.2510073043667, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::escapeXPathValue" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getLineCoverage": { - "line": 22, - "lineCount": 18, - "argCount": 1, - "returnCount": 4, - "variableCount": 5, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 9, - "N1": 10, - "N2": 19, - "programLength": 29, - "programVocabulary": 13, - "volume": 107.31275182609167, - "difficulty": 4.222222222222222, - "effort": 453.09828548794263, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getLineCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getBranchCoverage": { - "line": 48, - "lineCount": 18, - "argCount": 1, - "returnCount": 4, - "variableCount": 5, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 9, - "N1": 10, - "N2": 19, - "programLength": 29, - "programVocabulary": 13, - "volume": 107.31275182609167, - "difficulty": 4.222222222222222, - "effort": 453.09828548794263, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getBranchCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getComplexity": { - "line": 73, - "lineCount": 13, - "argCount": 1, - "returnCount": 3, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 7, - "N2": 14, - "programLength": 21, - "programVocabulary": 11, - "volume": 72.64806399138324, - "difficulty": 4, - "effort": 290.59225596553296, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getComplexity" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getCoverageDetails": { - "line": 93, - "lineCount": 26, - "argCount": 1, - "returnCount": 3, - "variableCount": 9, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 17, - "N1": 22, - "N2": 42, - "programLength": 64, - "programVocabulary": 22, - "volume": 285.403623592787, - "difficulty": 6.176470588235294, - "effort": 1762.7870868966259, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getCoverageDetails" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getMetricsNode": { - "line": 123, - "lineCount": 12, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 6, - "N1": 7, - "N2": 13, - "programLength": 20, - "programVocabulary": 10, - "volume": 66.43856189774725, - "difficulty": 4.333333333333333, - "effort": 287.90043489023805, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getMetricsNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getFilenameForClass": { - "line": 139, - "lineCount": 9, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 5, - "N1": 4, - "N2": 9, - "programLength": 13, - "programVocabulary": 9, - "volume": 41.209025018750054, - "difficulty": 3.6, - "effort": 148.3524900675002, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getFilenameForClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodsCoverage": { - "line": 154, - "lineCount": 36, - "argCount": 1, - "returnCount": 3, - "variableCount": 8, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 13, - "N1": 12, - "N2": 30, - "programLength": 42, - "programVocabulary": 16, - "volume": 168, - "difficulty": 3.4615384615384612, - "effort": 581.5384615384614, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodsCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::calculateMethodCoverage": { - "line": 194, - "lineCount": 15, - "argCount": 2, - "returnCount": 2, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 11, - "N1": 9, - "N2": 23, - "programLength": 32, - "programVocabulary": 16, - "volume": 128, - "difficulty": 5.227272727272727, - "effort": 669.090909090909, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::calculateMethodCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodCoverageFromLines": { - "line": 215, - "lineCount": 36, - "argCount": 2, - "returnCount": 1, - "variableCount": 7, - "propertyCallCount": 0, - "ifNestingLevel": 2, - "elseCount": 0, - "ifCount": 5, - "halstead": { - "n1": 2, - "n2": 14, - "N1": 12, - "N2": 35, - "programLength": 47, - "programVocabulary": 16, - "volume": 188, - "difficulty": 2.5, - "effort": 470, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodCoverageFromLines" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStart": { - "line": 252, - "lineCount": 4, - "argCount": 3, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 3, - "N2": 7, - "programLength": 10, - "programVocabulary": 6, - "volume": 25.84962500721156, - "difficulty": 1.75, - "effort": 45.23684376262023, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStart" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodEnd": { - "line": 257, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 5, - "programLength": 7, - "programVocabulary": 5, - "volume": 16.253496664211536, - "difficulty": 1.6666666666666667, - "effort": 27.089161107019226, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodEnd" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStatement": { - "line": 262, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 5, - "programLength": 7, - "programVocabulary": 5, - "volume": 16.253496664211536, - "difficulty": 1.6666666666666667, - "effort": 27.089161107019226, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStatement" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isStatementCovered": { - "line": 267, - "lineCount": 5, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 4, - "N1": 3, - "N2": 6, - "programLength": 9, - "programVocabulary": 7, - "volume": 25.26619429851844, - "difficulty": 2.25, - "effort": 56.848937171666485, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isStatementCovered" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getLineCoverage": { - "line": 20, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 9, - "volume": 44.37895002019237, - "difficulty": 2.5, - "effort": 110.94737505048093, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getLineCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getBranchCoverage": { - "line": 34, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 9, - "volume": 44.37895002019237, - "difficulty": 2.5, - "effort": 110.94737505048093, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getBranchCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getComplexity": { - "line": 48, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 9, - "volume": 44.37895002019237, - "difficulty": 2.5, - "effort": 110.94737505048093, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getComplexity" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getCoverageDetails": { - "line": 62, - "lineCount": 13, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 8, - "N1": 7, - "N2": 16, - "programLength": 23, - "programVocabulary": 9, - "volume": 72.90827503317318, - "difficulty": 1, - "effort": 72.90827503317318, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getCoverageDetails" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::extractMethodsCoverage": { - "line": 81, - "lineCount": 23, - "argCount": 1, - "returnCount": 2, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 11, - "N1": 10, - "N2": 23, - "programLength": 33, - "programVocabulary": 14, - "volume": 125.64271242790093, - "difficulty": 3.1363636363636362, - "effort": 394.061234432962, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::extractMethodsCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CodeCoverageFactory::createFromName": { - "line": 14, - "lineCount": 8, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 4, - "N1": 1, - "N2": 8, - "programLength": 9, - "programVocabulary": 5, - "volume": 20.89735285398626, - "difficulty": 1, - "effort": 20.89735285398626, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CodeCoverageFactory::createFromName" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::__construct": { - "line": 28, - "lineCount": 15, - "argCount": 6, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 6, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 7, - "N1": 6, - "N2": 18, - "programLength": 24, - "programVocabulary": 8, - "volume": 72, - "difficulty": 1.2857142857142858, - "effort": 92.57142857142858, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getName": { - "line": 44, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getName" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getFilename": { - "line": 49, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getFilename" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getLineRate": { - "line": 54, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getLineRate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getBranchRate": { - "line": 59, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getBranchRate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getComplexity": { - "line": 64, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getComplexity" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getMethods": { - "line": 72, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getMethods" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::__construct": { - "line": 17, - "lineCount": 11, - "argCount": 4, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 4, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 5, - "N1": 4, - "N2": 12, - "programLength": 16, - "programVocabulary": 6, - "volume": 41.3594000115385, - "difficulty": 1.2, - "effort": 49.631280013846194, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getName": { - "line": 29, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getName" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getLineRate": { - "line": 34, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getLineRate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getBranchRate": { - "line": 39, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getBranchRate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getComplexity": { - "line": 44, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getComplexity" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::calculateDeltas": { - "line": 19, - "lineCount": 14, - "argCount": 2, - "returnCount": 0, - "variableCount": 6, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 9, - "N1": 4, - "N2": 18, - "programLength": 22, - "programVocabulary": 11, - "volume": 76.10749561002054, - "difficulty": 2, - "effort": 152.21499122004107, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::calculateDeltas" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::loadBaseline": { - "line": 41, - "lineCount": 13, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 5, - "N2": 9, - "programLength": 14, - "programVocabulary": 8, - "volume": 42, - "difficulty": 2.7, - "effort": 113.4, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::loadBaseline" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::__construct": { - "line": 72, - "lineCount": 21, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 6, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 9, - "N1": 12, - "N2": 34, - "programLength": 46, - "programVocabulary": 12, - "volume": 164.90827503317317, - "difficulty": 5.666666666666666, - "effort": 934.4802251879812, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setRequiredMetricProperties": { - "line": 98, - "lineCount": 30, - "argCount": 1, - "returnCount": 0, - "variableCount": 6, - "propertyCallCount": 9, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 21, - "N1": 21, - "N2": 51, - "programLength": 72, - "programVocabulary": 24, - "volume": 330.1173000519232, - "difficulty": 3.6428571428571423, - "effort": 1202.570164474863, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setRequiredMetricProperties" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setOptionalMetricProperties": { - "line": 133, - "lineCount": 12, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 8, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 11, - "N1": 16, - "N2": 33, - "programLength": 49, - "programVocabulary": 13, - "volume": 181.32154618891352, - "difficulty": 3, - "effort": 543.9646385667405, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setOptionalMetricProperties" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setTimesChanged": { - "line": 146, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setTimesChanged" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertSame": { - "line": 151, - "lineCount": 14, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 6, - "N2": 8, - "programLength": 14, - "programVocabulary": 5, - "volume": 32.50699332842307, - "difficulty": 2.6666666666666665, - "effort": 86.68531554246152, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertSame" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::calculateDeltas": { - "line": 169, - "lineCount": 13, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 16, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 17, - "N2": 27, - "programLength": 44, - "programVocabulary": 4, - "volume": 88, - "difficulty": 13.5, - "effort": 1188, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::calculateDeltas" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::fromArray": { - "line": 187, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::fromArray" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertArrayKeyIsPresent": { - "line": 197, - "lineCount": 6, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 5, - "programLength": 5, - "programVocabulary": 2, - "volume": 5, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertArrayKeyIsPresent" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getClass": { - "line": 204, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getMethod": { - "line": 209, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getMethod" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCount": { - "line": 214, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCount": { - "line": 219, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCount": { - "line": 224, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCount": { - "line": 229, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCount": { - "line": 234, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCount": { - "line": 239, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevel": { - "line": 244, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevel" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCount": { - "line": 249, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeight": { - "line": 254, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setLineCountWeight": { - "line": 259, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setLineCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeight": { - "line": 264, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setArgCountWeight": { - "line": 269, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setArgCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeight": { - "line": 274, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setReturnCountWeight": { - "line": 279, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setReturnCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeight": { - "line": 284, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setVariableCountWeight": { - "line": 289, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setVariableCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeight": { - "line": 294, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setPropertyCallCountWeight": { - "line": 299, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setPropertyCallCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeight": { - "line": 304, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfCountWeight": { - "line": 309, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeight": { - "line": 314, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfNestingLevelWeight": { - "line": 319, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfNestingLevelWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeight": { - "line": 324, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setElseCountWeight": { - "line": 329, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setElseCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setScore": { - "line": 334, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setScore" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getScore": { - "line": 339, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getScore" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setCoverage": { - "line": 344, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCoverage": { - "line": 349, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeightDelta": { - "line": 354, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeightDelta": { - "line": 359, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeightDelta": { - "line": 364, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeightDelta": { - "line": 369, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeightDelta": { - "line": 374, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeightDelta": { - "line": 379, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeightDelta": { - "line": 384, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeightDelta": { - "line": 389, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getTimesChanged": { - "line": 394, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 2, - "programLength": 3, - "programVocabulary": 3, - "volume": 4.754887502163468, - "difficulty": 0.5, - "effort": 2.377443751081734, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getTimesChanged" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getFileName": { - "line": 399, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getFileName" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLine": { - "line": 404, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLine" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::equals": { - "line": 409, - "lineCount": 5, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 2, - "N1": 5, - "N2": 5, - "programLength": 10, - "programVocabulary": 5, - "volume": 23.21928094887362, - "difficulty": 3.75, - "effort": 87.07230355827608, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::equals" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::toArray": { - "line": 418, - "lineCount": 34, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 29, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 30, - "N1": 0, - "N2": 58, - "programLength": 58, - "programVocabulary": 30, - "volume": 284.5996545452941, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::toArray" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::jsonSerialize": { - "line": 456, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::jsonSerialize" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getHalstead": { - "line": 464, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getHalstead" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCyclomatic": { - "line": 472, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCyclomatic" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::add": { - "line": 30, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 5, - "N2": 6, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 3, - "effort": 85.30376252379816, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::add" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filter": { - "line": 40, - "lineCount": 11, - "argCount": 1, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 8, - "volume": 42, - "difficulty": 3, - "effort": 126, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filter" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getIterator": { - "line": 57, - "lineCount": 5, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getIterator" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::count": { - "line": 66, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::count" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterWithScoreGreaterThan": { - "line": 71, - "lineCount": 6, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 3, - "N2": 6, - "programLength": 9, - "programVocabulary": 5, - "volume": 20.89735285398626, - "difficulty": 2, - "effort": 41.79470570797252, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterWithScoreGreaterThan" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::contains": { - "line": 78, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 4, - "N2": 5, - "programLength": 9, - "programVocabulary": 5, - "volume": 20.89735285398626, - "difficulty": 1.6666666666666667, - "effort": 34.82892142331043, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::contains" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getClassWithMethod": { - "line": 83, - "lineCount": 9, - "argCount": 2, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 3, - "N2": 10, - "programLength": 13, - "programVocabulary": 7, - "volume": 36.49561398674886, - "difficulty": 2, - "effort": 72.99122797349771, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getClassWithMethod" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterByClassName": { - "line": 93, - "lineCount": 6, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 3, - "N2": 6, - "programLength": 9, - "programVocabulary": 5, - "volume": 20.89735285398626, - "difficulty": 2, - "effort": 41.79470570797252, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterByClassName" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::assertMetricHasGetter": { - "line": 100, - "lineCount": 9, - "argCount": 3, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 6, - "programLength": 7, - "programVocabulary": 4, - "volume": 14, - "difficulty": 1, - "effort": 14, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::assertMetricHasGetter" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::groupBy": { - "line": 117, - "lineCount": 20, - "argCount": 1, - "returnCount": 1, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 10, - "N2": 23, - "programLength": 33, - "programVocabulary": 11, - "volume": 114.16124341503081, - "difficulty": 6.571428571428571, - "effort": 750.2024567273453, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::groupBy" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::jsonSerialize": { - "line": 141, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::jsonSerialize" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::__construct": { - "line": 32, - "lineCount": 8, - "argCount": 5, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 5, - "N1": 0, - "N2": 5, - "programLength": 5, - "programVocabulary": 5, - "volume": 11.60964047443681, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collect": { - "line": 49, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 5, - "programLength": 6, - "programVocabulary": 4, - "volume": 12, - "difficulty": 0.8333333333333334, - "effort": 10, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collect" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collectFromPaths": { - "line": 62, - "lineCount": 13, - "argCount": 2, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 8, - "N2": 16, - "programLength": 24, - "programVocabulary": 9, - "volume": 76.07820003461549, - "difficulty": 4, - "effort": 304.31280013846197, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collectFromPaths" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCodeFromFile": { - "line": 79, - "lineCount": 10, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 2, - "N1": 5, - "N2": 6, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 6, - "effort": 170.6075250475963, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCodeFromFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findMetrics": { - "line": 98, - "lineCount": 31, - "argCount": 1, - "returnCount": 1, - "variableCount": 9, - "propertyCallCount": 2, - "ifNestingLevel": 2, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 13, - "N1": 18, - "N2": 38, - "programLength": 56, - "programVocabulary": 16, - "volume": 224, - "difficulty": 4.384615384615384, - "effort": 982.1538461538461, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findMetrics" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processMethodMetrics": { - "line": 136, - "lineCount": 29, - "argCount": 3, - "returnCount": 1, - "variableCount": 7, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 14, - "N1": 8, - "N2": 27, - "programLength": 35, - "programVocabulary": 17, - "volume": 143.06119944376186, - "difficulty": 2.892857142857143, - "effort": 413.8556126765968, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processMethodMetrics" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::isExcluded": { - "line": 166, - "lineCount": 12, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 5, - "N1": 5, - "N2": 9, - "programLength": 14, - "programVocabulary": 9, - "volume": 44.37895002019237, - "difficulty": 3.6, - "effort": 159.76422007269252, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::isExcluded" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findSourceFiles": { - "line": 187, - "lineCount": 7, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 2, - "N2": 6, - "programLength": 8, - "programVocabulary": 6, - "volume": 20.67970000576925, - "difficulty": 1.5, - "effort": 31.019550008653873, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findSourceFiles" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getProjectRoot": { - "line": 202, - "lineCount": 13, - "argCount": 0, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 2, - "N1": 8, - "N2": 8, - "programLength": 16, - "programVocabulary": 6, - "volume": 41.3594000115385, - "difficulty": 8, - "effort": 330.875200092308, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getProjectRoot" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateCacheKey": { - "line": 219, - "lineCount": 7, - "argCount": 2, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 6, - "N1": 10, - "N2": 12, - "programLength": 22, - "programVocabulary": 10, - "volume": 73.08241808752197, - "difficulty": 4, - "effort": 292.3296723500879, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateCacheKey" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateConfigHash": { - "line": 230, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 1, - "N1": 3, - "N2": 2, - "programLength": 5, - "programVocabulary": 3, - "volume": 7.92481250360578, - "difficulty": 2, - "effort": 15.84962500721156, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateConfigHash" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::cacheResult": { - "line": 239, - "lineCount": 14, - "argCount": 4, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 13, - "N1": 5, - "N2": 20, - "programLength": 25, - "programVocabulary": 15, - "volume": 97.67226489021297, - "difficulty": 1.5384615384615385, - "effort": 150.26502290801997, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::cacheResult" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::clearCache": { - "line": 254, - "lineCount": 4, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::clearCache" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::normalizeFilename": { - "line": 264, - "lineCount": 15, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 6, - "n2": 7, - "N1": 12, - "N2": 16, - "programLength": 28, - "programVocabulary": 13, - "volume": 103.61231210795059, - "difficulty": 6.857142857142857, - "effort": 710.4844258830897, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::normalizeFilename" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCachedMetrics": { - "line": 286, - "lineCount": 19, - "argCount": 3, - "returnCount": 3, - "variableCount": 4, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 11, - "N1": 10, - "N2": 29, - "programLength": 39, - "programVocabulary": 14, - "volume": 148.48684196024655, - "difficulty": 3.954545454545454, - "effort": 587.1979659337022, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCachedMetrics" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processFile": { - "line": 312, - "lineCount": 37, - "argCount": 5, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 7, - "n2": 10, - "N1": 12, - "N2": 28, - "programLength": 40, - "programVocabulary": 17, - "volume": 163.49851365001356, - "difficulty": 9.799999999999999, - "effort": 1602.2854337701328, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::sort": { - "line": 51, - "lineCount": 41, - "argCount": 3, - "returnCount": 2, - "variableCount": 10, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 18, - "N1": 20, - "N2": 43, - "programLength": 63, - "programVocabulary": 22, - "volume": 280.9441919741497, - "difficulty": 4.777777777777778, - "effort": 1342.2889172098264, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::sort" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getFieldValue": { - "line": 100, - "lineCount": 28, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 25, - "N1": 24, - "N2": 50, - "programLength": 74, - "programVocabulary": 27, - "volume": 351.86167516009664, - "difficulty": 2, - "effort": 703.7233503201933, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getFieldValue" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::compareValues": { - "line": 136, - "lineCount": 13, - "argCount": 2, - "returnCount": 3, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 2, - "N1": 9, - "N2": 12, - "programLength": 21, - "programVocabulary": 5, - "volume": 48.760489992634604, - "difficulty": 9, - "effort": 438.8444099337114, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::compareValues" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getSortableFields": { - "line": 155, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 0, - "N1": 0, - "N2": 0, - "programLength": 0, - "programVocabulary": 0, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getSortableFields" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__construct": { - "line": 15, - "lineCount": 11, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 7, - "N2": 12, - "programLength": 19, - "programVocabulary": 6, - "volume": 49.11428751370197, - "difficulty": 6, - "effort": 294.6857250822118, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::getValue": { - "line": 27, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::getValue" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasIncreased": { - "line": 32, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasIncreased" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__toString": { - "line": 37, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__toString" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasNotChanged": { - "line": 42, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 2, - "programLength": 3, - "programVocabulary": 3, - "volume": 4.754887502163468, - "difficulty": 0.5, - "effort": 2.377443751081734, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasNotChanged" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\FileProcessed::__construct": { - "line": 14, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\FileProcessed::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\ParserFailed::__construct": { - "line": 15, - "lineCount": 5, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\ParserFailed::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\SourceFilesFound::__construct": { - "line": 17, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\SourceFilesFound::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::__construct": { - "line": 15, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::create": { - "line": 27, - "lineCount": 10, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 6, - "N1": 0, - "N2": 8, - "programLength": 8, - "programVocabulary": 6, - "volume": 20.67970000576925, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::create" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::getSupportedTypes": { - "line": 43, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 4, - "N1": 0, - "N2": 4, - "programLength": 4, - "programVocabulary": 4, - "volume": 8, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::getSupportedTypes" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::isSupported": { - "line": 54, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 2, - "N2": 3, - "programLength": 5, - "programVocabulary": 4, - "volume": 10, - "difficulty": 1.5, - "effort": 15, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::isSupported" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CsvExporter::export": { - "line": 46, - "lineCount": 57, - "argCount": 2, - "returnCount": 0, - "variableCount": 6, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 15, - "N1": 37, - "N2": 54, - "programLength": 91, - "programVocabulary": 19, - "volume": 386.56140372336625, - "difficulty": 7.2, - "effort": 2783.242106808237, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CsvExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::export": { - "line": 40, - "lineCount": 8, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 5, - "N1": 4, - "N2": 8, - "programLength": 12, - "programVocabulary": 9, - "volume": 38.039100017307746, - "difficulty": 3.2, - "effort": 121.72512005538479, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::escape": { - "line": 49, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::escape" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::formatNumber": { - "line": 54, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::formatNumber" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::generateMetricRow": { - "line": 59, - "lineCount": 12, - "argCount": 3, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 16, - "N1": 19, - "N2": 27, - "programLength": 46, - "programVocabulary": 21, - "volume": 202.04660144782298, - "difficulty": 4.21875, - "effort": 852.3840998580032, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::generateMetricRow" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::generateHtml": { - "line": 78, - "lineCount": 64, - "argCount": 1, - "returnCount": 1, - "variableCount": 7, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 11, - "N1": 46, - "N2": 57, - "programLength": 103, - "programVocabulary": 15, - "volume": 402.40973134767745, - "difficulty": 10.363636363636363, - "effort": 4170.42812487593, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::generateHtml" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\JsonExporter::export": { - "line": 19, - "lineCount": 38, - "argCount": 2, - "returnCount": 0, - "variableCount": 5, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 27, - "N1": 29, - "N2": 58, - "programLength": 87, - "programVocabulary": 32, - "volume": 435, - "difficulty": 5.370370370370371, - "effort": 2336.1111111111113, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\JsonExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::__construct": { - "line": 24, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::export": { - "line": 36, - "lineCount": 8, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 5, - "N1": 4, - "N2": 8, - "programLength": 12, - "programVocabulary": 9, - "volume": 38.039100017307746, - "difficulty": 3.2, - "effort": 121.72512005538479, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::escape": { - "line": 48, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::escape" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateMetricCell": { - "line": 56, - "lineCount": 12, - "argCount": 3, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 12, - "N1": 16, - "N2": 24, - "programLength": 40, - "programVocabulary": 17, - "volume": 163.49851365001356, - "difficulty": 5, - "effort": 817.4925682500678, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateMetricCell" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::filterMetrics": { - "line": 75, - "lineCount": 15, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 4, - "N1": 4, - "N2": 11, - "programLength": 15, - "programVocabulary": 7, - "volume": 42.11032383086406, - "difficulty": 4.125, - "effort": 173.70508580231424, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::filterMetrics" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableHeader": { - "line": 94, - "lineCount": 33, - "argCount": 0, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 4, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 19, - "N1": 10, - "N2": 28, - "programLength": 38, - "programVocabulary": 22, - "volume": 169.4584015082173, - "difficulty": 2.2105263157894735, - "effort": 374.5922559655329, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableHeader" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableHeaderWithClass": { - "line": 131, - "lineCount": 33, - "argCount": 0, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 4, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 20, - "N1": 10, - "N2": 29, - "programLength": 39, - "programVocabulary": 23, - "volume": 176.41891628622352, - "difficulty": 2.175, - "effort": 383.7111429225361, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableHeaderWithClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableSeparator": { - "line": 168, - "lineCount": 20, - "argCount": 0, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 4, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 7, - "N1": 3, - "N2": 16, - "programLength": 19, - "programVocabulary": 10, - "volume": 63.11663380285988, - "difficulty": 3.4285714285714284, - "effort": 216.399887324091, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableSeparator" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableSeparatorWithClass": { - "line": 192, - "lineCount": 20, - "argCount": 0, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 4, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 8, - "N1": 3, - "N2": 16, - "programLength": 19, - "programVocabulary": 11, - "volume": 65.72920075410865, - "difficulty": 3, - "effort": 197.18760226232592, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableSeparatorWithClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableRow": { - "line": 216, - "lineCount": 22, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 6, - "N1": 53, - "N2": 60, - "programLength": 113, - "programVocabulary": 10, - "volume": 375.37787472227194, - "difficulty": 20, - "effort": 7507.557494445438, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableRow" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableRowWithClass": { - "line": 242, - "lineCount": 25, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 6, - "N1": 55, - "N2": 62, - "programLength": 117, - "programVocabulary": 10, - "volume": 388.66558710182136, - "difficulty": 20.666666666666668, - "effort": 8032.422133437642, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableRowWithClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::addHalsteadCells": { - "line": 274, - "lineCount": 20, - "argCount": 2, - "returnCount": 3, - "variableCount": 2, - "propertyCallCount": 5, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 12, - "N2": 24, - "programLength": 36, - "programVocabulary": 8, - "volume": 108, - "difficulty": 7.199999999999999, - "effort": 777.5999999999999, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::addHalsteadCells" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::addCyclomaticCell": { - "line": 301, - "lineCount": 16, - "argCount": 2, - "returnCount": 3, - "variableCount": 2, - "propertyCallCount": 4, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 8, - "N2": 16, - "programLength": 24, - "programVocabulary": 11, - "volume": 83.02635884729514, - "difficulty": 4.571428571428571, - "effort": 379.5490690162063, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::addCyclomaticCell" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateMarkdown": { - "line": 325, - "lineCount": 8, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 2, - "N2": 6, - "programLength": 8, - "programVocabulary": 3, - "volume": 12.679700005769249, - "difficulty": 1.5, - "effort": 19.019550008653873, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateMarkdown" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateGroupedMarkdown": { - "line": 337, - "lineCount": 49, - "argCount": 1, - "returnCount": 1, - "variableCount": 10, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 8, - "n2": 23, - "N1": 33, - "N2": 65, - "programLength": 98, - "programVocabulary": 31, - "volume": 485.5112384179137, - "difficulty": 11.304347826086957, - "effort": 5488.387912550329, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateGroupedMarkdown" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateSingleTableMarkdown": { - "line": 390, - "lineCount": 28, - "argCount": 1, - "returnCount": 1, - "variableCount": 6, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 6, - "n2": 13, - "N1": 19, - "N2": 37, - "programLength": 56, - "programVocabulary": 19, - "volume": 237.88394075284077, - "difficulty": 8.538461538461538, - "effort": 2031.1628787357943, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateSingleTableMarkdown" - } - } - }, - "ignored_items": [], - "cached_at": 1759967601 -} \ No newline at end of file diff --git a/.phpcca.cache/a7/a7f6e78cba22e5898f9bf9e3bc9a70ac.cache b/.phpcca.cache/a7/a7f6e78cba22e5898f9bf9e3bc9a70ac.cache deleted file mode 100644 index 338c4ea..0000000 --- a/.phpcca.cache/a7/a7f6e78cba22e5898f9bf9e3bc9a70ac.cache +++ /dev/null @@ -1,4154 +0,0 @@ -{ - "version": "1.0", - "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/Business\/Cognitive\/Events\/SourceFilesFound.php", - "file_mtime": 1752612112, - "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", - "analysis_result": { - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct": { - "line": 60, - "lineCount": 5, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 1, - "N1": 2, - "N2": 2, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 2, - "effort": 12.679700005769249, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices": { - "line": 66, - "lineCount": 95, - "argCount": 0, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 5, - "N1": 58, - "N2": 32, - "programLength": 90, - "programVocabulary": 9, - "volume": 285.2932501298081, - "difficulty": 12.8, - "effort": 3651.7536016615436, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap": { - "line": 162, - "lineCount": 10, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 7, - "N2": 7, - "programLength": 14, - "programVocabulary": 2, - "volume": 14, - "difficulty": 3.5, - "effort": 49, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors": { - "line": 173, - "lineCount": 12, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 3, - "N2": 1, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0.5, - "effort": 2, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus": { - "line": 186, - "lineCount": 19, - "argCount": 0, - "returnCount": 0, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 9, - "N2": 13, - "programLength": 22, - "programVocabulary": 7, - "volume": 61.76180828526729, - "difficulty": 2.6, - "effort": 160.58070154169496, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService": { - "line": 206, - "lineCount": 9, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 3, - "N2": 1, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0.5, - "effort": 2, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade": { - "line": 216, - "lineCount": 13, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 3, - "N2": 1, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0.5, - "effort": 2, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands": { - "line": 230, - "lineCount": 21, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 6, - "N2": 2, - "programLength": 8, - "programVocabulary": 2, - "volume": 8, - "difficulty": 1, - "effort": 8, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication": { - "line": 252, - "lineCount": 11, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 5, - "N2": 4, - "programLength": 9, - "programVocabulary": 4, - "volume": 18, - "difficulty": 0.6666666666666666, - "effort": 12, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run": { - "line": 264, - "lineCount": 9, - "argCount": 0, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 5, - "N2": 5, - "programLength": 10, - "programVocabulary": 4, - "volume": 20, - "difficulty": 2.5, - "effort": 50, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get": { - "line": 274, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer": { - "line": 279, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator": { - "line": 289, - "lineCount": 16, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 7, - "programLength": 8, - "programVocabulary": 4, - "volume": 16, - "difficulty": 1.1666666666666667, - "effort": 18.666666666666668, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create": { - "line": 18, - "lineCount": 7, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 4, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile": { - "line": 17, - "lineCount": 17, - "argCount": 2, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 8, - "N1": 11, - "N2": 19, - "programLength": 30, - "programVocabulary": 11, - "volume": 103.78294855911892, - "difficulty": 3.5625, - "effort": 369.72675424186116, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode": { - "line": 42, - "lineCount": 8, - "argCount": 3, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 3, - "N2": 8, - "programLength": 11, - "programVocabulary": 8, - "volume": 33, - "difficulty": 2.4000000000000004, - "effort": 79.20000000000002, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate": { - "line": 22, - "lineCount": 10, - "argCount": 2, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 6, - "N2": 13, - "programLength": 19, - "programVocabulary": 6, - "volume": 49.11428751370197, - "difficulty": 3.25, - "effort": 159.6214344195314, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending": { - "line": 37, - "lineCount": 8, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 2, - "N2": 9, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 2.25, - "effort": 63.97782189284862, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn": { - "line": 51, - "lineCount": 24, - "argCount": 2, - "returnCount": 1, - "variableCount": 6, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 15, - "N1": 17, - "N2": 46, - "programLength": 63, - "programVocabulary": 20, - "volume": 272.28146997790384, - "difficulty": 7.666666666666667, - "effort": 2087.491269830596, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses": { - "line": 81, - "lineCount": 20, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 2, - "n2": 7, - "N1": 10, - "N2": 24, - "programLength": 34, - "programVocabulary": 9, - "volume": 107.7774500490386, - "difficulty": 3.4285714285714284, - "effort": 369.52268588241805, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass": { - "line": 109, - "lineCount": 9, - "argCount": 2, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 6, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 10, - "volume": 49.82892142331043, - "difficulty": 3.3333333333333335, - "effort": 166.09640474436813, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel": { - "line": 126, - "lineCount": 16, - "argCount": 2, - "returnCount": 4, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 12, - "N1": 9, - "N2": 18, - "programLength": 27, - "programVocabulary": 15, - "volume": 105.48604608143, - "difficulty": 2.25, - "effort": 237.3436036832175, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile": { - "line": 14, - "lineCount": 6, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 2, - "N2": 5, - "programLength": 7, - "programVocabulary": 4, - "volume": 14, - "difficulty": 2.5, - "effort": 35, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable": { - "line": 24, - "lineCount": 11, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 10, - "N2": 12, - "programLength": 22, - "programVocabulary": 8, - "volume": 66, - "difficulty": 6, - "effort": 396, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create": { - "line": 21, - "lineCount": 11, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 7, - "N1": 0, - "N2": 9, - "programLength": 9, - "programVocabulary": 7, - "volume": 25.26619429851844, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes": { - "line": 38, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 6, - "N1": 0, - "N2": 6, - "programLength": 6, - "programVocabulary": 6, - "volume": 15.509775004326936, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported": { - "line": 49, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 2, - "N2": 3, - "programLength": 5, - "programVocabulary": 4, - "volume": 10, - "difficulty": 1.5, - "effort": 15, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export": { - "line": 30, - "lineCount": 23, - "argCount": 2, - "returnCount": 0, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 16, - "N1": 10, - "N2": 33, - "programLength": 43, - "programVocabulary": 20, - "volume": 185.8429080801566, - "difficulty": 4.125, - "effort": 766.601995830646, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export": { - "line": 28, - "lineCount": 8, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 6, - "volume": 36.18947501009619, - "difficulty": 2.5, - "effort": 90.47368752524048, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape": { - "line": 37, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber": { - "line": 42, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml": { - "line": 52, - "lineCount": 50, - "argCount": 1, - "returnCount": 1, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 12, - "N1": 11, - "N2": 25, - "programLength": 36, - "programVocabulary": 17, - "volume": 147.14866228501222, - "difficulty": 5.208333333333334, - "effort": 766.3992827344388, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export": { - "line": 17, - "lineCount": 13, - "argCount": 2, - "returnCount": 0, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 8, - "N1": 7, - "N2": 14, - "programLength": 21, - "programVocabulary": 12, - "volume": 75.28421251514428, - "difficulty": 3.5, - "effort": 263.49474380300495, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export": { - "line": 48, - "lineCount": 8, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 6, - "volume": 36.18947501009619, - "difficulty": 2.5, - "effort": 90.47368752524048, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown": { - "line": 61, - "lineCount": 24, - "argCount": 1, - "returnCount": 1, - "variableCount": 6, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 6, - "n2": 16, - "N1": 19, - "N2": 41, - "programLength": 60, - "programVocabulary": 22, - "volume": 267.56589711823784, - "difficulty": 7.6875, - "effort": 2056.9128340964535, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow": { - "line": 94, - "lineCount": 21, - "argCount": 3, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 7, - "n2": 18, - "N1": 16, - "N2": 39, - "programLength": 55, - "programVocabulary": 25, - "volume": 255.41209043760983, - "difficulty": 7.583333333333333, - "effort": 1936.8750191518745, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::__construct": { - "line": 26, - "lineCount": 4, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::export": { - "line": 36, - "lineCount": 10, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 8, - "volume": 45, - "difficulty": 5, - "effort": 225, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::generateSvgTreemap": { - "line": 53, - "lineCount": 20, - "argCount": 1, - "returnCount": 1, - "variableCount": 6, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 8, - "N1": 9, - "N2": 20, - "programLength": 29, - "programVocabulary": 10, - "volume": 96.3359147517335, - "difficulty": 2.5, - "effort": 240.83978687933376, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::generateSvgTreemap" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRects": { - "line": 82, - "lineCount": 10, - "argCount": 3, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 9, - "N1": 6, - "N2": 18, - "programLength": 24, - "programVocabulary": 12, - "volume": 86.03910001730775, - "difficulty": 3, - "effort": 258.1173000519232, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRects" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRect": { - "line": 100, - "lineCount": 29, - "argCount": 2, - "returnCount": 1, - "variableCount": 12, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 6, - "n2": 28, - "N1": 26, - "N2": 54, - "programLength": 80, - "programVocabulary": 34, - "volume": 406.9970273000271, - "difficulty": 5.785714285714286, - "effort": 2354.7685150930142, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRect" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::wrapSvg": { - "line": 136, - "lineCount": 21, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 2, - "N2": 8, - "programLength": 10, - "programVocabulary": 4, - "volume": 20, - "difficulty": 1.3333333333333333, - "effort": 26.666666666666664, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::wrapSvg" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::prepareItems": { - "line": 28, - "lineCount": 18, - "argCount": 1, - "returnCount": 1, - "variableCount": 7, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 12, - "N1": 9, - "N2": 30, - "programLength": 39, - "programVocabulary": 17, - "volume": 159.41105080876324, - "difficulty": 6.25, - "effort": 996.3190675547702, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::prepareItems" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findScoreRange": { - "line": 53, - "lineCount": 16, - "argCount": 1, - "returnCount": 3, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 7, - "N2": 13, - "programLength": 20, - "programVocabulary": 8, - "volume": 60, - "difficulty": 3.9000000000000004, - "effort": 234.00000000000003, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findScoreRange" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::normalizeScore": { - "line": 78, - "lineCount": 8, - "argCount": 3, - "returnCount": 2, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 8, - "volume": 45, - "difficulty": 5, - "effort": 225, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::normalizeScore" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::scoreToColor": { - "line": 93, - "lineCount": 9, - "argCount": 1, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 5, - "n2": 9, - "N1": 12, - "N2": 16, - "programLength": 28, - "programVocabulary": 14, - "volume": 106.60593781761291, - "difficulty": 4.444444444444445, - "effort": 473.80416807827964, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::scoreToColor" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::calculateTreemapLayout": { - "line": 115, - "lineCount": 23, - "argCount": 7, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 9, - "N1": 2, - "N2": 18, - "programLength": 20, - "programVocabulary": 11, - "volume": 69.18863237274594, - "difficulty": 2, - "effort": 138.37726474549189, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::calculateTreemapLayout" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::layoutTreemap": { - "line": 152, - "lineCount": 89, - "argCount": 8, - "returnCount": 3, - "variableCount": 11, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 8, - "n2": 28, - "N1": 32, - "N2": 98, - "programLength": 130, - "programVocabulary": 36, - "volume": 672.0902501875006, - "difficulty": 14, - "effort": 9409.263502625008, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::layoutTreemap" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findSplitIndex": { - "line": 249, - "lineCount": 13, - "argCount": 2, - "returnCount": 2, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 7, - "n2": 10, - "N1": 9, - "N2": 23, - "programLength": 32, - "programVocabulary": 17, - "volume": 130.79881092001085, - "difficulty": 8.049999999999999, - "effort": 1052.9304279060873, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findSplitIndex" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::__construct": { - "line": 23, - "lineCount": 18, - "argCount": 1, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 7, - "N2": 11, - "programLength": 18, - "programVocabulary": 6, - "volume": 46.529325012980806, - "difficulty": 5.5, - "effort": 255.91128757139444, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::getAllClasses": { - "line": 47, - "lineCount": 17, - "argCount": 0, - "returnCount": 2, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 6, - "N2": 12, - "programLength": 18, - "programVocabulary": 9, - "volume": 57.05865002596162, - "difficulty": 3, - "effort": 171.17595007788486, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::getAllClasses" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::withClassNode": { - "line": 73, - "lineCount": 8, - "argCount": 2, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 4, - "N2": 8, - "programLength": 12, - "programVocabulary": 8, - "volume": 36, - "difficulty": 4, - "effort": 144, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::withClassNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::findClassNode": { - "line": 85, - "lineCount": 25, - "argCount": 1, - "returnCount": 4, - "variableCount": 5, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 13, - "N2": 29, - "programLength": 42, - "programVocabulary": 11, - "volume": 145.29612798276648, - "difficulty": 8.285714285714286, - "effort": 1203.8822032857795, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::findClassNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::escapeXPathValue": { - "line": 114, - "lineCount": 16, - "argCount": 1, - "returnCount": 3, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 9, - "N1": 11, - "N2": 18, - "programLength": 29, - "programVocabulary": 13, - "volume": 107.31275182609167, - "difficulty": 4, - "effort": 429.2510073043667, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::escapeXPathValue" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getLineCoverage": { - "line": 22, - "lineCount": 18, - "argCount": 1, - "returnCount": 4, - "variableCount": 5, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 9, - "N1": 10, - "N2": 19, - "programLength": 29, - "programVocabulary": 13, - "volume": 107.31275182609167, - "difficulty": 4.222222222222222, - "effort": 453.09828548794263, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getLineCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getBranchCoverage": { - "line": 48, - "lineCount": 18, - "argCount": 1, - "returnCount": 4, - "variableCount": 5, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 9, - "N1": 10, - "N2": 19, - "programLength": 29, - "programVocabulary": 13, - "volume": 107.31275182609167, - "difficulty": 4.222222222222222, - "effort": 453.09828548794263, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getBranchCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getComplexity": { - "line": 73, - "lineCount": 13, - "argCount": 1, - "returnCount": 3, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 7, - "N2": 14, - "programLength": 21, - "programVocabulary": 11, - "volume": 72.64806399138324, - "difficulty": 4, - "effort": 290.59225596553296, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getComplexity" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getCoverageDetails": { - "line": 93, - "lineCount": 26, - "argCount": 1, - "returnCount": 3, - "variableCount": 9, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 17, - "N1": 22, - "N2": 42, - "programLength": 64, - "programVocabulary": 22, - "volume": 285.403623592787, - "difficulty": 6.176470588235294, - "effort": 1762.7870868966259, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getCoverageDetails" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getMetricsNode": { - "line": 123, - "lineCount": 12, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 6, - "N1": 7, - "N2": 13, - "programLength": 20, - "programVocabulary": 10, - "volume": 66.43856189774725, - "difficulty": 4.333333333333333, - "effort": 287.90043489023805, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getMetricsNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getFilenameForClass": { - "line": 139, - "lineCount": 9, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 5, - "N1": 4, - "N2": 9, - "programLength": 13, - "programVocabulary": 9, - "volume": 41.209025018750054, - "difficulty": 3.6, - "effort": 148.3524900675002, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getFilenameForClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodsCoverage": { - "line": 154, - "lineCount": 36, - "argCount": 1, - "returnCount": 3, - "variableCount": 8, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 13, - "N1": 12, - "N2": 30, - "programLength": 42, - "programVocabulary": 16, - "volume": 168, - "difficulty": 3.4615384615384612, - "effort": 581.5384615384614, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodsCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::calculateMethodCoverage": { - "line": 194, - "lineCount": 15, - "argCount": 2, - "returnCount": 2, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 11, - "N1": 9, - "N2": 23, - "programLength": 32, - "programVocabulary": 16, - "volume": 128, - "difficulty": 5.227272727272727, - "effort": 669.090909090909, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::calculateMethodCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodCoverageFromLines": { - "line": 215, - "lineCount": 36, - "argCount": 2, - "returnCount": 1, - "variableCount": 7, - "propertyCallCount": 0, - "ifNestingLevel": 2, - "elseCount": 0, - "ifCount": 5, - "halstead": { - "n1": 2, - "n2": 14, - "N1": 12, - "N2": 35, - "programLength": 47, - "programVocabulary": 16, - "volume": 188, - "difficulty": 2.5, - "effort": 470, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodCoverageFromLines" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStart": { - "line": 252, - "lineCount": 4, - "argCount": 3, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 3, - "N2": 7, - "programLength": 10, - "programVocabulary": 6, - "volume": 25.84962500721156, - "difficulty": 1.75, - "effort": 45.23684376262023, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStart" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodEnd": { - "line": 257, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 5, - "programLength": 7, - "programVocabulary": 5, - "volume": 16.253496664211536, - "difficulty": 1.6666666666666667, - "effort": 27.089161107019226, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodEnd" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStatement": { - "line": 262, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 5, - "programLength": 7, - "programVocabulary": 5, - "volume": 16.253496664211536, - "difficulty": 1.6666666666666667, - "effort": 27.089161107019226, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStatement" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isStatementCovered": { - "line": 267, - "lineCount": 5, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 4, - "N1": 3, - "N2": 6, - "programLength": 9, - "programVocabulary": 7, - "volume": 25.26619429851844, - "difficulty": 2.25, - "effort": 56.848937171666485, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isStatementCovered" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getLineCoverage": { - "line": 20, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 9, - "volume": 44.37895002019237, - "difficulty": 2.5, - "effort": 110.94737505048093, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getLineCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getBranchCoverage": { - "line": 34, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 9, - "volume": 44.37895002019237, - "difficulty": 2.5, - "effort": 110.94737505048093, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getBranchCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getComplexity": { - "line": 48, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 9, - "volume": 44.37895002019237, - "difficulty": 2.5, - "effort": 110.94737505048093, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getComplexity" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getCoverageDetails": { - "line": 62, - "lineCount": 13, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 8, - "N1": 7, - "N2": 16, - "programLength": 23, - "programVocabulary": 9, - "volume": 72.90827503317318, - "difficulty": 1, - "effort": 72.90827503317318, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getCoverageDetails" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::extractMethodsCoverage": { - "line": 81, - "lineCount": 23, - "argCount": 1, - "returnCount": 2, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 11, - "N1": 10, - "N2": 23, - "programLength": 33, - "programVocabulary": 14, - "volume": 125.64271242790093, - "difficulty": 3.1363636363636362, - "effort": 394.061234432962, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::extractMethodsCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CodeCoverageFactory::createFromName": { - "line": 14, - "lineCount": 8, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 4, - "N1": 1, - "N2": 8, - "programLength": 9, - "programVocabulary": 5, - "volume": 20.89735285398626, - "difficulty": 1, - "effort": 20.89735285398626, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CodeCoverageFactory::createFromName" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::__construct": { - "line": 28, - "lineCount": 15, - "argCount": 6, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 6, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 7, - "N1": 6, - "N2": 18, - "programLength": 24, - "programVocabulary": 8, - "volume": 72, - "difficulty": 1.2857142857142858, - "effort": 92.57142857142858, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getName": { - "line": 44, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getName" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getFilename": { - "line": 49, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getFilename" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getLineRate": { - "line": 54, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getLineRate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getBranchRate": { - "line": 59, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getBranchRate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getComplexity": { - "line": 64, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getComplexity" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getMethods": { - "line": 72, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getMethods" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::__construct": { - "line": 17, - "lineCount": 11, - "argCount": 4, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 4, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 5, - "N1": 4, - "N2": 12, - "programLength": 16, - "programVocabulary": 6, - "volume": 41.3594000115385, - "difficulty": 1.2, - "effort": 49.631280013846194, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getName": { - "line": 29, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getName" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getLineRate": { - "line": 34, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getLineRate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getBranchRate": { - "line": 39, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getBranchRate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getComplexity": { - "line": 44, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getComplexity" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::calculateDeltas": { - "line": 19, - "lineCount": 14, - "argCount": 2, - "returnCount": 0, - "variableCount": 6, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 9, - "N1": 4, - "N2": 18, - "programLength": 22, - "programVocabulary": 11, - "volume": 76.10749561002054, - "difficulty": 2, - "effort": 152.21499122004107, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::calculateDeltas" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::loadBaseline": { - "line": 41, - "lineCount": 13, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 5, - "N2": 9, - "programLength": 14, - "programVocabulary": 8, - "volume": 42, - "difficulty": 2.7, - "effort": 113.4, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::loadBaseline" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::__construct": { - "line": 72, - "lineCount": 21, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 6, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 9, - "N1": 12, - "N2": 34, - "programLength": 46, - "programVocabulary": 12, - "volume": 164.90827503317317, - "difficulty": 5.666666666666666, - "effort": 934.4802251879812, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setRequiredMetricProperties": { - "line": 98, - "lineCount": 30, - "argCount": 1, - "returnCount": 0, - "variableCount": 6, - "propertyCallCount": 9, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 21, - "N1": 21, - "N2": 51, - "programLength": 72, - "programVocabulary": 24, - "volume": 330.1173000519232, - "difficulty": 3.6428571428571423, - "effort": 1202.570164474863, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setRequiredMetricProperties" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setOptionalMetricProperties": { - "line": 133, - "lineCount": 12, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 8, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 11, - "N1": 16, - "N2": 33, - "programLength": 49, - "programVocabulary": 13, - "volume": 181.32154618891352, - "difficulty": 3, - "effort": 543.9646385667405, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setOptionalMetricProperties" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setTimesChanged": { - "line": 146, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setTimesChanged" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertSame": { - "line": 151, - "lineCount": 14, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 6, - "N2": 8, - "programLength": 14, - "programVocabulary": 5, - "volume": 32.50699332842307, - "difficulty": 2.6666666666666665, - "effort": 86.68531554246152, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertSame" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::calculateDeltas": { - "line": 169, - "lineCount": 13, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 16, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 17, - "N2": 27, - "programLength": 44, - "programVocabulary": 4, - "volume": 88, - "difficulty": 13.5, - "effort": 1188, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::calculateDeltas" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::fromArray": { - "line": 187, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::fromArray" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertArrayKeyIsPresent": { - "line": 197, - "lineCount": 6, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 5, - "programLength": 5, - "programVocabulary": 2, - "volume": 5, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertArrayKeyIsPresent" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getClass": { - "line": 204, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getMethod": { - "line": 209, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getMethod" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCount": { - "line": 214, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCount": { - "line": 219, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCount": { - "line": 224, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCount": { - "line": 229, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCount": { - "line": 234, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCount": { - "line": 239, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevel": { - "line": 244, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevel" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCount": { - "line": 249, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeight": { - "line": 254, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setLineCountWeight": { - "line": 259, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setLineCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeight": { - "line": 264, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setArgCountWeight": { - "line": 269, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setArgCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeight": { - "line": 274, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setReturnCountWeight": { - "line": 279, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setReturnCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeight": { - "line": 284, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setVariableCountWeight": { - "line": 289, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setVariableCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeight": { - "line": 294, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setPropertyCallCountWeight": { - "line": 299, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setPropertyCallCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeight": { - "line": 304, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfCountWeight": { - "line": 309, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeight": { - "line": 314, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfNestingLevelWeight": { - "line": 319, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfNestingLevelWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeight": { - "line": 324, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setElseCountWeight": { - "line": 329, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setElseCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setScore": { - "line": 334, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setScore" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getScore": { - "line": 339, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getScore" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setCoverage": { - "line": 344, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCoverage": { - "line": 349, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeightDelta": { - "line": 354, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeightDelta": { - "line": 359, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeightDelta": { - "line": 364, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeightDelta": { - "line": 369, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeightDelta": { - "line": 374, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeightDelta": { - "line": 379, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeightDelta": { - "line": 384, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeightDelta": { - "line": 389, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getTimesChanged": { - "line": 394, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 2, - "programLength": 3, - "programVocabulary": 3, - "volume": 4.754887502163468, - "difficulty": 0.5, - "effort": 2.377443751081734, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getTimesChanged" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getFileName": { - "line": 399, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getFileName" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLine": { - "line": 404, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLine" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::equals": { - "line": 409, - "lineCount": 5, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 2, - "N1": 5, - "N2": 5, - "programLength": 10, - "programVocabulary": 5, - "volume": 23.21928094887362, - "difficulty": 3.75, - "effort": 87.07230355827608, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::equals" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::toArray": { - "line": 418, - "lineCount": 34, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 29, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 30, - "N1": 0, - "N2": 58, - "programLength": 58, - "programVocabulary": 30, - "volume": 284.5996545452941, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::toArray" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::jsonSerialize": { - "line": 456, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::jsonSerialize" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getHalstead": { - "line": 464, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getHalstead" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCyclomatic": { - "line": 472, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCyclomatic" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::add": { - "line": 30, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 5, - "N2": 6, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 3, - "effort": 85.30376252379816, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::add" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filter": { - "line": 40, - "lineCount": 11, - "argCount": 1, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 8, - "volume": 42, - "difficulty": 3, - "effort": 126, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filter" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getIterator": { - "line": 57, - "lineCount": 5, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getIterator" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::count": { - "line": 66, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::count" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterWithScoreGreaterThan": { - "line": 71, - "lineCount": 6, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 3, - "N2": 6, - "programLength": 9, - "programVocabulary": 5, - "volume": 20.89735285398626, - "difficulty": 2, - "effort": 41.79470570797252, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterWithScoreGreaterThan" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::contains": { - "line": 78, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 4, - "N2": 5, - "programLength": 9, - "programVocabulary": 5, - "volume": 20.89735285398626, - "difficulty": 1.6666666666666667, - "effort": 34.82892142331043, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::contains" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getClassWithMethod": { - "line": 83, - "lineCount": 9, - "argCount": 2, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 3, - "N2": 10, - "programLength": 13, - "programVocabulary": 7, - "volume": 36.49561398674886, - "difficulty": 2, - "effort": 72.99122797349771, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getClassWithMethod" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterByClassName": { - "line": 93, - "lineCount": 6, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 3, - "N2": 6, - "programLength": 9, - "programVocabulary": 5, - "volume": 20.89735285398626, - "difficulty": 2, - "effort": 41.79470570797252, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterByClassName" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::assertMetricHasGetter": { - "line": 100, - "lineCount": 9, - "argCount": 3, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 6, - "programLength": 7, - "programVocabulary": 4, - "volume": 14, - "difficulty": 1, - "effort": 14, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::assertMetricHasGetter" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::groupBy": { - "line": 117, - "lineCount": 20, - "argCount": 1, - "returnCount": 1, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 10, - "N2": 23, - "programLength": 33, - "programVocabulary": 11, - "volume": 114.16124341503081, - "difficulty": 6.571428571428571, - "effort": 750.2024567273453, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::groupBy" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::jsonSerialize": { - "line": 141, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::jsonSerialize" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::__construct": { - "line": 32, - "lineCount": 8, - "argCount": 5, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 5, - "N1": 0, - "N2": 5, - "programLength": 5, - "programVocabulary": 5, - "volume": 11.60964047443681, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collect": { - "line": 49, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 5, - "programLength": 6, - "programVocabulary": 4, - "volume": 12, - "difficulty": 0.8333333333333334, - "effort": 10, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collect" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collectFromPaths": { - "line": 62, - "lineCount": 13, - "argCount": 2, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 8, - "N2": 16, - "programLength": 24, - "programVocabulary": 9, - "volume": 76.07820003461549, - "difficulty": 4, - "effort": 304.31280013846197, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collectFromPaths" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCodeFromFile": { - "line": 79, - "lineCount": 10, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 2, - "N1": 5, - "N2": 6, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 6, - "effort": 170.6075250475963, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCodeFromFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findMetrics": { - "line": 98, - "lineCount": 31, - "argCount": 1, - "returnCount": 1, - "variableCount": 9, - "propertyCallCount": 2, - "ifNestingLevel": 2, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 13, - "N1": 18, - "N2": 38, - "programLength": 56, - "programVocabulary": 16, - "volume": 224, - "difficulty": 4.384615384615384, - "effort": 982.1538461538461, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findMetrics" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processMethodMetrics": { - "line": 136, - "lineCount": 29, - "argCount": 3, - "returnCount": 1, - "variableCount": 7, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 14, - "N1": 8, - "N2": 27, - "programLength": 35, - "programVocabulary": 17, - "volume": 143.06119944376186, - "difficulty": 2.892857142857143, - "effort": 413.8556126765968, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processMethodMetrics" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::isExcluded": { - "line": 166, - "lineCount": 12, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 5, - "N1": 5, - "N2": 9, - "programLength": 14, - "programVocabulary": 9, - "volume": 44.37895002019237, - "difficulty": 3.6, - "effort": 159.76422007269252, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::isExcluded" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findSourceFiles": { - "line": 187, - "lineCount": 7, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 2, - "N2": 6, - "programLength": 8, - "programVocabulary": 6, - "volume": 20.67970000576925, - "difficulty": 1.5, - "effort": 31.019550008653873, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findSourceFiles" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getProjectRoot": { - "line": 202, - "lineCount": 13, - "argCount": 0, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 2, - "N1": 8, - "N2": 8, - "programLength": 16, - "programVocabulary": 6, - "volume": 41.3594000115385, - "difficulty": 8, - "effort": 330.875200092308, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getProjectRoot" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateCacheKey": { - "line": 219, - "lineCount": 7, - "argCount": 2, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 6, - "N1": 10, - "N2": 12, - "programLength": 22, - "programVocabulary": 10, - "volume": 73.08241808752197, - "difficulty": 4, - "effort": 292.3296723500879, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateCacheKey" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateConfigHash": { - "line": 230, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 1, - "N1": 3, - "N2": 2, - "programLength": 5, - "programVocabulary": 3, - "volume": 7.92481250360578, - "difficulty": 2, - "effort": 15.84962500721156, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateConfigHash" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::cacheResult": { - "line": 239, - "lineCount": 14, - "argCount": 4, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 13, - "N1": 5, - "N2": 20, - "programLength": 25, - "programVocabulary": 15, - "volume": 97.67226489021297, - "difficulty": 1.5384615384615385, - "effort": 150.26502290801997, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::cacheResult" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::clearCache": { - "line": 254, - "lineCount": 4, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::clearCache" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::normalizeFilename": { - "line": 264, - "lineCount": 15, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 6, - "n2": 7, - "N1": 12, - "N2": 16, - "programLength": 28, - "programVocabulary": 13, - "volume": 103.61231210795059, - "difficulty": 6.857142857142857, - "effort": 710.4844258830897, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::normalizeFilename" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCachedMetrics": { - "line": 286, - "lineCount": 19, - "argCount": 3, - "returnCount": 3, - "variableCount": 4, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 11, - "N1": 10, - "N2": 29, - "programLength": 39, - "programVocabulary": 14, - "volume": 148.48684196024655, - "difficulty": 3.954545454545454, - "effort": 587.1979659337022, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCachedMetrics" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processFile": { - "line": 312, - "lineCount": 37, - "argCount": 5, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 7, - "n2": 10, - "N1": 12, - "N2": 28, - "programLength": 40, - "programVocabulary": 17, - "volume": 163.49851365001356, - "difficulty": 9.799999999999999, - "effort": 1602.2854337701328, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::sort": { - "line": 51, - "lineCount": 41, - "argCount": 3, - "returnCount": 2, - "variableCount": 10, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 18, - "N1": 20, - "N2": 43, - "programLength": 63, - "programVocabulary": 22, - "volume": 280.9441919741497, - "difficulty": 4.777777777777778, - "effort": 1342.2889172098264, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::sort" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getFieldValue": { - "line": 100, - "lineCount": 28, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 25, - "N1": 24, - "N2": 50, - "programLength": 74, - "programVocabulary": 27, - "volume": 351.86167516009664, - "difficulty": 2, - "effort": 703.7233503201933, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getFieldValue" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::compareValues": { - "line": 136, - "lineCount": 13, - "argCount": 2, - "returnCount": 3, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 2, - "N1": 9, - "N2": 12, - "programLength": 21, - "programVocabulary": 5, - "volume": 48.760489992634604, - "difficulty": 9, - "effort": 438.8444099337114, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::compareValues" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getSortableFields": { - "line": 155, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 0, - "N1": 0, - "N2": 0, - "programLength": 0, - "programVocabulary": 0, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getSortableFields" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__construct": { - "line": 15, - "lineCount": 11, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 7, - "N2": 12, - "programLength": 19, - "programVocabulary": 6, - "volume": 49.11428751370197, - "difficulty": 6, - "effort": 294.6857250822118, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::getValue": { - "line": 27, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::getValue" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasIncreased": { - "line": 32, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasIncreased" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__toString": { - "line": 37, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__toString" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasNotChanged": { - "line": 42, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 2, - "programLength": 3, - "programVocabulary": 3, - "volume": 4.754887502163468, - "difficulty": 0.5, - "effort": 2.377443751081734, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasNotChanged" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\FileProcessed::__construct": { - "line": 14, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\FileProcessed::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\ParserFailed::__construct": { - "line": 15, - "lineCount": 5, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\ParserFailed::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\SourceFilesFound::__construct": { - "line": 17, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\SourceFilesFound::__construct" - } - } - }, - "ignored_items": [], - "cached_at": 1759967601 -} \ No newline at end of file diff --git a/.phpcca.cache/a8/a849208b283abdccc56926d1b948389a.cache b/.phpcca.cache/a8/a849208b283abdccc56926d1b948389a.cache deleted file mode 100644 index 4b9591c..0000000 --- a/.phpcca.cache/a8/a849208b283abdccc56926d1b948389a.cache +++ /dev/null @@ -1,3550 +0,0 @@ -{ - "version": "1.0", - "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/Business\/Cognitive\/CognitiveMetricsCollection.php", - "file_mtime": 1759964701, - "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", - "analysis_result": { - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct": { - "line": 60, - "lineCount": 5, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 1, - "N1": 2, - "N2": 2, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 2, - "effort": 12.679700005769249, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices": { - "line": 66, - "lineCount": 95, - "argCount": 0, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 5, - "N1": 58, - "N2": 32, - "programLength": 90, - "programVocabulary": 9, - "volume": 285.2932501298081, - "difficulty": 12.8, - "effort": 3651.7536016615436, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap": { - "line": 162, - "lineCount": 10, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 7, - "N2": 7, - "programLength": 14, - "programVocabulary": 2, - "volume": 14, - "difficulty": 3.5, - "effort": 49, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors": { - "line": 173, - "lineCount": 12, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 3, - "N2": 1, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0.5, - "effort": 2, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus": { - "line": 186, - "lineCount": 19, - "argCount": 0, - "returnCount": 0, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 9, - "N2": 13, - "programLength": 22, - "programVocabulary": 7, - "volume": 61.76180828526729, - "difficulty": 2.6, - "effort": 160.58070154169496, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService": { - "line": 206, - "lineCount": 9, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 3, - "N2": 1, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0.5, - "effort": 2, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade": { - "line": 216, - "lineCount": 13, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 3, - "N2": 1, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0.5, - "effort": 2, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands": { - "line": 230, - "lineCount": 21, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 6, - "N2": 2, - "programLength": 8, - "programVocabulary": 2, - "volume": 8, - "difficulty": 1, - "effort": 8, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication": { - "line": 252, - "lineCount": 11, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 5, - "N2": 4, - "programLength": 9, - "programVocabulary": 4, - "volume": 18, - "difficulty": 0.6666666666666666, - "effort": 12, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run": { - "line": 264, - "lineCount": 9, - "argCount": 0, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 5, - "N2": 5, - "programLength": 10, - "programVocabulary": 4, - "volume": 20, - "difficulty": 2.5, - "effort": 50, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get": { - "line": 274, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer": { - "line": 279, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator": { - "line": 289, - "lineCount": 16, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 7, - "programLength": 8, - "programVocabulary": 4, - "volume": 16, - "difficulty": 1.1666666666666667, - "effort": 18.666666666666668, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create": { - "line": 18, - "lineCount": 7, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 4, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile": { - "line": 17, - "lineCount": 17, - "argCount": 2, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 8, - "N1": 11, - "N2": 19, - "programLength": 30, - "programVocabulary": 11, - "volume": 103.78294855911892, - "difficulty": 3.5625, - "effort": 369.72675424186116, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode": { - "line": 42, - "lineCount": 8, - "argCount": 3, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 3, - "N2": 8, - "programLength": 11, - "programVocabulary": 8, - "volume": 33, - "difficulty": 2.4000000000000004, - "effort": 79.20000000000002, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate": { - "line": 22, - "lineCount": 10, - "argCount": 2, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 6, - "N2": 13, - "programLength": 19, - "programVocabulary": 6, - "volume": 49.11428751370197, - "difficulty": 3.25, - "effort": 159.6214344195314, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending": { - "line": 37, - "lineCount": 8, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 2, - "N2": 9, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 2.25, - "effort": 63.97782189284862, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn": { - "line": 51, - "lineCount": 24, - "argCount": 2, - "returnCount": 1, - "variableCount": 6, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 15, - "N1": 17, - "N2": 46, - "programLength": 63, - "programVocabulary": 20, - "volume": 272.28146997790384, - "difficulty": 7.666666666666667, - "effort": 2087.491269830596, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses": { - "line": 81, - "lineCount": 20, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 2, - "n2": 7, - "N1": 10, - "N2": 24, - "programLength": 34, - "programVocabulary": 9, - "volume": 107.7774500490386, - "difficulty": 3.4285714285714284, - "effort": 369.52268588241805, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass": { - "line": 109, - "lineCount": 9, - "argCount": 2, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 6, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 10, - "volume": 49.82892142331043, - "difficulty": 3.3333333333333335, - "effort": 166.09640474436813, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel": { - "line": 126, - "lineCount": 16, - "argCount": 2, - "returnCount": 4, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 12, - "N1": 9, - "N2": 18, - "programLength": 27, - "programVocabulary": 15, - "volume": 105.48604608143, - "difficulty": 2.25, - "effort": 237.3436036832175, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile": { - "line": 14, - "lineCount": 6, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 2, - "N2": 5, - "programLength": 7, - "programVocabulary": 4, - "volume": 14, - "difficulty": 2.5, - "effort": 35, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable": { - "line": 24, - "lineCount": 11, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 10, - "N2": 12, - "programLength": 22, - "programVocabulary": 8, - "volume": 66, - "difficulty": 6, - "effort": 396, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create": { - "line": 21, - "lineCount": 11, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 7, - "N1": 0, - "N2": 9, - "programLength": 9, - "programVocabulary": 7, - "volume": 25.26619429851844, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes": { - "line": 38, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 6, - "N1": 0, - "N2": 6, - "programLength": 6, - "programVocabulary": 6, - "volume": 15.509775004326936, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported": { - "line": 49, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 2, - "N2": 3, - "programLength": 5, - "programVocabulary": 4, - "volume": 10, - "difficulty": 1.5, - "effort": 15, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export": { - "line": 30, - "lineCount": 23, - "argCount": 2, - "returnCount": 0, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 16, - "N1": 10, - "N2": 33, - "programLength": 43, - "programVocabulary": 20, - "volume": 185.8429080801566, - "difficulty": 4.125, - "effort": 766.601995830646, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export": { - "line": 28, - "lineCount": 8, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 6, - "volume": 36.18947501009619, - "difficulty": 2.5, - "effort": 90.47368752524048, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape": { - "line": 37, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber": { - "line": 42, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml": { - "line": 52, - "lineCount": 50, - "argCount": 1, - "returnCount": 1, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 12, - "N1": 11, - "N2": 25, - "programLength": 36, - "programVocabulary": 17, - "volume": 147.14866228501222, - "difficulty": 5.208333333333334, - "effort": 766.3992827344388, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export": { - "line": 17, - "lineCount": 13, - "argCount": 2, - "returnCount": 0, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 8, - "N1": 7, - "N2": 14, - "programLength": 21, - "programVocabulary": 12, - "volume": 75.28421251514428, - "difficulty": 3.5, - "effort": 263.49474380300495, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export": { - "line": 48, - "lineCount": 8, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 6, - "volume": 36.18947501009619, - "difficulty": 2.5, - "effort": 90.47368752524048, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown": { - "line": 61, - "lineCount": 24, - "argCount": 1, - "returnCount": 1, - "variableCount": 6, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 6, - "n2": 16, - "N1": 19, - "N2": 41, - "programLength": 60, - "programVocabulary": 22, - "volume": 267.56589711823784, - "difficulty": 7.6875, - "effort": 2056.9128340964535, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow": { - "line": 94, - "lineCount": 21, - "argCount": 3, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 7, - "n2": 18, - "N1": 16, - "N2": 39, - "programLength": 55, - "programVocabulary": 25, - "volume": 255.41209043760983, - "difficulty": 7.583333333333333, - "effort": 1936.8750191518745, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::__construct": { - "line": 26, - "lineCount": 4, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::export": { - "line": 36, - "lineCount": 10, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 8, - "volume": 45, - "difficulty": 5, - "effort": 225, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::generateSvgTreemap": { - "line": 53, - "lineCount": 20, - "argCount": 1, - "returnCount": 1, - "variableCount": 6, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 8, - "N1": 9, - "N2": 20, - "programLength": 29, - "programVocabulary": 10, - "volume": 96.3359147517335, - "difficulty": 2.5, - "effort": 240.83978687933376, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::generateSvgTreemap" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRects": { - "line": 82, - "lineCount": 10, - "argCount": 3, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 9, - "N1": 6, - "N2": 18, - "programLength": 24, - "programVocabulary": 12, - "volume": 86.03910001730775, - "difficulty": 3, - "effort": 258.1173000519232, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRects" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRect": { - "line": 100, - "lineCount": 29, - "argCount": 2, - "returnCount": 1, - "variableCount": 12, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 6, - "n2": 28, - "N1": 26, - "N2": 54, - "programLength": 80, - "programVocabulary": 34, - "volume": 406.9970273000271, - "difficulty": 5.785714285714286, - "effort": 2354.7685150930142, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRect" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::wrapSvg": { - "line": 136, - "lineCount": 21, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 2, - "N2": 8, - "programLength": 10, - "programVocabulary": 4, - "volume": 20, - "difficulty": 1.3333333333333333, - "effort": 26.666666666666664, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::wrapSvg" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::prepareItems": { - "line": 28, - "lineCount": 18, - "argCount": 1, - "returnCount": 1, - "variableCount": 7, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 12, - "N1": 9, - "N2": 30, - "programLength": 39, - "programVocabulary": 17, - "volume": 159.41105080876324, - "difficulty": 6.25, - "effort": 996.3190675547702, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::prepareItems" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findScoreRange": { - "line": 53, - "lineCount": 16, - "argCount": 1, - "returnCount": 3, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 7, - "N2": 13, - "programLength": 20, - "programVocabulary": 8, - "volume": 60, - "difficulty": 3.9000000000000004, - "effort": 234.00000000000003, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findScoreRange" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::normalizeScore": { - "line": 78, - "lineCount": 8, - "argCount": 3, - "returnCount": 2, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 8, - "volume": 45, - "difficulty": 5, - "effort": 225, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::normalizeScore" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::scoreToColor": { - "line": 93, - "lineCount": 9, - "argCount": 1, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 5, - "n2": 9, - "N1": 12, - "N2": 16, - "programLength": 28, - "programVocabulary": 14, - "volume": 106.60593781761291, - "difficulty": 4.444444444444445, - "effort": 473.80416807827964, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::scoreToColor" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::calculateTreemapLayout": { - "line": 115, - "lineCount": 23, - "argCount": 7, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 9, - "N1": 2, - "N2": 18, - "programLength": 20, - "programVocabulary": 11, - "volume": 69.18863237274594, - "difficulty": 2, - "effort": 138.37726474549189, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::calculateTreemapLayout" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::layoutTreemap": { - "line": 152, - "lineCount": 89, - "argCount": 8, - "returnCount": 3, - "variableCount": 11, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 8, - "n2": 28, - "N1": 32, - "N2": 98, - "programLength": 130, - "programVocabulary": 36, - "volume": 672.0902501875006, - "difficulty": 14, - "effort": 9409.263502625008, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::layoutTreemap" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findSplitIndex": { - "line": 249, - "lineCount": 13, - "argCount": 2, - "returnCount": 2, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 7, - "n2": 10, - "N1": 9, - "N2": 23, - "programLength": 32, - "programVocabulary": 17, - "volume": 130.79881092001085, - "difficulty": 8.049999999999999, - "effort": 1052.9304279060873, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findSplitIndex" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::__construct": { - "line": 23, - "lineCount": 18, - "argCount": 1, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 7, - "N2": 11, - "programLength": 18, - "programVocabulary": 6, - "volume": 46.529325012980806, - "difficulty": 5.5, - "effort": 255.91128757139444, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::getAllClasses": { - "line": 47, - "lineCount": 17, - "argCount": 0, - "returnCount": 2, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 6, - "N2": 12, - "programLength": 18, - "programVocabulary": 9, - "volume": 57.05865002596162, - "difficulty": 3, - "effort": 171.17595007788486, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::getAllClasses" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::withClassNode": { - "line": 73, - "lineCount": 8, - "argCount": 2, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 4, - "N2": 8, - "programLength": 12, - "programVocabulary": 8, - "volume": 36, - "difficulty": 4, - "effort": 144, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::withClassNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::findClassNode": { - "line": 85, - "lineCount": 25, - "argCount": 1, - "returnCount": 4, - "variableCount": 5, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 13, - "N2": 29, - "programLength": 42, - "programVocabulary": 11, - "volume": 145.29612798276648, - "difficulty": 8.285714285714286, - "effort": 1203.8822032857795, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::findClassNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::escapeXPathValue": { - "line": 114, - "lineCount": 16, - "argCount": 1, - "returnCount": 3, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 9, - "N1": 11, - "N2": 18, - "programLength": 29, - "programVocabulary": 13, - "volume": 107.31275182609167, - "difficulty": 4, - "effort": 429.2510073043667, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::escapeXPathValue" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getLineCoverage": { - "line": 22, - "lineCount": 18, - "argCount": 1, - "returnCount": 4, - "variableCount": 5, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 9, - "N1": 10, - "N2": 19, - "programLength": 29, - "programVocabulary": 13, - "volume": 107.31275182609167, - "difficulty": 4.222222222222222, - "effort": 453.09828548794263, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getLineCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getBranchCoverage": { - "line": 48, - "lineCount": 18, - "argCount": 1, - "returnCount": 4, - "variableCount": 5, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 9, - "N1": 10, - "N2": 19, - "programLength": 29, - "programVocabulary": 13, - "volume": 107.31275182609167, - "difficulty": 4.222222222222222, - "effort": 453.09828548794263, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getBranchCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getComplexity": { - "line": 73, - "lineCount": 13, - "argCount": 1, - "returnCount": 3, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 7, - "N2": 14, - "programLength": 21, - "programVocabulary": 11, - "volume": 72.64806399138324, - "difficulty": 4, - "effort": 290.59225596553296, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getComplexity" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getCoverageDetails": { - "line": 93, - "lineCount": 26, - "argCount": 1, - "returnCount": 3, - "variableCount": 9, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 17, - "N1": 22, - "N2": 42, - "programLength": 64, - "programVocabulary": 22, - "volume": 285.403623592787, - "difficulty": 6.176470588235294, - "effort": 1762.7870868966259, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getCoverageDetails" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getMetricsNode": { - "line": 123, - "lineCount": 12, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 6, - "N1": 7, - "N2": 13, - "programLength": 20, - "programVocabulary": 10, - "volume": 66.43856189774725, - "difficulty": 4.333333333333333, - "effort": 287.90043489023805, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getMetricsNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getFilenameForClass": { - "line": 139, - "lineCount": 9, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 5, - "N1": 4, - "N2": 9, - "programLength": 13, - "programVocabulary": 9, - "volume": 41.209025018750054, - "difficulty": 3.6, - "effort": 148.3524900675002, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getFilenameForClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodsCoverage": { - "line": 154, - "lineCount": 36, - "argCount": 1, - "returnCount": 3, - "variableCount": 8, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 13, - "N1": 12, - "N2": 30, - "programLength": 42, - "programVocabulary": 16, - "volume": 168, - "difficulty": 3.4615384615384612, - "effort": 581.5384615384614, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodsCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::calculateMethodCoverage": { - "line": 194, - "lineCount": 15, - "argCount": 2, - "returnCount": 2, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 11, - "N1": 9, - "N2": 23, - "programLength": 32, - "programVocabulary": 16, - "volume": 128, - "difficulty": 5.227272727272727, - "effort": 669.090909090909, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::calculateMethodCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodCoverageFromLines": { - "line": 215, - "lineCount": 36, - "argCount": 2, - "returnCount": 1, - "variableCount": 7, - "propertyCallCount": 0, - "ifNestingLevel": 2, - "elseCount": 0, - "ifCount": 5, - "halstead": { - "n1": 2, - "n2": 14, - "N1": 12, - "N2": 35, - "programLength": 47, - "programVocabulary": 16, - "volume": 188, - "difficulty": 2.5, - "effort": 470, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodCoverageFromLines" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStart": { - "line": 252, - "lineCount": 4, - "argCount": 3, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 3, - "N2": 7, - "programLength": 10, - "programVocabulary": 6, - "volume": 25.84962500721156, - "difficulty": 1.75, - "effort": 45.23684376262023, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStart" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodEnd": { - "line": 257, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 5, - "programLength": 7, - "programVocabulary": 5, - "volume": 16.253496664211536, - "difficulty": 1.6666666666666667, - "effort": 27.089161107019226, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodEnd" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStatement": { - "line": 262, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 5, - "programLength": 7, - "programVocabulary": 5, - "volume": 16.253496664211536, - "difficulty": 1.6666666666666667, - "effort": 27.089161107019226, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStatement" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isStatementCovered": { - "line": 267, - "lineCount": 5, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 4, - "N1": 3, - "N2": 6, - "programLength": 9, - "programVocabulary": 7, - "volume": 25.26619429851844, - "difficulty": 2.25, - "effort": 56.848937171666485, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isStatementCovered" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getLineCoverage": { - "line": 20, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 9, - "volume": 44.37895002019237, - "difficulty": 2.5, - "effort": 110.94737505048093, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getLineCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getBranchCoverage": { - "line": 34, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 9, - "volume": 44.37895002019237, - "difficulty": 2.5, - "effort": 110.94737505048093, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getBranchCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getComplexity": { - "line": 48, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 9, - "volume": 44.37895002019237, - "difficulty": 2.5, - "effort": 110.94737505048093, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getComplexity" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getCoverageDetails": { - "line": 62, - "lineCount": 13, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 8, - "N1": 7, - "N2": 16, - "programLength": 23, - "programVocabulary": 9, - "volume": 72.90827503317318, - "difficulty": 1, - "effort": 72.90827503317318, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getCoverageDetails" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::extractMethodsCoverage": { - "line": 81, - "lineCount": 23, - "argCount": 1, - "returnCount": 2, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 11, - "N1": 10, - "N2": 23, - "programLength": 33, - "programVocabulary": 14, - "volume": 125.64271242790093, - "difficulty": 3.1363636363636362, - "effort": 394.061234432962, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::extractMethodsCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CodeCoverageFactory::createFromName": { - "line": 14, - "lineCount": 8, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 4, - "N1": 1, - "N2": 8, - "programLength": 9, - "programVocabulary": 5, - "volume": 20.89735285398626, - "difficulty": 1, - "effort": 20.89735285398626, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CodeCoverageFactory::createFromName" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::__construct": { - "line": 28, - "lineCount": 15, - "argCount": 6, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 6, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 7, - "N1": 6, - "N2": 18, - "programLength": 24, - "programVocabulary": 8, - "volume": 72, - "difficulty": 1.2857142857142858, - "effort": 92.57142857142858, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getName": { - "line": 44, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getName" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getFilename": { - "line": 49, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getFilename" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getLineRate": { - "line": 54, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getLineRate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getBranchRate": { - "line": 59, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getBranchRate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getComplexity": { - "line": 64, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getComplexity" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getMethods": { - "line": 72, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getMethods" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::__construct": { - "line": 17, - "lineCount": 11, - "argCount": 4, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 4, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 5, - "N1": 4, - "N2": 12, - "programLength": 16, - "programVocabulary": 6, - "volume": 41.3594000115385, - "difficulty": 1.2, - "effort": 49.631280013846194, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getName": { - "line": 29, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getName" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getLineRate": { - "line": 34, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getLineRate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getBranchRate": { - "line": 39, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getBranchRate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getComplexity": { - "line": 44, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getComplexity" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::calculateDeltas": { - "line": 19, - "lineCount": 14, - "argCount": 2, - "returnCount": 0, - "variableCount": 6, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 9, - "N1": 4, - "N2": 18, - "programLength": 22, - "programVocabulary": 11, - "volume": 76.10749561002054, - "difficulty": 2, - "effort": 152.21499122004107, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::calculateDeltas" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::loadBaseline": { - "line": 41, - "lineCount": 13, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 5, - "N2": 9, - "programLength": 14, - "programVocabulary": 8, - "volume": 42, - "difficulty": 2.7, - "effort": 113.4, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::loadBaseline" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::__construct": { - "line": 72, - "lineCount": 21, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 6, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 9, - "N1": 12, - "N2": 34, - "programLength": 46, - "programVocabulary": 12, - "volume": 164.90827503317317, - "difficulty": 5.666666666666666, - "effort": 934.4802251879812, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setRequiredMetricProperties": { - "line": 98, - "lineCount": 30, - "argCount": 1, - "returnCount": 0, - "variableCount": 6, - "propertyCallCount": 9, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 21, - "N1": 21, - "N2": 51, - "programLength": 72, - "programVocabulary": 24, - "volume": 330.1173000519232, - "difficulty": 3.6428571428571423, - "effort": 1202.570164474863, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setRequiredMetricProperties" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setOptionalMetricProperties": { - "line": 133, - "lineCount": 12, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 8, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 11, - "N1": 16, - "N2": 33, - "programLength": 49, - "programVocabulary": 13, - "volume": 181.32154618891352, - "difficulty": 3, - "effort": 543.9646385667405, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setOptionalMetricProperties" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setTimesChanged": { - "line": 146, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setTimesChanged" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertSame": { - "line": 151, - "lineCount": 14, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 6, - "N2": 8, - "programLength": 14, - "programVocabulary": 5, - "volume": 32.50699332842307, - "difficulty": 2.6666666666666665, - "effort": 86.68531554246152, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertSame" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::calculateDeltas": { - "line": 169, - "lineCount": 13, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 16, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 17, - "N2": 27, - "programLength": 44, - "programVocabulary": 4, - "volume": 88, - "difficulty": 13.5, - "effort": 1188, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::calculateDeltas" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::fromArray": { - "line": 187, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::fromArray" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertArrayKeyIsPresent": { - "line": 197, - "lineCount": 6, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 5, - "programLength": 5, - "programVocabulary": 2, - "volume": 5, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertArrayKeyIsPresent" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getClass": { - "line": 204, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getMethod": { - "line": 209, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getMethod" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCount": { - "line": 214, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCount": { - "line": 219, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCount": { - "line": 224, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCount": { - "line": 229, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCount": { - "line": 234, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCount": { - "line": 239, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevel": { - "line": 244, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevel" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCount": { - "line": 249, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeight": { - "line": 254, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setLineCountWeight": { - "line": 259, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setLineCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeight": { - "line": 264, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setArgCountWeight": { - "line": 269, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setArgCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeight": { - "line": 274, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setReturnCountWeight": { - "line": 279, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setReturnCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeight": { - "line": 284, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setVariableCountWeight": { - "line": 289, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setVariableCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeight": { - "line": 294, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setPropertyCallCountWeight": { - "line": 299, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setPropertyCallCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeight": { - "line": 304, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfCountWeight": { - "line": 309, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeight": { - "line": 314, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfNestingLevelWeight": { - "line": 319, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfNestingLevelWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeight": { - "line": 324, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setElseCountWeight": { - "line": 329, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setElseCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setScore": { - "line": 334, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setScore" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getScore": { - "line": 339, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getScore" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setCoverage": { - "line": 344, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCoverage": { - "line": 349, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeightDelta": { - "line": 354, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeightDelta": { - "line": 359, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeightDelta": { - "line": 364, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeightDelta": { - "line": 369, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeightDelta": { - "line": 374, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeightDelta": { - "line": 379, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeightDelta": { - "line": 384, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeightDelta": { - "line": 389, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getTimesChanged": { - "line": 394, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 2, - "programLength": 3, - "programVocabulary": 3, - "volume": 4.754887502163468, - "difficulty": 0.5, - "effort": 2.377443751081734, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getTimesChanged" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getFileName": { - "line": 399, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getFileName" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLine": { - "line": 404, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLine" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::equals": { - "line": 409, - "lineCount": 5, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 2, - "N1": 5, - "N2": 5, - "programLength": 10, - "programVocabulary": 5, - "volume": 23.21928094887362, - "difficulty": 3.75, - "effort": 87.07230355827608, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::equals" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::toArray": { - "line": 418, - "lineCount": 34, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 29, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 30, - "N1": 0, - "N2": 58, - "programLength": 58, - "programVocabulary": 30, - "volume": 284.5996545452941, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::toArray" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::jsonSerialize": { - "line": 456, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::jsonSerialize" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getHalstead": { - "line": 464, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getHalstead" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCyclomatic": { - "line": 472, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCyclomatic" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::add": { - "line": 30, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 5, - "N2": 6, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 3, - "effort": 85.30376252379816, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::add" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filter": { - "line": 40, - "lineCount": 11, - "argCount": 1, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 2, - "risk_level": "low" - }, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 8, - "volume": 42, - "difficulty": 3, - "effort": 126, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filter" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getIterator": { - "line": 57, - "lineCount": 5, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getIterator" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::count": { - "line": 66, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::count" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterWithScoreGreaterThan": { - "line": 71, - "lineCount": 6, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 3, - "N2": 6, - "programLength": 9, - "programVocabulary": 5, - "volume": 20.89735285398626, - "difficulty": 2, - "effort": 41.79470570797252, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterWithScoreGreaterThan" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::contains": { - "line": 78, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 4, - "N2": 5, - "programLength": 9, - "programVocabulary": 5, - "volume": 20.89735285398626, - "difficulty": 1.6666666666666667, - "effort": 34.82892142331043, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::contains" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getClassWithMethod": { - "line": 83, - "lineCount": 9, - "argCount": 2, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "cyclomatic_complexity": { - "complexity": 2, - "risk_level": "low" - }, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 3, - "N2": 10, - "programLength": 13, - "programVocabulary": 7, - "volume": 36.49561398674886, - "difficulty": 2, - "effort": 72.99122797349771, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getClassWithMethod" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterByClassName": { - "line": 93, - "lineCount": 6, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 3, - "N2": 6, - "programLength": 9, - "programVocabulary": 5, - "volume": 20.89735285398626, - "difficulty": 2, - "effort": 41.79470570797252, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterByClassName" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::assertMetricHasGetter": { - "line": 100, - "lineCount": 9, - "argCount": 3, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "cyclomatic_complexity": { - "complexity": 2, - "risk_level": "low" - }, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 6, - "programLength": 7, - "programVocabulary": 4, - "volume": 14, - "difficulty": 1, - "effort": 14, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::assertMetricHasGetter" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::groupBy": { - "line": 117, - "lineCount": 20, - "argCount": 1, - "returnCount": 1, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "cyclomatic_complexity": { - "complexity": 3, - "risk_level": "low" - }, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 10, - "N2": 23, - "programLength": 33, - "programVocabulary": 11, - "volume": 114.16124341503081, - "difficulty": 6.571428571428571, - "effort": 750.2024567273453, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::groupBy" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::jsonSerialize": { - "line": 141, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::jsonSerialize" - } - } - }, - "ignored_items": [], - "cached_at": 1759967601 -} \ No newline at end of file diff --git a/.phpcca.cache/ad/ad7d9af05f895adb8331b437106d2e00.cache b/.phpcca.cache/ad/ad7d9af05f895adb8331b437106d2e00.cache deleted file mode 100644 index 8fbe385..0000000 --- a/.phpcca.cache/ad/ad7d9af05f895adb8331b437106d2e00.cache +++ /dev/null @@ -1,386 +0,0 @@ -{ - "version": "1.0", - "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/Business\/Churn\/ChangeCounter\/GitChangeCounter.php", - "file_mtime": 1752612112, - "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", - "analysis_result": { - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct": { - "line": 60, - "lineCount": 5, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 1, - "N1": 2, - "N2": 2, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 2, - "effort": 12.679700005769249, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices": { - "line": 66, - "lineCount": 95, - "argCount": 0, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 5, - "N1": 58, - "N2": 32, - "programLength": 90, - "programVocabulary": 9, - "volume": 285.2932501298081, - "difficulty": 12.8, - "effort": 3651.7536016615436, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap": { - "line": 162, - "lineCount": 10, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 7, - "N2": 7, - "programLength": 14, - "programVocabulary": 2, - "volume": 14, - "difficulty": 3.5, - "effort": 49, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors": { - "line": 173, - "lineCount": 12, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 3, - "N2": 1, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0.5, - "effort": 2, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus": { - "line": 186, - "lineCount": 19, - "argCount": 0, - "returnCount": 0, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 9, - "N2": 13, - "programLength": 22, - "programVocabulary": 7, - "volume": 61.76180828526729, - "difficulty": 2.6, - "effort": 160.58070154169496, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService": { - "line": 206, - "lineCount": 9, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 3, - "N2": 1, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0.5, - "effort": 2, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade": { - "line": 216, - "lineCount": 13, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 3, - "N2": 1, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0.5, - "effort": 2, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands": { - "line": 230, - "lineCount": 21, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 6, - "N2": 2, - "programLength": 8, - "programVocabulary": 2, - "volume": 8, - "difficulty": 1, - "effort": 8, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication": { - "line": 252, - "lineCount": 11, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 5, - "N2": 4, - "programLength": 9, - "programVocabulary": 4, - "volume": 18, - "difficulty": 0.6666666666666666, - "effort": 12, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run": { - "line": 264, - "lineCount": 9, - "argCount": 0, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 5, - "N2": 5, - "programLength": 10, - "programVocabulary": 4, - "volume": 20, - "difficulty": 2.5, - "effort": 50, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get": { - "line": 274, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer": { - "line": 279, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator": { - "line": 289, - "lineCount": 16, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 7, - "programLength": 8, - "programVocabulary": 4, - "volume": 16, - "difficulty": 1.1666666666666667, - "effort": 18.666666666666668, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create": { - "line": 18, - "lineCount": 7, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 4, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile": { - "line": 17, - "lineCount": 17, - "argCount": 2, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 3, - "n2": 8, - "N1": 11, - "N2": 19, - "programLength": 30, - "programVocabulary": 11, - "volume": 103.78294855911892, - "difficulty": 3.5625, - "effort": 369.72675424186116, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode": { - "line": 42, - "lineCount": 8, - "argCount": 3, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "cyclomatic_complexity": { - "complexity": 2, - "risk_level": "low" - }, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 3, - "N2": 8, - "programLength": 11, - "programVocabulary": 8, - "volume": 33, - "difficulty": 2.4000000000000004, - "effort": 79.20000000000002, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode" - } - } - }, - "ignored_items": [], - "cached_at": 1759967600 -} \ No newline at end of file diff --git a/.phpcca.cache/b5/b55bef25fe783a8a349d37aa777472a1.cache b/.phpcca.cache/b5/b55bef25fe783a8a349d37aa777472a1.cache deleted file mode 100644 index f45c06e..0000000 --- a/.phpcca.cache/b5/b55bef25fe783a8a349d37aa777472a1.cache +++ /dev/null @@ -1,4835 +0,0 @@ -{ - "version": "1.0", - "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/Business\/Cognitive\/Exporter\/MarkdownExporter.php", - "file_mtime": 1759793043, - "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", - "analysis_result": { - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct": { - "line": 60, - "lineCount": 5, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 1, - "N1": 2, - "N2": 2, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 2, - "effort": 12.679700005769249, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices": { - "line": 66, - "lineCount": 95, - "argCount": 0, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 5, - "N1": 58, - "N2": 32, - "programLength": 90, - "programVocabulary": 9, - "volume": 285.2932501298081, - "difficulty": 12.8, - "effort": 3651.7536016615436, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap": { - "line": 162, - "lineCount": 10, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 7, - "N2": 7, - "programLength": 14, - "programVocabulary": 2, - "volume": 14, - "difficulty": 3.5, - "effort": 49, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors": { - "line": 173, - "lineCount": 12, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 3, - "N2": 1, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0.5, - "effort": 2, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus": { - "line": 186, - "lineCount": 19, - "argCount": 0, - "returnCount": 0, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 9, - "N2": 13, - "programLength": 22, - "programVocabulary": 7, - "volume": 61.76180828526729, - "difficulty": 2.6, - "effort": 160.58070154169496, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService": { - "line": 206, - "lineCount": 9, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 3, - "N2": 1, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0.5, - "effort": 2, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade": { - "line": 216, - "lineCount": 13, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 3, - "N2": 1, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0.5, - "effort": 2, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands": { - "line": 230, - "lineCount": 21, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 6, - "N2": 2, - "programLength": 8, - "programVocabulary": 2, - "volume": 8, - "difficulty": 1, - "effort": 8, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication": { - "line": 252, - "lineCount": 11, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 5, - "N2": 4, - "programLength": 9, - "programVocabulary": 4, - "volume": 18, - "difficulty": 0.6666666666666666, - "effort": 12, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run": { - "line": 264, - "lineCount": 9, - "argCount": 0, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 5, - "N2": 5, - "programLength": 10, - "programVocabulary": 4, - "volume": 20, - "difficulty": 2.5, - "effort": 50, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get": { - "line": 274, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer": { - "line": 279, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator": { - "line": 289, - "lineCount": 16, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 7, - "programLength": 8, - "programVocabulary": 4, - "volume": 16, - "difficulty": 1.1666666666666667, - "effort": 18.666666666666668, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create": { - "line": 18, - "lineCount": 7, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 4, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile": { - "line": 17, - "lineCount": 17, - "argCount": 2, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 8, - "N1": 11, - "N2": 19, - "programLength": 30, - "programVocabulary": 11, - "volume": 103.78294855911892, - "difficulty": 3.5625, - "effort": 369.72675424186116, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode": { - "line": 42, - "lineCount": 8, - "argCount": 3, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 3, - "N2": 8, - "programLength": 11, - "programVocabulary": 8, - "volume": 33, - "difficulty": 2.4000000000000004, - "effort": 79.20000000000002, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate": { - "line": 22, - "lineCount": 10, - "argCount": 2, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 6, - "N2": 13, - "programLength": 19, - "programVocabulary": 6, - "volume": 49.11428751370197, - "difficulty": 3.25, - "effort": 159.6214344195314, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending": { - "line": 37, - "lineCount": 8, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 2, - "N2": 9, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 2.25, - "effort": 63.97782189284862, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn": { - "line": 51, - "lineCount": 24, - "argCount": 2, - "returnCount": 1, - "variableCount": 6, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 15, - "N1": 17, - "N2": 46, - "programLength": 63, - "programVocabulary": 20, - "volume": 272.28146997790384, - "difficulty": 7.666666666666667, - "effort": 2087.491269830596, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses": { - "line": 81, - "lineCount": 20, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 2, - "n2": 7, - "N1": 10, - "N2": 24, - "programLength": 34, - "programVocabulary": 9, - "volume": 107.7774500490386, - "difficulty": 3.4285714285714284, - "effort": 369.52268588241805, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass": { - "line": 109, - "lineCount": 9, - "argCount": 2, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 6, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 10, - "volume": 49.82892142331043, - "difficulty": 3.3333333333333335, - "effort": 166.09640474436813, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel": { - "line": 126, - "lineCount": 16, - "argCount": 2, - "returnCount": 4, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 12, - "N1": 9, - "N2": 18, - "programLength": 27, - "programVocabulary": 15, - "volume": 105.48604608143, - "difficulty": 2.25, - "effort": 237.3436036832175, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile": { - "line": 14, - "lineCount": 6, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 2, - "N2": 5, - "programLength": 7, - "programVocabulary": 4, - "volume": 14, - "difficulty": 2.5, - "effort": 35, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable": { - "line": 24, - "lineCount": 11, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 10, - "N2": 12, - "programLength": 22, - "programVocabulary": 8, - "volume": 66, - "difficulty": 6, - "effort": 396, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create": { - "line": 21, - "lineCount": 11, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 7, - "N1": 0, - "N2": 9, - "programLength": 9, - "programVocabulary": 7, - "volume": 25.26619429851844, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes": { - "line": 38, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 6, - "N1": 0, - "N2": 6, - "programLength": 6, - "programVocabulary": 6, - "volume": 15.509775004326936, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported": { - "line": 49, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 2, - "N2": 3, - "programLength": 5, - "programVocabulary": 4, - "volume": 10, - "difficulty": 1.5, - "effort": 15, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export": { - "line": 30, - "lineCount": 23, - "argCount": 2, - "returnCount": 0, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 16, - "N1": 10, - "N2": 33, - "programLength": 43, - "programVocabulary": 20, - "volume": 185.8429080801566, - "difficulty": 4.125, - "effort": 766.601995830646, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export": { - "line": 28, - "lineCount": 8, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 6, - "volume": 36.18947501009619, - "difficulty": 2.5, - "effort": 90.47368752524048, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape": { - "line": 37, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber": { - "line": 42, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml": { - "line": 52, - "lineCount": 50, - "argCount": 1, - "returnCount": 1, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 12, - "N1": 11, - "N2": 25, - "programLength": 36, - "programVocabulary": 17, - "volume": 147.14866228501222, - "difficulty": 5.208333333333334, - "effort": 766.3992827344388, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export": { - "line": 17, - "lineCount": 13, - "argCount": 2, - "returnCount": 0, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 8, - "N1": 7, - "N2": 14, - "programLength": 21, - "programVocabulary": 12, - "volume": 75.28421251514428, - "difficulty": 3.5, - "effort": 263.49474380300495, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export": { - "line": 48, - "lineCount": 8, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 6, - "volume": 36.18947501009619, - "difficulty": 2.5, - "effort": 90.47368752524048, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown": { - "line": 61, - "lineCount": 24, - "argCount": 1, - "returnCount": 1, - "variableCount": 6, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 6, - "n2": 16, - "N1": 19, - "N2": 41, - "programLength": 60, - "programVocabulary": 22, - "volume": 267.56589711823784, - "difficulty": 7.6875, - "effort": 2056.9128340964535, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow": { - "line": 94, - "lineCount": 21, - "argCount": 3, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 7, - "n2": 18, - "N1": 16, - "N2": 39, - "programLength": 55, - "programVocabulary": 25, - "volume": 255.41209043760983, - "difficulty": 7.583333333333333, - "effort": 1936.8750191518745, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::__construct": { - "line": 26, - "lineCount": 4, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::export": { - "line": 36, - "lineCount": 10, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 8, - "volume": 45, - "difficulty": 5, - "effort": 225, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::generateSvgTreemap": { - "line": 53, - "lineCount": 20, - "argCount": 1, - "returnCount": 1, - "variableCount": 6, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 8, - "N1": 9, - "N2": 20, - "programLength": 29, - "programVocabulary": 10, - "volume": 96.3359147517335, - "difficulty": 2.5, - "effort": 240.83978687933376, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::generateSvgTreemap" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRects": { - "line": 82, - "lineCount": 10, - "argCount": 3, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 9, - "N1": 6, - "N2": 18, - "programLength": 24, - "programVocabulary": 12, - "volume": 86.03910001730775, - "difficulty": 3, - "effort": 258.1173000519232, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRects" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRect": { - "line": 100, - "lineCount": 29, - "argCount": 2, - "returnCount": 1, - "variableCount": 12, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 6, - "n2": 28, - "N1": 26, - "N2": 54, - "programLength": 80, - "programVocabulary": 34, - "volume": 406.9970273000271, - "difficulty": 5.785714285714286, - "effort": 2354.7685150930142, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRect" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::wrapSvg": { - "line": 136, - "lineCount": 21, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 2, - "N2": 8, - "programLength": 10, - "programVocabulary": 4, - "volume": 20, - "difficulty": 1.3333333333333333, - "effort": 26.666666666666664, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::wrapSvg" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::prepareItems": { - "line": 28, - "lineCount": 18, - "argCount": 1, - "returnCount": 1, - "variableCount": 7, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 12, - "N1": 9, - "N2": 30, - "programLength": 39, - "programVocabulary": 17, - "volume": 159.41105080876324, - "difficulty": 6.25, - "effort": 996.3190675547702, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::prepareItems" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findScoreRange": { - "line": 53, - "lineCount": 16, - "argCount": 1, - "returnCount": 3, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 7, - "N2": 13, - "programLength": 20, - "programVocabulary": 8, - "volume": 60, - "difficulty": 3.9000000000000004, - "effort": 234.00000000000003, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findScoreRange" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::normalizeScore": { - "line": 78, - "lineCount": 8, - "argCount": 3, - "returnCount": 2, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 8, - "volume": 45, - "difficulty": 5, - "effort": 225, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::normalizeScore" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::scoreToColor": { - "line": 93, - "lineCount": 9, - "argCount": 1, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 5, - "n2": 9, - "N1": 12, - "N2": 16, - "programLength": 28, - "programVocabulary": 14, - "volume": 106.60593781761291, - "difficulty": 4.444444444444445, - "effort": 473.80416807827964, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::scoreToColor" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::calculateTreemapLayout": { - "line": 115, - "lineCount": 23, - "argCount": 7, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 9, - "N1": 2, - "N2": 18, - "programLength": 20, - "programVocabulary": 11, - "volume": 69.18863237274594, - "difficulty": 2, - "effort": 138.37726474549189, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::calculateTreemapLayout" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::layoutTreemap": { - "line": 152, - "lineCount": 89, - "argCount": 8, - "returnCount": 3, - "variableCount": 11, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 8, - "n2": 28, - "N1": 32, - "N2": 98, - "programLength": 130, - "programVocabulary": 36, - "volume": 672.0902501875006, - "difficulty": 14, - "effort": 9409.263502625008, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::layoutTreemap" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findSplitIndex": { - "line": 249, - "lineCount": 13, - "argCount": 2, - "returnCount": 2, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 7, - "n2": 10, - "N1": 9, - "N2": 23, - "programLength": 32, - "programVocabulary": 17, - "volume": 130.79881092001085, - "difficulty": 8.049999999999999, - "effort": 1052.9304279060873, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findSplitIndex" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::__construct": { - "line": 23, - "lineCount": 18, - "argCount": 1, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 7, - "N2": 11, - "programLength": 18, - "programVocabulary": 6, - "volume": 46.529325012980806, - "difficulty": 5.5, - "effort": 255.91128757139444, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::getAllClasses": { - "line": 47, - "lineCount": 17, - "argCount": 0, - "returnCount": 2, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 6, - "N2": 12, - "programLength": 18, - "programVocabulary": 9, - "volume": 57.05865002596162, - "difficulty": 3, - "effort": 171.17595007788486, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::getAllClasses" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::withClassNode": { - "line": 73, - "lineCount": 8, - "argCount": 2, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 4, - "N2": 8, - "programLength": 12, - "programVocabulary": 8, - "volume": 36, - "difficulty": 4, - "effort": 144, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::withClassNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::findClassNode": { - "line": 85, - "lineCount": 25, - "argCount": 1, - "returnCount": 4, - "variableCount": 5, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 13, - "N2": 29, - "programLength": 42, - "programVocabulary": 11, - "volume": 145.29612798276648, - "difficulty": 8.285714285714286, - "effort": 1203.8822032857795, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::findClassNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::escapeXPathValue": { - "line": 114, - "lineCount": 16, - "argCount": 1, - "returnCount": 3, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 9, - "N1": 11, - "N2": 18, - "programLength": 29, - "programVocabulary": 13, - "volume": 107.31275182609167, - "difficulty": 4, - "effort": 429.2510073043667, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::escapeXPathValue" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getLineCoverage": { - "line": 22, - "lineCount": 18, - "argCount": 1, - "returnCount": 4, - "variableCount": 5, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 9, - "N1": 10, - "N2": 19, - "programLength": 29, - "programVocabulary": 13, - "volume": 107.31275182609167, - "difficulty": 4.222222222222222, - "effort": 453.09828548794263, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getLineCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getBranchCoverage": { - "line": 48, - "lineCount": 18, - "argCount": 1, - "returnCount": 4, - "variableCount": 5, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 9, - "N1": 10, - "N2": 19, - "programLength": 29, - "programVocabulary": 13, - "volume": 107.31275182609167, - "difficulty": 4.222222222222222, - "effort": 453.09828548794263, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getBranchCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getComplexity": { - "line": 73, - "lineCount": 13, - "argCount": 1, - "returnCount": 3, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 7, - "N2": 14, - "programLength": 21, - "programVocabulary": 11, - "volume": 72.64806399138324, - "difficulty": 4, - "effort": 290.59225596553296, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getComplexity" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getCoverageDetails": { - "line": 93, - "lineCount": 26, - "argCount": 1, - "returnCount": 3, - "variableCount": 9, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 17, - "N1": 22, - "N2": 42, - "programLength": 64, - "programVocabulary": 22, - "volume": 285.403623592787, - "difficulty": 6.176470588235294, - "effort": 1762.7870868966259, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getCoverageDetails" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getMetricsNode": { - "line": 123, - "lineCount": 12, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 6, - "N1": 7, - "N2": 13, - "programLength": 20, - "programVocabulary": 10, - "volume": 66.43856189774725, - "difficulty": 4.333333333333333, - "effort": 287.90043489023805, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getMetricsNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getFilenameForClass": { - "line": 139, - "lineCount": 9, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 5, - "N1": 4, - "N2": 9, - "programLength": 13, - "programVocabulary": 9, - "volume": 41.209025018750054, - "difficulty": 3.6, - "effort": 148.3524900675002, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getFilenameForClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodsCoverage": { - "line": 154, - "lineCount": 36, - "argCount": 1, - "returnCount": 3, - "variableCount": 8, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 13, - "N1": 12, - "N2": 30, - "programLength": 42, - "programVocabulary": 16, - "volume": 168, - "difficulty": 3.4615384615384612, - "effort": 581.5384615384614, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodsCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::calculateMethodCoverage": { - "line": 194, - "lineCount": 15, - "argCount": 2, - "returnCount": 2, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 11, - "N1": 9, - "N2": 23, - "programLength": 32, - "programVocabulary": 16, - "volume": 128, - "difficulty": 5.227272727272727, - "effort": 669.090909090909, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::calculateMethodCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodCoverageFromLines": { - "line": 215, - "lineCount": 36, - "argCount": 2, - "returnCount": 1, - "variableCount": 7, - "propertyCallCount": 0, - "ifNestingLevel": 2, - "elseCount": 0, - "ifCount": 5, - "halstead": { - "n1": 2, - "n2": 14, - "N1": 12, - "N2": 35, - "programLength": 47, - "programVocabulary": 16, - "volume": 188, - "difficulty": 2.5, - "effort": 470, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodCoverageFromLines" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStart": { - "line": 252, - "lineCount": 4, - "argCount": 3, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 3, - "N2": 7, - "programLength": 10, - "programVocabulary": 6, - "volume": 25.84962500721156, - "difficulty": 1.75, - "effort": 45.23684376262023, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStart" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodEnd": { - "line": 257, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 5, - "programLength": 7, - "programVocabulary": 5, - "volume": 16.253496664211536, - "difficulty": 1.6666666666666667, - "effort": 27.089161107019226, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodEnd" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStatement": { - "line": 262, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 5, - "programLength": 7, - "programVocabulary": 5, - "volume": 16.253496664211536, - "difficulty": 1.6666666666666667, - "effort": 27.089161107019226, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStatement" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isStatementCovered": { - "line": 267, - "lineCount": 5, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 4, - "N1": 3, - "N2": 6, - "programLength": 9, - "programVocabulary": 7, - "volume": 25.26619429851844, - "difficulty": 2.25, - "effort": 56.848937171666485, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isStatementCovered" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getLineCoverage": { - "line": 20, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 9, - "volume": 44.37895002019237, - "difficulty": 2.5, - "effort": 110.94737505048093, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getLineCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getBranchCoverage": { - "line": 34, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 9, - "volume": 44.37895002019237, - "difficulty": 2.5, - "effort": 110.94737505048093, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getBranchCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getComplexity": { - "line": 48, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 9, - "volume": 44.37895002019237, - "difficulty": 2.5, - "effort": 110.94737505048093, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getComplexity" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getCoverageDetails": { - "line": 62, - "lineCount": 13, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 8, - "N1": 7, - "N2": 16, - "programLength": 23, - "programVocabulary": 9, - "volume": 72.90827503317318, - "difficulty": 1, - "effort": 72.90827503317318, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getCoverageDetails" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::extractMethodsCoverage": { - "line": 81, - "lineCount": 23, - "argCount": 1, - "returnCount": 2, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 11, - "N1": 10, - "N2": 23, - "programLength": 33, - "programVocabulary": 14, - "volume": 125.64271242790093, - "difficulty": 3.1363636363636362, - "effort": 394.061234432962, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::extractMethodsCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CodeCoverageFactory::createFromName": { - "line": 14, - "lineCount": 8, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 4, - "N1": 1, - "N2": 8, - "programLength": 9, - "programVocabulary": 5, - "volume": 20.89735285398626, - "difficulty": 1, - "effort": 20.89735285398626, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CodeCoverageFactory::createFromName" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::__construct": { - "line": 28, - "lineCount": 15, - "argCount": 6, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 6, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 7, - "N1": 6, - "N2": 18, - "programLength": 24, - "programVocabulary": 8, - "volume": 72, - "difficulty": 1.2857142857142858, - "effort": 92.57142857142858, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getName": { - "line": 44, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getName" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getFilename": { - "line": 49, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getFilename" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getLineRate": { - "line": 54, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getLineRate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getBranchRate": { - "line": 59, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getBranchRate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getComplexity": { - "line": 64, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getComplexity" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getMethods": { - "line": 72, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getMethods" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::__construct": { - "line": 17, - "lineCount": 11, - "argCount": 4, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 4, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 5, - "N1": 4, - "N2": 12, - "programLength": 16, - "programVocabulary": 6, - "volume": 41.3594000115385, - "difficulty": 1.2, - "effort": 49.631280013846194, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getName": { - "line": 29, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getName" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getLineRate": { - "line": 34, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getLineRate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getBranchRate": { - "line": 39, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getBranchRate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getComplexity": { - "line": 44, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getComplexity" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::calculateDeltas": { - "line": 19, - "lineCount": 14, - "argCount": 2, - "returnCount": 0, - "variableCount": 6, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 9, - "N1": 4, - "N2": 18, - "programLength": 22, - "programVocabulary": 11, - "volume": 76.10749561002054, - "difficulty": 2, - "effort": 152.21499122004107, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::calculateDeltas" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::loadBaseline": { - "line": 41, - "lineCount": 13, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 5, - "N2": 9, - "programLength": 14, - "programVocabulary": 8, - "volume": 42, - "difficulty": 2.7, - "effort": 113.4, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::loadBaseline" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::__construct": { - "line": 72, - "lineCount": 21, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 6, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 9, - "N1": 12, - "N2": 34, - "programLength": 46, - "programVocabulary": 12, - "volume": 164.90827503317317, - "difficulty": 5.666666666666666, - "effort": 934.4802251879812, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setRequiredMetricProperties": { - "line": 98, - "lineCount": 30, - "argCount": 1, - "returnCount": 0, - "variableCount": 6, - "propertyCallCount": 9, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 21, - "N1": 21, - "N2": 51, - "programLength": 72, - "programVocabulary": 24, - "volume": 330.1173000519232, - "difficulty": 3.6428571428571423, - "effort": 1202.570164474863, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setRequiredMetricProperties" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setOptionalMetricProperties": { - "line": 133, - "lineCount": 12, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 8, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 11, - "N1": 16, - "N2": 33, - "programLength": 49, - "programVocabulary": 13, - "volume": 181.32154618891352, - "difficulty": 3, - "effort": 543.9646385667405, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setOptionalMetricProperties" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setTimesChanged": { - "line": 146, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setTimesChanged" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertSame": { - "line": 151, - "lineCount": 14, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 6, - "N2": 8, - "programLength": 14, - "programVocabulary": 5, - "volume": 32.50699332842307, - "difficulty": 2.6666666666666665, - "effort": 86.68531554246152, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertSame" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::calculateDeltas": { - "line": 169, - "lineCount": 13, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 16, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 17, - "N2": 27, - "programLength": 44, - "programVocabulary": 4, - "volume": 88, - "difficulty": 13.5, - "effort": 1188, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::calculateDeltas" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::fromArray": { - "line": 187, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::fromArray" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertArrayKeyIsPresent": { - "line": 197, - "lineCount": 6, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 5, - "programLength": 5, - "programVocabulary": 2, - "volume": 5, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertArrayKeyIsPresent" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getClass": { - "line": 204, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getMethod": { - "line": 209, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getMethod" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCount": { - "line": 214, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCount": { - "line": 219, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCount": { - "line": 224, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCount": { - "line": 229, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCount": { - "line": 234, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCount": { - "line": 239, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevel": { - "line": 244, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevel" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCount": { - "line": 249, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeight": { - "line": 254, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setLineCountWeight": { - "line": 259, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setLineCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeight": { - "line": 264, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setArgCountWeight": { - "line": 269, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setArgCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeight": { - "line": 274, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setReturnCountWeight": { - "line": 279, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setReturnCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeight": { - "line": 284, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setVariableCountWeight": { - "line": 289, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setVariableCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeight": { - "line": 294, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setPropertyCallCountWeight": { - "line": 299, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setPropertyCallCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeight": { - "line": 304, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfCountWeight": { - "line": 309, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeight": { - "line": 314, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfNestingLevelWeight": { - "line": 319, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfNestingLevelWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeight": { - "line": 324, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setElseCountWeight": { - "line": 329, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setElseCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setScore": { - "line": 334, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setScore" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getScore": { - "line": 339, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getScore" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setCoverage": { - "line": 344, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCoverage": { - "line": 349, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeightDelta": { - "line": 354, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeightDelta": { - "line": 359, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeightDelta": { - "line": 364, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeightDelta": { - "line": 369, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeightDelta": { - "line": 374, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeightDelta": { - "line": 379, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeightDelta": { - "line": 384, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeightDelta": { - "line": 389, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getTimesChanged": { - "line": 394, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 2, - "programLength": 3, - "programVocabulary": 3, - "volume": 4.754887502163468, - "difficulty": 0.5, - "effort": 2.377443751081734, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getTimesChanged" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getFileName": { - "line": 399, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getFileName" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLine": { - "line": 404, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLine" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::equals": { - "line": 409, - "lineCount": 5, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 2, - "N1": 5, - "N2": 5, - "programLength": 10, - "programVocabulary": 5, - "volume": 23.21928094887362, - "difficulty": 3.75, - "effort": 87.07230355827608, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::equals" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::toArray": { - "line": 418, - "lineCount": 34, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 29, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 30, - "N1": 0, - "N2": 58, - "programLength": 58, - "programVocabulary": 30, - "volume": 284.5996545452941, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::toArray" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::jsonSerialize": { - "line": 456, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::jsonSerialize" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getHalstead": { - "line": 464, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getHalstead" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCyclomatic": { - "line": 472, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCyclomatic" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::add": { - "line": 30, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 5, - "N2": 6, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 3, - "effort": 85.30376252379816, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::add" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filter": { - "line": 40, - "lineCount": 11, - "argCount": 1, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 8, - "volume": 42, - "difficulty": 3, - "effort": 126, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filter" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getIterator": { - "line": 57, - "lineCount": 5, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getIterator" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::count": { - "line": 66, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::count" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterWithScoreGreaterThan": { - "line": 71, - "lineCount": 6, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 3, - "N2": 6, - "programLength": 9, - "programVocabulary": 5, - "volume": 20.89735285398626, - "difficulty": 2, - "effort": 41.79470570797252, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterWithScoreGreaterThan" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::contains": { - "line": 78, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 4, - "N2": 5, - "programLength": 9, - "programVocabulary": 5, - "volume": 20.89735285398626, - "difficulty": 1.6666666666666667, - "effort": 34.82892142331043, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::contains" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getClassWithMethod": { - "line": 83, - "lineCount": 9, - "argCount": 2, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 3, - "N2": 10, - "programLength": 13, - "programVocabulary": 7, - "volume": 36.49561398674886, - "difficulty": 2, - "effort": 72.99122797349771, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getClassWithMethod" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterByClassName": { - "line": 93, - "lineCount": 6, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 3, - "N2": 6, - "programLength": 9, - "programVocabulary": 5, - "volume": 20.89735285398626, - "difficulty": 2, - "effort": 41.79470570797252, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterByClassName" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::assertMetricHasGetter": { - "line": 100, - "lineCount": 9, - "argCount": 3, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 6, - "programLength": 7, - "programVocabulary": 4, - "volume": 14, - "difficulty": 1, - "effort": 14, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::assertMetricHasGetter" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::groupBy": { - "line": 117, - "lineCount": 20, - "argCount": 1, - "returnCount": 1, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 10, - "N2": 23, - "programLength": 33, - "programVocabulary": 11, - "volume": 114.16124341503081, - "difficulty": 6.571428571428571, - "effort": 750.2024567273453, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::groupBy" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::jsonSerialize": { - "line": 141, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::jsonSerialize" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::__construct": { - "line": 32, - "lineCount": 8, - "argCount": 5, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 5, - "N1": 0, - "N2": 5, - "programLength": 5, - "programVocabulary": 5, - "volume": 11.60964047443681, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collect": { - "line": 49, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 5, - "programLength": 6, - "programVocabulary": 4, - "volume": 12, - "difficulty": 0.8333333333333334, - "effort": 10, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collect" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collectFromPaths": { - "line": 62, - "lineCount": 13, - "argCount": 2, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 8, - "N2": 16, - "programLength": 24, - "programVocabulary": 9, - "volume": 76.07820003461549, - "difficulty": 4, - "effort": 304.31280013846197, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collectFromPaths" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCodeFromFile": { - "line": 79, - "lineCount": 10, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 2, - "N1": 5, - "N2": 6, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 6, - "effort": 170.6075250475963, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCodeFromFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findMetrics": { - "line": 98, - "lineCount": 31, - "argCount": 1, - "returnCount": 1, - "variableCount": 9, - "propertyCallCount": 2, - "ifNestingLevel": 2, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 13, - "N1": 18, - "N2": 38, - "programLength": 56, - "programVocabulary": 16, - "volume": 224, - "difficulty": 4.384615384615384, - "effort": 982.1538461538461, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findMetrics" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processMethodMetrics": { - "line": 136, - "lineCount": 29, - "argCount": 3, - "returnCount": 1, - "variableCount": 7, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 14, - "N1": 8, - "N2": 27, - "programLength": 35, - "programVocabulary": 17, - "volume": 143.06119944376186, - "difficulty": 2.892857142857143, - "effort": 413.8556126765968, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processMethodMetrics" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::isExcluded": { - "line": 166, - "lineCount": 12, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 5, - "N1": 5, - "N2": 9, - "programLength": 14, - "programVocabulary": 9, - "volume": 44.37895002019237, - "difficulty": 3.6, - "effort": 159.76422007269252, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::isExcluded" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findSourceFiles": { - "line": 187, - "lineCount": 7, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 2, - "N2": 6, - "programLength": 8, - "programVocabulary": 6, - "volume": 20.67970000576925, - "difficulty": 1.5, - "effort": 31.019550008653873, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findSourceFiles" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getProjectRoot": { - "line": 202, - "lineCount": 13, - "argCount": 0, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 2, - "N1": 8, - "N2": 8, - "programLength": 16, - "programVocabulary": 6, - "volume": 41.3594000115385, - "difficulty": 8, - "effort": 330.875200092308, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getProjectRoot" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateCacheKey": { - "line": 219, - "lineCount": 7, - "argCount": 2, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 6, - "N1": 10, - "N2": 12, - "programLength": 22, - "programVocabulary": 10, - "volume": 73.08241808752197, - "difficulty": 4, - "effort": 292.3296723500879, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateCacheKey" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateConfigHash": { - "line": 230, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 1, - "N1": 3, - "N2": 2, - "programLength": 5, - "programVocabulary": 3, - "volume": 7.92481250360578, - "difficulty": 2, - "effort": 15.84962500721156, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateConfigHash" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::cacheResult": { - "line": 239, - "lineCount": 14, - "argCount": 4, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 13, - "N1": 5, - "N2": 20, - "programLength": 25, - "programVocabulary": 15, - "volume": 97.67226489021297, - "difficulty": 1.5384615384615385, - "effort": 150.26502290801997, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::cacheResult" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::clearCache": { - "line": 254, - "lineCount": 4, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::clearCache" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::normalizeFilename": { - "line": 264, - "lineCount": 15, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 6, - "n2": 7, - "N1": 12, - "N2": 16, - "programLength": 28, - "programVocabulary": 13, - "volume": 103.61231210795059, - "difficulty": 6.857142857142857, - "effort": 710.4844258830897, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::normalizeFilename" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCachedMetrics": { - "line": 286, - "lineCount": 19, - "argCount": 3, - "returnCount": 3, - "variableCount": 4, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 11, - "N1": 10, - "N2": 29, - "programLength": 39, - "programVocabulary": 14, - "volume": 148.48684196024655, - "difficulty": 3.954545454545454, - "effort": 587.1979659337022, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCachedMetrics" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processFile": { - "line": 312, - "lineCount": 37, - "argCount": 5, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 7, - "n2": 10, - "N1": 12, - "N2": 28, - "programLength": 40, - "programVocabulary": 17, - "volume": 163.49851365001356, - "difficulty": 9.799999999999999, - "effort": 1602.2854337701328, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::sort": { - "line": 51, - "lineCount": 41, - "argCount": 3, - "returnCount": 2, - "variableCount": 10, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 18, - "N1": 20, - "N2": 43, - "programLength": 63, - "programVocabulary": 22, - "volume": 280.9441919741497, - "difficulty": 4.777777777777778, - "effort": 1342.2889172098264, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::sort" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getFieldValue": { - "line": 100, - "lineCount": 28, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 25, - "N1": 24, - "N2": 50, - "programLength": 74, - "programVocabulary": 27, - "volume": 351.86167516009664, - "difficulty": 2, - "effort": 703.7233503201933, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getFieldValue" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::compareValues": { - "line": 136, - "lineCount": 13, - "argCount": 2, - "returnCount": 3, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 2, - "N1": 9, - "N2": 12, - "programLength": 21, - "programVocabulary": 5, - "volume": 48.760489992634604, - "difficulty": 9, - "effort": 438.8444099337114, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::compareValues" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getSortableFields": { - "line": 155, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 0, - "N1": 0, - "N2": 0, - "programLength": 0, - "programVocabulary": 0, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getSortableFields" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__construct": { - "line": 15, - "lineCount": 11, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 7, - "N2": 12, - "programLength": 19, - "programVocabulary": 6, - "volume": 49.11428751370197, - "difficulty": 6, - "effort": 294.6857250822118, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::getValue": { - "line": 27, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::getValue" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasIncreased": { - "line": 32, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasIncreased" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__toString": { - "line": 37, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__toString" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasNotChanged": { - "line": 42, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 2, - "programLength": 3, - "programVocabulary": 3, - "volume": 4.754887502163468, - "difficulty": 0.5, - "effort": 2.377443751081734, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasNotChanged" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\FileProcessed::__construct": { - "line": 14, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\FileProcessed::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\ParserFailed::__construct": { - "line": 15, - "lineCount": 5, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\ParserFailed::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\SourceFilesFound::__construct": { - "line": 17, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\SourceFilesFound::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::__construct": { - "line": 15, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::create": { - "line": 27, - "lineCount": 10, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 6, - "N1": 0, - "N2": 8, - "programLength": 8, - "programVocabulary": 6, - "volume": 20.67970000576925, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::create" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::getSupportedTypes": { - "line": 43, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 4, - "N1": 0, - "N2": 4, - "programLength": 4, - "programVocabulary": 4, - "volume": 8, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::getSupportedTypes" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::isSupported": { - "line": 54, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 2, - "N2": 3, - "programLength": 5, - "programVocabulary": 4, - "volume": 10, - "difficulty": 1.5, - "effort": 15, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::isSupported" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CsvExporter::export": { - "line": 46, - "lineCount": 57, - "argCount": 2, - "returnCount": 0, - "variableCount": 6, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 15, - "N1": 37, - "N2": 54, - "programLength": 91, - "programVocabulary": 19, - "volume": 386.56140372336625, - "difficulty": 7.2, - "effort": 2783.242106808237, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CsvExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::export": { - "line": 40, - "lineCount": 8, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 5, - "N1": 4, - "N2": 8, - "programLength": 12, - "programVocabulary": 9, - "volume": 38.039100017307746, - "difficulty": 3.2, - "effort": 121.72512005538479, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::escape": { - "line": 49, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::escape" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::formatNumber": { - "line": 54, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::formatNumber" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::generateMetricRow": { - "line": 59, - "lineCount": 12, - "argCount": 3, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 16, - "N1": 19, - "N2": 27, - "programLength": 46, - "programVocabulary": 21, - "volume": 202.04660144782298, - "difficulty": 4.21875, - "effort": 852.3840998580032, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::generateMetricRow" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::generateHtml": { - "line": 78, - "lineCount": 64, - "argCount": 1, - "returnCount": 1, - "variableCount": 7, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 11, - "N1": 46, - "N2": 57, - "programLength": 103, - "programVocabulary": 15, - "volume": 402.40973134767745, - "difficulty": 10.363636363636363, - "effort": 4170.42812487593, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::generateHtml" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\JsonExporter::export": { - "line": 19, - "lineCount": 38, - "argCount": 2, - "returnCount": 0, - "variableCount": 5, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 27, - "N1": 29, - "N2": 58, - "programLength": 87, - "programVocabulary": 32, - "volume": 435, - "difficulty": 5.370370370370371, - "effort": 2336.1111111111113, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\JsonExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::__construct": { - "line": 24, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::export": { - "line": 36, - "lineCount": 8, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "cyclomatic_complexity": { - "complexity": 2, - "risk_level": "low" - }, - "halstead": { - "n1": 4, - "n2": 5, - "N1": 4, - "N2": 8, - "programLength": 12, - "programVocabulary": 9, - "volume": 38.039100017307746, - "difficulty": 3.2, - "effort": 121.72512005538479, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::escape": { - "line": 48, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::escape" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateMetricCell": { - "line": 56, - "lineCount": 12, - "argCount": 3, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "cyclomatic_complexity": { - "complexity": 3, - "risk_level": "low" - }, - "halstead": { - "n1": 5, - "n2": 12, - "N1": 16, - "N2": 24, - "programLength": 40, - "programVocabulary": 17, - "volume": 163.49851365001356, - "difficulty": 5, - "effort": 817.4925682500678, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateMetricCell" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::filterMetrics": { - "line": 75, - "lineCount": 15, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "cyclomatic_complexity": { - "complexity": 4, - "risk_level": "low" - }, - "halstead": { - "n1": 3, - "n2": 4, - "N1": 4, - "N2": 11, - "programLength": 15, - "programVocabulary": 7, - "volume": 42.11032383086406, - "difficulty": 4.125, - "effort": 173.70508580231424, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::filterMetrics" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableHeader": { - "line": 94, - "lineCount": 33, - "argCount": 0, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 4, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "cyclomatic_complexity": { - "complexity": 4, - "risk_level": "low" - }, - "halstead": { - "n1": 3, - "n2": 19, - "N1": 10, - "N2": 28, - "programLength": 38, - "programVocabulary": 22, - "volume": 169.4584015082173, - "difficulty": 2.2105263157894735, - "effort": 374.5922559655329, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableHeader" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableHeaderWithClass": { - "line": 131, - "lineCount": 33, - "argCount": 0, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 4, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "cyclomatic_complexity": { - "complexity": 4, - "risk_level": "low" - }, - "halstead": { - "n1": 3, - "n2": 20, - "N1": 10, - "N2": 29, - "programLength": 39, - "programVocabulary": 23, - "volume": 176.41891628622352, - "difficulty": 2.175, - "effort": 383.7111429225361, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableHeaderWithClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableSeparator": { - "line": 168, - "lineCount": 20, - "argCount": 0, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 4, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "cyclomatic_complexity": { - "complexity": 4, - "risk_level": "low" - }, - "halstead": { - "n1": 3, - "n2": 7, - "N1": 3, - "N2": 16, - "programLength": 19, - "programVocabulary": 10, - "volume": 63.11663380285988, - "difficulty": 3.4285714285714284, - "effort": 216.399887324091, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableSeparator" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableSeparatorWithClass": { - "line": 192, - "lineCount": 20, - "argCount": 0, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 4, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "cyclomatic_complexity": { - "complexity": 4, - "risk_level": "low" - }, - "halstead": { - "n1": 3, - "n2": 8, - "N1": 3, - "N2": 16, - "programLength": 19, - "programVocabulary": 11, - "volume": 65.72920075410865, - "difficulty": 3, - "effort": 197.18760226232592, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableSeparatorWithClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableRow": { - "line": 216, - "lineCount": 22, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "cyclomatic_complexity": { - "complexity": 2, - "risk_level": "low" - }, - "halstead": { - "n1": 4, - "n2": 6, - "N1": 53, - "N2": 60, - "programLength": 113, - "programVocabulary": 10, - "volume": 375.37787472227194, - "difficulty": 20, - "effort": 7507.557494445438, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableRow" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableRowWithClass": { - "line": 242, - "lineCount": 25, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "cyclomatic_complexity": { - "complexity": 2, - "risk_level": "low" - }, - "halstead": { - "n1": 4, - "n2": 6, - "N1": 55, - "N2": 62, - "programLength": 117, - "programVocabulary": 10, - "volume": 388.66558710182136, - "difficulty": 20.666666666666668, - "effort": 8032.422133437642, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableRowWithClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::addHalsteadCells": { - "line": 274, - "lineCount": 20, - "argCount": 2, - "returnCount": 3, - "variableCount": 2, - "propertyCallCount": 5, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "cyclomatic_complexity": { - "complexity": 3, - "risk_level": "low" - }, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 12, - "N2": 24, - "programLength": 36, - "programVocabulary": 8, - "volume": 108, - "difficulty": 7.199999999999999, - "effort": 777.5999999999999, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::addHalsteadCells" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::addCyclomaticCell": { - "line": 301, - "lineCount": 16, - "argCount": 2, - "returnCount": 3, - "variableCount": 2, - "propertyCallCount": 4, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "cyclomatic_complexity": { - "complexity": 3, - "risk_level": "low" - }, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 8, - "N2": 16, - "programLength": 24, - "programVocabulary": 11, - "volume": 83.02635884729514, - "difficulty": 4.571428571428571, - "effort": 379.5490690162063, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::addCyclomaticCell" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateMarkdown": { - "line": 325, - "lineCount": 8, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "cyclomatic_complexity": { - "complexity": 2, - "risk_level": "low" - }, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 2, - "N2": 6, - "programLength": 8, - "programVocabulary": 3, - "volume": 12.679700005769249, - "difficulty": 1.5, - "effort": 19.019550008653873, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateMarkdown" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateGroupedMarkdown": { - "line": 337, - "lineCount": 49, - "argCount": 1, - "returnCount": 1, - "variableCount": 10, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "cyclomatic_complexity": { - "complexity": 7, - "risk_level": "medium" - }, - "halstead": { - "n1": 8, - "n2": 23, - "N1": 33, - "N2": 65, - "programLength": 98, - "programVocabulary": 31, - "volume": 485.5112384179137, - "difficulty": 11.304347826086957, - "effort": 5488.387912550329, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateGroupedMarkdown" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateSingleTableMarkdown": { - "line": 390, - "lineCount": 28, - "argCount": 1, - "returnCount": 1, - "variableCount": 6, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "cyclomatic_complexity": { - "complexity": 4, - "risk_level": "low" - }, - "halstead": { - "n1": 6, - "n2": 13, - "N1": 19, - "N2": 37, - "programLength": 56, - "programVocabulary": 19, - "volume": 237.88394075284077, - "difficulty": 8.538461538461538, - "effort": 2031.1628787357943, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateSingleTableMarkdown" - } - } - }, - "ignored_items": [], - "cached_at": 1759967601 -} \ No newline at end of file diff --git a/.phpcca.cache/b9/b9182645d874577019950161800ea61e.cache b/.phpcca.cache/b9/b9182645d874577019950161800ea61e.cache deleted file mode 100644 index bcb0e0b..0000000 --- a/.phpcca.cache/b9/b9182645d874577019950161800ea61e.cache +++ /dev/null @@ -1,1421 +0,0 @@ -{ - "version": "1.0", - "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/Command\/Presentation\/CognitiveMetricSummaryTextRenderer.php", - "file_mtime": 1759791861, - "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", - "analysis_result": { - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::__construct": { - "line": 26, - "lineCount": 5, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 4, - "N1": 3, - "N2": 6, - "programLength": 9, - "programVocabulary": 7, - "volume": 25.26619429851844, - "difficulty": 2.25, - "effort": 56.848937171666485, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItem": { - "line": 35, - "lineCount": 15, - "argCount": 1, - "returnCount": 3, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 6, - "N2": 13, - "programLength": 19, - "programVocabulary": 8, - "volume": 57, - "difficulty": 6.5, - "effort": 370.5, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItem" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItems": { - "line": 55, - "lineCount": 9, - "argCount": 1, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 3, - "N2": 9, - "programLength": 12, - "programVocabulary": 6, - "volume": 31.019550008653873, - "difficulty": 2.25, - "effort": 69.79398751947122, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItems" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::hasItem": { - "line": 68, - "lineCount": 6, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 5, - "n2": 3, - "N1": 6, - "N2": 7, - "programLength": 13, - "programVocabulary": 8, - "volume": 39, - "difficulty": 5.833333333333334, - "effort": 227.50000000000003, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::hasItem" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::clear": { - "line": 75, - "lineCount": 10, - "argCount": 0, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 2, - "N2": 4, - "programLength": 6, - "programVocabulary": 3, - "volume": 9.509775004326936, - "difficulty": 1, - "effort": 9.509775004326936, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::clear" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItem": { - "line": 89, - "lineCount": 10, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 4, - "N2": 6, - "programLength": 10, - "programVocabulary": 6, - "volume": 25.84962500721156, - "difficulty": 3, - "effort": 77.54887502163469, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItem" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItems": { - "line": 103, - "lineCount": 10, - "argCount": 1, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 3, - "N2": 8, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 2, - "effort": 56.86917501586544, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItems" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::save": { - "line": 117, - "lineCount": 11, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 4, - "N1": 9, - "N2": 12, - "programLength": 21, - "programVocabulary": 7, - "volume": 58.95445336320969, - "difficulty": 4.5, - "effort": 265.2950401344436, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::save" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveDeferred": { - "line": 129, - "lineCount": 6, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveDeferred" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::commit": { - "line": 136, - "lineCount": 11, - "argCount": 0, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 4, - "N2": 8, - "programLength": 12, - "programVocabulary": 5, - "volume": 27.863137138648348, - "difficulty": 2.6666666666666665, - "effort": 74.30169903639559, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::commit" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::ensureCacheDirectory": { - "line": 152, - "lineCount": 9, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 3, - "N2": 4, - "programLength": 7, - "programVocabulary": 4, - "volume": 14, - "difficulty": 2, - "effort": 28, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::ensureCacheDirectory" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getCacheFilePath": { - "line": 168, - "lineCount": 15, - "argCount": 1, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 10, - "N1": 13, - "N2": 19, - "programLength": 32, - "programVocabulary": 14, - "volume": 121.83535750584333, - "difficulty": 3.8, - "effort": 462.9743585222046, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getCacheFilePath" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::loadCacheData": { - "line": 187, - "lineCount": 14, - "argCount": 1, - "returnCount": 3, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 6, - "N2": 8, - "programLength": 14, - "programVocabulary": 6, - "volume": 36.18947501009619, - "difficulty": 4, - "effort": 144.75790004038475, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::loadCacheData" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveCacheData": { - "line": 209, - "lineCount": 21, - "argCount": 2, - "returnCount": 3, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 6, - "n2": 7, - "N1": 13, - "N2": 17, - "programLength": 30, - "programVocabulary": 13, - "volume": 111.01319154423277, - "difficulty": 7.285714285714285, - "effort": 808.810395536553, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveCacheData" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::sanitizeUtf8": { - "line": 234, - "lineCount": 25, - "argCount": 1, - "returnCount": 4, - "variableCount": 6, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 8, - "N1": 13, - "N2": 29, - "programLength": 42, - "programVocabulary": 11, - "volume": 145.29612798276648, - "difficulty": 5.4375, - "effort": 790.0476959062927, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::sanitizeUtf8" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::removeDirectory": { - "line": 260, - "lineCount": 23, - "argCount": 1, - "returnCount": 2, - "variableCount": 5, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 5, - "n2": 9, - "N1": 13, - "N2": 20, - "programLength": 33, - "programVocabulary": 14, - "volume": 125.64271242790093, - "difficulty": 5.555555555555555, - "effort": 698.0150690438941, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::removeDirectory" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::__construct": { - "line": 42, - "lineCount": 7, - "argCount": 3, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 3, - "N1": 0, - "N2": 3, - "programLength": 3, - "programVocabulary": 3, - "volume": 4.754887502163468, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::configure": { - "line": 53, - "lineCount": 57, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 15, - "N1": 9, - "N2": 16, - "programLength": 25, - "programVocabulary": 16, - "volume": 100, - "difficulty": 0.5333333333333333, - "effort": 53.333333333333336, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::configure" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::execute": { - "line": 119, - "lineCount": 43, - "argCount": 2, - "returnCount": 5, - "variableCount": 9, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 4, - "halstead": { - "n1": 7, - "n2": 14, - "N1": 31, - "N2": 45, - "programLength": 76, - "programVocabulary": 21, - "volume": 333.8161241311858, - "difficulty": 11.25, - "effort": 3755.4313964758403, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::execute" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::loadCoverageReader": { - "line": 171, - "lineCount": 32, - "argCount": 3, - "returnCount": 4, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 2, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 4, - "n2": 9, - "N1": 9, - "N2": 21, - "programLength": 30, - "programVocabulary": 13, - "volume": 111.01319154423277, - "difficulty": 4.666666666666667, - "effort": 518.0615605397529, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::loadCoverageReader" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::detectCoverageFormat": { - "line": 207, - "lineCount": 19, - "argCount": 1, - "returnCount": 4, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 9, - "volume": 47.548875021634686, - "difficulty": 2.5, - "effort": 118.87218755408671, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::detectCoverageFormat" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::coverageFileExists": { - "line": 227, - "lineCount": 20, - "argCount": 2, - "returnCount": 3, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 4, - "N2": 7, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 3.5, - "effort": 99.52105627776452, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::coverageFileExists" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::__construct": { - "line": 49, - "lineCount": 10, - "argCount": 6, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 6, - "N1": 0, - "N2": 6, - "programLength": 6, - "programVocabulary": 6, - "volume": 15.509775004326936, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::configure": { - "line": 63, - "lineCount": 76, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 20, - "N1": 13, - "N2": 20, - "programLength": 33, - "programVocabulary": 21, - "volume": 144.94647495169912, - "difficulty": 0.5, - "effort": 72.47323747584956, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::configure" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::execute": { - "line": 150, - "lineCount": 52, - "argCount": 2, - "returnCount": 5, - "variableCount": 11, - "propertyCallCount": 6, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 7, - "halstead": { - "n1": 6, - "n2": 15, - "N1": 43, - "N2": 61, - "programLength": 104, - "programVocabulary": 21, - "volume": 456.80101196899113, - "difficulty": 12.2, - "effort": 5572.972346021692, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::execute" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::parsePaths": { - "line": 209, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 4, - "N2": 8, - "programLength": 12, - "programVocabulary": 7, - "volume": 33.68825906469125, - "difficulty": 1.6, - "effort": 53.901214503506004, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::parsePaths" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleBaseLine": { - "line": 224, - "lineCount": 8, - "argCount": 2, - "returnCount": 0, - "variableCount": 3, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 5, - "N2": 11, - "programLength": 16, - "programVocabulary": 7, - "volume": 44.91767875292167, - "difficulty": 2.2, - "effort": 98.81889325642767, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleBaseLine" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleCoverageOptions": { - "line": 238, - "lineCount": 20, - "argCount": 2, - "returnCount": 3, - "variableCount": 5, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 5, - "n2": 10, - "N1": 15, - "N2": 25, - "programLength": 40, - "programVocabulary": 15, - "volume": 156.27562382434076, - "difficulty": 6.25, - "effort": 976.7226489021298, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleCoverageOptions" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::applySorting": { - "line": 264, - "lineCount": 21, - "argCount": 3, - "returnCount": 3, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 15, - "N1": 16, - "N2": 32, - "programLength": 48, - "programVocabulary": 20, - "volume": 207.45254855459342, - "difficulty": 5.333333333333333, - "effort": 1106.4135922911648, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::applySorting" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadConfiguration": { - "line": 293, - "lineCount": 10, - "argCount": 2, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 6, - "N1": 5, - "N2": 9, - "programLength": 14, - "programVocabulary": 8, - "volume": 42, - "difficulty": 1.5, - "effort": 63, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadConfiguration" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadCoverageReader": { - "line": 313, - "lineCount": 28, - "argCount": 3, - "returnCount": 4, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 2, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 10, - "N2": 18, - "programLength": 28, - "programVocabulary": 11, - "volume": 96.86408532184433, - "difficulty": 5.142857142857143, - "effort": 498.15815308377086, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadCoverageReader" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::detectCoverageFormat": { - "line": 345, - "lineCount": 19, - "argCount": 1, - "returnCount": 4, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 9, - "volume": 47.548875021634686, - "difficulty": 2.5, - "effort": 118.87218755408671, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::detectCoverageFormat" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::coverageFileExists": { - "line": 365, - "lineCount": 20, - "argCount": 2, - "returnCount": 3, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 4, - "N2": 7, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 3.5, - "effort": 99.52105627776452, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::coverageFileExists" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__construct": { - "line": 12, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__invoke": { - "line": 17, - "lineCount": 22, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 3, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 10, - "N2": 11, - "programLength": 21, - "programVocabulary": 7, - "volume": 58.95445336320969, - "difficulty": 2.2, - "effort": 129.6997973990613, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__invoke" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__construct": { - "line": 21, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__invoke": { - "line": 26, - "lineCount": 11, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 4, - "N2": 9, - "programLength": 13, - "programVocabulary": 4, - "volume": 26, - "difficulty": 4.5, - "effort": 117, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__invoke" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleSourceFilesFound": { - "line": 38, - "lineCount": 6, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 4, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 6, - "N2": 10, - "programLength": 16, - "programVocabulary": 8, - "volume": 48, - "difficulty": 5, - "effort": 240, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleSourceFilesFound" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleFileProcessed": { - "line": 45, - "lineCount": 5, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleFileProcessed" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleAllFilesProcessed": { - "line": 51, - "lineCount": 6, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 3, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 3, - "N2": 5, - "programLength": 8, - "programVocabulary": 5, - "volume": 18.575424759098897, - "difficulty": 1.6666666666666667, - "effort": 30.95904126516483, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleAllFilesProcessed" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__construct": { - "line": 20, - "lineCount": 5, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__invoke": { - "line": 26, - "lineCount": 17, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 5, - "n2": 8, - "N1": 17, - "N2": 17, - "programLength": 34, - "programVocabulary": 13, - "volume": 125.81495041679713, - "difficulty": 5.3125, - "effort": 668.3919240892347, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__invoke" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::formatBytes": { - "line": 50, - "lineCount": 12, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 7, - "n2": 13, - "N1": 10, - "N2": 22, - "programLength": 32, - "programVocabulary": 20, - "volume": 138.3016990363956, - "difficulty": 5.923076923076923, - "effort": 819.1716019848047, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::formatBytes" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::isDebugEnabled": { - "line": 66, - "lineCount": 5, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 1, - "N1": 4, - "N2": 2, - "programLength": 6, - "programVocabulary": 4, - "volume": 12, - "difficulty": 3, - "effort": 36, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::isDebugEnabled" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::__construct": { - "line": 20, - "lineCount": 6, - "argCount": 2, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 4, - "volume": 8, - "difficulty": 0.5, - "effort": 4, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::exportToFile": { - "line": 32, - "lineCount": 27, - "argCount": 3, - "returnCount": 4, - "variableCount": 2, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 1, - "n2": 6, - "N1": 6, - "N2": 19, - "programLength": 25, - "programVocabulary": 7, - "volume": 70.1838730514401, - "difficulty": 1.5833333333333333, - "effort": 111.12446566478016, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::exportToFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::hasIncompleteReportOptions": { - "line": 60, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 2, - "N1": 7, - "N2": 6, - "programLength": 13, - "programVocabulary": 6, - "volume": 33.60451250937503, - "difficulty": 6, - "effort": 201.62707505625016, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::hasIncompleteReportOptions" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::isValidReportType": { - "line": 65, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 2, - "N2": 4, - "programLength": 6, - "programVocabulary": 4, - "volume": 12, - "difficulty": 2, - "effort": 24, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::isValidReportType" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleExceptions": { - "line": 77, - "lineCount": 9, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 3, - "N2": 4, - "programLength": 7, - "programVocabulary": 5, - "volume": 16.253496664211536, - "difficulty": 1.3333333333333333, - "effort": 21.67132888561538, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleExceptions" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleInvalidReportType": { - "line": 91, - "lineCount": 11, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 5, - "N2": 8, - "programLength": 13, - "programVocabulary": 8, - "volume": 39, - "difficulty": 2.4000000000000004, - "effort": 93.60000000000001, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleInvalidReportType" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::__construct": { - "line": 15, - "lineCount": 5, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handle": { - "line": 24, - "lineCount": 27, - "argCount": 3, - "returnCount": 4, - "variableCount": 2, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 1, - "n2": 6, - "N1": 6, - "N2": 19, - "programLength": 25, - "programVocabulary": 7, - "volume": 70.1838730514401, - "difficulty": 1.5833333333333333, - "effort": 111.12446566478016, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handle" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::hasIncompleteReportOptions": { - "line": 52, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 2, - "N1": 7, - "N2": 6, - "programLength": 13, - "programVocabulary": 6, - "volume": 33.60451250937503, - "difficulty": 6, - "effort": 201.62707505625016, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::hasIncompleteReportOptions" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::isValidReportType": { - "line": 57, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 5, - "N1": 1, - "N2": 6, - "programLength": 7, - "programVocabulary": 6, - "volume": 18.094737505048094, - "difficulty": 0.6, - "effort": 10.856842503028856, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::isValidReportType" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handleExceptions": { - "line": 66, - "lineCount": 9, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 3, - "N2": 4, - "programLength": 7, - "programVocabulary": 5, - "volume": 16.253496664211536, - "difficulty": 1.3333333333333333, - "effort": 21.67132888561538, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handleExceptions" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handleInvalidReporType": { - "line": 80, - "lineCount": 9, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 4, - "programLength": 6, - "programVocabulary": 5, - "volume": 13.931568569324174, - "difficulty": 1.3333333333333333, - "effort": 18.575424759098897, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handleInvalidReporType" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::__construct": { - "line": 42, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::reportWritten": { - "line": 47, - "lineCount": 7, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 4, - "programLength": 6, - "programVocabulary": 5, - "volume": 13.931568569324174, - "difficulty": 1.3333333333333333, - "effort": 18.575424759098897, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::reportWritten" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::renderChurnTable": { - "line": 59, - "lineCount": 35, - "argCount": 1, - "returnCount": 0, - "variableCount": 6, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 8, - "n2": 18, - "N1": 21, - "N2": 53, - "programLength": 74, - "programVocabulary": 26, - "volume": 347.8325391424408, - "difficulty": 11.777777777777779, - "effort": 4096.694349899859, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::renderChurnTable" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricSummaryTextRenderer::__construct": { - "line": 18, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricSummaryTextRenderer::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricSummaryTextRenderer::render": { - "line": 23, - "lineCount": 32, - "argCount": 2, - "returnCount": 0, - "variableCount": 6, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "cyclomatic_complexity": { - "complexity": 5, - "risk_level": "low" - }, - "halstead": { - "n1": 6, - "n2": 16, - "N1": 27, - "N2": 38, - "programLength": 65, - "programVocabulary": 22, - "volume": 289.86305521142435, - "difficulty": 7.125, - "effort": 2065.2742683813985, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricSummaryTextRenderer::render" - } - } - }, - "ignored_items": [], - "cached_at": 1759967602 -} \ No newline at end of file diff --git a/.phpcca.cache/be/be27960f2a5e3e43ad5515c673773827.cache b/.phpcca.cache/be/be27960f2a5e3e43ad5515c673773827.cache deleted file mode 100644 index a0a4424..0000000 --- a/.phpcca.cache/be/be27960f2a5e3e43ad5515c673773827.cache +++ /dev/null @@ -1,2579 +0,0 @@ -{ - "version": "1.0", - "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/Config\/ConfigService.php", - "file_mtime": 1759791861, - "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", - "analysis_result": { - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::__construct": { - "line": 26, - "lineCount": 5, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 4, - "N1": 3, - "N2": 6, - "programLength": 9, - "programVocabulary": 7, - "volume": 25.26619429851844, - "difficulty": 2.25, - "effort": 56.848937171666485, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItem": { - "line": 35, - "lineCount": 15, - "argCount": 1, - "returnCount": 3, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 6, - "N2": 13, - "programLength": 19, - "programVocabulary": 8, - "volume": 57, - "difficulty": 6.5, - "effort": 370.5, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItem" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItems": { - "line": 55, - "lineCount": 9, - "argCount": 1, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 3, - "N2": 9, - "programLength": 12, - "programVocabulary": 6, - "volume": 31.019550008653873, - "difficulty": 2.25, - "effort": 69.79398751947122, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItems" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::hasItem": { - "line": 68, - "lineCount": 6, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 5, - "n2": 3, - "N1": 6, - "N2": 7, - "programLength": 13, - "programVocabulary": 8, - "volume": 39, - "difficulty": 5.833333333333334, - "effort": 227.50000000000003, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::hasItem" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::clear": { - "line": 75, - "lineCount": 10, - "argCount": 0, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 2, - "N2": 4, - "programLength": 6, - "programVocabulary": 3, - "volume": 9.509775004326936, - "difficulty": 1, - "effort": 9.509775004326936, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::clear" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItem": { - "line": 89, - "lineCount": 10, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 4, - "N2": 6, - "programLength": 10, - "programVocabulary": 6, - "volume": 25.84962500721156, - "difficulty": 3, - "effort": 77.54887502163469, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItem" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItems": { - "line": 103, - "lineCount": 10, - "argCount": 1, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 3, - "N2": 8, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 2, - "effort": 56.86917501586544, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItems" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::save": { - "line": 117, - "lineCount": 11, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 4, - "N1": 9, - "N2": 12, - "programLength": 21, - "programVocabulary": 7, - "volume": 58.95445336320969, - "difficulty": 4.5, - "effort": 265.2950401344436, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::save" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveDeferred": { - "line": 129, - "lineCount": 6, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveDeferred" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::commit": { - "line": 136, - "lineCount": 11, - "argCount": 0, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 4, - "N2": 8, - "programLength": 12, - "programVocabulary": 5, - "volume": 27.863137138648348, - "difficulty": 2.6666666666666665, - "effort": 74.30169903639559, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::commit" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::ensureCacheDirectory": { - "line": 152, - "lineCount": 9, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 3, - "N2": 4, - "programLength": 7, - "programVocabulary": 4, - "volume": 14, - "difficulty": 2, - "effort": 28, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::ensureCacheDirectory" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getCacheFilePath": { - "line": 168, - "lineCount": 15, - "argCount": 1, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 10, - "N1": 13, - "N2": 19, - "programLength": 32, - "programVocabulary": 14, - "volume": 121.83535750584333, - "difficulty": 3.8, - "effort": 462.9743585222046, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getCacheFilePath" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::loadCacheData": { - "line": 187, - "lineCount": 14, - "argCount": 1, - "returnCount": 3, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 6, - "N2": 8, - "programLength": 14, - "programVocabulary": 6, - "volume": 36.18947501009619, - "difficulty": 4, - "effort": 144.75790004038475, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::loadCacheData" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveCacheData": { - "line": 209, - "lineCount": 21, - "argCount": 2, - "returnCount": 3, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 6, - "n2": 7, - "N1": 13, - "N2": 17, - "programLength": 30, - "programVocabulary": 13, - "volume": 111.01319154423277, - "difficulty": 7.285714285714285, - "effort": 808.810395536553, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveCacheData" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::sanitizeUtf8": { - "line": 234, - "lineCount": 25, - "argCount": 1, - "returnCount": 4, - "variableCount": 6, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 8, - "N1": 13, - "N2": 29, - "programLength": 42, - "programVocabulary": 11, - "volume": 145.29612798276648, - "difficulty": 5.4375, - "effort": 790.0476959062927, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::sanitizeUtf8" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::removeDirectory": { - "line": 260, - "lineCount": 23, - "argCount": 1, - "returnCount": 2, - "variableCount": 5, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 5, - "n2": 9, - "N1": 13, - "N2": 20, - "programLength": 33, - "programVocabulary": 14, - "volume": 125.64271242790093, - "difficulty": 5.555555555555555, - "effort": 698.0150690438941, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::removeDirectory" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::__construct": { - "line": 42, - "lineCount": 7, - "argCount": 3, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 3, - "N1": 0, - "N2": 3, - "programLength": 3, - "programVocabulary": 3, - "volume": 4.754887502163468, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::configure": { - "line": 53, - "lineCount": 57, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 15, - "N1": 9, - "N2": 16, - "programLength": 25, - "programVocabulary": 16, - "volume": 100, - "difficulty": 0.5333333333333333, - "effort": 53.333333333333336, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::configure" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::execute": { - "line": 119, - "lineCount": 43, - "argCount": 2, - "returnCount": 5, - "variableCount": 9, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 4, - "halstead": { - "n1": 7, - "n2": 14, - "N1": 31, - "N2": 45, - "programLength": 76, - "programVocabulary": 21, - "volume": 333.8161241311858, - "difficulty": 11.25, - "effort": 3755.4313964758403, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::execute" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::loadCoverageReader": { - "line": 171, - "lineCount": 32, - "argCount": 3, - "returnCount": 4, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 2, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 4, - "n2": 9, - "N1": 9, - "N2": 21, - "programLength": 30, - "programVocabulary": 13, - "volume": 111.01319154423277, - "difficulty": 4.666666666666667, - "effort": 518.0615605397529, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::loadCoverageReader" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::detectCoverageFormat": { - "line": 207, - "lineCount": 19, - "argCount": 1, - "returnCount": 4, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 9, - "volume": 47.548875021634686, - "difficulty": 2.5, - "effort": 118.87218755408671, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::detectCoverageFormat" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::coverageFileExists": { - "line": 227, - "lineCount": 20, - "argCount": 2, - "returnCount": 3, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 4, - "N2": 7, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 3.5, - "effort": 99.52105627776452, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::coverageFileExists" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::__construct": { - "line": 49, - "lineCount": 10, - "argCount": 6, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 6, - "N1": 0, - "N2": 6, - "programLength": 6, - "programVocabulary": 6, - "volume": 15.509775004326936, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::configure": { - "line": 63, - "lineCount": 76, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 20, - "N1": 13, - "N2": 20, - "programLength": 33, - "programVocabulary": 21, - "volume": 144.94647495169912, - "difficulty": 0.5, - "effort": 72.47323747584956, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::configure" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::execute": { - "line": 150, - "lineCount": 52, - "argCount": 2, - "returnCount": 5, - "variableCount": 11, - "propertyCallCount": 6, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 7, - "halstead": { - "n1": 6, - "n2": 15, - "N1": 43, - "N2": 61, - "programLength": 104, - "programVocabulary": 21, - "volume": 456.80101196899113, - "difficulty": 12.2, - "effort": 5572.972346021692, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::execute" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::parsePaths": { - "line": 209, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 4, - "N2": 8, - "programLength": 12, - "programVocabulary": 7, - "volume": 33.68825906469125, - "difficulty": 1.6, - "effort": 53.901214503506004, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::parsePaths" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleBaseLine": { - "line": 224, - "lineCount": 8, - "argCount": 2, - "returnCount": 0, - "variableCount": 3, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 5, - "N2": 11, - "programLength": 16, - "programVocabulary": 7, - "volume": 44.91767875292167, - "difficulty": 2.2, - "effort": 98.81889325642767, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleBaseLine" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleCoverageOptions": { - "line": 238, - "lineCount": 20, - "argCount": 2, - "returnCount": 3, - "variableCount": 5, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 5, - "n2": 10, - "N1": 15, - "N2": 25, - "programLength": 40, - "programVocabulary": 15, - "volume": 156.27562382434076, - "difficulty": 6.25, - "effort": 976.7226489021298, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleCoverageOptions" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::applySorting": { - "line": 264, - "lineCount": 21, - "argCount": 3, - "returnCount": 3, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 15, - "N1": 16, - "N2": 32, - "programLength": 48, - "programVocabulary": 20, - "volume": 207.45254855459342, - "difficulty": 5.333333333333333, - "effort": 1106.4135922911648, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::applySorting" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadConfiguration": { - "line": 293, - "lineCount": 10, - "argCount": 2, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 6, - "N1": 5, - "N2": 9, - "programLength": 14, - "programVocabulary": 8, - "volume": 42, - "difficulty": 1.5, - "effort": 63, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadConfiguration" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadCoverageReader": { - "line": 313, - "lineCount": 28, - "argCount": 3, - "returnCount": 4, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 2, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 10, - "N2": 18, - "programLength": 28, - "programVocabulary": 11, - "volume": 96.86408532184433, - "difficulty": 5.142857142857143, - "effort": 498.15815308377086, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadCoverageReader" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::detectCoverageFormat": { - "line": 345, - "lineCount": 19, - "argCount": 1, - "returnCount": 4, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 9, - "volume": 47.548875021634686, - "difficulty": 2.5, - "effort": 118.87218755408671, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::detectCoverageFormat" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::coverageFileExists": { - "line": 365, - "lineCount": 20, - "argCount": 2, - "returnCount": 3, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 4, - "N2": 7, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 3.5, - "effort": 99.52105627776452, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::coverageFileExists" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__construct": { - "line": 12, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__invoke": { - "line": 17, - "lineCount": 22, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 3, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 10, - "N2": 11, - "programLength": 21, - "programVocabulary": 7, - "volume": 58.95445336320969, - "difficulty": 2.2, - "effort": 129.6997973990613, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__invoke" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__construct": { - "line": 21, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__invoke": { - "line": 26, - "lineCount": 11, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 4, - "N2": 9, - "programLength": 13, - "programVocabulary": 4, - "volume": 26, - "difficulty": 4.5, - "effort": 117, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__invoke" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleSourceFilesFound": { - "line": 38, - "lineCount": 6, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 4, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 6, - "N2": 10, - "programLength": 16, - "programVocabulary": 8, - "volume": 48, - "difficulty": 5, - "effort": 240, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleSourceFilesFound" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleFileProcessed": { - "line": 45, - "lineCount": 5, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleFileProcessed" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleAllFilesProcessed": { - "line": 51, - "lineCount": 6, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 3, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 3, - "N2": 5, - "programLength": 8, - "programVocabulary": 5, - "volume": 18.575424759098897, - "difficulty": 1.6666666666666667, - "effort": 30.95904126516483, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleAllFilesProcessed" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__construct": { - "line": 20, - "lineCount": 5, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__invoke": { - "line": 26, - "lineCount": 17, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 5, - "n2": 8, - "N1": 17, - "N2": 17, - "programLength": 34, - "programVocabulary": 13, - "volume": 125.81495041679713, - "difficulty": 5.3125, - "effort": 668.3919240892347, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__invoke" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::formatBytes": { - "line": 50, - "lineCount": 12, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 7, - "n2": 13, - "N1": 10, - "N2": 22, - "programLength": 32, - "programVocabulary": 20, - "volume": 138.3016990363956, - "difficulty": 5.923076923076923, - "effort": 819.1716019848047, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::formatBytes" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::isDebugEnabled": { - "line": 66, - "lineCount": 5, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 1, - "N1": 4, - "N2": 2, - "programLength": 6, - "programVocabulary": 4, - "volume": 12, - "difficulty": 3, - "effort": 36, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::isDebugEnabled" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::__construct": { - "line": 20, - "lineCount": 6, - "argCount": 2, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 4, - "volume": 8, - "difficulty": 0.5, - "effort": 4, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::exportToFile": { - "line": 32, - "lineCount": 27, - "argCount": 3, - "returnCount": 4, - "variableCount": 2, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 1, - "n2": 6, - "N1": 6, - "N2": 19, - "programLength": 25, - "programVocabulary": 7, - "volume": 70.1838730514401, - "difficulty": 1.5833333333333333, - "effort": 111.12446566478016, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::exportToFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::hasIncompleteReportOptions": { - "line": 60, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 2, - "N1": 7, - "N2": 6, - "programLength": 13, - "programVocabulary": 6, - "volume": 33.60451250937503, - "difficulty": 6, - "effort": 201.62707505625016, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::hasIncompleteReportOptions" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::isValidReportType": { - "line": 65, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 2, - "N2": 4, - "programLength": 6, - "programVocabulary": 4, - "volume": 12, - "difficulty": 2, - "effort": 24, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::isValidReportType" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleExceptions": { - "line": 77, - "lineCount": 9, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 3, - "N2": 4, - "programLength": 7, - "programVocabulary": 5, - "volume": 16.253496664211536, - "difficulty": 1.3333333333333333, - "effort": 21.67132888561538, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleExceptions" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleInvalidReportType": { - "line": 91, - "lineCount": 11, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 5, - "N2": 8, - "programLength": 13, - "programVocabulary": 8, - "volume": 39, - "difficulty": 2.4000000000000004, - "effort": 93.60000000000001, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleInvalidReportType" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::__construct": { - "line": 15, - "lineCount": 5, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handle": { - "line": 24, - "lineCount": 27, - "argCount": 3, - "returnCount": 4, - "variableCount": 2, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 1, - "n2": 6, - "N1": 6, - "N2": 19, - "programLength": 25, - "programVocabulary": 7, - "volume": 70.1838730514401, - "difficulty": 1.5833333333333333, - "effort": 111.12446566478016, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handle" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::hasIncompleteReportOptions": { - "line": 52, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 2, - "N1": 7, - "N2": 6, - "programLength": 13, - "programVocabulary": 6, - "volume": 33.60451250937503, - "difficulty": 6, - "effort": 201.62707505625016, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::hasIncompleteReportOptions" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::isValidReportType": { - "line": 57, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 5, - "N1": 1, - "N2": 6, - "programLength": 7, - "programVocabulary": 6, - "volume": 18.094737505048094, - "difficulty": 0.6, - "effort": 10.856842503028856, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::isValidReportType" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handleExceptions": { - "line": 66, - "lineCount": 9, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 3, - "N2": 4, - "programLength": 7, - "programVocabulary": 5, - "volume": 16.253496664211536, - "difficulty": 1.3333333333333333, - "effort": 21.67132888561538, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handleExceptions" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handleInvalidReporType": { - "line": 80, - "lineCount": 9, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 4, - "programLength": 6, - "programVocabulary": 5, - "volume": 13.931568569324174, - "difficulty": 1.3333333333333333, - "effort": 18.575424759098897, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handleInvalidReporType" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::__construct": { - "line": 42, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::reportWritten": { - "line": 47, - "lineCount": 7, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 4, - "programLength": 6, - "programVocabulary": 5, - "volume": 13.931568569324174, - "difficulty": 1.3333333333333333, - "effort": 18.575424759098897, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::reportWritten" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::renderChurnTable": { - "line": 59, - "lineCount": 35, - "argCount": 1, - "returnCount": 0, - "variableCount": 6, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 8, - "n2": 18, - "N1": 21, - "N2": 53, - "programLength": 74, - "programVocabulary": 26, - "volume": 347.8325391424408, - "difficulty": 11.777777777777779, - "effort": 4096.694349899859, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::renderChurnTable" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricSummaryTextRenderer::__construct": { - "line": 18, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricSummaryTextRenderer::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricSummaryTextRenderer::render": { - "line": 23, - "lineCount": 32, - "argCount": 2, - "returnCount": 0, - "variableCount": 6, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 6, - "n2": 16, - "N1": 27, - "N2": 38, - "programLength": 65, - "programVocabulary": 22, - "volume": 289.86305521142435, - "difficulty": 7.125, - "effort": 2065.2742683813985, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricSummaryTextRenderer::render" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::__construct": { - "line": 27, - "lineCount": 5, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::metricExceedsThreshold": { - "line": 33, - "lineCount": 6, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 2, - "N1": 3, - "N2": 5, - "programLength": 8, - "programVocabulary": 5, - "volume": 18.575424759098897, - "difficulty": 3.75, - "effort": 69.65784284662087, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::metricExceedsThreshold" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::hasCoverageInCollection": { - "line": 43, - "lineCount": 10, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 2, - "N2": 4, - "programLength": 6, - "programVocabulary": 4, - "volume": 12, - "difficulty": 2, - "effort": 24, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::hasCoverageInCollection" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::render": { - "line": 58, - "lineCount": 17, - "argCount": 2, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 6, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 9, - "N2": 25, - "programLength": 34, - "programVocabulary": 6, - "volume": 87.8887250245193, - "difficulty": 6.25, - "effort": 549.3045314032456, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::render" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderGroupedByClass": { - "line": 81, - "lineCount": 19, - "argCount": 3, - "returnCount": 0, - "variableCount": 6, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 5, - "n2": 11, - "N1": 11, - "N2": 25, - "programLength": 36, - "programVocabulary": 16, - "volume": 144, - "difficulty": 5.6818181818181825, - "effort": 818.1818181818182, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderGroupedByClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::buildRowsForClass": { - "line": 106, - "lineCount": 13, - "argCount": 2, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 4, - "N2": 12, - "programLength": 16, - "programVocabulary": 7, - "volume": 44.91767875292167, - "difficulty": 2.4, - "effort": 107.802429007012, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::buildRowsForClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::getFilenameFromMetrics": { - "line": 123, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 5, - "programLength": 6, - "programVocabulary": 4, - "volume": 12, - "difficulty": 0.8333333333333334, - "effort": 10, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::getFilenameFromMetrics" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderAllMethodsInSingleTable": { - "line": 136, - "lineCount": 12, - "argCount": 3, - "returnCount": 0, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 6, - "N2": 15, - "programLength": 21, - "programVocabulary": 11, - "volume": 72.64806399138324, - "difficulty": 4.285714285714286, - "effort": 311.34884567735673, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderAllMethodsInSingleTable" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::buildRowsForSingleTable": { - "line": 154, - "lineCount": 13, - "argCount": 2, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 4, - "N2": 12, - "programLength": 16, - "programVocabulary": 7, - "volume": 44.91767875292167, - "difficulty": 2.4, - "effort": 107.802429007012, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::buildRowsForSingleTable" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderTableCommon": { - "line": 173, - "lineCount": 19, - "argCount": 4, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 8, - "N1": 7, - "N2": 19, - "programLength": 26, - "programVocabulary": 10, - "volume": 86.37013046707142, - "difficulty": 2.375, - "effort": 205.1290598592946, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderTableCommon" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderTable": { - "line": 196, - "lineCount": 13, - "argCount": 4, - "returnCount": 0, - "variableCount": 3, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 7, - "N1": 4, - "N2": 14, - "programLength": 18, - "programVocabulary": 9, - "volume": 57.05865002596162, - "difficulty": 2, - "effort": 114.11730005192324, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderTable" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderSingleTable": { - "line": 213, - "lineCount": 11, - "argCount": 3, - "returnCount": 0, - "variableCount": 3, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 6, - "N1": 4, - "N2": 12, - "programLength": 16, - "programVocabulary": 8, - "volume": 48, - "difficulty": 2, - "effort": 96, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderSingleTable" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::__construct": { - "line": 16, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatScore": { - "line": 21, - "lineCount": 6, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 6, - "N1": 5, - "N2": 9, - "programLength": 14, - "programVocabulary": 8, - "volume": 42, - "difficulty": 1.5, - "effort": 63, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatScore" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadVolume": { - "line": 28, - "lineCount": 14, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 10, - "N1": 9, - "N2": 17, - "programLength": 26, - "programVocabulary": 15, - "volume": 101.57915548582149, - "difficulty": 4.25, - "effort": 431.7114108147413, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadVolume" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadDifficulty": { - "line": 43, - "lineCount": 13, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 10, - "N1": 8, - "N2": 17, - "programLength": 25, - "programVocabulary": 14, - "volume": 95.1838730514401, - "difficulty": 3.4, - "effort": 323.62516837489636, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadDifficulty" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadEffort": { - "line": 57, - "lineCount": 13, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 10, - "N1": 8, - "N2": 17, - "programLength": 25, - "programVocabulary": 14, - "volume": 95.1838730514401, - "difficulty": 3.4, - "effort": 323.62516837489636, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadEffort" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatCyclomaticComplexity": { - "line": 71, - "lineCount": 13, - "argCount": 1, - "returnCount": 3, - "variableCount": 4, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 5, - "n2": 9, - "N1": 9, - "N2": 18, - "programLength": 27, - "programVocabulary": 14, - "volume": 102.79858289555531, - "difficulty": 5, - "effort": 513.9929144777766, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatCyclomaticComplexity" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::colorCyclomaticRisk": { - "line": 85, - "lineCount": 8, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 7, - "N1": 5, - "N2": 11, - "programLength": 16, - "programVocabulary": 9, - "volume": 50.718800023076994, - "difficulty": 1.5714285714285714, - "effort": 79.70097146483528, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::colorCyclomaticRisk" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::__construct": { - "line": 17, - "lineCount": 5, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::getGroupedTableHeaders": { - "line": 28, - "lineCount": 16, - "argCount": 0, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 10, - "N2": 17, - "programLength": 27, - "programVocabulary": 6, - "volume": 69.79398751947122, - "difficulty": 4.25, - "effort": 296.62444695775264, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::getGroupedTableHeaders" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCoverageHeader": { - "line": 49, - "lineCount": 10, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 6, - "programLength": 7, - "programVocabulary": 4, - "volume": 14, - "difficulty": 1, - "effort": 14, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCoverageHeader" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::getSingleTableHeaders": { - "line": 65, - "lineCount": 20, - "argCount": 0, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 6, - "N1": 9, - "N2": 18, - "programLength": 27, - "programVocabulary": 8, - "volume": 81, - "difficulty": 3, - "effort": 243, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::getSingleTableHeaders" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addHalsteadHeaders": { - "line": 92, - "lineCount": 10, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 1, - "n2": 5, - "N1": 3, - "N2": 9, - "programLength": 12, - "programVocabulary": 6, - "volume": 31.019550008653873, - "difficulty": 0.9, - "effort": 27.917595007788485, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addHalsteadHeaders" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCyclomaticHeaders": { - "line": 109, - "lineCount": 8, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 5, - "programLength": 6, - "programVocabulary": 4, - "volume": 12, - "difficulty": 0.8333333333333334, - "effort": 10, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCyclomaticHeaders" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCognitiveMetricDetails": { - "line": 122, - "lineCount": 16, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 10, - "N1": 2, - "N2": 13, - "programLength": 15, - "programVocabulary": 12, - "volume": 53.77443751081734, - "difficulty": 1.3, - "effort": 69.90676876406255, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCognitiveMetricDetails" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::__construct": { - "line": 21, - "lineCount": 6, - "argCount": 3, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 3, - "N1": 0, - "N2": 3, - "programLength": 3, - "programVocabulary": 3, - "volume": 4.754887502163468, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::buildRow": { - "line": 34, - "lineCount": 16, - "argCount": 1, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 10, - "N2": 24, - "programLength": 34, - "programVocabulary": 7, - "volume": 95.45006734995854, - "difficulty": 4.8, - "effort": 458.160323279801, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::buildRow" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::buildRowWithClassInfo": { - "line": 57, - "lineCount": 16, - "argCount": 1, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 10, - "N2": 24, - "programLength": 34, - "programVocabulary": 7, - "volume": 95.45006734995854, - "difficulty": 4.8, - "effort": 458.160323279801, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::buildRowWithClassInfo" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::metricsToArray": { - "line": 79, - "lineCount": 8, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 3, - "N2": 7, - "programLength": 10, - "programVocabulary": 6, - "volume": 25.84962500721156, - "difficulty": 1.75, - "effort": 45.23684376262023, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::metricsToArray" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::metricsToArrayWithClassInfo": { - "line": 93, - "lineCount": 9, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 4, - "N2": 9, - "programLength": 13, - "programVocabulary": 7, - "volume": 36.49561398674886, - "difficulty": 1.8, - "effort": 65.69210517614795, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::metricsToArrayWithClassInfo" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addHalsteadFields": { - "line": 109, - "lineCount": 10, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 6, - "N1": 6, - "N2": 16, - "programLength": 22, - "programVocabulary": 8, - "volume": 66, - "difficulty": 2.6666666666666665, - "effort": 176, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addHalsteadFields" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addCyclomaticFields": { - "line": 126, - "lineCount": 8, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 2, - "N2": 8, - "programLength": 10, - "programVocabulary": 6, - "volume": 25.84962500721156, - "difficulty": 2, - "effort": 51.69925001442312, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addCyclomaticFields" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addWeightedValue": { - "line": 141, - "lineCount": 10, - "argCount": 3, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 11, - "N1": 13, - "N2": 22, - "programLength": 35, - "programVocabulary": 15, - "volume": 136.74117084629816, - "difficulty": 4, - "effort": 546.9646833851926, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addWeightedValue" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addDelta": { - "line": 158, - "lineCount": 20, - "argCount": 3, - "returnCount": 3, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 6, - "n2": 13, - "N1": 19, - "N2": 30, - "programLength": 49, - "programVocabulary": 19, - "volume": 208.14844815873568, - "difficulty": 6.9230769230769225, - "effort": 1441.0277180220162, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::getKeys": { - "line": 184, - "lineCount": 17, - "argCount": 0, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 0, - "n2": 9, - "N1": 0, - "N2": 9, - "programLength": 9, - "programVocabulary": 9, - "volume": 28.52932501298081, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::getKeys" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::assertDeltaMethodExists": { - "line": 205, - "lineCount": 6, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 6, - "programLength": 8, - "programVocabulary": 5, - "volume": 18.575424759098897, - "difficulty": 2, - "effort": 37.150849518197795, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::assertDeltaMethodExists" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addCoverageValue": { - "line": 216, - "lineCount": 11, - "argCount": 2, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 7, - "N1": 7, - "N2": 15, - "programLength": 22, - "programVocabulary": 12, - "volume": 78.86917501586544, - "difficulty": 5.357142857142857, - "effort": 422.51343758499337, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addCoverageValue" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::extracted": { - "line": 233, - "lineCount": 22, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 12, - "N1": 19, - "N2": 34, - "programLength": 53, - "programVocabulary": 15, - "volume": 207.06520156725148, - "difficulty": 4.25, - "effort": 880.0271066608187, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::extracted" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CacheConfig::__construct": { - "line": 12, - "lineCount": 5, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CacheConfig::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CacheConfig::toArray": { - "line": 23, - "lineCount": 7, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 3, - "N1": 0, - "N2": 4, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CacheConfig::toArray" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CognitiveConfig::__construct": { - "line": 20, - "lineCount": 13, - "argCount": 10, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 10, - "N1": 0, - "N2": 10, - "programLength": 10, - "programVocabulary": 10, - "volume": 33.219280948873624, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CognitiveConfig::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CognitiveConfig::toArray": { - "line": 39, - "lineCount": 20, - "argCount": 0, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 10, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 14, - "N1": 3, - "N2": 27, - "programLength": 30, - "programVocabulary": 16, - "volume": 120, - "difficulty": 1.9285714285714286, - "effort": 231.42857142857144, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CognitiveConfig::toArray" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigFactory::fromArray": { - "line": 16, - "lineCount": 31, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 20, - "N1": 10, - "N2": 52, - "programLength": 62, - "programVocabulary": 23, - "volume": 280.4608412755348, - "difficulty": 3.9000000000000004, - "effort": 1093.7972809745859, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigFactory::fromArray" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigLoader::getCognitiveMetricDefaults": { - "line": 27, - "lineCount": 45, - "argCount": 0, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 8, - "N1": 0, - "N2": 16, - "programLength": 16, - "programVocabulary": 8, - "volume": 48, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigLoader::getCognitiveMetricDefaults" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigLoader::getConfigTreeBuilder": { - "line": 73, - "lineCount": 75, - "argCount": 0, - "returnCount": 2, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 24, - "N1": 68, - "N2": 29, - "programLength": 97, - "programVocabulary": 27, - "volume": 461.2240877098564, - "difficulty": 1.8125, - "effort": 835.9686589741148, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigLoader::getConfigTreeBuilder" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigService::__construct": { - "line": 20, - "lineCount": 6, - "argCount": 2, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 4, - "volume": 8, - "difficulty": 0.5, - "effort": 4, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigService::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigService::loadDefaultConfig": { - "line": 30, - "lineCount": 8, - "argCount": 0, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 3, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 5, - "N2": 6, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 3, - "effort": 85.30376252379816, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigService::loadDefaultConfig" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigService::loadConfig": { - "line": 42, - "lineCount": 9, - "argCount": 1, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 3, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 3, - "n2": 4, - "N1": 5, - "N2": 8, - "programLength": 13, - "programVocabulary": 7, - "volume": 36.49561398674886, - "difficulty": 3, - "effort": 109.48684196024658, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigService::loadConfig" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigService::getConfig": { - "line": 52, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigService::getConfig" - } - } - }, - "ignored_items": [], - "cached_at": 1759967602 -} \ No newline at end of file diff --git a/.phpcca.cache/c2/c2a184731f57bc4927d20d964e649c25.cache b/.phpcca.cache/c2/c2a184731f57bc4927d20d964e649c25.cache deleted file mode 100644 index 8f725da..0000000 --- a/.phpcca.cache/c2/c2a184731f57bc4927d20d964e649c25.cache +++ /dev/null @@ -1,336 +0,0 @@ -{ - "version": "1.0", - "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/Business\/Churn\/ChangeCounter\/ChangeCounterFactory.php", - "file_mtime": 1752612112, - "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", - "analysis_result": { - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct": { - "line": 60, - "lineCount": 5, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 1, - "N1": 2, - "N2": 2, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 2, - "effort": 12.679700005769249, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices": { - "line": 66, - "lineCount": 95, - "argCount": 0, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 5, - "N1": 58, - "N2": 32, - "programLength": 90, - "programVocabulary": 9, - "volume": 285.2932501298081, - "difficulty": 12.8, - "effort": 3651.7536016615436, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap": { - "line": 162, - "lineCount": 10, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 7, - "N2": 7, - "programLength": 14, - "programVocabulary": 2, - "volume": 14, - "difficulty": 3.5, - "effort": 49, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors": { - "line": 173, - "lineCount": 12, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 3, - "N2": 1, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0.5, - "effort": 2, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus": { - "line": 186, - "lineCount": 19, - "argCount": 0, - "returnCount": 0, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 9, - "N2": 13, - "programLength": 22, - "programVocabulary": 7, - "volume": 61.76180828526729, - "difficulty": 2.6, - "effort": 160.58070154169496, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService": { - "line": 206, - "lineCount": 9, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 3, - "N2": 1, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0.5, - "effort": 2, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade": { - "line": 216, - "lineCount": 13, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 3, - "N2": 1, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0.5, - "effort": 2, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands": { - "line": 230, - "lineCount": 21, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 6, - "N2": 2, - "programLength": 8, - "programVocabulary": 2, - "volume": 8, - "difficulty": 1, - "effort": 8, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication": { - "line": 252, - "lineCount": 11, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 5, - "N2": 4, - "programLength": 9, - "programVocabulary": 4, - "volume": 18, - "difficulty": 0.6666666666666666, - "effort": 12, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run": { - "line": 264, - "lineCount": 9, - "argCount": 0, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 5, - "N2": 5, - "programLength": 10, - "programVocabulary": 4, - "volume": 20, - "difficulty": 2.5, - "effort": 50, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get": { - "line": 274, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer": { - "line": 279, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator": { - "line": 289, - "lineCount": 16, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 7, - "programLength": 8, - "programVocabulary": 4, - "volume": 16, - "difficulty": 1.1666666666666667, - "effort": 18.666666666666668, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create": { - "line": 18, - "lineCount": 7, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 4, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create" - } - } - }, - "ignored_items": [], - "cached_at": 1759967600 -} \ No newline at end of file diff --git a/.phpcca.cache/c5/c51c33d880cf34e4ef2c6f15d11a5550.cache b/.phpcca.cache/c5/c51c33d880cf34e4ef2c6f15d11a5550.cache deleted file mode 100644 index c760cdb..0000000 --- a/.phpcca.cache/c5/c51c33d880cf34e4ef2c6f15d11a5550.cache +++ /dev/null @@ -1,1603 +0,0 @@ -{ - "version": "1.0", - "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/Business\/CodeCoverage\/CloverReader.php", - "file_mtime": 1759784766, - "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", - "analysis_result": { - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct": { - "line": 60, - "lineCount": 5, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 1, - "N1": 2, - "N2": 2, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 2, - "effort": 12.679700005769249, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices": { - "line": 66, - "lineCount": 95, - "argCount": 0, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 5, - "N1": 58, - "N2": 32, - "programLength": 90, - "programVocabulary": 9, - "volume": 285.2932501298081, - "difficulty": 12.8, - "effort": 3651.7536016615436, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap": { - "line": 162, - "lineCount": 10, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 7, - "N2": 7, - "programLength": 14, - "programVocabulary": 2, - "volume": 14, - "difficulty": 3.5, - "effort": 49, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors": { - "line": 173, - "lineCount": 12, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 3, - "N2": 1, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0.5, - "effort": 2, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus": { - "line": 186, - "lineCount": 19, - "argCount": 0, - "returnCount": 0, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 9, - "N2": 13, - "programLength": 22, - "programVocabulary": 7, - "volume": 61.76180828526729, - "difficulty": 2.6, - "effort": 160.58070154169496, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService": { - "line": 206, - "lineCount": 9, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 3, - "N2": 1, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0.5, - "effort": 2, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade": { - "line": 216, - "lineCount": 13, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 3, - "N2": 1, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0.5, - "effort": 2, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands": { - "line": 230, - "lineCount": 21, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 6, - "N2": 2, - "programLength": 8, - "programVocabulary": 2, - "volume": 8, - "difficulty": 1, - "effort": 8, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication": { - "line": 252, - "lineCount": 11, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 5, - "N2": 4, - "programLength": 9, - "programVocabulary": 4, - "volume": 18, - "difficulty": 0.6666666666666666, - "effort": 12, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run": { - "line": 264, - "lineCount": 9, - "argCount": 0, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 5, - "N2": 5, - "programLength": 10, - "programVocabulary": 4, - "volume": 20, - "difficulty": 2.5, - "effort": 50, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get": { - "line": 274, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer": { - "line": 279, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator": { - "line": 289, - "lineCount": 16, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 7, - "programLength": 8, - "programVocabulary": 4, - "volume": 16, - "difficulty": 1.1666666666666667, - "effort": 18.666666666666668, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create": { - "line": 18, - "lineCount": 7, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 4, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile": { - "line": 17, - "lineCount": 17, - "argCount": 2, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 8, - "N1": 11, - "N2": 19, - "programLength": 30, - "programVocabulary": 11, - "volume": 103.78294855911892, - "difficulty": 3.5625, - "effort": 369.72675424186116, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode": { - "line": 42, - "lineCount": 8, - "argCount": 3, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 3, - "N2": 8, - "programLength": 11, - "programVocabulary": 8, - "volume": 33, - "difficulty": 2.4000000000000004, - "effort": 79.20000000000002, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate": { - "line": 22, - "lineCount": 10, - "argCount": 2, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 6, - "N2": 13, - "programLength": 19, - "programVocabulary": 6, - "volume": 49.11428751370197, - "difficulty": 3.25, - "effort": 159.6214344195314, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending": { - "line": 37, - "lineCount": 8, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 2, - "N2": 9, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 2.25, - "effort": 63.97782189284862, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn": { - "line": 51, - "lineCount": 24, - "argCount": 2, - "returnCount": 1, - "variableCount": 6, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 15, - "N1": 17, - "N2": 46, - "programLength": 63, - "programVocabulary": 20, - "volume": 272.28146997790384, - "difficulty": 7.666666666666667, - "effort": 2087.491269830596, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses": { - "line": 81, - "lineCount": 20, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 2, - "n2": 7, - "N1": 10, - "N2": 24, - "programLength": 34, - "programVocabulary": 9, - "volume": 107.7774500490386, - "difficulty": 3.4285714285714284, - "effort": 369.52268588241805, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass": { - "line": 109, - "lineCount": 9, - "argCount": 2, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 6, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 10, - "volume": 49.82892142331043, - "difficulty": 3.3333333333333335, - "effort": 166.09640474436813, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel": { - "line": 126, - "lineCount": 16, - "argCount": 2, - "returnCount": 4, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 12, - "N1": 9, - "N2": 18, - "programLength": 27, - "programVocabulary": 15, - "volume": 105.48604608143, - "difficulty": 2.25, - "effort": 237.3436036832175, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile": { - "line": 14, - "lineCount": 6, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 2, - "N2": 5, - "programLength": 7, - "programVocabulary": 4, - "volume": 14, - "difficulty": 2.5, - "effort": 35, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable": { - "line": 24, - "lineCount": 11, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 10, - "N2": 12, - "programLength": 22, - "programVocabulary": 8, - "volume": 66, - "difficulty": 6, - "effort": 396, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create": { - "line": 21, - "lineCount": 11, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 7, - "N1": 0, - "N2": 9, - "programLength": 9, - "programVocabulary": 7, - "volume": 25.26619429851844, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes": { - "line": 38, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 6, - "N1": 0, - "N2": 6, - "programLength": 6, - "programVocabulary": 6, - "volume": 15.509775004326936, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported": { - "line": 49, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 2, - "N2": 3, - "programLength": 5, - "programVocabulary": 4, - "volume": 10, - "difficulty": 1.5, - "effort": 15, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export": { - "line": 30, - "lineCount": 23, - "argCount": 2, - "returnCount": 0, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 16, - "N1": 10, - "N2": 33, - "programLength": 43, - "programVocabulary": 20, - "volume": 185.8429080801566, - "difficulty": 4.125, - "effort": 766.601995830646, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export": { - "line": 28, - "lineCount": 8, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 6, - "volume": 36.18947501009619, - "difficulty": 2.5, - "effort": 90.47368752524048, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape": { - "line": 37, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber": { - "line": 42, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml": { - "line": 52, - "lineCount": 50, - "argCount": 1, - "returnCount": 1, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 12, - "N1": 11, - "N2": 25, - "programLength": 36, - "programVocabulary": 17, - "volume": 147.14866228501222, - "difficulty": 5.208333333333334, - "effort": 766.3992827344388, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export": { - "line": 17, - "lineCount": 13, - "argCount": 2, - "returnCount": 0, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 8, - "N1": 7, - "N2": 14, - "programLength": 21, - "programVocabulary": 12, - "volume": 75.28421251514428, - "difficulty": 3.5, - "effort": 263.49474380300495, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export": { - "line": 48, - "lineCount": 8, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 6, - "volume": 36.18947501009619, - "difficulty": 2.5, - "effort": 90.47368752524048, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown": { - "line": 61, - "lineCount": 24, - "argCount": 1, - "returnCount": 1, - "variableCount": 6, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 6, - "n2": 16, - "N1": 19, - "N2": 41, - "programLength": 60, - "programVocabulary": 22, - "volume": 267.56589711823784, - "difficulty": 7.6875, - "effort": 2056.9128340964535, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow": { - "line": 94, - "lineCount": 21, - "argCount": 3, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 7, - "n2": 18, - "N1": 16, - "N2": 39, - "programLength": 55, - "programVocabulary": 25, - "volume": 255.41209043760983, - "difficulty": 7.583333333333333, - "effort": 1936.8750191518745, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::__construct": { - "line": 26, - "lineCount": 4, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::export": { - "line": 36, - "lineCount": 10, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 8, - "volume": 45, - "difficulty": 5, - "effort": 225, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::generateSvgTreemap": { - "line": 53, - "lineCount": 20, - "argCount": 1, - "returnCount": 1, - "variableCount": 6, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 8, - "N1": 9, - "N2": 20, - "programLength": 29, - "programVocabulary": 10, - "volume": 96.3359147517335, - "difficulty": 2.5, - "effort": 240.83978687933376, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::generateSvgTreemap" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRects": { - "line": 82, - "lineCount": 10, - "argCount": 3, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 9, - "N1": 6, - "N2": 18, - "programLength": 24, - "programVocabulary": 12, - "volume": 86.03910001730775, - "difficulty": 3, - "effort": 258.1173000519232, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRects" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRect": { - "line": 100, - "lineCount": 29, - "argCount": 2, - "returnCount": 1, - "variableCount": 12, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 6, - "n2": 28, - "N1": 26, - "N2": 54, - "programLength": 80, - "programVocabulary": 34, - "volume": 406.9970273000271, - "difficulty": 5.785714285714286, - "effort": 2354.7685150930142, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRect" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::wrapSvg": { - "line": 136, - "lineCount": 21, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 2, - "N2": 8, - "programLength": 10, - "programVocabulary": 4, - "volume": 20, - "difficulty": 1.3333333333333333, - "effort": 26.666666666666664, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::wrapSvg" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::prepareItems": { - "line": 28, - "lineCount": 18, - "argCount": 1, - "returnCount": 1, - "variableCount": 7, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 12, - "N1": 9, - "N2": 30, - "programLength": 39, - "programVocabulary": 17, - "volume": 159.41105080876324, - "difficulty": 6.25, - "effort": 996.3190675547702, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::prepareItems" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findScoreRange": { - "line": 53, - "lineCount": 16, - "argCount": 1, - "returnCount": 3, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 7, - "N2": 13, - "programLength": 20, - "programVocabulary": 8, - "volume": 60, - "difficulty": 3.9000000000000004, - "effort": 234.00000000000003, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findScoreRange" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::normalizeScore": { - "line": 78, - "lineCount": 8, - "argCount": 3, - "returnCount": 2, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 8, - "volume": 45, - "difficulty": 5, - "effort": 225, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::normalizeScore" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::scoreToColor": { - "line": 93, - "lineCount": 9, - "argCount": 1, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 5, - "n2": 9, - "N1": 12, - "N2": 16, - "programLength": 28, - "programVocabulary": 14, - "volume": 106.60593781761291, - "difficulty": 4.444444444444445, - "effort": 473.80416807827964, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::scoreToColor" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::calculateTreemapLayout": { - "line": 115, - "lineCount": 23, - "argCount": 7, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 9, - "N1": 2, - "N2": 18, - "programLength": 20, - "programVocabulary": 11, - "volume": 69.18863237274594, - "difficulty": 2, - "effort": 138.37726474549189, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::calculateTreemapLayout" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::layoutTreemap": { - "line": 152, - "lineCount": 89, - "argCount": 8, - "returnCount": 3, - "variableCount": 11, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 8, - "n2": 28, - "N1": 32, - "N2": 98, - "programLength": 130, - "programVocabulary": 36, - "volume": 672.0902501875006, - "difficulty": 14, - "effort": 9409.263502625008, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::layoutTreemap" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findSplitIndex": { - "line": 249, - "lineCount": 13, - "argCount": 2, - "returnCount": 2, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 7, - "n2": 10, - "N1": 9, - "N2": 23, - "programLength": 32, - "programVocabulary": 17, - "volume": 130.79881092001085, - "difficulty": 8.049999999999999, - "effort": 1052.9304279060873, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findSplitIndex" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::__construct": { - "line": 23, - "lineCount": 18, - "argCount": 1, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 7, - "N2": 11, - "programLength": 18, - "programVocabulary": 6, - "volume": 46.529325012980806, - "difficulty": 5.5, - "effort": 255.91128757139444, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::getAllClasses": { - "line": 47, - "lineCount": 17, - "argCount": 0, - "returnCount": 2, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 6, - "N2": 12, - "programLength": 18, - "programVocabulary": 9, - "volume": 57.05865002596162, - "difficulty": 3, - "effort": 171.17595007788486, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::getAllClasses" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::withClassNode": { - "line": 73, - "lineCount": 8, - "argCount": 2, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 4, - "N2": 8, - "programLength": 12, - "programVocabulary": 8, - "volume": 36, - "difficulty": 4, - "effort": 144, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::withClassNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::findClassNode": { - "line": 85, - "lineCount": 25, - "argCount": 1, - "returnCount": 4, - "variableCount": 5, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 13, - "N2": 29, - "programLength": 42, - "programVocabulary": 11, - "volume": 145.29612798276648, - "difficulty": 8.285714285714286, - "effort": 1203.8822032857795, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::findClassNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::escapeXPathValue": { - "line": 114, - "lineCount": 16, - "argCount": 1, - "returnCount": 3, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 9, - "N1": 11, - "N2": 18, - "programLength": 29, - "programVocabulary": 13, - "volume": 107.31275182609167, - "difficulty": 4, - "effort": 429.2510073043667, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::escapeXPathValue" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getLineCoverage": { - "line": 22, - "lineCount": 18, - "argCount": 1, - "returnCount": 4, - "variableCount": 5, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "cyclomatic_complexity": { - "complexity": 3, - "risk_level": "low" - }, - "halstead": { - "n1": 4, - "n2": 9, - "N1": 10, - "N2": 19, - "programLength": 29, - "programVocabulary": 13, - "volume": 107.31275182609167, - "difficulty": 4.222222222222222, - "effort": 453.09828548794263, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getLineCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getBranchCoverage": { - "line": 48, - "lineCount": 18, - "argCount": 1, - "returnCount": 4, - "variableCount": 5, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "cyclomatic_complexity": { - "complexity": 3, - "risk_level": "low" - }, - "halstead": { - "n1": 4, - "n2": 9, - "N1": 10, - "N2": 19, - "programLength": 29, - "programVocabulary": 13, - "volume": 107.31275182609167, - "difficulty": 4.222222222222222, - "effort": 453.09828548794263, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getBranchCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getComplexity": { - "line": 73, - "lineCount": 13, - "argCount": 1, - "returnCount": 3, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "cyclomatic_complexity": { - "complexity": 3, - "risk_level": "low" - }, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 7, - "N2": 14, - "programLength": 21, - "programVocabulary": 11, - "volume": 72.64806399138324, - "difficulty": 4, - "effort": 290.59225596553296, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getComplexity" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getCoverageDetails": { - "line": 93, - "lineCount": 26, - "argCount": 1, - "returnCount": 3, - "variableCount": 9, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "cyclomatic_complexity": { - "complexity": 4, - "risk_level": "low" - }, - "halstead": { - "n1": 5, - "n2": 17, - "N1": 22, - "N2": 42, - "programLength": 64, - "programVocabulary": 22, - "volume": 285.403623592787, - "difficulty": 6.176470588235294, - "effort": 1762.7870868966259, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getCoverageDetails" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getMetricsNode": { - "line": 123, - "lineCount": 12, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "cyclomatic_complexity": { - "complexity": 3, - "risk_level": "low" - }, - "halstead": { - "n1": 4, - "n2": 6, - "N1": 7, - "N2": 13, - "programLength": 20, - "programVocabulary": 10, - "volume": 66.43856189774725, - "difficulty": 4.333333333333333, - "effort": 287.90043489023805, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getMetricsNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getFilenameForClass": { - "line": 139, - "lineCount": 9, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "cyclomatic_complexity": { - "complexity": 2, - "risk_level": "low" - }, - "halstead": { - "n1": 4, - "n2": 5, - "N1": 4, - "N2": 9, - "programLength": 13, - "programVocabulary": 9, - "volume": 41.209025018750054, - "difficulty": 3.6, - "effort": 148.3524900675002, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getFilenameForClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodsCoverage": { - "line": 154, - "lineCount": 36, - "argCount": 1, - "returnCount": 3, - "variableCount": 8, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "cyclomatic_complexity": { - "complexity": 5, - "risk_level": "low" - }, - "halstead": { - "n1": 3, - "n2": 13, - "N1": 12, - "N2": 30, - "programLength": 42, - "programVocabulary": 16, - "volume": 168, - "difficulty": 3.4615384615384612, - "effort": 581.5384615384614, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodsCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::calculateMethodCoverage": { - "line": 194, - "lineCount": 15, - "argCount": 2, - "returnCount": 2, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "cyclomatic_complexity": { - "complexity": 3, - "risk_level": "low" - }, - "halstead": { - "n1": 5, - "n2": 11, - "N1": 9, - "N2": 23, - "programLength": 32, - "programVocabulary": 16, - "volume": 128, - "difficulty": 5.227272727272727, - "effort": 669.090909090909, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::calculateMethodCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodCoverageFromLines": { - "line": 215, - "lineCount": 36, - "argCount": 2, - "returnCount": 1, - "variableCount": 7, - "propertyCallCount": 0, - "ifNestingLevel": 2, - "elseCount": 0, - "ifCount": 5, - "cyclomatic_complexity": { - "complexity": 7, - "risk_level": "medium" - }, - "halstead": { - "n1": 2, - "n2": 14, - "N1": 12, - "N2": 35, - "programLength": 47, - "programVocabulary": 16, - "volume": 188, - "difficulty": 2.5, - "effort": 470, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodCoverageFromLines" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStart": { - "line": 252, - "lineCount": 4, - "argCount": 3, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 3, - "N2": 7, - "programLength": 10, - "programVocabulary": 6, - "volume": 25.84962500721156, - "difficulty": 1.75, - "effort": 45.23684376262023, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStart" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodEnd": { - "line": 257, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 5, - "programLength": 7, - "programVocabulary": 5, - "volume": 16.253496664211536, - "difficulty": 1.6666666666666667, - "effort": 27.089161107019226, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodEnd" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStatement": { - "line": 262, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 5, - "programLength": 7, - "programVocabulary": 5, - "volume": 16.253496664211536, - "difficulty": 1.6666666666666667, - "effort": 27.089161107019226, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStatement" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isStatementCovered": { - "line": 267, - "lineCount": 5, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 3, - "n2": 4, - "N1": 3, - "N2": 6, - "programLength": 9, - "programVocabulary": 7, - "volume": 25.26619429851844, - "difficulty": 2.25, - "effort": 56.848937171666485, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isStatementCovered" - } - } - }, - "ignored_items": [], - "cached_at": 1759967600 -} \ No newline at end of file diff --git a/.phpcca.cache/c6/c698a0faf909cb3d5de18dc9a34d5886.cache b/.phpcca.cache/c6/c698a0faf909cb3d5de18dc9a34d5886.cache deleted file mode 100644 index 739b64f..0000000 --- a/.phpcca.cache/c6/c698a0faf909cb3d5de18dc9a34d5886.cache +++ /dev/null @@ -1,2410 +0,0 @@ -{ - "version": "1.0", - "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/Config\/CognitiveConfig.php", - "file_mtime": 1759964701, - "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", - "analysis_result": { - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::__construct": { - "line": 26, - "lineCount": 5, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 4, - "N1": 3, - "N2": 6, - "programLength": 9, - "programVocabulary": 7, - "volume": 25.26619429851844, - "difficulty": 2.25, - "effort": 56.848937171666485, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItem": { - "line": 35, - "lineCount": 15, - "argCount": 1, - "returnCount": 3, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 6, - "N2": 13, - "programLength": 19, - "programVocabulary": 8, - "volume": 57, - "difficulty": 6.5, - "effort": 370.5, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItem" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItems": { - "line": 55, - "lineCount": 9, - "argCount": 1, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 3, - "N2": 9, - "programLength": 12, - "programVocabulary": 6, - "volume": 31.019550008653873, - "difficulty": 2.25, - "effort": 69.79398751947122, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItems" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::hasItem": { - "line": 68, - "lineCount": 6, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 5, - "n2": 3, - "N1": 6, - "N2": 7, - "programLength": 13, - "programVocabulary": 8, - "volume": 39, - "difficulty": 5.833333333333334, - "effort": 227.50000000000003, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::hasItem" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::clear": { - "line": 75, - "lineCount": 10, - "argCount": 0, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 2, - "N2": 4, - "programLength": 6, - "programVocabulary": 3, - "volume": 9.509775004326936, - "difficulty": 1, - "effort": 9.509775004326936, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::clear" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItem": { - "line": 89, - "lineCount": 10, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 4, - "N2": 6, - "programLength": 10, - "programVocabulary": 6, - "volume": 25.84962500721156, - "difficulty": 3, - "effort": 77.54887502163469, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItem" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItems": { - "line": 103, - "lineCount": 10, - "argCount": 1, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 3, - "N2": 8, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 2, - "effort": 56.86917501586544, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItems" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::save": { - "line": 117, - "lineCount": 11, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 4, - "N1": 9, - "N2": 12, - "programLength": 21, - "programVocabulary": 7, - "volume": 58.95445336320969, - "difficulty": 4.5, - "effort": 265.2950401344436, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::save" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveDeferred": { - "line": 129, - "lineCount": 6, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveDeferred" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::commit": { - "line": 136, - "lineCount": 11, - "argCount": 0, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 4, - "N2": 8, - "programLength": 12, - "programVocabulary": 5, - "volume": 27.863137138648348, - "difficulty": 2.6666666666666665, - "effort": 74.30169903639559, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::commit" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::ensureCacheDirectory": { - "line": 152, - "lineCount": 9, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 3, - "N2": 4, - "programLength": 7, - "programVocabulary": 4, - "volume": 14, - "difficulty": 2, - "effort": 28, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::ensureCacheDirectory" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getCacheFilePath": { - "line": 168, - "lineCount": 15, - "argCount": 1, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 10, - "N1": 13, - "N2": 19, - "programLength": 32, - "programVocabulary": 14, - "volume": 121.83535750584333, - "difficulty": 3.8, - "effort": 462.9743585222046, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getCacheFilePath" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::loadCacheData": { - "line": 187, - "lineCount": 14, - "argCount": 1, - "returnCount": 3, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 6, - "N2": 8, - "programLength": 14, - "programVocabulary": 6, - "volume": 36.18947501009619, - "difficulty": 4, - "effort": 144.75790004038475, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::loadCacheData" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveCacheData": { - "line": 209, - "lineCount": 21, - "argCount": 2, - "returnCount": 3, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 6, - "n2": 7, - "N1": 13, - "N2": 17, - "programLength": 30, - "programVocabulary": 13, - "volume": 111.01319154423277, - "difficulty": 7.285714285714285, - "effort": 808.810395536553, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveCacheData" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::sanitizeUtf8": { - "line": 234, - "lineCount": 25, - "argCount": 1, - "returnCount": 4, - "variableCount": 6, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 8, - "N1": 13, - "N2": 29, - "programLength": 42, - "programVocabulary": 11, - "volume": 145.29612798276648, - "difficulty": 5.4375, - "effort": 790.0476959062927, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::sanitizeUtf8" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::removeDirectory": { - "line": 260, - "lineCount": 23, - "argCount": 1, - "returnCount": 2, - "variableCount": 5, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 5, - "n2": 9, - "N1": 13, - "N2": 20, - "programLength": 33, - "programVocabulary": 14, - "volume": 125.64271242790093, - "difficulty": 5.555555555555555, - "effort": 698.0150690438941, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::removeDirectory" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::__construct": { - "line": 42, - "lineCount": 7, - "argCount": 3, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 3, - "N1": 0, - "N2": 3, - "programLength": 3, - "programVocabulary": 3, - "volume": 4.754887502163468, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::configure": { - "line": 53, - "lineCount": 57, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 15, - "N1": 9, - "N2": 16, - "programLength": 25, - "programVocabulary": 16, - "volume": 100, - "difficulty": 0.5333333333333333, - "effort": 53.333333333333336, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::configure" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::execute": { - "line": 119, - "lineCount": 43, - "argCount": 2, - "returnCount": 5, - "variableCount": 9, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 4, - "halstead": { - "n1": 7, - "n2": 14, - "N1": 31, - "N2": 45, - "programLength": 76, - "programVocabulary": 21, - "volume": 333.8161241311858, - "difficulty": 11.25, - "effort": 3755.4313964758403, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::execute" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::loadCoverageReader": { - "line": 171, - "lineCount": 32, - "argCount": 3, - "returnCount": 4, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 2, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 4, - "n2": 9, - "N1": 9, - "N2": 21, - "programLength": 30, - "programVocabulary": 13, - "volume": 111.01319154423277, - "difficulty": 4.666666666666667, - "effort": 518.0615605397529, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::loadCoverageReader" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::detectCoverageFormat": { - "line": 207, - "lineCount": 19, - "argCount": 1, - "returnCount": 4, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 9, - "volume": 47.548875021634686, - "difficulty": 2.5, - "effort": 118.87218755408671, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::detectCoverageFormat" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::coverageFileExists": { - "line": 227, - "lineCount": 20, - "argCount": 2, - "returnCount": 3, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 4, - "N2": 7, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 3.5, - "effort": 99.52105627776452, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::coverageFileExists" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::__construct": { - "line": 49, - "lineCount": 10, - "argCount": 6, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 6, - "N1": 0, - "N2": 6, - "programLength": 6, - "programVocabulary": 6, - "volume": 15.509775004326936, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::configure": { - "line": 63, - "lineCount": 76, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 20, - "N1": 13, - "N2": 20, - "programLength": 33, - "programVocabulary": 21, - "volume": 144.94647495169912, - "difficulty": 0.5, - "effort": 72.47323747584956, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::configure" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::execute": { - "line": 150, - "lineCount": 52, - "argCount": 2, - "returnCount": 5, - "variableCount": 11, - "propertyCallCount": 6, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 7, - "halstead": { - "n1": 6, - "n2": 15, - "N1": 43, - "N2": 61, - "programLength": 104, - "programVocabulary": 21, - "volume": 456.80101196899113, - "difficulty": 12.2, - "effort": 5572.972346021692, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::execute" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::parsePaths": { - "line": 209, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 4, - "N2": 8, - "programLength": 12, - "programVocabulary": 7, - "volume": 33.68825906469125, - "difficulty": 1.6, - "effort": 53.901214503506004, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::parsePaths" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleBaseLine": { - "line": 224, - "lineCount": 8, - "argCount": 2, - "returnCount": 0, - "variableCount": 3, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 5, - "N2": 11, - "programLength": 16, - "programVocabulary": 7, - "volume": 44.91767875292167, - "difficulty": 2.2, - "effort": 98.81889325642767, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleBaseLine" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleCoverageOptions": { - "line": 238, - "lineCount": 20, - "argCount": 2, - "returnCount": 3, - "variableCount": 5, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 5, - "n2": 10, - "N1": 15, - "N2": 25, - "programLength": 40, - "programVocabulary": 15, - "volume": 156.27562382434076, - "difficulty": 6.25, - "effort": 976.7226489021298, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleCoverageOptions" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::applySorting": { - "line": 264, - "lineCount": 21, - "argCount": 3, - "returnCount": 3, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 15, - "N1": 16, - "N2": 32, - "programLength": 48, - "programVocabulary": 20, - "volume": 207.45254855459342, - "difficulty": 5.333333333333333, - "effort": 1106.4135922911648, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::applySorting" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadConfiguration": { - "line": 293, - "lineCount": 10, - "argCount": 2, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 6, - "N1": 5, - "N2": 9, - "programLength": 14, - "programVocabulary": 8, - "volume": 42, - "difficulty": 1.5, - "effort": 63, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadConfiguration" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadCoverageReader": { - "line": 313, - "lineCount": 28, - "argCount": 3, - "returnCount": 4, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 2, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 10, - "N2": 18, - "programLength": 28, - "programVocabulary": 11, - "volume": 96.86408532184433, - "difficulty": 5.142857142857143, - "effort": 498.15815308377086, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadCoverageReader" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::detectCoverageFormat": { - "line": 345, - "lineCount": 19, - "argCount": 1, - "returnCount": 4, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 9, - "volume": 47.548875021634686, - "difficulty": 2.5, - "effort": 118.87218755408671, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::detectCoverageFormat" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::coverageFileExists": { - "line": 365, - "lineCount": 20, - "argCount": 2, - "returnCount": 3, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 4, - "N2": 7, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 3.5, - "effort": 99.52105627776452, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::coverageFileExists" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__construct": { - "line": 12, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__invoke": { - "line": 17, - "lineCount": 22, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 3, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 10, - "N2": 11, - "programLength": 21, - "programVocabulary": 7, - "volume": 58.95445336320969, - "difficulty": 2.2, - "effort": 129.6997973990613, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__invoke" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__construct": { - "line": 21, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__invoke": { - "line": 26, - "lineCount": 11, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 4, - "N2": 9, - "programLength": 13, - "programVocabulary": 4, - "volume": 26, - "difficulty": 4.5, - "effort": 117, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__invoke" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleSourceFilesFound": { - "line": 38, - "lineCount": 6, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 4, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 6, - "N2": 10, - "programLength": 16, - "programVocabulary": 8, - "volume": 48, - "difficulty": 5, - "effort": 240, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleSourceFilesFound" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleFileProcessed": { - "line": 45, - "lineCount": 5, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleFileProcessed" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleAllFilesProcessed": { - "line": 51, - "lineCount": 6, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 3, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 3, - "N2": 5, - "programLength": 8, - "programVocabulary": 5, - "volume": 18.575424759098897, - "difficulty": 1.6666666666666667, - "effort": 30.95904126516483, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleAllFilesProcessed" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__construct": { - "line": 20, - "lineCount": 5, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__invoke": { - "line": 26, - "lineCount": 17, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 5, - "n2": 8, - "N1": 17, - "N2": 17, - "programLength": 34, - "programVocabulary": 13, - "volume": 125.81495041679713, - "difficulty": 5.3125, - "effort": 668.3919240892347, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__invoke" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::formatBytes": { - "line": 50, - "lineCount": 12, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 7, - "n2": 13, - "N1": 10, - "N2": 22, - "programLength": 32, - "programVocabulary": 20, - "volume": 138.3016990363956, - "difficulty": 5.923076923076923, - "effort": 819.1716019848047, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::formatBytes" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::isDebugEnabled": { - "line": 66, - "lineCount": 5, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 1, - "N1": 4, - "N2": 2, - "programLength": 6, - "programVocabulary": 4, - "volume": 12, - "difficulty": 3, - "effort": 36, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::isDebugEnabled" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::__construct": { - "line": 20, - "lineCount": 6, - "argCount": 2, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 4, - "volume": 8, - "difficulty": 0.5, - "effort": 4, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::exportToFile": { - "line": 32, - "lineCount": 27, - "argCount": 3, - "returnCount": 4, - "variableCount": 2, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 1, - "n2": 6, - "N1": 6, - "N2": 19, - "programLength": 25, - "programVocabulary": 7, - "volume": 70.1838730514401, - "difficulty": 1.5833333333333333, - "effort": 111.12446566478016, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::exportToFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::hasIncompleteReportOptions": { - "line": 60, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 2, - "N1": 7, - "N2": 6, - "programLength": 13, - "programVocabulary": 6, - "volume": 33.60451250937503, - "difficulty": 6, - "effort": 201.62707505625016, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::hasIncompleteReportOptions" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::isValidReportType": { - "line": 65, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 2, - "N2": 4, - "programLength": 6, - "programVocabulary": 4, - "volume": 12, - "difficulty": 2, - "effort": 24, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::isValidReportType" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleExceptions": { - "line": 77, - "lineCount": 9, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 3, - "N2": 4, - "programLength": 7, - "programVocabulary": 5, - "volume": 16.253496664211536, - "difficulty": 1.3333333333333333, - "effort": 21.67132888561538, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleExceptions" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleInvalidReportType": { - "line": 91, - "lineCount": 11, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 5, - "N2": 8, - "programLength": 13, - "programVocabulary": 8, - "volume": 39, - "difficulty": 2.4000000000000004, - "effort": 93.60000000000001, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleInvalidReportType" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::__construct": { - "line": 15, - "lineCount": 5, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handle": { - "line": 24, - "lineCount": 27, - "argCount": 3, - "returnCount": 4, - "variableCount": 2, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 1, - "n2": 6, - "N1": 6, - "N2": 19, - "programLength": 25, - "programVocabulary": 7, - "volume": 70.1838730514401, - "difficulty": 1.5833333333333333, - "effort": 111.12446566478016, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handle" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::hasIncompleteReportOptions": { - "line": 52, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 2, - "N1": 7, - "N2": 6, - "programLength": 13, - "programVocabulary": 6, - "volume": 33.60451250937503, - "difficulty": 6, - "effort": 201.62707505625016, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::hasIncompleteReportOptions" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::isValidReportType": { - "line": 57, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 5, - "N1": 1, - "N2": 6, - "programLength": 7, - "programVocabulary": 6, - "volume": 18.094737505048094, - "difficulty": 0.6, - "effort": 10.856842503028856, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::isValidReportType" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handleExceptions": { - "line": 66, - "lineCount": 9, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 3, - "N2": 4, - "programLength": 7, - "programVocabulary": 5, - "volume": 16.253496664211536, - "difficulty": 1.3333333333333333, - "effort": 21.67132888561538, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handleExceptions" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handleInvalidReporType": { - "line": 80, - "lineCount": 9, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 4, - "programLength": 6, - "programVocabulary": 5, - "volume": 13.931568569324174, - "difficulty": 1.3333333333333333, - "effort": 18.575424759098897, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handleInvalidReporType" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::__construct": { - "line": 42, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::reportWritten": { - "line": 47, - "lineCount": 7, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 4, - "programLength": 6, - "programVocabulary": 5, - "volume": 13.931568569324174, - "difficulty": 1.3333333333333333, - "effort": 18.575424759098897, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::reportWritten" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::renderChurnTable": { - "line": 59, - "lineCount": 35, - "argCount": 1, - "returnCount": 0, - "variableCount": 6, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 8, - "n2": 18, - "N1": 21, - "N2": 53, - "programLength": 74, - "programVocabulary": 26, - "volume": 347.8325391424408, - "difficulty": 11.777777777777779, - "effort": 4096.694349899859, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::renderChurnTable" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricSummaryTextRenderer::__construct": { - "line": 18, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricSummaryTextRenderer::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricSummaryTextRenderer::render": { - "line": 23, - "lineCount": 32, - "argCount": 2, - "returnCount": 0, - "variableCount": 6, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 6, - "n2": 16, - "N1": 27, - "N2": 38, - "programLength": 65, - "programVocabulary": 22, - "volume": 289.86305521142435, - "difficulty": 7.125, - "effort": 2065.2742683813985, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricSummaryTextRenderer::render" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::__construct": { - "line": 27, - "lineCount": 5, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::metricExceedsThreshold": { - "line": 33, - "lineCount": 6, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 2, - "N1": 3, - "N2": 5, - "programLength": 8, - "programVocabulary": 5, - "volume": 18.575424759098897, - "difficulty": 3.75, - "effort": 69.65784284662087, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::metricExceedsThreshold" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::hasCoverageInCollection": { - "line": 43, - "lineCount": 10, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 2, - "N2": 4, - "programLength": 6, - "programVocabulary": 4, - "volume": 12, - "difficulty": 2, - "effort": 24, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::hasCoverageInCollection" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::render": { - "line": 58, - "lineCount": 17, - "argCount": 2, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 6, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 9, - "N2": 25, - "programLength": 34, - "programVocabulary": 6, - "volume": 87.8887250245193, - "difficulty": 6.25, - "effort": 549.3045314032456, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::render" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderGroupedByClass": { - "line": 81, - "lineCount": 19, - "argCount": 3, - "returnCount": 0, - "variableCount": 6, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 5, - "n2": 11, - "N1": 11, - "N2": 25, - "programLength": 36, - "programVocabulary": 16, - "volume": 144, - "difficulty": 5.6818181818181825, - "effort": 818.1818181818182, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderGroupedByClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::buildRowsForClass": { - "line": 106, - "lineCount": 13, - "argCount": 2, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 4, - "N2": 12, - "programLength": 16, - "programVocabulary": 7, - "volume": 44.91767875292167, - "difficulty": 2.4, - "effort": 107.802429007012, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::buildRowsForClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::getFilenameFromMetrics": { - "line": 123, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 5, - "programLength": 6, - "programVocabulary": 4, - "volume": 12, - "difficulty": 0.8333333333333334, - "effort": 10, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::getFilenameFromMetrics" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderAllMethodsInSingleTable": { - "line": 136, - "lineCount": 12, - "argCount": 3, - "returnCount": 0, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 6, - "N2": 15, - "programLength": 21, - "programVocabulary": 11, - "volume": 72.64806399138324, - "difficulty": 4.285714285714286, - "effort": 311.34884567735673, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderAllMethodsInSingleTable" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::buildRowsForSingleTable": { - "line": 154, - "lineCount": 13, - "argCount": 2, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 4, - "N2": 12, - "programLength": 16, - "programVocabulary": 7, - "volume": 44.91767875292167, - "difficulty": 2.4, - "effort": 107.802429007012, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::buildRowsForSingleTable" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderTableCommon": { - "line": 173, - "lineCount": 19, - "argCount": 4, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 8, - "N1": 7, - "N2": 19, - "programLength": 26, - "programVocabulary": 10, - "volume": 86.37013046707142, - "difficulty": 2.375, - "effort": 205.1290598592946, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderTableCommon" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderTable": { - "line": 196, - "lineCount": 13, - "argCount": 4, - "returnCount": 0, - "variableCount": 3, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 7, - "N1": 4, - "N2": 14, - "programLength": 18, - "programVocabulary": 9, - "volume": 57.05865002596162, - "difficulty": 2, - "effort": 114.11730005192324, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderTable" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderSingleTable": { - "line": 213, - "lineCount": 11, - "argCount": 3, - "returnCount": 0, - "variableCount": 3, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 6, - "N1": 4, - "N2": 12, - "programLength": 16, - "programVocabulary": 8, - "volume": 48, - "difficulty": 2, - "effort": 96, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderSingleTable" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::__construct": { - "line": 16, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatScore": { - "line": 21, - "lineCount": 6, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 6, - "N1": 5, - "N2": 9, - "programLength": 14, - "programVocabulary": 8, - "volume": 42, - "difficulty": 1.5, - "effort": 63, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatScore" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadVolume": { - "line": 28, - "lineCount": 14, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 10, - "N1": 9, - "N2": 17, - "programLength": 26, - "programVocabulary": 15, - "volume": 101.57915548582149, - "difficulty": 4.25, - "effort": 431.7114108147413, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadVolume" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadDifficulty": { - "line": 43, - "lineCount": 13, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 10, - "N1": 8, - "N2": 17, - "programLength": 25, - "programVocabulary": 14, - "volume": 95.1838730514401, - "difficulty": 3.4, - "effort": 323.62516837489636, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadDifficulty" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadEffort": { - "line": 57, - "lineCount": 13, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 10, - "N1": 8, - "N2": 17, - "programLength": 25, - "programVocabulary": 14, - "volume": 95.1838730514401, - "difficulty": 3.4, - "effort": 323.62516837489636, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadEffort" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatCyclomaticComplexity": { - "line": 71, - "lineCount": 13, - "argCount": 1, - "returnCount": 3, - "variableCount": 4, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 5, - "n2": 9, - "N1": 9, - "N2": 18, - "programLength": 27, - "programVocabulary": 14, - "volume": 102.79858289555531, - "difficulty": 5, - "effort": 513.9929144777766, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatCyclomaticComplexity" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::colorCyclomaticRisk": { - "line": 85, - "lineCount": 8, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 7, - "N1": 5, - "N2": 11, - "programLength": 16, - "programVocabulary": 9, - "volume": 50.718800023076994, - "difficulty": 1.5714285714285714, - "effort": 79.70097146483528, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::colorCyclomaticRisk" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::__construct": { - "line": 17, - "lineCount": 5, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::getGroupedTableHeaders": { - "line": 28, - "lineCount": 16, - "argCount": 0, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 10, - "N2": 17, - "programLength": 27, - "programVocabulary": 6, - "volume": 69.79398751947122, - "difficulty": 4.25, - "effort": 296.62444695775264, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::getGroupedTableHeaders" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCoverageHeader": { - "line": 49, - "lineCount": 10, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 6, - "programLength": 7, - "programVocabulary": 4, - "volume": 14, - "difficulty": 1, - "effort": 14, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCoverageHeader" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::getSingleTableHeaders": { - "line": 65, - "lineCount": 20, - "argCount": 0, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 6, - "N1": 9, - "N2": 18, - "programLength": 27, - "programVocabulary": 8, - "volume": 81, - "difficulty": 3, - "effort": 243, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::getSingleTableHeaders" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addHalsteadHeaders": { - "line": 92, - "lineCount": 10, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 1, - "n2": 5, - "N1": 3, - "N2": 9, - "programLength": 12, - "programVocabulary": 6, - "volume": 31.019550008653873, - "difficulty": 0.9, - "effort": 27.917595007788485, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addHalsteadHeaders" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCyclomaticHeaders": { - "line": 109, - "lineCount": 8, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 5, - "programLength": 6, - "programVocabulary": 4, - "volume": 12, - "difficulty": 0.8333333333333334, - "effort": 10, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCyclomaticHeaders" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCognitiveMetricDetails": { - "line": 122, - "lineCount": 16, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 10, - "N1": 2, - "N2": 13, - "programLength": 15, - "programVocabulary": 12, - "volume": 53.77443751081734, - "difficulty": 1.3, - "effort": 69.90676876406255, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCognitiveMetricDetails" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::__construct": { - "line": 21, - "lineCount": 6, - "argCount": 3, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 3, - "N1": 0, - "N2": 3, - "programLength": 3, - "programVocabulary": 3, - "volume": 4.754887502163468, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::buildRow": { - "line": 34, - "lineCount": 16, - "argCount": 1, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 10, - "N2": 24, - "programLength": 34, - "programVocabulary": 7, - "volume": 95.45006734995854, - "difficulty": 4.8, - "effort": 458.160323279801, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::buildRow" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::buildRowWithClassInfo": { - "line": 57, - "lineCount": 16, - "argCount": 1, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 10, - "N2": 24, - "programLength": 34, - "programVocabulary": 7, - "volume": 95.45006734995854, - "difficulty": 4.8, - "effort": 458.160323279801, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::buildRowWithClassInfo" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::metricsToArray": { - "line": 79, - "lineCount": 8, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 3, - "N2": 7, - "programLength": 10, - "programVocabulary": 6, - "volume": 25.84962500721156, - "difficulty": 1.75, - "effort": 45.23684376262023, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::metricsToArray" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::metricsToArrayWithClassInfo": { - "line": 93, - "lineCount": 9, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 4, - "N2": 9, - "programLength": 13, - "programVocabulary": 7, - "volume": 36.49561398674886, - "difficulty": 1.8, - "effort": 65.69210517614795, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::metricsToArrayWithClassInfo" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addHalsteadFields": { - "line": 109, - "lineCount": 10, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 6, - "N1": 6, - "N2": 16, - "programLength": 22, - "programVocabulary": 8, - "volume": 66, - "difficulty": 2.6666666666666665, - "effort": 176, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addHalsteadFields" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addCyclomaticFields": { - "line": 126, - "lineCount": 8, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 2, - "N2": 8, - "programLength": 10, - "programVocabulary": 6, - "volume": 25.84962500721156, - "difficulty": 2, - "effort": 51.69925001442312, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addCyclomaticFields" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addWeightedValue": { - "line": 141, - "lineCount": 10, - "argCount": 3, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 11, - "N1": 13, - "N2": 22, - "programLength": 35, - "programVocabulary": 15, - "volume": 136.74117084629816, - "difficulty": 4, - "effort": 546.9646833851926, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addWeightedValue" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addDelta": { - "line": 158, - "lineCount": 20, - "argCount": 3, - "returnCount": 3, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 6, - "n2": 13, - "N1": 19, - "N2": 30, - "programLength": 49, - "programVocabulary": 19, - "volume": 208.14844815873568, - "difficulty": 6.9230769230769225, - "effort": 1441.0277180220162, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::getKeys": { - "line": 184, - "lineCount": 17, - "argCount": 0, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 0, - "n2": 9, - "N1": 0, - "N2": 9, - "programLength": 9, - "programVocabulary": 9, - "volume": 28.52932501298081, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::getKeys" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::assertDeltaMethodExists": { - "line": 205, - "lineCount": 6, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 6, - "programLength": 8, - "programVocabulary": 5, - "volume": 18.575424759098897, - "difficulty": 2, - "effort": 37.150849518197795, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::assertDeltaMethodExists" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addCoverageValue": { - "line": 216, - "lineCount": 11, - "argCount": 2, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 7, - "N1": 7, - "N2": 15, - "programLength": 22, - "programVocabulary": 12, - "volume": 78.86917501586544, - "difficulty": 5.357142857142857, - "effort": 422.51343758499337, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addCoverageValue" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::extracted": { - "line": 233, - "lineCount": 22, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 12, - "N1": 19, - "N2": 34, - "programLength": 53, - "programVocabulary": 15, - "volume": 207.06520156725148, - "difficulty": 4.25, - "effort": 880.0271066608187, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::extracted" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CacheConfig::__construct": { - "line": 12, - "lineCount": 5, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CacheConfig::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CacheConfig::toArray": { - "line": 23, - "lineCount": 7, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 3, - "N1": 0, - "N2": 4, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CacheConfig::toArray" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CognitiveConfig::__construct": { - "line": 20, - "lineCount": 13, - "argCount": 10, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 0, - "n2": 10, - "N1": 0, - "N2": 10, - "programLength": 10, - "programVocabulary": 10, - "volume": 33.219280948873624, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CognitiveConfig::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CognitiveConfig::toArray": { - "line": 39, - "lineCount": 20, - "argCount": 0, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 10, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 2, - "risk_level": "low" - }, - "halstead": { - "n1": 2, - "n2": 14, - "N1": 3, - "N2": 27, - "programLength": 30, - "programVocabulary": 16, - "volume": 120, - "difficulty": 1.9285714285714286, - "effort": 231.42857142857144, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CognitiveConfig::toArray" - } - } - }, - "ignored_items": [], - "cached_at": 1759967602 -} \ No newline at end of file diff --git a/.phpcca.cache/c7/c7550b967df78bdea6d3f1b8f836c7c9.cache b/.phpcca.cache/c7/c7550b967df78bdea6d3f1b8f836c7c9.cache deleted file mode 100644 index 2dcc5ec..0000000 --- a/.phpcca.cache/c7/c7550b967df78bdea6d3f1b8f836c7c9.cache +++ /dev/null @@ -1,1379 +0,0 @@ -{ - "version": "1.0", - "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/Command\/Presentation\/ChurnTextRenderer.php", - "file_mtime": 1759791861, - "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", - "analysis_result": { - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::__construct": { - "line": 26, - "lineCount": 5, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 4, - "N1": 3, - "N2": 6, - "programLength": 9, - "programVocabulary": 7, - "volume": 25.26619429851844, - "difficulty": 2.25, - "effort": 56.848937171666485, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItem": { - "line": 35, - "lineCount": 15, - "argCount": 1, - "returnCount": 3, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 6, - "N2": 13, - "programLength": 19, - "programVocabulary": 8, - "volume": 57, - "difficulty": 6.5, - "effort": 370.5, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItem" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItems": { - "line": 55, - "lineCount": 9, - "argCount": 1, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 3, - "N2": 9, - "programLength": 12, - "programVocabulary": 6, - "volume": 31.019550008653873, - "difficulty": 2.25, - "effort": 69.79398751947122, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItems" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::hasItem": { - "line": 68, - "lineCount": 6, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 5, - "n2": 3, - "N1": 6, - "N2": 7, - "programLength": 13, - "programVocabulary": 8, - "volume": 39, - "difficulty": 5.833333333333334, - "effort": 227.50000000000003, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::hasItem" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::clear": { - "line": 75, - "lineCount": 10, - "argCount": 0, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 2, - "N2": 4, - "programLength": 6, - "programVocabulary": 3, - "volume": 9.509775004326936, - "difficulty": 1, - "effort": 9.509775004326936, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::clear" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItem": { - "line": 89, - "lineCount": 10, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 4, - "N2": 6, - "programLength": 10, - "programVocabulary": 6, - "volume": 25.84962500721156, - "difficulty": 3, - "effort": 77.54887502163469, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItem" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItems": { - "line": 103, - "lineCount": 10, - "argCount": 1, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 3, - "N2": 8, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 2, - "effort": 56.86917501586544, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItems" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::save": { - "line": 117, - "lineCount": 11, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 4, - "N1": 9, - "N2": 12, - "programLength": 21, - "programVocabulary": 7, - "volume": 58.95445336320969, - "difficulty": 4.5, - "effort": 265.2950401344436, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::save" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveDeferred": { - "line": 129, - "lineCount": 6, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveDeferred" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::commit": { - "line": 136, - "lineCount": 11, - "argCount": 0, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 4, - "N2": 8, - "programLength": 12, - "programVocabulary": 5, - "volume": 27.863137138648348, - "difficulty": 2.6666666666666665, - "effort": 74.30169903639559, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::commit" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::ensureCacheDirectory": { - "line": 152, - "lineCount": 9, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 3, - "N2": 4, - "programLength": 7, - "programVocabulary": 4, - "volume": 14, - "difficulty": 2, - "effort": 28, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::ensureCacheDirectory" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getCacheFilePath": { - "line": 168, - "lineCount": 15, - "argCount": 1, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 10, - "N1": 13, - "N2": 19, - "programLength": 32, - "programVocabulary": 14, - "volume": 121.83535750584333, - "difficulty": 3.8, - "effort": 462.9743585222046, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getCacheFilePath" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::loadCacheData": { - "line": 187, - "lineCount": 14, - "argCount": 1, - "returnCount": 3, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 6, - "N2": 8, - "programLength": 14, - "programVocabulary": 6, - "volume": 36.18947501009619, - "difficulty": 4, - "effort": 144.75790004038475, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::loadCacheData" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveCacheData": { - "line": 209, - "lineCount": 21, - "argCount": 2, - "returnCount": 3, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 6, - "n2": 7, - "N1": 13, - "N2": 17, - "programLength": 30, - "programVocabulary": 13, - "volume": 111.01319154423277, - "difficulty": 7.285714285714285, - "effort": 808.810395536553, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveCacheData" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::sanitizeUtf8": { - "line": 234, - "lineCount": 25, - "argCount": 1, - "returnCount": 4, - "variableCount": 6, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 8, - "N1": 13, - "N2": 29, - "programLength": 42, - "programVocabulary": 11, - "volume": 145.29612798276648, - "difficulty": 5.4375, - "effort": 790.0476959062927, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::sanitizeUtf8" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::removeDirectory": { - "line": 260, - "lineCount": 23, - "argCount": 1, - "returnCount": 2, - "variableCount": 5, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 5, - "n2": 9, - "N1": 13, - "N2": 20, - "programLength": 33, - "programVocabulary": 14, - "volume": 125.64271242790093, - "difficulty": 5.555555555555555, - "effort": 698.0150690438941, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::removeDirectory" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::__construct": { - "line": 42, - "lineCount": 7, - "argCount": 3, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 3, - "N1": 0, - "N2": 3, - "programLength": 3, - "programVocabulary": 3, - "volume": 4.754887502163468, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::configure": { - "line": 53, - "lineCount": 57, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 15, - "N1": 9, - "N2": 16, - "programLength": 25, - "programVocabulary": 16, - "volume": 100, - "difficulty": 0.5333333333333333, - "effort": 53.333333333333336, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::configure" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::execute": { - "line": 119, - "lineCount": 43, - "argCount": 2, - "returnCount": 5, - "variableCount": 9, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 4, - "halstead": { - "n1": 7, - "n2": 14, - "N1": 31, - "N2": 45, - "programLength": 76, - "programVocabulary": 21, - "volume": 333.8161241311858, - "difficulty": 11.25, - "effort": 3755.4313964758403, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::execute" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::loadCoverageReader": { - "line": 171, - "lineCount": 32, - "argCount": 3, - "returnCount": 4, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 2, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 4, - "n2": 9, - "N1": 9, - "N2": 21, - "programLength": 30, - "programVocabulary": 13, - "volume": 111.01319154423277, - "difficulty": 4.666666666666667, - "effort": 518.0615605397529, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::loadCoverageReader" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::detectCoverageFormat": { - "line": 207, - "lineCount": 19, - "argCount": 1, - "returnCount": 4, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 9, - "volume": 47.548875021634686, - "difficulty": 2.5, - "effort": 118.87218755408671, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::detectCoverageFormat" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::coverageFileExists": { - "line": 227, - "lineCount": 20, - "argCount": 2, - "returnCount": 3, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 4, - "N2": 7, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 3.5, - "effort": 99.52105627776452, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::coverageFileExists" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::__construct": { - "line": 49, - "lineCount": 10, - "argCount": 6, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 6, - "N1": 0, - "N2": 6, - "programLength": 6, - "programVocabulary": 6, - "volume": 15.509775004326936, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::configure": { - "line": 63, - "lineCount": 76, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 20, - "N1": 13, - "N2": 20, - "programLength": 33, - "programVocabulary": 21, - "volume": 144.94647495169912, - "difficulty": 0.5, - "effort": 72.47323747584956, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::configure" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::execute": { - "line": 150, - "lineCount": 52, - "argCount": 2, - "returnCount": 5, - "variableCount": 11, - "propertyCallCount": 6, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 7, - "halstead": { - "n1": 6, - "n2": 15, - "N1": 43, - "N2": 61, - "programLength": 104, - "programVocabulary": 21, - "volume": 456.80101196899113, - "difficulty": 12.2, - "effort": 5572.972346021692, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::execute" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::parsePaths": { - "line": 209, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 4, - "N2": 8, - "programLength": 12, - "programVocabulary": 7, - "volume": 33.68825906469125, - "difficulty": 1.6, - "effort": 53.901214503506004, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::parsePaths" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleBaseLine": { - "line": 224, - "lineCount": 8, - "argCount": 2, - "returnCount": 0, - "variableCount": 3, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 5, - "N2": 11, - "programLength": 16, - "programVocabulary": 7, - "volume": 44.91767875292167, - "difficulty": 2.2, - "effort": 98.81889325642767, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleBaseLine" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleCoverageOptions": { - "line": 238, - "lineCount": 20, - "argCount": 2, - "returnCount": 3, - "variableCount": 5, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 5, - "n2": 10, - "N1": 15, - "N2": 25, - "programLength": 40, - "programVocabulary": 15, - "volume": 156.27562382434076, - "difficulty": 6.25, - "effort": 976.7226489021298, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleCoverageOptions" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::applySorting": { - "line": 264, - "lineCount": 21, - "argCount": 3, - "returnCount": 3, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 15, - "N1": 16, - "N2": 32, - "programLength": 48, - "programVocabulary": 20, - "volume": 207.45254855459342, - "difficulty": 5.333333333333333, - "effort": 1106.4135922911648, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::applySorting" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadConfiguration": { - "line": 293, - "lineCount": 10, - "argCount": 2, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 6, - "N1": 5, - "N2": 9, - "programLength": 14, - "programVocabulary": 8, - "volume": 42, - "difficulty": 1.5, - "effort": 63, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadConfiguration" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadCoverageReader": { - "line": 313, - "lineCount": 28, - "argCount": 3, - "returnCount": 4, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 2, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 10, - "N2": 18, - "programLength": 28, - "programVocabulary": 11, - "volume": 96.86408532184433, - "difficulty": 5.142857142857143, - "effort": 498.15815308377086, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadCoverageReader" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::detectCoverageFormat": { - "line": 345, - "lineCount": 19, - "argCount": 1, - "returnCount": 4, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 9, - "volume": 47.548875021634686, - "difficulty": 2.5, - "effort": 118.87218755408671, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::detectCoverageFormat" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::coverageFileExists": { - "line": 365, - "lineCount": 20, - "argCount": 2, - "returnCount": 3, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 4, - "N2": 7, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 3.5, - "effort": 99.52105627776452, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::coverageFileExists" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__construct": { - "line": 12, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__invoke": { - "line": 17, - "lineCount": 22, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 3, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 10, - "N2": 11, - "programLength": 21, - "programVocabulary": 7, - "volume": 58.95445336320969, - "difficulty": 2.2, - "effort": 129.6997973990613, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__invoke" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__construct": { - "line": 21, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__invoke": { - "line": 26, - "lineCount": 11, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 4, - "N2": 9, - "programLength": 13, - "programVocabulary": 4, - "volume": 26, - "difficulty": 4.5, - "effort": 117, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__invoke" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleSourceFilesFound": { - "line": 38, - "lineCount": 6, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 4, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 6, - "N2": 10, - "programLength": 16, - "programVocabulary": 8, - "volume": 48, - "difficulty": 5, - "effort": 240, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleSourceFilesFound" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleFileProcessed": { - "line": 45, - "lineCount": 5, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleFileProcessed" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleAllFilesProcessed": { - "line": 51, - "lineCount": 6, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 3, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 3, - "N2": 5, - "programLength": 8, - "programVocabulary": 5, - "volume": 18.575424759098897, - "difficulty": 1.6666666666666667, - "effort": 30.95904126516483, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleAllFilesProcessed" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__construct": { - "line": 20, - "lineCount": 5, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__invoke": { - "line": 26, - "lineCount": 17, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 5, - "n2": 8, - "N1": 17, - "N2": 17, - "programLength": 34, - "programVocabulary": 13, - "volume": 125.81495041679713, - "difficulty": 5.3125, - "effort": 668.3919240892347, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__invoke" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::formatBytes": { - "line": 50, - "lineCount": 12, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 7, - "n2": 13, - "N1": 10, - "N2": 22, - "programLength": 32, - "programVocabulary": 20, - "volume": 138.3016990363956, - "difficulty": 5.923076923076923, - "effort": 819.1716019848047, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::formatBytes" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::isDebugEnabled": { - "line": 66, - "lineCount": 5, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 1, - "N1": 4, - "N2": 2, - "programLength": 6, - "programVocabulary": 4, - "volume": 12, - "difficulty": 3, - "effort": 36, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::isDebugEnabled" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::__construct": { - "line": 20, - "lineCount": 6, - "argCount": 2, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 4, - "volume": 8, - "difficulty": 0.5, - "effort": 4, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::exportToFile": { - "line": 32, - "lineCount": 27, - "argCount": 3, - "returnCount": 4, - "variableCount": 2, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 1, - "n2": 6, - "N1": 6, - "N2": 19, - "programLength": 25, - "programVocabulary": 7, - "volume": 70.1838730514401, - "difficulty": 1.5833333333333333, - "effort": 111.12446566478016, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::exportToFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::hasIncompleteReportOptions": { - "line": 60, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 2, - "N1": 7, - "N2": 6, - "programLength": 13, - "programVocabulary": 6, - "volume": 33.60451250937503, - "difficulty": 6, - "effort": 201.62707505625016, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::hasIncompleteReportOptions" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::isValidReportType": { - "line": 65, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 2, - "N2": 4, - "programLength": 6, - "programVocabulary": 4, - "volume": 12, - "difficulty": 2, - "effort": 24, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::isValidReportType" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleExceptions": { - "line": 77, - "lineCount": 9, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 3, - "N2": 4, - "programLength": 7, - "programVocabulary": 5, - "volume": 16.253496664211536, - "difficulty": 1.3333333333333333, - "effort": 21.67132888561538, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleExceptions" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleInvalidReportType": { - "line": 91, - "lineCount": 11, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 5, - "N2": 8, - "programLength": 13, - "programVocabulary": 8, - "volume": 39, - "difficulty": 2.4000000000000004, - "effort": 93.60000000000001, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleInvalidReportType" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::__construct": { - "line": 15, - "lineCount": 5, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handle": { - "line": 24, - "lineCount": 27, - "argCount": 3, - "returnCount": 4, - "variableCount": 2, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 1, - "n2": 6, - "N1": 6, - "N2": 19, - "programLength": 25, - "programVocabulary": 7, - "volume": 70.1838730514401, - "difficulty": 1.5833333333333333, - "effort": 111.12446566478016, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handle" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::hasIncompleteReportOptions": { - "line": 52, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 2, - "N1": 7, - "N2": 6, - "programLength": 13, - "programVocabulary": 6, - "volume": 33.60451250937503, - "difficulty": 6, - "effort": 201.62707505625016, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::hasIncompleteReportOptions" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::isValidReportType": { - "line": 57, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 5, - "N1": 1, - "N2": 6, - "programLength": 7, - "programVocabulary": 6, - "volume": 18.094737505048094, - "difficulty": 0.6, - "effort": 10.856842503028856, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::isValidReportType" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handleExceptions": { - "line": 66, - "lineCount": 9, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 3, - "N2": 4, - "programLength": 7, - "programVocabulary": 5, - "volume": 16.253496664211536, - "difficulty": 1.3333333333333333, - "effort": 21.67132888561538, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handleExceptions" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handleInvalidReporType": { - "line": 80, - "lineCount": 9, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 4, - "programLength": 6, - "programVocabulary": 5, - "volume": 13.931568569324174, - "difficulty": 1.3333333333333333, - "effort": 18.575424759098897, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handleInvalidReporType" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::__construct": { - "line": 42, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::reportWritten": { - "line": 47, - "lineCount": 7, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 4, - "programLength": 6, - "programVocabulary": 5, - "volume": 13.931568569324174, - "difficulty": 1.3333333333333333, - "effort": 18.575424759098897, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::reportWritten" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::renderChurnTable": { - "line": 59, - "lineCount": 35, - "argCount": 1, - "returnCount": 0, - "variableCount": 6, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "cyclomatic_complexity": { - "complexity": 8, - "risk_level": "medium" - }, - "halstead": { - "n1": 8, - "n2": 18, - "N1": 21, - "N2": 53, - "programLength": 74, - "programVocabulary": 26, - "volume": 347.8325391424408, - "difficulty": 11.777777777777779, - "effort": 4096.694349899859, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::renderChurnTable" - } - } - }, - "ignored_items": [], - "cached_at": 1759967602 -} \ No newline at end of file diff --git a/.phpcca.cache/c7/c7e7f6ca95bbd4b1618c2ff23df95c72.cache b/.phpcca.cache/c7/c7e7f6ca95bbd4b1618c2ff23df95c72.cache deleted file mode 100644 index 15f9034..0000000 --- a/.phpcca.cache/c7/c7e7f6ca95bbd4b1618c2ff23df95c72.cache +++ /dev/null @@ -1,1689 +0,0 @@ -{ - "version": "1.0", - "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/Command\/Presentation\/CognitiveMetricTextRendererInterface.php", - "file_mtime": 1759791861, - "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", - "analysis_result": { - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::__construct": { - "line": 26, - "lineCount": 5, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 4, - "N1": 3, - "N2": 6, - "programLength": 9, - "programVocabulary": 7, - "volume": 25.26619429851844, - "difficulty": 2.25, - "effort": 56.848937171666485, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItem": { - "line": 35, - "lineCount": 15, - "argCount": 1, - "returnCount": 3, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 6, - "N2": 13, - "programLength": 19, - "programVocabulary": 8, - "volume": 57, - "difficulty": 6.5, - "effort": 370.5, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItem" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItems": { - "line": 55, - "lineCount": 9, - "argCount": 1, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 3, - "N2": 9, - "programLength": 12, - "programVocabulary": 6, - "volume": 31.019550008653873, - "difficulty": 2.25, - "effort": 69.79398751947122, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItems" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::hasItem": { - "line": 68, - "lineCount": 6, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 5, - "n2": 3, - "N1": 6, - "N2": 7, - "programLength": 13, - "programVocabulary": 8, - "volume": 39, - "difficulty": 5.833333333333334, - "effort": 227.50000000000003, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::hasItem" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::clear": { - "line": 75, - "lineCount": 10, - "argCount": 0, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 2, - "N2": 4, - "programLength": 6, - "programVocabulary": 3, - "volume": 9.509775004326936, - "difficulty": 1, - "effort": 9.509775004326936, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::clear" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItem": { - "line": 89, - "lineCount": 10, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 4, - "N2": 6, - "programLength": 10, - "programVocabulary": 6, - "volume": 25.84962500721156, - "difficulty": 3, - "effort": 77.54887502163469, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItem" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItems": { - "line": 103, - "lineCount": 10, - "argCount": 1, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 3, - "N2": 8, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 2, - "effort": 56.86917501586544, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItems" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::save": { - "line": 117, - "lineCount": 11, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 4, - "N1": 9, - "N2": 12, - "programLength": 21, - "programVocabulary": 7, - "volume": 58.95445336320969, - "difficulty": 4.5, - "effort": 265.2950401344436, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::save" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveDeferred": { - "line": 129, - "lineCount": 6, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveDeferred" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::commit": { - "line": 136, - "lineCount": 11, - "argCount": 0, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 4, - "N2": 8, - "programLength": 12, - "programVocabulary": 5, - "volume": 27.863137138648348, - "difficulty": 2.6666666666666665, - "effort": 74.30169903639559, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::commit" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::ensureCacheDirectory": { - "line": 152, - "lineCount": 9, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 3, - "N2": 4, - "programLength": 7, - "programVocabulary": 4, - "volume": 14, - "difficulty": 2, - "effort": 28, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::ensureCacheDirectory" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getCacheFilePath": { - "line": 168, - "lineCount": 15, - "argCount": 1, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 10, - "N1": 13, - "N2": 19, - "programLength": 32, - "programVocabulary": 14, - "volume": 121.83535750584333, - "difficulty": 3.8, - "effort": 462.9743585222046, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getCacheFilePath" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::loadCacheData": { - "line": 187, - "lineCount": 14, - "argCount": 1, - "returnCount": 3, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 6, - "N2": 8, - "programLength": 14, - "programVocabulary": 6, - "volume": 36.18947501009619, - "difficulty": 4, - "effort": 144.75790004038475, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::loadCacheData" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveCacheData": { - "line": 209, - "lineCount": 21, - "argCount": 2, - "returnCount": 3, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 6, - "n2": 7, - "N1": 13, - "N2": 17, - "programLength": 30, - "programVocabulary": 13, - "volume": 111.01319154423277, - "difficulty": 7.285714285714285, - "effort": 808.810395536553, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveCacheData" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::sanitizeUtf8": { - "line": 234, - "lineCount": 25, - "argCount": 1, - "returnCount": 4, - "variableCount": 6, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 8, - "N1": 13, - "N2": 29, - "programLength": 42, - "programVocabulary": 11, - "volume": 145.29612798276648, - "difficulty": 5.4375, - "effort": 790.0476959062927, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::sanitizeUtf8" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::removeDirectory": { - "line": 260, - "lineCount": 23, - "argCount": 1, - "returnCount": 2, - "variableCount": 5, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 5, - "n2": 9, - "N1": 13, - "N2": 20, - "programLength": 33, - "programVocabulary": 14, - "volume": 125.64271242790093, - "difficulty": 5.555555555555555, - "effort": 698.0150690438941, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::removeDirectory" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::__construct": { - "line": 42, - "lineCount": 7, - "argCount": 3, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 3, - "N1": 0, - "N2": 3, - "programLength": 3, - "programVocabulary": 3, - "volume": 4.754887502163468, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::configure": { - "line": 53, - "lineCount": 57, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 15, - "N1": 9, - "N2": 16, - "programLength": 25, - "programVocabulary": 16, - "volume": 100, - "difficulty": 0.5333333333333333, - "effort": 53.333333333333336, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::configure" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::execute": { - "line": 119, - "lineCount": 43, - "argCount": 2, - "returnCount": 5, - "variableCount": 9, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 4, - "halstead": { - "n1": 7, - "n2": 14, - "N1": 31, - "N2": 45, - "programLength": 76, - "programVocabulary": 21, - "volume": 333.8161241311858, - "difficulty": 11.25, - "effort": 3755.4313964758403, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::execute" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::loadCoverageReader": { - "line": 171, - "lineCount": 32, - "argCount": 3, - "returnCount": 4, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 2, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 4, - "n2": 9, - "N1": 9, - "N2": 21, - "programLength": 30, - "programVocabulary": 13, - "volume": 111.01319154423277, - "difficulty": 4.666666666666667, - "effort": 518.0615605397529, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::loadCoverageReader" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::detectCoverageFormat": { - "line": 207, - "lineCount": 19, - "argCount": 1, - "returnCount": 4, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 9, - "volume": 47.548875021634686, - "difficulty": 2.5, - "effort": 118.87218755408671, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::detectCoverageFormat" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::coverageFileExists": { - "line": 227, - "lineCount": 20, - "argCount": 2, - "returnCount": 3, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 4, - "N2": 7, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 3.5, - "effort": 99.52105627776452, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::coverageFileExists" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::__construct": { - "line": 49, - "lineCount": 10, - "argCount": 6, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 6, - "N1": 0, - "N2": 6, - "programLength": 6, - "programVocabulary": 6, - "volume": 15.509775004326936, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::configure": { - "line": 63, - "lineCount": 76, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 20, - "N1": 13, - "N2": 20, - "programLength": 33, - "programVocabulary": 21, - "volume": 144.94647495169912, - "difficulty": 0.5, - "effort": 72.47323747584956, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::configure" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::execute": { - "line": 150, - "lineCount": 52, - "argCount": 2, - "returnCount": 5, - "variableCount": 11, - "propertyCallCount": 6, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 7, - "halstead": { - "n1": 6, - "n2": 15, - "N1": 43, - "N2": 61, - "programLength": 104, - "programVocabulary": 21, - "volume": 456.80101196899113, - "difficulty": 12.2, - "effort": 5572.972346021692, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::execute" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::parsePaths": { - "line": 209, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 4, - "N2": 8, - "programLength": 12, - "programVocabulary": 7, - "volume": 33.68825906469125, - "difficulty": 1.6, - "effort": 53.901214503506004, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::parsePaths" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleBaseLine": { - "line": 224, - "lineCount": 8, - "argCount": 2, - "returnCount": 0, - "variableCount": 3, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 5, - "N2": 11, - "programLength": 16, - "programVocabulary": 7, - "volume": 44.91767875292167, - "difficulty": 2.2, - "effort": 98.81889325642767, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleBaseLine" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleCoverageOptions": { - "line": 238, - "lineCount": 20, - "argCount": 2, - "returnCount": 3, - "variableCount": 5, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 5, - "n2": 10, - "N1": 15, - "N2": 25, - "programLength": 40, - "programVocabulary": 15, - "volume": 156.27562382434076, - "difficulty": 6.25, - "effort": 976.7226489021298, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleCoverageOptions" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::applySorting": { - "line": 264, - "lineCount": 21, - "argCount": 3, - "returnCount": 3, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 15, - "N1": 16, - "N2": 32, - "programLength": 48, - "programVocabulary": 20, - "volume": 207.45254855459342, - "difficulty": 5.333333333333333, - "effort": 1106.4135922911648, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::applySorting" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadConfiguration": { - "line": 293, - "lineCount": 10, - "argCount": 2, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 6, - "N1": 5, - "N2": 9, - "programLength": 14, - "programVocabulary": 8, - "volume": 42, - "difficulty": 1.5, - "effort": 63, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadConfiguration" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadCoverageReader": { - "line": 313, - "lineCount": 28, - "argCount": 3, - "returnCount": 4, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 2, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 10, - "N2": 18, - "programLength": 28, - "programVocabulary": 11, - "volume": 96.86408532184433, - "difficulty": 5.142857142857143, - "effort": 498.15815308377086, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadCoverageReader" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::detectCoverageFormat": { - "line": 345, - "lineCount": 19, - "argCount": 1, - "returnCount": 4, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 9, - "volume": 47.548875021634686, - "difficulty": 2.5, - "effort": 118.87218755408671, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::detectCoverageFormat" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::coverageFileExists": { - "line": 365, - "lineCount": 20, - "argCount": 2, - "returnCount": 3, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 4, - "N2": 7, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 3.5, - "effort": 99.52105627776452, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::coverageFileExists" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__construct": { - "line": 12, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__invoke": { - "line": 17, - "lineCount": 22, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 3, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 10, - "N2": 11, - "programLength": 21, - "programVocabulary": 7, - "volume": 58.95445336320969, - "difficulty": 2.2, - "effort": 129.6997973990613, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__invoke" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__construct": { - "line": 21, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__invoke": { - "line": 26, - "lineCount": 11, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 4, - "N2": 9, - "programLength": 13, - "programVocabulary": 4, - "volume": 26, - "difficulty": 4.5, - "effort": 117, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__invoke" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleSourceFilesFound": { - "line": 38, - "lineCount": 6, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 4, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 6, - "N2": 10, - "programLength": 16, - "programVocabulary": 8, - "volume": 48, - "difficulty": 5, - "effort": 240, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleSourceFilesFound" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleFileProcessed": { - "line": 45, - "lineCount": 5, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleFileProcessed" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleAllFilesProcessed": { - "line": 51, - "lineCount": 6, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 3, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 3, - "N2": 5, - "programLength": 8, - "programVocabulary": 5, - "volume": 18.575424759098897, - "difficulty": 1.6666666666666667, - "effort": 30.95904126516483, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleAllFilesProcessed" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__construct": { - "line": 20, - "lineCount": 5, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__invoke": { - "line": 26, - "lineCount": 17, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 5, - "n2": 8, - "N1": 17, - "N2": 17, - "programLength": 34, - "programVocabulary": 13, - "volume": 125.81495041679713, - "difficulty": 5.3125, - "effort": 668.3919240892347, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__invoke" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::formatBytes": { - "line": 50, - "lineCount": 12, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 7, - "n2": 13, - "N1": 10, - "N2": 22, - "programLength": 32, - "programVocabulary": 20, - "volume": 138.3016990363956, - "difficulty": 5.923076923076923, - "effort": 819.1716019848047, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::formatBytes" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::isDebugEnabled": { - "line": 66, - "lineCount": 5, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 1, - "N1": 4, - "N2": 2, - "programLength": 6, - "programVocabulary": 4, - "volume": 12, - "difficulty": 3, - "effort": 36, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::isDebugEnabled" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::__construct": { - "line": 20, - "lineCount": 6, - "argCount": 2, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 4, - "volume": 8, - "difficulty": 0.5, - "effort": 4, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::exportToFile": { - "line": 32, - "lineCount": 27, - "argCount": 3, - "returnCount": 4, - "variableCount": 2, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 1, - "n2": 6, - "N1": 6, - "N2": 19, - "programLength": 25, - "programVocabulary": 7, - "volume": 70.1838730514401, - "difficulty": 1.5833333333333333, - "effort": 111.12446566478016, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::exportToFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::hasIncompleteReportOptions": { - "line": 60, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 2, - "N1": 7, - "N2": 6, - "programLength": 13, - "programVocabulary": 6, - "volume": 33.60451250937503, - "difficulty": 6, - "effort": 201.62707505625016, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::hasIncompleteReportOptions" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::isValidReportType": { - "line": 65, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 2, - "N2": 4, - "programLength": 6, - "programVocabulary": 4, - "volume": 12, - "difficulty": 2, - "effort": 24, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::isValidReportType" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleExceptions": { - "line": 77, - "lineCount": 9, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 3, - "N2": 4, - "programLength": 7, - "programVocabulary": 5, - "volume": 16.253496664211536, - "difficulty": 1.3333333333333333, - "effort": 21.67132888561538, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleExceptions" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleInvalidReportType": { - "line": 91, - "lineCount": 11, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 5, - "N2": 8, - "programLength": 13, - "programVocabulary": 8, - "volume": 39, - "difficulty": 2.4000000000000004, - "effort": 93.60000000000001, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleInvalidReportType" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::__construct": { - "line": 15, - "lineCount": 5, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handle": { - "line": 24, - "lineCount": 27, - "argCount": 3, - "returnCount": 4, - "variableCount": 2, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 1, - "n2": 6, - "N1": 6, - "N2": 19, - "programLength": 25, - "programVocabulary": 7, - "volume": 70.1838730514401, - "difficulty": 1.5833333333333333, - "effort": 111.12446566478016, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handle" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::hasIncompleteReportOptions": { - "line": 52, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 2, - "N1": 7, - "N2": 6, - "programLength": 13, - "programVocabulary": 6, - "volume": 33.60451250937503, - "difficulty": 6, - "effort": 201.62707505625016, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::hasIncompleteReportOptions" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::isValidReportType": { - "line": 57, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 5, - "N1": 1, - "N2": 6, - "programLength": 7, - "programVocabulary": 6, - "volume": 18.094737505048094, - "difficulty": 0.6, - "effort": 10.856842503028856, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::isValidReportType" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handleExceptions": { - "line": 66, - "lineCount": 9, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 3, - "N2": 4, - "programLength": 7, - "programVocabulary": 5, - "volume": 16.253496664211536, - "difficulty": 1.3333333333333333, - "effort": 21.67132888561538, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handleExceptions" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handleInvalidReporType": { - "line": 80, - "lineCount": 9, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 4, - "programLength": 6, - "programVocabulary": 5, - "volume": 13.931568569324174, - "difficulty": 1.3333333333333333, - "effort": 18.575424759098897, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handleInvalidReporType" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::__construct": { - "line": 42, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::reportWritten": { - "line": 47, - "lineCount": 7, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 4, - "programLength": 6, - "programVocabulary": 5, - "volume": 13.931568569324174, - "difficulty": 1.3333333333333333, - "effort": 18.575424759098897, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::reportWritten" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::renderChurnTable": { - "line": 59, - "lineCount": 35, - "argCount": 1, - "returnCount": 0, - "variableCount": 6, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 8, - "n2": 18, - "N1": 21, - "N2": 53, - "programLength": 74, - "programVocabulary": 26, - "volume": 347.8325391424408, - "difficulty": 11.777777777777779, - "effort": 4096.694349899859, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::renderChurnTable" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricSummaryTextRenderer::__construct": { - "line": 18, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricSummaryTextRenderer::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricSummaryTextRenderer::render": { - "line": 23, - "lineCount": 32, - "argCount": 2, - "returnCount": 0, - "variableCount": 6, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 6, - "n2": 16, - "N1": 27, - "N2": 38, - "programLength": 65, - "programVocabulary": 22, - "volume": 289.86305521142435, - "difficulty": 7.125, - "effort": 2065.2742683813985, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricSummaryTextRenderer::render" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::__construct": { - "line": 27, - "lineCount": 5, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::metricExceedsThreshold": { - "line": 33, - "lineCount": 6, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 2, - "N1": 3, - "N2": 5, - "programLength": 8, - "programVocabulary": 5, - "volume": 18.575424759098897, - "difficulty": 3.75, - "effort": 69.65784284662087, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::metricExceedsThreshold" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::hasCoverageInCollection": { - "line": 43, - "lineCount": 10, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 2, - "N2": 4, - "programLength": 6, - "programVocabulary": 4, - "volume": 12, - "difficulty": 2, - "effort": 24, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::hasCoverageInCollection" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::render": { - "line": 58, - "lineCount": 17, - "argCount": 2, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 6, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 9, - "N2": 25, - "programLength": 34, - "programVocabulary": 6, - "volume": 87.8887250245193, - "difficulty": 6.25, - "effort": 549.3045314032456, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::render" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderGroupedByClass": { - "line": 81, - "lineCount": 19, - "argCount": 3, - "returnCount": 0, - "variableCount": 6, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 5, - "n2": 11, - "N1": 11, - "N2": 25, - "programLength": 36, - "programVocabulary": 16, - "volume": 144, - "difficulty": 5.6818181818181825, - "effort": 818.1818181818182, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderGroupedByClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::buildRowsForClass": { - "line": 106, - "lineCount": 13, - "argCount": 2, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 4, - "N2": 12, - "programLength": 16, - "programVocabulary": 7, - "volume": 44.91767875292167, - "difficulty": 2.4, - "effort": 107.802429007012, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::buildRowsForClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::getFilenameFromMetrics": { - "line": 123, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 5, - "programLength": 6, - "programVocabulary": 4, - "volume": 12, - "difficulty": 0.8333333333333334, - "effort": 10, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::getFilenameFromMetrics" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderAllMethodsInSingleTable": { - "line": 136, - "lineCount": 12, - "argCount": 3, - "returnCount": 0, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 6, - "N2": 15, - "programLength": 21, - "programVocabulary": 11, - "volume": 72.64806399138324, - "difficulty": 4.285714285714286, - "effort": 311.34884567735673, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderAllMethodsInSingleTable" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::buildRowsForSingleTable": { - "line": 154, - "lineCount": 13, - "argCount": 2, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 4, - "N2": 12, - "programLength": 16, - "programVocabulary": 7, - "volume": 44.91767875292167, - "difficulty": 2.4, - "effort": 107.802429007012, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::buildRowsForSingleTable" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderTableCommon": { - "line": 173, - "lineCount": 19, - "argCount": 4, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 8, - "N1": 7, - "N2": 19, - "programLength": 26, - "programVocabulary": 10, - "volume": 86.37013046707142, - "difficulty": 2.375, - "effort": 205.1290598592946, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderTableCommon" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderTable": { - "line": 196, - "lineCount": 13, - "argCount": 4, - "returnCount": 0, - "variableCount": 3, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 7, - "N1": 4, - "N2": 14, - "programLength": 18, - "programVocabulary": 9, - "volume": 57.05865002596162, - "difficulty": 2, - "effort": 114.11730005192324, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderTable" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderSingleTable": { - "line": 213, - "lineCount": 11, - "argCount": 3, - "returnCount": 0, - "variableCount": 3, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 6, - "N1": 4, - "N2": 12, - "programLength": 16, - "programVocabulary": 8, - "volume": 48, - "difficulty": 2, - "effort": 96, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderSingleTable" - } - } - }, - "ignored_items": [], - "cached_at": 1759967602 -} \ No newline at end of file diff --git a/.phpcca.cache/cb/cb3b44df4ae490f35e8727bc6b05c092.cache b/.phpcca.cache/cb/cb3b44df4ae490f35e8727bc6b05c092.cache deleted file mode 100644 index 40989ba..0000000 --- a/.phpcca.cache/cb/cb3b44df4ae490f35e8727bc6b05c092.cache +++ /dev/null @@ -1,658 +0,0 @@ -{ - "version": "1.0", - "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/Business\/Churn\/Exporter\/CsvExporter.php", - "file_mtime": 1759784766, - "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", - "analysis_result": { - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct": { - "line": 60, - "lineCount": 5, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 1, - "N1": 2, - "N2": 2, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 2, - "effort": 12.679700005769249, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices": { - "line": 66, - "lineCount": 95, - "argCount": 0, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 5, - "N1": 58, - "N2": 32, - "programLength": 90, - "programVocabulary": 9, - "volume": 285.2932501298081, - "difficulty": 12.8, - "effort": 3651.7536016615436, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap": { - "line": 162, - "lineCount": 10, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 7, - "N2": 7, - "programLength": 14, - "programVocabulary": 2, - "volume": 14, - "difficulty": 3.5, - "effort": 49, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors": { - "line": 173, - "lineCount": 12, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 3, - "N2": 1, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0.5, - "effort": 2, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus": { - "line": 186, - "lineCount": 19, - "argCount": 0, - "returnCount": 0, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 9, - "N2": 13, - "programLength": 22, - "programVocabulary": 7, - "volume": 61.76180828526729, - "difficulty": 2.6, - "effort": 160.58070154169496, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService": { - "line": 206, - "lineCount": 9, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 3, - "N2": 1, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0.5, - "effort": 2, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade": { - "line": 216, - "lineCount": 13, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 3, - "N2": 1, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0.5, - "effort": 2, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands": { - "line": 230, - "lineCount": 21, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 6, - "N2": 2, - "programLength": 8, - "programVocabulary": 2, - "volume": 8, - "difficulty": 1, - "effort": 8, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication": { - "line": 252, - "lineCount": 11, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 5, - "N2": 4, - "programLength": 9, - "programVocabulary": 4, - "volume": 18, - "difficulty": 0.6666666666666666, - "effort": 12, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run": { - "line": 264, - "lineCount": 9, - "argCount": 0, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 5, - "N2": 5, - "programLength": 10, - "programVocabulary": 4, - "volume": 20, - "difficulty": 2.5, - "effort": 50, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get": { - "line": 274, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer": { - "line": 279, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator": { - "line": 289, - "lineCount": 16, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 7, - "programLength": 8, - "programVocabulary": 4, - "volume": 16, - "difficulty": 1.1666666666666667, - "effort": 18.666666666666668, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create": { - "line": 18, - "lineCount": 7, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 4, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile": { - "line": 17, - "lineCount": 17, - "argCount": 2, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 8, - "N1": 11, - "N2": 19, - "programLength": 30, - "programVocabulary": 11, - "volume": 103.78294855911892, - "difficulty": 3.5625, - "effort": 369.72675424186116, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode": { - "line": 42, - "lineCount": 8, - "argCount": 3, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 3, - "N2": 8, - "programLength": 11, - "programVocabulary": 8, - "volume": 33, - "difficulty": 2.4000000000000004, - "effort": 79.20000000000002, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate": { - "line": 22, - "lineCount": 10, - "argCount": 2, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 6, - "N2": 13, - "programLength": 19, - "programVocabulary": 6, - "volume": 49.11428751370197, - "difficulty": 3.25, - "effort": 159.6214344195314, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending": { - "line": 37, - "lineCount": 8, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 2, - "N2": 9, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 2.25, - "effort": 63.97782189284862, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn": { - "line": 51, - "lineCount": 24, - "argCount": 2, - "returnCount": 1, - "variableCount": 6, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 15, - "N1": 17, - "N2": 46, - "programLength": 63, - "programVocabulary": 20, - "volume": 272.28146997790384, - "difficulty": 7.666666666666667, - "effort": 2087.491269830596, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses": { - "line": 81, - "lineCount": 20, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 2, - "n2": 7, - "N1": 10, - "N2": 24, - "programLength": 34, - "programVocabulary": 9, - "volume": 107.7774500490386, - "difficulty": 3.4285714285714284, - "effort": 369.52268588241805, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass": { - "line": 109, - "lineCount": 9, - "argCount": 2, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 6, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 10, - "volume": 49.82892142331043, - "difficulty": 3.3333333333333335, - "effort": 166.09640474436813, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel": { - "line": 126, - "lineCount": 16, - "argCount": 2, - "returnCount": 4, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 12, - "N1": 9, - "N2": 18, - "programLength": 27, - "programVocabulary": 15, - "volume": 105.48604608143, - "difficulty": 2.25, - "effort": 237.3436036832175, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile": { - "line": 14, - "lineCount": 6, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 2, - "N2": 5, - "programLength": 7, - "programVocabulary": 4, - "volume": 14, - "difficulty": 2.5, - "effort": 35, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable": { - "line": 24, - "lineCount": 11, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 10, - "N2": 12, - "programLength": 22, - "programVocabulary": 8, - "volume": 66, - "difficulty": 6, - "effort": 396, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create": { - "line": 21, - "lineCount": 11, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 7, - "N1": 0, - "N2": 9, - "programLength": 9, - "programVocabulary": 7, - "volume": 25.26619429851844, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes": { - "line": 38, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 6, - "N1": 0, - "N2": 6, - "programLength": 6, - "programVocabulary": 6, - "volume": 15.509775004326936, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported": { - "line": 49, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 2, - "N2": 3, - "programLength": 5, - "programVocabulary": 4, - "volume": 10, - "difficulty": 1.5, - "effort": 15, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export": { - "line": 30, - "lineCount": 23, - "argCount": 2, - "returnCount": 0, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 2, - "risk_level": "low" - }, - "halstead": { - "n1": 4, - "n2": 16, - "N1": 10, - "N2": 33, - "programLength": 43, - "programVocabulary": 20, - "volume": 185.8429080801566, - "difficulty": 4.125, - "effort": 766.601995830646, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export" - } - } - }, - "ignored_items": [], - "cached_at": 1759967600 -} \ No newline at end of file diff --git a/.phpcca.cache/cd/cdf68c5a56114e41271670e6c89ecff2.cache b/.phpcca.cache/cd/cdf68c5a56114e41271670e6c89ecff2.cache deleted file mode 100644 index b722810..0000000 --- a/.phpcca.cache/cd/cdf68c5a56114e41271670e6c89ecff2.cache +++ /dev/null @@ -1,4771 +0,0 @@ -{ - "version": "1.0", - "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/Business\/Cognitive\/FindMetricsPluginInterface.php", - "file_mtime": 1752612112, - "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", - "analysis_result": { - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct": { - "line": 60, - "lineCount": 5, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 1, - "N1": 2, - "N2": 2, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 2, - "effort": 12.679700005769249, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices": { - "line": 66, - "lineCount": 95, - "argCount": 0, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 5, - "N1": 58, - "N2": 32, - "programLength": 90, - "programVocabulary": 9, - "volume": 285.2932501298081, - "difficulty": 12.8, - "effort": 3651.7536016615436, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap": { - "line": 162, - "lineCount": 10, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 7, - "N2": 7, - "programLength": 14, - "programVocabulary": 2, - "volume": 14, - "difficulty": 3.5, - "effort": 49, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors": { - "line": 173, - "lineCount": 12, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 3, - "N2": 1, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0.5, - "effort": 2, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus": { - "line": 186, - "lineCount": 19, - "argCount": 0, - "returnCount": 0, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 9, - "N2": 13, - "programLength": 22, - "programVocabulary": 7, - "volume": 61.76180828526729, - "difficulty": 2.6, - "effort": 160.58070154169496, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService": { - "line": 206, - "lineCount": 9, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 3, - "N2": 1, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0.5, - "effort": 2, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade": { - "line": 216, - "lineCount": 13, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 3, - "N2": 1, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0.5, - "effort": 2, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands": { - "line": 230, - "lineCount": 21, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 6, - "N2": 2, - "programLength": 8, - "programVocabulary": 2, - "volume": 8, - "difficulty": 1, - "effort": 8, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication": { - "line": 252, - "lineCount": 11, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 5, - "N2": 4, - "programLength": 9, - "programVocabulary": 4, - "volume": 18, - "difficulty": 0.6666666666666666, - "effort": 12, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run": { - "line": 264, - "lineCount": 9, - "argCount": 0, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 5, - "N2": 5, - "programLength": 10, - "programVocabulary": 4, - "volume": 20, - "difficulty": 2.5, - "effort": 50, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get": { - "line": 274, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer": { - "line": 279, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator": { - "line": 289, - "lineCount": 16, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 7, - "programLength": 8, - "programVocabulary": 4, - "volume": 16, - "difficulty": 1.1666666666666667, - "effort": 18.666666666666668, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create": { - "line": 18, - "lineCount": 7, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 4, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile": { - "line": 17, - "lineCount": 17, - "argCount": 2, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 8, - "N1": 11, - "N2": 19, - "programLength": 30, - "programVocabulary": 11, - "volume": 103.78294855911892, - "difficulty": 3.5625, - "effort": 369.72675424186116, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode": { - "line": 42, - "lineCount": 8, - "argCount": 3, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 3, - "N2": 8, - "programLength": 11, - "programVocabulary": 8, - "volume": 33, - "difficulty": 2.4000000000000004, - "effort": 79.20000000000002, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate": { - "line": 22, - "lineCount": 10, - "argCount": 2, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 6, - "N2": 13, - "programLength": 19, - "programVocabulary": 6, - "volume": 49.11428751370197, - "difficulty": 3.25, - "effort": 159.6214344195314, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending": { - "line": 37, - "lineCount": 8, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 2, - "N2": 9, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 2.25, - "effort": 63.97782189284862, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn": { - "line": 51, - "lineCount": 24, - "argCount": 2, - "returnCount": 1, - "variableCount": 6, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 15, - "N1": 17, - "N2": 46, - "programLength": 63, - "programVocabulary": 20, - "volume": 272.28146997790384, - "difficulty": 7.666666666666667, - "effort": 2087.491269830596, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses": { - "line": 81, - "lineCount": 20, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 2, - "n2": 7, - "N1": 10, - "N2": 24, - "programLength": 34, - "programVocabulary": 9, - "volume": 107.7774500490386, - "difficulty": 3.4285714285714284, - "effort": 369.52268588241805, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass": { - "line": 109, - "lineCount": 9, - "argCount": 2, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 6, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 10, - "volume": 49.82892142331043, - "difficulty": 3.3333333333333335, - "effort": 166.09640474436813, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel": { - "line": 126, - "lineCount": 16, - "argCount": 2, - "returnCount": 4, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 12, - "N1": 9, - "N2": 18, - "programLength": 27, - "programVocabulary": 15, - "volume": 105.48604608143, - "difficulty": 2.25, - "effort": 237.3436036832175, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile": { - "line": 14, - "lineCount": 6, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 2, - "N2": 5, - "programLength": 7, - "programVocabulary": 4, - "volume": 14, - "difficulty": 2.5, - "effort": 35, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable": { - "line": 24, - "lineCount": 11, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 10, - "N2": 12, - "programLength": 22, - "programVocabulary": 8, - "volume": 66, - "difficulty": 6, - "effort": 396, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create": { - "line": 21, - "lineCount": 11, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 7, - "N1": 0, - "N2": 9, - "programLength": 9, - "programVocabulary": 7, - "volume": 25.26619429851844, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes": { - "line": 38, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 6, - "N1": 0, - "N2": 6, - "programLength": 6, - "programVocabulary": 6, - "volume": 15.509775004326936, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported": { - "line": 49, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 2, - "N2": 3, - "programLength": 5, - "programVocabulary": 4, - "volume": 10, - "difficulty": 1.5, - "effort": 15, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export": { - "line": 30, - "lineCount": 23, - "argCount": 2, - "returnCount": 0, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 16, - "N1": 10, - "N2": 33, - "programLength": 43, - "programVocabulary": 20, - "volume": 185.8429080801566, - "difficulty": 4.125, - "effort": 766.601995830646, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export": { - "line": 28, - "lineCount": 8, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 6, - "volume": 36.18947501009619, - "difficulty": 2.5, - "effort": 90.47368752524048, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape": { - "line": 37, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber": { - "line": 42, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml": { - "line": 52, - "lineCount": 50, - "argCount": 1, - "returnCount": 1, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 12, - "N1": 11, - "N2": 25, - "programLength": 36, - "programVocabulary": 17, - "volume": 147.14866228501222, - "difficulty": 5.208333333333334, - "effort": 766.3992827344388, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export": { - "line": 17, - "lineCount": 13, - "argCount": 2, - "returnCount": 0, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 8, - "N1": 7, - "N2": 14, - "programLength": 21, - "programVocabulary": 12, - "volume": 75.28421251514428, - "difficulty": 3.5, - "effort": 263.49474380300495, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export": { - "line": 48, - "lineCount": 8, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 6, - "volume": 36.18947501009619, - "difficulty": 2.5, - "effort": 90.47368752524048, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown": { - "line": 61, - "lineCount": 24, - "argCount": 1, - "returnCount": 1, - "variableCount": 6, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 6, - "n2": 16, - "N1": 19, - "N2": 41, - "programLength": 60, - "programVocabulary": 22, - "volume": 267.56589711823784, - "difficulty": 7.6875, - "effort": 2056.9128340964535, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow": { - "line": 94, - "lineCount": 21, - "argCount": 3, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 7, - "n2": 18, - "N1": 16, - "N2": 39, - "programLength": 55, - "programVocabulary": 25, - "volume": 255.41209043760983, - "difficulty": 7.583333333333333, - "effort": 1936.8750191518745, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::__construct": { - "line": 26, - "lineCount": 4, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::export": { - "line": 36, - "lineCount": 10, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 8, - "volume": 45, - "difficulty": 5, - "effort": 225, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::generateSvgTreemap": { - "line": 53, - "lineCount": 20, - "argCount": 1, - "returnCount": 1, - "variableCount": 6, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 8, - "N1": 9, - "N2": 20, - "programLength": 29, - "programVocabulary": 10, - "volume": 96.3359147517335, - "difficulty": 2.5, - "effort": 240.83978687933376, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::generateSvgTreemap" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRects": { - "line": 82, - "lineCount": 10, - "argCount": 3, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 9, - "N1": 6, - "N2": 18, - "programLength": 24, - "programVocabulary": 12, - "volume": 86.03910001730775, - "difficulty": 3, - "effort": 258.1173000519232, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRects" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRect": { - "line": 100, - "lineCount": 29, - "argCount": 2, - "returnCount": 1, - "variableCount": 12, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 6, - "n2": 28, - "N1": 26, - "N2": 54, - "programLength": 80, - "programVocabulary": 34, - "volume": 406.9970273000271, - "difficulty": 5.785714285714286, - "effort": 2354.7685150930142, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRect" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::wrapSvg": { - "line": 136, - "lineCount": 21, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 2, - "N2": 8, - "programLength": 10, - "programVocabulary": 4, - "volume": 20, - "difficulty": 1.3333333333333333, - "effort": 26.666666666666664, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::wrapSvg" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::prepareItems": { - "line": 28, - "lineCount": 18, - "argCount": 1, - "returnCount": 1, - "variableCount": 7, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 12, - "N1": 9, - "N2": 30, - "programLength": 39, - "programVocabulary": 17, - "volume": 159.41105080876324, - "difficulty": 6.25, - "effort": 996.3190675547702, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::prepareItems" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findScoreRange": { - "line": 53, - "lineCount": 16, - "argCount": 1, - "returnCount": 3, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 7, - "N2": 13, - "programLength": 20, - "programVocabulary": 8, - "volume": 60, - "difficulty": 3.9000000000000004, - "effort": 234.00000000000003, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findScoreRange" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::normalizeScore": { - "line": 78, - "lineCount": 8, - "argCount": 3, - "returnCount": 2, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 8, - "volume": 45, - "difficulty": 5, - "effort": 225, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::normalizeScore" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::scoreToColor": { - "line": 93, - "lineCount": 9, - "argCount": 1, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 5, - "n2": 9, - "N1": 12, - "N2": 16, - "programLength": 28, - "programVocabulary": 14, - "volume": 106.60593781761291, - "difficulty": 4.444444444444445, - "effort": 473.80416807827964, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::scoreToColor" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::calculateTreemapLayout": { - "line": 115, - "lineCount": 23, - "argCount": 7, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 9, - "N1": 2, - "N2": 18, - "programLength": 20, - "programVocabulary": 11, - "volume": 69.18863237274594, - "difficulty": 2, - "effort": 138.37726474549189, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::calculateTreemapLayout" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::layoutTreemap": { - "line": 152, - "lineCount": 89, - "argCount": 8, - "returnCount": 3, - "variableCount": 11, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 8, - "n2": 28, - "N1": 32, - "N2": 98, - "programLength": 130, - "programVocabulary": 36, - "volume": 672.0902501875006, - "difficulty": 14, - "effort": 9409.263502625008, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::layoutTreemap" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findSplitIndex": { - "line": 249, - "lineCount": 13, - "argCount": 2, - "returnCount": 2, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 7, - "n2": 10, - "N1": 9, - "N2": 23, - "programLength": 32, - "programVocabulary": 17, - "volume": 130.79881092001085, - "difficulty": 8.049999999999999, - "effort": 1052.9304279060873, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findSplitIndex" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::__construct": { - "line": 23, - "lineCount": 18, - "argCount": 1, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 7, - "N2": 11, - "programLength": 18, - "programVocabulary": 6, - "volume": 46.529325012980806, - "difficulty": 5.5, - "effort": 255.91128757139444, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::getAllClasses": { - "line": 47, - "lineCount": 17, - "argCount": 0, - "returnCount": 2, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 6, - "N2": 12, - "programLength": 18, - "programVocabulary": 9, - "volume": 57.05865002596162, - "difficulty": 3, - "effort": 171.17595007788486, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::getAllClasses" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::withClassNode": { - "line": 73, - "lineCount": 8, - "argCount": 2, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 4, - "N2": 8, - "programLength": 12, - "programVocabulary": 8, - "volume": 36, - "difficulty": 4, - "effort": 144, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::withClassNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::findClassNode": { - "line": 85, - "lineCount": 25, - "argCount": 1, - "returnCount": 4, - "variableCount": 5, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 13, - "N2": 29, - "programLength": 42, - "programVocabulary": 11, - "volume": 145.29612798276648, - "difficulty": 8.285714285714286, - "effort": 1203.8822032857795, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::findClassNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::escapeXPathValue": { - "line": 114, - "lineCount": 16, - "argCount": 1, - "returnCount": 3, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 9, - "N1": 11, - "N2": 18, - "programLength": 29, - "programVocabulary": 13, - "volume": 107.31275182609167, - "difficulty": 4, - "effort": 429.2510073043667, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::escapeXPathValue" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getLineCoverage": { - "line": 22, - "lineCount": 18, - "argCount": 1, - "returnCount": 4, - "variableCount": 5, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 9, - "N1": 10, - "N2": 19, - "programLength": 29, - "programVocabulary": 13, - "volume": 107.31275182609167, - "difficulty": 4.222222222222222, - "effort": 453.09828548794263, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getLineCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getBranchCoverage": { - "line": 48, - "lineCount": 18, - "argCount": 1, - "returnCount": 4, - "variableCount": 5, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 9, - "N1": 10, - "N2": 19, - "programLength": 29, - "programVocabulary": 13, - "volume": 107.31275182609167, - "difficulty": 4.222222222222222, - "effort": 453.09828548794263, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getBranchCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getComplexity": { - "line": 73, - "lineCount": 13, - "argCount": 1, - "returnCount": 3, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 7, - "N2": 14, - "programLength": 21, - "programVocabulary": 11, - "volume": 72.64806399138324, - "difficulty": 4, - "effort": 290.59225596553296, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getComplexity" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getCoverageDetails": { - "line": 93, - "lineCount": 26, - "argCount": 1, - "returnCount": 3, - "variableCount": 9, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 17, - "N1": 22, - "N2": 42, - "programLength": 64, - "programVocabulary": 22, - "volume": 285.403623592787, - "difficulty": 6.176470588235294, - "effort": 1762.7870868966259, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getCoverageDetails" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getMetricsNode": { - "line": 123, - "lineCount": 12, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 6, - "N1": 7, - "N2": 13, - "programLength": 20, - "programVocabulary": 10, - "volume": 66.43856189774725, - "difficulty": 4.333333333333333, - "effort": 287.90043489023805, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getMetricsNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getFilenameForClass": { - "line": 139, - "lineCount": 9, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 5, - "N1": 4, - "N2": 9, - "programLength": 13, - "programVocabulary": 9, - "volume": 41.209025018750054, - "difficulty": 3.6, - "effort": 148.3524900675002, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getFilenameForClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodsCoverage": { - "line": 154, - "lineCount": 36, - "argCount": 1, - "returnCount": 3, - "variableCount": 8, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 13, - "N1": 12, - "N2": 30, - "programLength": 42, - "programVocabulary": 16, - "volume": 168, - "difficulty": 3.4615384615384612, - "effort": 581.5384615384614, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodsCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::calculateMethodCoverage": { - "line": 194, - "lineCount": 15, - "argCount": 2, - "returnCount": 2, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 11, - "N1": 9, - "N2": 23, - "programLength": 32, - "programVocabulary": 16, - "volume": 128, - "difficulty": 5.227272727272727, - "effort": 669.090909090909, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::calculateMethodCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodCoverageFromLines": { - "line": 215, - "lineCount": 36, - "argCount": 2, - "returnCount": 1, - "variableCount": 7, - "propertyCallCount": 0, - "ifNestingLevel": 2, - "elseCount": 0, - "ifCount": 5, - "halstead": { - "n1": 2, - "n2": 14, - "N1": 12, - "N2": 35, - "programLength": 47, - "programVocabulary": 16, - "volume": 188, - "difficulty": 2.5, - "effort": 470, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodCoverageFromLines" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStart": { - "line": 252, - "lineCount": 4, - "argCount": 3, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 3, - "N2": 7, - "programLength": 10, - "programVocabulary": 6, - "volume": 25.84962500721156, - "difficulty": 1.75, - "effort": 45.23684376262023, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStart" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodEnd": { - "line": 257, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 5, - "programLength": 7, - "programVocabulary": 5, - "volume": 16.253496664211536, - "difficulty": 1.6666666666666667, - "effort": 27.089161107019226, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodEnd" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStatement": { - "line": 262, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 5, - "programLength": 7, - "programVocabulary": 5, - "volume": 16.253496664211536, - "difficulty": 1.6666666666666667, - "effort": 27.089161107019226, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStatement" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isStatementCovered": { - "line": 267, - "lineCount": 5, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 4, - "N1": 3, - "N2": 6, - "programLength": 9, - "programVocabulary": 7, - "volume": 25.26619429851844, - "difficulty": 2.25, - "effort": 56.848937171666485, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isStatementCovered" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getLineCoverage": { - "line": 20, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 9, - "volume": 44.37895002019237, - "difficulty": 2.5, - "effort": 110.94737505048093, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getLineCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getBranchCoverage": { - "line": 34, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 9, - "volume": 44.37895002019237, - "difficulty": 2.5, - "effort": 110.94737505048093, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getBranchCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getComplexity": { - "line": 48, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 9, - "volume": 44.37895002019237, - "difficulty": 2.5, - "effort": 110.94737505048093, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getComplexity" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getCoverageDetails": { - "line": 62, - "lineCount": 13, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 8, - "N1": 7, - "N2": 16, - "programLength": 23, - "programVocabulary": 9, - "volume": 72.90827503317318, - "difficulty": 1, - "effort": 72.90827503317318, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getCoverageDetails" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::extractMethodsCoverage": { - "line": 81, - "lineCount": 23, - "argCount": 1, - "returnCount": 2, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 11, - "N1": 10, - "N2": 23, - "programLength": 33, - "programVocabulary": 14, - "volume": 125.64271242790093, - "difficulty": 3.1363636363636362, - "effort": 394.061234432962, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::extractMethodsCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CodeCoverageFactory::createFromName": { - "line": 14, - "lineCount": 8, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 4, - "N1": 1, - "N2": 8, - "programLength": 9, - "programVocabulary": 5, - "volume": 20.89735285398626, - "difficulty": 1, - "effort": 20.89735285398626, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CodeCoverageFactory::createFromName" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::__construct": { - "line": 28, - "lineCount": 15, - "argCount": 6, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 6, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 7, - "N1": 6, - "N2": 18, - "programLength": 24, - "programVocabulary": 8, - "volume": 72, - "difficulty": 1.2857142857142858, - "effort": 92.57142857142858, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getName": { - "line": 44, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getName" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getFilename": { - "line": 49, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getFilename" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getLineRate": { - "line": 54, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getLineRate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getBranchRate": { - "line": 59, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getBranchRate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getComplexity": { - "line": 64, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getComplexity" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getMethods": { - "line": 72, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getMethods" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::__construct": { - "line": 17, - "lineCount": 11, - "argCount": 4, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 4, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 5, - "N1": 4, - "N2": 12, - "programLength": 16, - "programVocabulary": 6, - "volume": 41.3594000115385, - "difficulty": 1.2, - "effort": 49.631280013846194, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getName": { - "line": 29, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getName" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getLineRate": { - "line": 34, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getLineRate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getBranchRate": { - "line": 39, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getBranchRate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getComplexity": { - "line": 44, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getComplexity" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::calculateDeltas": { - "line": 19, - "lineCount": 14, - "argCount": 2, - "returnCount": 0, - "variableCount": 6, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 9, - "N1": 4, - "N2": 18, - "programLength": 22, - "programVocabulary": 11, - "volume": 76.10749561002054, - "difficulty": 2, - "effort": 152.21499122004107, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::calculateDeltas" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::loadBaseline": { - "line": 41, - "lineCount": 13, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 5, - "N2": 9, - "programLength": 14, - "programVocabulary": 8, - "volume": 42, - "difficulty": 2.7, - "effort": 113.4, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::loadBaseline" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::__construct": { - "line": 72, - "lineCount": 21, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 6, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 9, - "N1": 12, - "N2": 34, - "programLength": 46, - "programVocabulary": 12, - "volume": 164.90827503317317, - "difficulty": 5.666666666666666, - "effort": 934.4802251879812, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setRequiredMetricProperties": { - "line": 98, - "lineCount": 30, - "argCount": 1, - "returnCount": 0, - "variableCount": 6, - "propertyCallCount": 9, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 21, - "N1": 21, - "N2": 51, - "programLength": 72, - "programVocabulary": 24, - "volume": 330.1173000519232, - "difficulty": 3.6428571428571423, - "effort": 1202.570164474863, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setRequiredMetricProperties" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setOptionalMetricProperties": { - "line": 133, - "lineCount": 12, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 8, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 11, - "N1": 16, - "N2": 33, - "programLength": 49, - "programVocabulary": 13, - "volume": 181.32154618891352, - "difficulty": 3, - "effort": 543.9646385667405, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setOptionalMetricProperties" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setTimesChanged": { - "line": 146, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setTimesChanged" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertSame": { - "line": 151, - "lineCount": 14, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 6, - "N2": 8, - "programLength": 14, - "programVocabulary": 5, - "volume": 32.50699332842307, - "difficulty": 2.6666666666666665, - "effort": 86.68531554246152, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertSame" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::calculateDeltas": { - "line": 169, - "lineCount": 13, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 16, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 17, - "N2": 27, - "programLength": 44, - "programVocabulary": 4, - "volume": 88, - "difficulty": 13.5, - "effort": 1188, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::calculateDeltas" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::fromArray": { - "line": 187, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::fromArray" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertArrayKeyIsPresent": { - "line": 197, - "lineCount": 6, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 5, - "programLength": 5, - "programVocabulary": 2, - "volume": 5, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertArrayKeyIsPresent" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getClass": { - "line": 204, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getMethod": { - "line": 209, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getMethod" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCount": { - "line": 214, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCount": { - "line": 219, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCount": { - "line": 224, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCount": { - "line": 229, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCount": { - "line": 234, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCount": { - "line": 239, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevel": { - "line": 244, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevel" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCount": { - "line": 249, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeight": { - "line": 254, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setLineCountWeight": { - "line": 259, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setLineCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeight": { - "line": 264, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setArgCountWeight": { - "line": 269, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setArgCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeight": { - "line": 274, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setReturnCountWeight": { - "line": 279, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setReturnCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeight": { - "line": 284, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setVariableCountWeight": { - "line": 289, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setVariableCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeight": { - "line": 294, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setPropertyCallCountWeight": { - "line": 299, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setPropertyCallCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeight": { - "line": 304, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfCountWeight": { - "line": 309, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeight": { - "line": 314, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfNestingLevelWeight": { - "line": 319, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfNestingLevelWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeight": { - "line": 324, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setElseCountWeight": { - "line": 329, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setElseCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setScore": { - "line": 334, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setScore" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getScore": { - "line": 339, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getScore" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setCoverage": { - "line": 344, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCoverage": { - "line": 349, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeightDelta": { - "line": 354, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeightDelta": { - "line": 359, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeightDelta": { - "line": 364, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeightDelta": { - "line": 369, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeightDelta": { - "line": 374, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeightDelta": { - "line": 379, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeightDelta": { - "line": 384, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeightDelta": { - "line": 389, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getTimesChanged": { - "line": 394, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 2, - "programLength": 3, - "programVocabulary": 3, - "volume": 4.754887502163468, - "difficulty": 0.5, - "effort": 2.377443751081734, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getTimesChanged" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getFileName": { - "line": 399, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getFileName" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLine": { - "line": 404, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLine" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::equals": { - "line": 409, - "lineCount": 5, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 2, - "N1": 5, - "N2": 5, - "programLength": 10, - "programVocabulary": 5, - "volume": 23.21928094887362, - "difficulty": 3.75, - "effort": 87.07230355827608, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::equals" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::toArray": { - "line": 418, - "lineCount": 34, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 29, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 30, - "N1": 0, - "N2": 58, - "programLength": 58, - "programVocabulary": 30, - "volume": 284.5996545452941, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::toArray" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::jsonSerialize": { - "line": 456, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::jsonSerialize" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getHalstead": { - "line": 464, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getHalstead" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCyclomatic": { - "line": 472, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCyclomatic" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::add": { - "line": 30, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 5, - "N2": 6, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 3, - "effort": 85.30376252379816, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::add" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filter": { - "line": 40, - "lineCount": 11, - "argCount": 1, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 8, - "volume": 42, - "difficulty": 3, - "effort": 126, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filter" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getIterator": { - "line": 57, - "lineCount": 5, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getIterator" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::count": { - "line": 66, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::count" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterWithScoreGreaterThan": { - "line": 71, - "lineCount": 6, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 3, - "N2": 6, - "programLength": 9, - "programVocabulary": 5, - "volume": 20.89735285398626, - "difficulty": 2, - "effort": 41.79470570797252, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterWithScoreGreaterThan" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::contains": { - "line": 78, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 4, - "N2": 5, - "programLength": 9, - "programVocabulary": 5, - "volume": 20.89735285398626, - "difficulty": 1.6666666666666667, - "effort": 34.82892142331043, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::contains" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getClassWithMethod": { - "line": 83, - "lineCount": 9, - "argCount": 2, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 3, - "N2": 10, - "programLength": 13, - "programVocabulary": 7, - "volume": 36.49561398674886, - "difficulty": 2, - "effort": 72.99122797349771, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getClassWithMethod" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterByClassName": { - "line": 93, - "lineCount": 6, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 3, - "N2": 6, - "programLength": 9, - "programVocabulary": 5, - "volume": 20.89735285398626, - "difficulty": 2, - "effort": 41.79470570797252, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterByClassName" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::assertMetricHasGetter": { - "line": 100, - "lineCount": 9, - "argCount": 3, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 6, - "programLength": 7, - "programVocabulary": 4, - "volume": 14, - "difficulty": 1, - "effort": 14, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::assertMetricHasGetter" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::groupBy": { - "line": 117, - "lineCount": 20, - "argCount": 1, - "returnCount": 1, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 10, - "N2": 23, - "programLength": 33, - "programVocabulary": 11, - "volume": 114.16124341503081, - "difficulty": 6.571428571428571, - "effort": 750.2024567273453, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::groupBy" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::jsonSerialize": { - "line": 141, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::jsonSerialize" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::__construct": { - "line": 32, - "lineCount": 8, - "argCount": 5, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 5, - "N1": 0, - "N2": 5, - "programLength": 5, - "programVocabulary": 5, - "volume": 11.60964047443681, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collect": { - "line": 49, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 5, - "programLength": 6, - "programVocabulary": 4, - "volume": 12, - "difficulty": 0.8333333333333334, - "effort": 10, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collect" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collectFromPaths": { - "line": 62, - "lineCount": 13, - "argCount": 2, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 8, - "N2": 16, - "programLength": 24, - "programVocabulary": 9, - "volume": 76.07820003461549, - "difficulty": 4, - "effort": 304.31280013846197, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collectFromPaths" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCodeFromFile": { - "line": 79, - "lineCount": 10, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 2, - "N1": 5, - "N2": 6, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 6, - "effort": 170.6075250475963, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCodeFromFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findMetrics": { - "line": 98, - "lineCount": 31, - "argCount": 1, - "returnCount": 1, - "variableCount": 9, - "propertyCallCount": 2, - "ifNestingLevel": 2, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 13, - "N1": 18, - "N2": 38, - "programLength": 56, - "programVocabulary": 16, - "volume": 224, - "difficulty": 4.384615384615384, - "effort": 982.1538461538461, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findMetrics" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processMethodMetrics": { - "line": 136, - "lineCount": 29, - "argCount": 3, - "returnCount": 1, - "variableCount": 7, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 14, - "N1": 8, - "N2": 27, - "programLength": 35, - "programVocabulary": 17, - "volume": 143.06119944376186, - "difficulty": 2.892857142857143, - "effort": 413.8556126765968, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processMethodMetrics" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::isExcluded": { - "line": 166, - "lineCount": 12, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 5, - "N1": 5, - "N2": 9, - "programLength": 14, - "programVocabulary": 9, - "volume": 44.37895002019237, - "difficulty": 3.6, - "effort": 159.76422007269252, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::isExcluded" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findSourceFiles": { - "line": 187, - "lineCount": 7, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 2, - "N2": 6, - "programLength": 8, - "programVocabulary": 6, - "volume": 20.67970000576925, - "difficulty": 1.5, - "effort": 31.019550008653873, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findSourceFiles" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getProjectRoot": { - "line": 202, - "lineCount": 13, - "argCount": 0, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 2, - "N1": 8, - "N2": 8, - "programLength": 16, - "programVocabulary": 6, - "volume": 41.3594000115385, - "difficulty": 8, - "effort": 330.875200092308, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getProjectRoot" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateCacheKey": { - "line": 219, - "lineCount": 7, - "argCount": 2, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 6, - "N1": 10, - "N2": 12, - "programLength": 22, - "programVocabulary": 10, - "volume": 73.08241808752197, - "difficulty": 4, - "effort": 292.3296723500879, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateCacheKey" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateConfigHash": { - "line": 230, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 1, - "N1": 3, - "N2": 2, - "programLength": 5, - "programVocabulary": 3, - "volume": 7.92481250360578, - "difficulty": 2, - "effort": 15.84962500721156, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateConfigHash" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::cacheResult": { - "line": 239, - "lineCount": 14, - "argCount": 4, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 13, - "N1": 5, - "N2": 20, - "programLength": 25, - "programVocabulary": 15, - "volume": 97.67226489021297, - "difficulty": 1.5384615384615385, - "effort": 150.26502290801997, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::cacheResult" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::clearCache": { - "line": 254, - "lineCount": 4, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::clearCache" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::normalizeFilename": { - "line": 264, - "lineCount": 15, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 6, - "n2": 7, - "N1": 12, - "N2": 16, - "programLength": 28, - "programVocabulary": 13, - "volume": 103.61231210795059, - "difficulty": 6.857142857142857, - "effort": 710.4844258830897, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::normalizeFilename" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCachedMetrics": { - "line": 286, - "lineCount": 19, - "argCount": 3, - "returnCount": 3, - "variableCount": 4, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 11, - "N1": 10, - "N2": 29, - "programLength": 39, - "programVocabulary": 14, - "volume": 148.48684196024655, - "difficulty": 3.954545454545454, - "effort": 587.1979659337022, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCachedMetrics" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processFile": { - "line": 312, - "lineCount": 37, - "argCount": 5, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 7, - "n2": 10, - "N1": 12, - "N2": 28, - "programLength": 40, - "programVocabulary": 17, - "volume": 163.49851365001356, - "difficulty": 9.799999999999999, - "effort": 1602.2854337701328, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::sort": { - "line": 51, - "lineCount": 41, - "argCount": 3, - "returnCount": 2, - "variableCount": 10, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 18, - "N1": 20, - "N2": 43, - "programLength": 63, - "programVocabulary": 22, - "volume": 280.9441919741497, - "difficulty": 4.777777777777778, - "effort": 1342.2889172098264, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::sort" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getFieldValue": { - "line": 100, - "lineCount": 28, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 25, - "N1": 24, - "N2": 50, - "programLength": 74, - "programVocabulary": 27, - "volume": 351.86167516009664, - "difficulty": 2, - "effort": 703.7233503201933, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getFieldValue" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::compareValues": { - "line": 136, - "lineCount": 13, - "argCount": 2, - "returnCount": 3, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 2, - "N1": 9, - "N2": 12, - "programLength": 21, - "programVocabulary": 5, - "volume": 48.760489992634604, - "difficulty": 9, - "effort": 438.8444099337114, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::compareValues" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getSortableFields": { - "line": 155, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 0, - "N1": 0, - "N2": 0, - "programLength": 0, - "programVocabulary": 0, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getSortableFields" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__construct": { - "line": 15, - "lineCount": 11, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 7, - "N2": 12, - "programLength": 19, - "programVocabulary": 6, - "volume": 49.11428751370197, - "difficulty": 6, - "effort": 294.6857250822118, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::getValue": { - "line": 27, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::getValue" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasIncreased": { - "line": 32, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasIncreased" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__toString": { - "line": 37, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__toString" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasNotChanged": { - "line": 42, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 2, - "programLength": 3, - "programVocabulary": 3, - "volume": 4.754887502163468, - "difficulty": 0.5, - "effort": 2.377443751081734, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasNotChanged" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\FileProcessed::__construct": { - "line": 14, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\FileProcessed::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\ParserFailed::__construct": { - "line": 15, - "lineCount": 5, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\ParserFailed::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\SourceFilesFound::__construct": { - "line": 17, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\SourceFilesFound::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::__construct": { - "line": 15, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::create": { - "line": 27, - "lineCount": 10, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 6, - "N1": 0, - "N2": 8, - "programLength": 8, - "programVocabulary": 6, - "volume": 20.67970000576925, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::create" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::getSupportedTypes": { - "line": 43, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 4, - "N1": 0, - "N2": 4, - "programLength": 4, - "programVocabulary": 4, - "volume": 8, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::getSupportedTypes" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::isSupported": { - "line": 54, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 2, - "N2": 3, - "programLength": 5, - "programVocabulary": 4, - "volume": 10, - "difficulty": 1.5, - "effort": 15, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::isSupported" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CsvExporter::export": { - "line": 46, - "lineCount": 57, - "argCount": 2, - "returnCount": 0, - "variableCount": 6, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 15, - "N1": 37, - "N2": 54, - "programLength": 91, - "programVocabulary": 19, - "volume": 386.56140372336625, - "difficulty": 7.2, - "effort": 2783.242106808237, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CsvExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::export": { - "line": 40, - "lineCount": 8, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 5, - "N1": 4, - "N2": 8, - "programLength": 12, - "programVocabulary": 9, - "volume": 38.039100017307746, - "difficulty": 3.2, - "effort": 121.72512005538479, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::escape": { - "line": 49, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::escape" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::formatNumber": { - "line": 54, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::formatNumber" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::generateMetricRow": { - "line": 59, - "lineCount": 12, - "argCount": 3, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 16, - "N1": 19, - "N2": 27, - "programLength": 46, - "programVocabulary": 21, - "volume": 202.04660144782298, - "difficulty": 4.21875, - "effort": 852.3840998580032, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::generateMetricRow" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::generateHtml": { - "line": 78, - "lineCount": 64, - "argCount": 1, - "returnCount": 1, - "variableCount": 7, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 11, - "N1": 46, - "N2": 57, - "programLength": 103, - "programVocabulary": 15, - "volume": 402.40973134767745, - "difficulty": 10.363636363636363, - "effort": 4170.42812487593, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::generateHtml" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\JsonExporter::export": { - "line": 19, - "lineCount": 38, - "argCount": 2, - "returnCount": 0, - "variableCount": 5, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 27, - "N1": 29, - "N2": 58, - "programLength": 87, - "programVocabulary": 32, - "volume": 435, - "difficulty": 5.370370370370371, - "effort": 2336.1111111111113, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\JsonExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::__construct": { - "line": 24, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::export": { - "line": 36, - "lineCount": 8, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 5, - "N1": 4, - "N2": 8, - "programLength": 12, - "programVocabulary": 9, - "volume": 38.039100017307746, - "difficulty": 3.2, - "effort": 121.72512005538479, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::escape": { - "line": 48, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::escape" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateMetricCell": { - "line": 56, - "lineCount": 12, - "argCount": 3, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 12, - "N1": 16, - "N2": 24, - "programLength": 40, - "programVocabulary": 17, - "volume": 163.49851365001356, - "difficulty": 5, - "effort": 817.4925682500678, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateMetricCell" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::filterMetrics": { - "line": 75, - "lineCount": 15, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 4, - "N1": 4, - "N2": 11, - "programLength": 15, - "programVocabulary": 7, - "volume": 42.11032383086406, - "difficulty": 4.125, - "effort": 173.70508580231424, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::filterMetrics" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableHeader": { - "line": 94, - "lineCount": 33, - "argCount": 0, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 4, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 19, - "N1": 10, - "N2": 28, - "programLength": 38, - "programVocabulary": 22, - "volume": 169.4584015082173, - "difficulty": 2.2105263157894735, - "effort": 374.5922559655329, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableHeader" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableHeaderWithClass": { - "line": 131, - "lineCount": 33, - "argCount": 0, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 4, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 20, - "N1": 10, - "N2": 29, - "programLength": 39, - "programVocabulary": 23, - "volume": 176.41891628622352, - "difficulty": 2.175, - "effort": 383.7111429225361, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableHeaderWithClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableSeparator": { - "line": 168, - "lineCount": 20, - "argCount": 0, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 4, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 7, - "N1": 3, - "N2": 16, - "programLength": 19, - "programVocabulary": 10, - "volume": 63.11663380285988, - "difficulty": 3.4285714285714284, - "effort": 216.399887324091, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableSeparator" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableSeparatorWithClass": { - "line": 192, - "lineCount": 20, - "argCount": 0, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 4, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 8, - "N1": 3, - "N2": 16, - "programLength": 19, - "programVocabulary": 11, - "volume": 65.72920075410865, - "difficulty": 3, - "effort": 197.18760226232592, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableSeparatorWithClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableRow": { - "line": 216, - "lineCount": 22, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 6, - "N1": 53, - "N2": 60, - "programLength": 113, - "programVocabulary": 10, - "volume": 375.37787472227194, - "difficulty": 20, - "effort": 7507.557494445438, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableRow" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableRowWithClass": { - "line": 242, - "lineCount": 25, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 6, - "N1": 55, - "N2": 62, - "programLength": 117, - "programVocabulary": 10, - "volume": 388.66558710182136, - "difficulty": 20.666666666666668, - "effort": 8032.422133437642, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableRowWithClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::addHalsteadCells": { - "line": 274, - "lineCount": 20, - "argCount": 2, - "returnCount": 3, - "variableCount": 2, - "propertyCallCount": 5, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 12, - "N2": 24, - "programLength": 36, - "programVocabulary": 8, - "volume": 108, - "difficulty": 7.199999999999999, - "effort": 777.5999999999999, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::addHalsteadCells" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::addCyclomaticCell": { - "line": 301, - "lineCount": 16, - "argCount": 2, - "returnCount": 3, - "variableCount": 2, - "propertyCallCount": 4, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 8, - "N2": 16, - "programLength": 24, - "programVocabulary": 11, - "volume": 83.02635884729514, - "difficulty": 4.571428571428571, - "effort": 379.5490690162063, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::addCyclomaticCell" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateMarkdown": { - "line": 325, - "lineCount": 8, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 2, - "N2": 6, - "programLength": 8, - "programVocabulary": 3, - "volume": 12.679700005769249, - "difficulty": 1.5, - "effort": 19.019550008653873, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateMarkdown" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateGroupedMarkdown": { - "line": 337, - "lineCount": 49, - "argCount": 1, - "returnCount": 1, - "variableCount": 10, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 8, - "n2": 23, - "N1": 33, - "N2": 65, - "programLength": 98, - "programVocabulary": 31, - "volume": 485.5112384179137, - "difficulty": 11.304347826086957, - "effort": 5488.387912550329, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateGroupedMarkdown" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateSingleTableMarkdown": { - "line": 390, - "lineCount": 28, - "argCount": 1, - "returnCount": 1, - "variableCount": 6, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 6, - "n2": 13, - "N1": 19, - "N2": 37, - "programLength": 56, - "programVocabulary": 19, - "volume": 237.88394075284077, - "difficulty": 8.538461538461538, - "effort": 2031.1628787357943, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateSingleTableMarkdown" - } - } - }, - "ignored_items": [], - "cached_at": 1759967601 -} \ No newline at end of file diff --git a/.phpcca.cache/d2/d28d3a271a64ece0b8412a1d7f153085.cache b/.phpcca.cache/d2/d28d3a271a64ece0b8412a1d7f153085.cache deleted file mode 100644 index df5ab06..0000000 --- a/.phpcca.cache/d2/d28d3a271a64ece0b8412a1d7f153085.cache +++ /dev/null @@ -1,3982 +0,0 @@ -{ - "version": "1.0", - "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/Business\/Cognitive\/CognitiveMetricsSorter.php", - "file_mtime": 1757360311, - "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", - "analysis_result": { - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct": { - "line": 60, - "lineCount": 5, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 1, - "N1": 2, - "N2": 2, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 2, - "effort": 12.679700005769249, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices": { - "line": 66, - "lineCount": 95, - "argCount": 0, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 5, - "N1": 58, - "N2": 32, - "programLength": 90, - "programVocabulary": 9, - "volume": 285.2932501298081, - "difficulty": 12.8, - "effort": 3651.7536016615436, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap": { - "line": 162, - "lineCount": 10, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 7, - "N2": 7, - "programLength": 14, - "programVocabulary": 2, - "volume": 14, - "difficulty": 3.5, - "effort": 49, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors": { - "line": 173, - "lineCount": 12, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 3, - "N2": 1, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0.5, - "effort": 2, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus": { - "line": 186, - "lineCount": 19, - "argCount": 0, - "returnCount": 0, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 9, - "N2": 13, - "programLength": 22, - "programVocabulary": 7, - "volume": 61.76180828526729, - "difficulty": 2.6, - "effort": 160.58070154169496, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService": { - "line": 206, - "lineCount": 9, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 3, - "N2": 1, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0.5, - "effort": 2, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade": { - "line": 216, - "lineCount": 13, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 3, - "N2": 1, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0.5, - "effort": 2, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands": { - "line": 230, - "lineCount": 21, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 6, - "N2": 2, - "programLength": 8, - "programVocabulary": 2, - "volume": 8, - "difficulty": 1, - "effort": 8, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication": { - "line": 252, - "lineCount": 11, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 5, - "N2": 4, - "programLength": 9, - "programVocabulary": 4, - "volume": 18, - "difficulty": 0.6666666666666666, - "effort": 12, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run": { - "line": 264, - "lineCount": 9, - "argCount": 0, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 5, - "N2": 5, - "programLength": 10, - "programVocabulary": 4, - "volume": 20, - "difficulty": 2.5, - "effort": 50, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get": { - "line": 274, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer": { - "line": 279, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator": { - "line": 289, - "lineCount": 16, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 7, - "programLength": 8, - "programVocabulary": 4, - "volume": 16, - "difficulty": 1.1666666666666667, - "effort": 18.666666666666668, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create": { - "line": 18, - "lineCount": 7, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 4, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile": { - "line": 17, - "lineCount": 17, - "argCount": 2, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 8, - "N1": 11, - "N2": 19, - "programLength": 30, - "programVocabulary": 11, - "volume": 103.78294855911892, - "difficulty": 3.5625, - "effort": 369.72675424186116, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode": { - "line": 42, - "lineCount": 8, - "argCount": 3, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 3, - "N2": 8, - "programLength": 11, - "programVocabulary": 8, - "volume": 33, - "difficulty": 2.4000000000000004, - "effort": 79.20000000000002, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate": { - "line": 22, - "lineCount": 10, - "argCount": 2, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 6, - "N2": 13, - "programLength": 19, - "programVocabulary": 6, - "volume": 49.11428751370197, - "difficulty": 3.25, - "effort": 159.6214344195314, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending": { - "line": 37, - "lineCount": 8, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 2, - "N2": 9, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 2.25, - "effort": 63.97782189284862, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn": { - "line": 51, - "lineCount": 24, - "argCount": 2, - "returnCount": 1, - "variableCount": 6, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 15, - "N1": 17, - "N2": 46, - "programLength": 63, - "programVocabulary": 20, - "volume": 272.28146997790384, - "difficulty": 7.666666666666667, - "effort": 2087.491269830596, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses": { - "line": 81, - "lineCount": 20, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 2, - "n2": 7, - "N1": 10, - "N2": 24, - "programLength": 34, - "programVocabulary": 9, - "volume": 107.7774500490386, - "difficulty": 3.4285714285714284, - "effort": 369.52268588241805, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass": { - "line": 109, - "lineCount": 9, - "argCount": 2, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 6, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 10, - "volume": 49.82892142331043, - "difficulty": 3.3333333333333335, - "effort": 166.09640474436813, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel": { - "line": 126, - "lineCount": 16, - "argCount": 2, - "returnCount": 4, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 12, - "N1": 9, - "N2": 18, - "programLength": 27, - "programVocabulary": 15, - "volume": 105.48604608143, - "difficulty": 2.25, - "effort": 237.3436036832175, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile": { - "line": 14, - "lineCount": 6, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 2, - "N2": 5, - "programLength": 7, - "programVocabulary": 4, - "volume": 14, - "difficulty": 2.5, - "effort": 35, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable": { - "line": 24, - "lineCount": 11, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 10, - "N2": 12, - "programLength": 22, - "programVocabulary": 8, - "volume": 66, - "difficulty": 6, - "effort": 396, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create": { - "line": 21, - "lineCount": 11, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 7, - "N1": 0, - "N2": 9, - "programLength": 9, - "programVocabulary": 7, - "volume": 25.26619429851844, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes": { - "line": 38, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 6, - "N1": 0, - "N2": 6, - "programLength": 6, - "programVocabulary": 6, - "volume": 15.509775004326936, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported": { - "line": 49, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 2, - "N2": 3, - "programLength": 5, - "programVocabulary": 4, - "volume": 10, - "difficulty": 1.5, - "effort": 15, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export": { - "line": 30, - "lineCount": 23, - "argCount": 2, - "returnCount": 0, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 16, - "N1": 10, - "N2": 33, - "programLength": 43, - "programVocabulary": 20, - "volume": 185.8429080801566, - "difficulty": 4.125, - "effort": 766.601995830646, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export": { - "line": 28, - "lineCount": 8, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 6, - "volume": 36.18947501009619, - "difficulty": 2.5, - "effort": 90.47368752524048, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape": { - "line": 37, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber": { - "line": 42, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml": { - "line": 52, - "lineCount": 50, - "argCount": 1, - "returnCount": 1, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 12, - "N1": 11, - "N2": 25, - "programLength": 36, - "programVocabulary": 17, - "volume": 147.14866228501222, - "difficulty": 5.208333333333334, - "effort": 766.3992827344388, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export": { - "line": 17, - "lineCount": 13, - "argCount": 2, - "returnCount": 0, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 8, - "N1": 7, - "N2": 14, - "programLength": 21, - "programVocabulary": 12, - "volume": 75.28421251514428, - "difficulty": 3.5, - "effort": 263.49474380300495, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export": { - "line": 48, - "lineCount": 8, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 6, - "volume": 36.18947501009619, - "difficulty": 2.5, - "effort": 90.47368752524048, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown": { - "line": 61, - "lineCount": 24, - "argCount": 1, - "returnCount": 1, - "variableCount": 6, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 6, - "n2": 16, - "N1": 19, - "N2": 41, - "programLength": 60, - "programVocabulary": 22, - "volume": 267.56589711823784, - "difficulty": 7.6875, - "effort": 2056.9128340964535, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow": { - "line": 94, - "lineCount": 21, - "argCount": 3, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 7, - "n2": 18, - "N1": 16, - "N2": 39, - "programLength": 55, - "programVocabulary": 25, - "volume": 255.41209043760983, - "difficulty": 7.583333333333333, - "effort": 1936.8750191518745, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::__construct": { - "line": 26, - "lineCount": 4, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::export": { - "line": 36, - "lineCount": 10, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 8, - "volume": 45, - "difficulty": 5, - "effort": 225, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::generateSvgTreemap": { - "line": 53, - "lineCount": 20, - "argCount": 1, - "returnCount": 1, - "variableCount": 6, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 8, - "N1": 9, - "N2": 20, - "programLength": 29, - "programVocabulary": 10, - "volume": 96.3359147517335, - "difficulty": 2.5, - "effort": 240.83978687933376, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::generateSvgTreemap" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRects": { - "line": 82, - "lineCount": 10, - "argCount": 3, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 9, - "N1": 6, - "N2": 18, - "programLength": 24, - "programVocabulary": 12, - "volume": 86.03910001730775, - "difficulty": 3, - "effort": 258.1173000519232, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRects" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRect": { - "line": 100, - "lineCount": 29, - "argCount": 2, - "returnCount": 1, - "variableCount": 12, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 6, - "n2": 28, - "N1": 26, - "N2": 54, - "programLength": 80, - "programVocabulary": 34, - "volume": 406.9970273000271, - "difficulty": 5.785714285714286, - "effort": 2354.7685150930142, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRect" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::wrapSvg": { - "line": 136, - "lineCount": 21, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 2, - "N2": 8, - "programLength": 10, - "programVocabulary": 4, - "volume": 20, - "difficulty": 1.3333333333333333, - "effort": 26.666666666666664, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::wrapSvg" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::prepareItems": { - "line": 28, - "lineCount": 18, - "argCount": 1, - "returnCount": 1, - "variableCount": 7, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 12, - "N1": 9, - "N2": 30, - "programLength": 39, - "programVocabulary": 17, - "volume": 159.41105080876324, - "difficulty": 6.25, - "effort": 996.3190675547702, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::prepareItems" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findScoreRange": { - "line": 53, - "lineCount": 16, - "argCount": 1, - "returnCount": 3, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 7, - "N2": 13, - "programLength": 20, - "programVocabulary": 8, - "volume": 60, - "difficulty": 3.9000000000000004, - "effort": 234.00000000000003, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findScoreRange" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::normalizeScore": { - "line": 78, - "lineCount": 8, - "argCount": 3, - "returnCount": 2, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 8, - "volume": 45, - "difficulty": 5, - "effort": 225, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::normalizeScore" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::scoreToColor": { - "line": 93, - "lineCount": 9, - "argCount": 1, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 5, - "n2": 9, - "N1": 12, - "N2": 16, - "programLength": 28, - "programVocabulary": 14, - "volume": 106.60593781761291, - "difficulty": 4.444444444444445, - "effort": 473.80416807827964, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::scoreToColor" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::calculateTreemapLayout": { - "line": 115, - "lineCount": 23, - "argCount": 7, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 9, - "N1": 2, - "N2": 18, - "programLength": 20, - "programVocabulary": 11, - "volume": 69.18863237274594, - "difficulty": 2, - "effort": 138.37726474549189, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::calculateTreemapLayout" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::layoutTreemap": { - "line": 152, - "lineCount": 89, - "argCount": 8, - "returnCount": 3, - "variableCount": 11, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 8, - "n2": 28, - "N1": 32, - "N2": 98, - "programLength": 130, - "programVocabulary": 36, - "volume": 672.0902501875006, - "difficulty": 14, - "effort": 9409.263502625008, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::layoutTreemap" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findSplitIndex": { - "line": 249, - "lineCount": 13, - "argCount": 2, - "returnCount": 2, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 7, - "n2": 10, - "N1": 9, - "N2": 23, - "programLength": 32, - "programVocabulary": 17, - "volume": 130.79881092001085, - "difficulty": 8.049999999999999, - "effort": 1052.9304279060873, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findSplitIndex" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::__construct": { - "line": 23, - "lineCount": 18, - "argCount": 1, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 7, - "N2": 11, - "programLength": 18, - "programVocabulary": 6, - "volume": 46.529325012980806, - "difficulty": 5.5, - "effort": 255.91128757139444, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::getAllClasses": { - "line": 47, - "lineCount": 17, - "argCount": 0, - "returnCount": 2, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 6, - "N2": 12, - "programLength": 18, - "programVocabulary": 9, - "volume": 57.05865002596162, - "difficulty": 3, - "effort": 171.17595007788486, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::getAllClasses" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::withClassNode": { - "line": 73, - "lineCount": 8, - "argCount": 2, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 4, - "N2": 8, - "programLength": 12, - "programVocabulary": 8, - "volume": 36, - "difficulty": 4, - "effort": 144, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::withClassNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::findClassNode": { - "line": 85, - "lineCount": 25, - "argCount": 1, - "returnCount": 4, - "variableCount": 5, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 13, - "N2": 29, - "programLength": 42, - "programVocabulary": 11, - "volume": 145.29612798276648, - "difficulty": 8.285714285714286, - "effort": 1203.8822032857795, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::findClassNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::escapeXPathValue": { - "line": 114, - "lineCount": 16, - "argCount": 1, - "returnCount": 3, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 9, - "N1": 11, - "N2": 18, - "programLength": 29, - "programVocabulary": 13, - "volume": 107.31275182609167, - "difficulty": 4, - "effort": 429.2510073043667, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::escapeXPathValue" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getLineCoverage": { - "line": 22, - "lineCount": 18, - "argCount": 1, - "returnCount": 4, - "variableCount": 5, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 9, - "N1": 10, - "N2": 19, - "programLength": 29, - "programVocabulary": 13, - "volume": 107.31275182609167, - "difficulty": 4.222222222222222, - "effort": 453.09828548794263, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getLineCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getBranchCoverage": { - "line": 48, - "lineCount": 18, - "argCount": 1, - "returnCount": 4, - "variableCount": 5, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 9, - "N1": 10, - "N2": 19, - "programLength": 29, - "programVocabulary": 13, - "volume": 107.31275182609167, - "difficulty": 4.222222222222222, - "effort": 453.09828548794263, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getBranchCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getComplexity": { - "line": 73, - "lineCount": 13, - "argCount": 1, - "returnCount": 3, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 7, - "N2": 14, - "programLength": 21, - "programVocabulary": 11, - "volume": 72.64806399138324, - "difficulty": 4, - "effort": 290.59225596553296, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getComplexity" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getCoverageDetails": { - "line": 93, - "lineCount": 26, - "argCount": 1, - "returnCount": 3, - "variableCount": 9, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 17, - "N1": 22, - "N2": 42, - "programLength": 64, - "programVocabulary": 22, - "volume": 285.403623592787, - "difficulty": 6.176470588235294, - "effort": 1762.7870868966259, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getCoverageDetails" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getMetricsNode": { - "line": 123, - "lineCount": 12, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 6, - "N1": 7, - "N2": 13, - "programLength": 20, - "programVocabulary": 10, - "volume": 66.43856189774725, - "difficulty": 4.333333333333333, - "effort": 287.90043489023805, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getMetricsNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getFilenameForClass": { - "line": 139, - "lineCount": 9, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 5, - "N1": 4, - "N2": 9, - "programLength": 13, - "programVocabulary": 9, - "volume": 41.209025018750054, - "difficulty": 3.6, - "effort": 148.3524900675002, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getFilenameForClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodsCoverage": { - "line": 154, - "lineCount": 36, - "argCount": 1, - "returnCount": 3, - "variableCount": 8, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 13, - "N1": 12, - "N2": 30, - "programLength": 42, - "programVocabulary": 16, - "volume": 168, - "difficulty": 3.4615384615384612, - "effort": 581.5384615384614, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodsCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::calculateMethodCoverage": { - "line": 194, - "lineCount": 15, - "argCount": 2, - "returnCount": 2, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 11, - "N1": 9, - "N2": 23, - "programLength": 32, - "programVocabulary": 16, - "volume": 128, - "difficulty": 5.227272727272727, - "effort": 669.090909090909, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::calculateMethodCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodCoverageFromLines": { - "line": 215, - "lineCount": 36, - "argCount": 2, - "returnCount": 1, - "variableCount": 7, - "propertyCallCount": 0, - "ifNestingLevel": 2, - "elseCount": 0, - "ifCount": 5, - "halstead": { - "n1": 2, - "n2": 14, - "N1": 12, - "N2": 35, - "programLength": 47, - "programVocabulary": 16, - "volume": 188, - "difficulty": 2.5, - "effort": 470, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodCoverageFromLines" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStart": { - "line": 252, - "lineCount": 4, - "argCount": 3, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 3, - "N2": 7, - "programLength": 10, - "programVocabulary": 6, - "volume": 25.84962500721156, - "difficulty": 1.75, - "effort": 45.23684376262023, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStart" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodEnd": { - "line": 257, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 5, - "programLength": 7, - "programVocabulary": 5, - "volume": 16.253496664211536, - "difficulty": 1.6666666666666667, - "effort": 27.089161107019226, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodEnd" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStatement": { - "line": 262, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 5, - "programLength": 7, - "programVocabulary": 5, - "volume": 16.253496664211536, - "difficulty": 1.6666666666666667, - "effort": 27.089161107019226, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStatement" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isStatementCovered": { - "line": 267, - "lineCount": 5, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 4, - "N1": 3, - "N2": 6, - "programLength": 9, - "programVocabulary": 7, - "volume": 25.26619429851844, - "difficulty": 2.25, - "effort": 56.848937171666485, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isStatementCovered" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getLineCoverage": { - "line": 20, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 9, - "volume": 44.37895002019237, - "difficulty": 2.5, - "effort": 110.94737505048093, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getLineCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getBranchCoverage": { - "line": 34, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 9, - "volume": 44.37895002019237, - "difficulty": 2.5, - "effort": 110.94737505048093, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getBranchCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getComplexity": { - "line": 48, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 9, - "volume": 44.37895002019237, - "difficulty": 2.5, - "effort": 110.94737505048093, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getComplexity" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getCoverageDetails": { - "line": 62, - "lineCount": 13, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 8, - "N1": 7, - "N2": 16, - "programLength": 23, - "programVocabulary": 9, - "volume": 72.90827503317318, - "difficulty": 1, - "effort": 72.90827503317318, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getCoverageDetails" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::extractMethodsCoverage": { - "line": 81, - "lineCount": 23, - "argCount": 1, - "returnCount": 2, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 11, - "N1": 10, - "N2": 23, - "programLength": 33, - "programVocabulary": 14, - "volume": 125.64271242790093, - "difficulty": 3.1363636363636362, - "effort": 394.061234432962, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::extractMethodsCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CodeCoverageFactory::createFromName": { - "line": 14, - "lineCount": 8, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 4, - "N1": 1, - "N2": 8, - "programLength": 9, - "programVocabulary": 5, - "volume": 20.89735285398626, - "difficulty": 1, - "effort": 20.89735285398626, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CodeCoverageFactory::createFromName" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::__construct": { - "line": 28, - "lineCount": 15, - "argCount": 6, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 6, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 7, - "N1": 6, - "N2": 18, - "programLength": 24, - "programVocabulary": 8, - "volume": 72, - "difficulty": 1.2857142857142858, - "effort": 92.57142857142858, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getName": { - "line": 44, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getName" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getFilename": { - "line": 49, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getFilename" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getLineRate": { - "line": 54, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getLineRate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getBranchRate": { - "line": 59, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getBranchRate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getComplexity": { - "line": 64, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getComplexity" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getMethods": { - "line": 72, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getMethods" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::__construct": { - "line": 17, - "lineCount": 11, - "argCount": 4, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 4, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 5, - "N1": 4, - "N2": 12, - "programLength": 16, - "programVocabulary": 6, - "volume": 41.3594000115385, - "difficulty": 1.2, - "effort": 49.631280013846194, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getName": { - "line": 29, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getName" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getLineRate": { - "line": 34, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getLineRate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getBranchRate": { - "line": 39, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getBranchRate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getComplexity": { - "line": 44, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getComplexity" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::calculateDeltas": { - "line": 19, - "lineCount": 14, - "argCount": 2, - "returnCount": 0, - "variableCount": 6, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 9, - "N1": 4, - "N2": 18, - "programLength": 22, - "programVocabulary": 11, - "volume": 76.10749561002054, - "difficulty": 2, - "effort": 152.21499122004107, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::calculateDeltas" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::loadBaseline": { - "line": 41, - "lineCount": 13, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 5, - "N2": 9, - "programLength": 14, - "programVocabulary": 8, - "volume": 42, - "difficulty": 2.7, - "effort": 113.4, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::loadBaseline" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::__construct": { - "line": 72, - "lineCount": 21, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 6, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 9, - "N1": 12, - "N2": 34, - "programLength": 46, - "programVocabulary": 12, - "volume": 164.90827503317317, - "difficulty": 5.666666666666666, - "effort": 934.4802251879812, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setRequiredMetricProperties": { - "line": 98, - "lineCount": 30, - "argCount": 1, - "returnCount": 0, - "variableCount": 6, - "propertyCallCount": 9, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 21, - "N1": 21, - "N2": 51, - "programLength": 72, - "programVocabulary": 24, - "volume": 330.1173000519232, - "difficulty": 3.6428571428571423, - "effort": 1202.570164474863, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setRequiredMetricProperties" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setOptionalMetricProperties": { - "line": 133, - "lineCount": 12, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 8, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 11, - "N1": 16, - "N2": 33, - "programLength": 49, - "programVocabulary": 13, - "volume": 181.32154618891352, - "difficulty": 3, - "effort": 543.9646385667405, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setOptionalMetricProperties" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setTimesChanged": { - "line": 146, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setTimesChanged" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertSame": { - "line": 151, - "lineCount": 14, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 6, - "N2": 8, - "programLength": 14, - "programVocabulary": 5, - "volume": 32.50699332842307, - "difficulty": 2.6666666666666665, - "effort": 86.68531554246152, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertSame" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::calculateDeltas": { - "line": 169, - "lineCount": 13, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 16, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 17, - "N2": 27, - "programLength": 44, - "programVocabulary": 4, - "volume": 88, - "difficulty": 13.5, - "effort": 1188, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::calculateDeltas" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::fromArray": { - "line": 187, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::fromArray" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertArrayKeyIsPresent": { - "line": 197, - "lineCount": 6, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 5, - "programLength": 5, - "programVocabulary": 2, - "volume": 5, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertArrayKeyIsPresent" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getClass": { - "line": 204, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getMethod": { - "line": 209, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getMethod" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCount": { - "line": 214, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCount": { - "line": 219, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCount": { - "line": 224, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCount": { - "line": 229, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCount": { - "line": 234, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCount": { - "line": 239, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevel": { - "line": 244, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevel" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCount": { - "line": 249, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeight": { - "line": 254, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setLineCountWeight": { - "line": 259, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setLineCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeight": { - "line": 264, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setArgCountWeight": { - "line": 269, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setArgCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeight": { - "line": 274, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setReturnCountWeight": { - "line": 279, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setReturnCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeight": { - "line": 284, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setVariableCountWeight": { - "line": 289, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setVariableCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeight": { - "line": 294, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setPropertyCallCountWeight": { - "line": 299, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setPropertyCallCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeight": { - "line": 304, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfCountWeight": { - "line": 309, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeight": { - "line": 314, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfNestingLevelWeight": { - "line": 319, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfNestingLevelWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeight": { - "line": 324, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setElseCountWeight": { - "line": 329, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setElseCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setScore": { - "line": 334, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setScore" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getScore": { - "line": 339, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getScore" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setCoverage": { - "line": 344, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCoverage": { - "line": 349, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeightDelta": { - "line": 354, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeightDelta": { - "line": 359, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeightDelta": { - "line": 364, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeightDelta": { - "line": 369, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeightDelta": { - "line": 374, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeightDelta": { - "line": 379, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeightDelta": { - "line": 384, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeightDelta": { - "line": 389, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getTimesChanged": { - "line": 394, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 2, - "programLength": 3, - "programVocabulary": 3, - "volume": 4.754887502163468, - "difficulty": 0.5, - "effort": 2.377443751081734, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getTimesChanged" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getFileName": { - "line": 399, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getFileName" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLine": { - "line": 404, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLine" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::equals": { - "line": 409, - "lineCount": 5, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 2, - "N1": 5, - "N2": 5, - "programLength": 10, - "programVocabulary": 5, - "volume": 23.21928094887362, - "difficulty": 3.75, - "effort": 87.07230355827608, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::equals" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::toArray": { - "line": 418, - "lineCount": 34, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 29, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 30, - "N1": 0, - "N2": 58, - "programLength": 58, - "programVocabulary": 30, - "volume": 284.5996545452941, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::toArray" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::jsonSerialize": { - "line": 456, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::jsonSerialize" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getHalstead": { - "line": 464, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getHalstead" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCyclomatic": { - "line": 472, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCyclomatic" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::add": { - "line": 30, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 5, - "N2": 6, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 3, - "effort": 85.30376252379816, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::add" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filter": { - "line": 40, - "lineCount": 11, - "argCount": 1, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 8, - "volume": 42, - "difficulty": 3, - "effort": 126, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filter" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getIterator": { - "line": 57, - "lineCount": 5, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getIterator" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::count": { - "line": 66, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::count" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterWithScoreGreaterThan": { - "line": 71, - "lineCount": 6, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 3, - "N2": 6, - "programLength": 9, - "programVocabulary": 5, - "volume": 20.89735285398626, - "difficulty": 2, - "effort": 41.79470570797252, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterWithScoreGreaterThan" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::contains": { - "line": 78, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 4, - "N2": 5, - "programLength": 9, - "programVocabulary": 5, - "volume": 20.89735285398626, - "difficulty": 1.6666666666666667, - "effort": 34.82892142331043, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::contains" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getClassWithMethod": { - "line": 83, - "lineCount": 9, - "argCount": 2, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 3, - "N2": 10, - "programLength": 13, - "programVocabulary": 7, - "volume": 36.49561398674886, - "difficulty": 2, - "effort": 72.99122797349771, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getClassWithMethod" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterByClassName": { - "line": 93, - "lineCount": 6, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 3, - "N2": 6, - "programLength": 9, - "programVocabulary": 5, - "volume": 20.89735285398626, - "difficulty": 2, - "effort": 41.79470570797252, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterByClassName" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::assertMetricHasGetter": { - "line": 100, - "lineCount": 9, - "argCount": 3, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 6, - "programLength": 7, - "programVocabulary": 4, - "volume": 14, - "difficulty": 1, - "effort": 14, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::assertMetricHasGetter" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::groupBy": { - "line": 117, - "lineCount": 20, - "argCount": 1, - "returnCount": 1, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 10, - "N2": 23, - "programLength": 33, - "programVocabulary": 11, - "volume": 114.16124341503081, - "difficulty": 6.571428571428571, - "effort": 750.2024567273453, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::groupBy" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::jsonSerialize": { - "line": 141, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::jsonSerialize" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::__construct": { - "line": 32, - "lineCount": 8, - "argCount": 5, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 5, - "N1": 0, - "N2": 5, - "programLength": 5, - "programVocabulary": 5, - "volume": 11.60964047443681, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collect": { - "line": 49, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 5, - "programLength": 6, - "programVocabulary": 4, - "volume": 12, - "difficulty": 0.8333333333333334, - "effort": 10, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collect" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collectFromPaths": { - "line": 62, - "lineCount": 13, - "argCount": 2, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 8, - "N2": 16, - "programLength": 24, - "programVocabulary": 9, - "volume": 76.07820003461549, - "difficulty": 4, - "effort": 304.31280013846197, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collectFromPaths" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCodeFromFile": { - "line": 79, - "lineCount": 10, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 2, - "N1": 5, - "N2": 6, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 6, - "effort": 170.6075250475963, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCodeFromFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findMetrics": { - "line": 98, - "lineCount": 31, - "argCount": 1, - "returnCount": 1, - "variableCount": 9, - "propertyCallCount": 2, - "ifNestingLevel": 2, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 13, - "N1": 18, - "N2": 38, - "programLength": 56, - "programVocabulary": 16, - "volume": 224, - "difficulty": 4.384615384615384, - "effort": 982.1538461538461, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findMetrics" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processMethodMetrics": { - "line": 136, - "lineCount": 29, - "argCount": 3, - "returnCount": 1, - "variableCount": 7, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 14, - "N1": 8, - "N2": 27, - "programLength": 35, - "programVocabulary": 17, - "volume": 143.06119944376186, - "difficulty": 2.892857142857143, - "effort": 413.8556126765968, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processMethodMetrics" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::isExcluded": { - "line": 166, - "lineCount": 12, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 5, - "N1": 5, - "N2": 9, - "programLength": 14, - "programVocabulary": 9, - "volume": 44.37895002019237, - "difficulty": 3.6, - "effort": 159.76422007269252, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::isExcluded" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findSourceFiles": { - "line": 187, - "lineCount": 7, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 2, - "N2": 6, - "programLength": 8, - "programVocabulary": 6, - "volume": 20.67970000576925, - "difficulty": 1.5, - "effort": 31.019550008653873, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findSourceFiles" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getProjectRoot": { - "line": 202, - "lineCount": 13, - "argCount": 0, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 2, - "N1": 8, - "N2": 8, - "programLength": 16, - "programVocabulary": 6, - "volume": 41.3594000115385, - "difficulty": 8, - "effort": 330.875200092308, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getProjectRoot" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateCacheKey": { - "line": 219, - "lineCount": 7, - "argCount": 2, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 6, - "N1": 10, - "N2": 12, - "programLength": 22, - "programVocabulary": 10, - "volume": 73.08241808752197, - "difficulty": 4, - "effort": 292.3296723500879, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateCacheKey" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateConfigHash": { - "line": 230, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 1, - "N1": 3, - "N2": 2, - "programLength": 5, - "programVocabulary": 3, - "volume": 7.92481250360578, - "difficulty": 2, - "effort": 15.84962500721156, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateConfigHash" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::cacheResult": { - "line": 239, - "lineCount": 14, - "argCount": 4, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 13, - "N1": 5, - "N2": 20, - "programLength": 25, - "programVocabulary": 15, - "volume": 97.67226489021297, - "difficulty": 1.5384615384615385, - "effort": 150.26502290801997, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::cacheResult" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::clearCache": { - "line": 254, - "lineCount": 4, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::clearCache" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::normalizeFilename": { - "line": 264, - "lineCount": 15, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 6, - "n2": 7, - "N1": 12, - "N2": 16, - "programLength": 28, - "programVocabulary": 13, - "volume": 103.61231210795059, - "difficulty": 6.857142857142857, - "effort": 710.4844258830897, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::normalizeFilename" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCachedMetrics": { - "line": 286, - "lineCount": 19, - "argCount": 3, - "returnCount": 3, - "variableCount": 4, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 11, - "N1": 10, - "N2": 29, - "programLength": 39, - "programVocabulary": 14, - "volume": 148.48684196024655, - "difficulty": 3.954545454545454, - "effort": 587.1979659337022, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCachedMetrics" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processFile": { - "line": 312, - "lineCount": 37, - "argCount": 5, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 7, - "n2": 10, - "N1": 12, - "N2": 28, - "programLength": 40, - "programVocabulary": 17, - "volume": 163.49851365001356, - "difficulty": 9.799999999999999, - "effort": 1602.2854337701328, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::sort": { - "line": 51, - "lineCount": 41, - "argCount": 3, - "returnCount": 2, - "variableCount": 10, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "cyclomatic_complexity": { - "complexity": 5, - "risk_level": "low" - }, - "halstead": { - "n1": 4, - "n2": 18, - "N1": 20, - "N2": 43, - "programLength": 63, - "programVocabulary": 22, - "volume": 280.9441919741497, - "difficulty": 4.777777777777778, - "effort": 1342.2889172098264, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::sort" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getFieldValue": { - "line": 100, - "lineCount": 28, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 2, - "n2": 25, - "N1": 24, - "N2": 50, - "programLength": 74, - "programVocabulary": 27, - "volume": 351.86167516009664, - "difficulty": 2, - "effort": 703.7233503201933, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getFieldValue" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::compareValues": { - "line": 136, - "lineCount": 13, - "argCount": 2, - "returnCount": 3, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "cyclomatic_complexity": { - "complexity": 3, - "risk_level": "low" - }, - "halstead": { - "n1": 3, - "n2": 2, - "N1": 9, - "N2": 12, - "programLength": 21, - "programVocabulary": 5, - "volume": 48.760489992634604, - "difficulty": 9, - "effort": 438.8444099337114, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::compareValues" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getSortableFields": { - "line": 155, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 0, - "n2": 0, - "N1": 0, - "N2": 0, - "programLength": 0, - "programVocabulary": 0, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getSortableFields" - } - } - }, - "ignored_items": [], - "cached_at": 1759967601 -} \ No newline at end of file diff --git a/.phpcca.cache/d2/d2c539f9fdda4b190f3e90f8e31c3fa7.cache b/.phpcca.cache/d2/d2c539f9fdda4b190f3e90f8e31c3fa7.cache deleted file mode 100644 index 6b0c0c0..0000000 --- a/.phpcca.cache/d2/d2c539f9fdda4b190f3e90f8e31c3fa7.cache +++ /dev/null @@ -1,4269 +0,0 @@ -{ - "version": "1.0", - "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/Business\/Cognitive\/Exporter\/CsvExporter.php", - "file_mtime": 1759793046, - "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", - "analysis_result": { - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct": { - "line": 60, - "lineCount": 5, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 1, - "N1": 2, - "N2": 2, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 2, - "effort": 12.679700005769249, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices": { - "line": 66, - "lineCount": 95, - "argCount": 0, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 5, - "N1": 58, - "N2": 32, - "programLength": 90, - "programVocabulary": 9, - "volume": 285.2932501298081, - "difficulty": 12.8, - "effort": 3651.7536016615436, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap": { - "line": 162, - "lineCount": 10, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 7, - "N2": 7, - "programLength": 14, - "programVocabulary": 2, - "volume": 14, - "difficulty": 3.5, - "effort": 49, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors": { - "line": 173, - "lineCount": 12, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 3, - "N2": 1, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0.5, - "effort": 2, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus": { - "line": 186, - "lineCount": 19, - "argCount": 0, - "returnCount": 0, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 9, - "N2": 13, - "programLength": 22, - "programVocabulary": 7, - "volume": 61.76180828526729, - "difficulty": 2.6, - "effort": 160.58070154169496, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService": { - "line": 206, - "lineCount": 9, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 3, - "N2": 1, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0.5, - "effort": 2, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade": { - "line": 216, - "lineCount": 13, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 3, - "N2": 1, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0.5, - "effort": 2, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands": { - "line": 230, - "lineCount": 21, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 6, - "N2": 2, - "programLength": 8, - "programVocabulary": 2, - "volume": 8, - "difficulty": 1, - "effort": 8, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication": { - "line": 252, - "lineCount": 11, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 5, - "N2": 4, - "programLength": 9, - "programVocabulary": 4, - "volume": 18, - "difficulty": 0.6666666666666666, - "effort": 12, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run": { - "line": 264, - "lineCount": 9, - "argCount": 0, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 5, - "N2": 5, - "programLength": 10, - "programVocabulary": 4, - "volume": 20, - "difficulty": 2.5, - "effort": 50, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get": { - "line": 274, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer": { - "line": 279, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator": { - "line": 289, - "lineCount": 16, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 7, - "programLength": 8, - "programVocabulary": 4, - "volume": 16, - "difficulty": 1.1666666666666667, - "effort": 18.666666666666668, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create": { - "line": 18, - "lineCount": 7, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 4, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile": { - "line": 17, - "lineCount": 17, - "argCount": 2, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 8, - "N1": 11, - "N2": 19, - "programLength": 30, - "programVocabulary": 11, - "volume": 103.78294855911892, - "difficulty": 3.5625, - "effort": 369.72675424186116, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode": { - "line": 42, - "lineCount": 8, - "argCount": 3, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 3, - "N2": 8, - "programLength": 11, - "programVocabulary": 8, - "volume": 33, - "difficulty": 2.4000000000000004, - "effort": 79.20000000000002, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate": { - "line": 22, - "lineCount": 10, - "argCount": 2, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 6, - "N2": 13, - "programLength": 19, - "programVocabulary": 6, - "volume": 49.11428751370197, - "difficulty": 3.25, - "effort": 159.6214344195314, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending": { - "line": 37, - "lineCount": 8, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 2, - "N2": 9, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 2.25, - "effort": 63.97782189284862, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn": { - "line": 51, - "lineCount": 24, - "argCount": 2, - "returnCount": 1, - "variableCount": 6, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 15, - "N1": 17, - "N2": 46, - "programLength": 63, - "programVocabulary": 20, - "volume": 272.28146997790384, - "difficulty": 7.666666666666667, - "effort": 2087.491269830596, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses": { - "line": 81, - "lineCount": 20, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 2, - "n2": 7, - "N1": 10, - "N2": 24, - "programLength": 34, - "programVocabulary": 9, - "volume": 107.7774500490386, - "difficulty": 3.4285714285714284, - "effort": 369.52268588241805, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass": { - "line": 109, - "lineCount": 9, - "argCount": 2, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 6, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 10, - "volume": 49.82892142331043, - "difficulty": 3.3333333333333335, - "effort": 166.09640474436813, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel": { - "line": 126, - "lineCount": 16, - "argCount": 2, - "returnCount": 4, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 12, - "N1": 9, - "N2": 18, - "programLength": 27, - "programVocabulary": 15, - "volume": 105.48604608143, - "difficulty": 2.25, - "effort": 237.3436036832175, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile": { - "line": 14, - "lineCount": 6, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 2, - "N2": 5, - "programLength": 7, - "programVocabulary": 4, - "volume": 14, - "difficulty": 2.5, - "effort": 35, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable": { - "line": 24, - "lineCount": 11, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 10, - "N2": 12, - "programLength": 22, - "programVocabulary": 8, - "volume": 66, - "difficulty": 6, - "effort": 396, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create": { - "line": 21, - "lineCount": 11, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 7, - "N1": 0, - "N2": 9, - "programLength": 9, - "programVocabulary": 7, - "volume": 25.26619429851844, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes": { - "line": 38, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 6, - "N1": 0, - "N2": 6, - "programLength": 6, - "programVocabulary": 6, - "volume": 15.509775004326936, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported": { - "line": 49, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 2, - "N2": 3, - "programLength": 5, - "programVocabulary": 4, - "volume": 10, - "difficulty": 1.5, - "effort": 15, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export": { - "line": 30, - "lineCount": 23, - "argCount": 2, - "returnCount": 0, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 16, - "N1": 10, - "N2": 33, - "programLength": 43, - "programVocabulary": 20, - "volume": 185.8429080801566, - "difficulty": 4.125, - "effort": 766.601995830646, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export": { - "line": 28, - "lineCount": 8, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 6, - "volume": 36.18947501009619, - "difficulty": 2.5, - "effort": 90.47368752524048, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape": { - "line": 37, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber": { - "line": 42, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml": { - "line": 52, - "lineCount": 50, - "argCount": 1, - "returnCount": 1, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 12, - "N1": 11, - "N2": 25, - "programLength": 36, - "programVocabulary": 17, - "volume": 147.14866228501222, - "difficulty": 5.208333333333334, - "effort": 766.3992827344388, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export": { - "line": 17, - "lineCount": 13, - "argCount": 2, - "returnCount": 0, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 8, - "N1": 7, - "N2": 14, - "programLength": 21, - "programVocabulary": 12, - "volume": 75.28421251514428, - "difficulty": 3.5, - "effort": 263.49474380300495, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export": { - "line": 48, - "lineCount": 8, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 6, - "volume": 36.18947501009619, - "difficulty": 2.5, - "effort": 90.47368752524048, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown": { - "line": 61, - "lineCount": 24, - "argCount": 1, - "returnCount": 1, - "variableCount": 6, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 6, - "n2": 16, - "N1": 19, - "N2": 41, - "programLength": 60, - "programVocabulary": 22, - "volume": 267.56589711823784, - "difficulty": 7.6875, - "effort": 2056.9128340964535, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow": { - "line": 94, - "lineCount": 21, - "argCount": 3, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 7, - "n2": 18, - "N1": 16, - "N2": 39, - "programLength": 55, - "programVocabulary": 25, - "volume": 255.41209043760983, - "difficulty": 7.583333333333333, - "effort": 1936.8750191518745, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::__construct": { - "line": 26, - "lineCount": 4, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::export": { - "line": 36, - "lineCount": 10, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 8, - "volume": 45, - "difficulty": 5, - "effort": 225, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::generateSvgTreemap": { - "line": 53, - "lineCount": 20, - "argCount": 1, - "returnCount": 1, - "variableCount": 6, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 8, - "N1": 9, - "N2": 20, - "programLength": 29, - "programVocabulary": 10, - "volume": 96.3359147517335, - "difficulty": 2.5, - "effort": 240.83978687933376, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::generateSvgTreemap" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRects": { - "line": 82, - "lineCount": 10, - "argCount": 3, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 9, - "N1": 6, - "N2": 18, - "programLength": 24, - "programVocabulary": 12, - "volume": 86.03910001730775, - "difficulty": 3, - "effort": 258.1173000519232, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRects" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRect": { - "line": 100, - "lineCount": 29, - "argCount": 2, - "returnCount": 1, - "variableCount": 12, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 6, - "n2": 28, - "N1": 26, - "N2": 54, - "programLength": 80, - "programVocabulary": 34, - "volume": 406.9970273000271, - "difficulty": 5.785714285714286, - "effort": 2354.7685150930142, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRect" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::wrapSvg": { - "line": 136, - "lineCount": 21, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 2, - "N2": 8, - "programLength": 10, - "programVocabulary": 4, - "volume": 20, - "difficulty": 1.3333333333333333, - "effort": 26.666666666666664, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::wrapSvg" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::prepareItems": { - "line": 28, - "lineCount": 18, - "argCount": 1, - "returnCount": 1, - "variableCount": 7, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 12, - "N1": 9, - "N2": 30, - "programLength": 39, - "programVocabulary": 17, - "volume": 159.41105080876324, - "difficulty": 6.25, - "effort": 996.3190675547702, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::prepareItems" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findScoreRange": { - "line": 53, - "lineCount": 16, - "argCount": 1, - "returnCount": 3, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 7, - "N2": 13, - "programLength": 20, - "programVocabulary": 8, - "volume": 60, - "difficulty": 3.9000000000000004, - "effort": 234.00000000000003, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findScoreRange" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::normalizeScore": { - "line": 78, - "lineCount": 8, - "argCount": 3, - "returnCount": 2, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 8, - "volume": 45, - "difficulty": 5, - "effort": 225, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::normalizeScore" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::scoreToColor": { - "line": 93, - "lineCount": 9, - "argCount": 1, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 5, - "n2": 9, - "N1": 12, - "N2": 16, - "programLength": 28, - "programVocabulary": 14, - "volume": 106.60593781761291, - "difficulty": 4.444444444444445, - "effort": 473.80416807827964, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::scoreToColor" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::calculateTreemapLayout": { - "line": 115, - "lineCount": 23, - "argCount": 7, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 9, - "N1": 2, - "N2": 18, - "programLength": 20, - "programVocabulary": 11, - "volume": 69.18863237274594, - "difficulty": 2, - "effort": 138.37726474549189, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::calculateTreemapLayout" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::layoutTreemap": { - "line": 152, - "lineCount": 89, - "argCount": 8, - "returnCount": 3, - "variableCount": 11, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 8, - "n2": 28, - "N1": 32, - "N2": 98, - "programLength": 130, - "programVocabulary": 36, - "volume": 672.0902501875006, - "difficulty": 14, - "effort": 9409.263502625008, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::layoutTreemap" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findSplitIndex": { - "line": 249, - "lineCount": 13, - "argCount": 2, - "returnCount": 2, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 7, - "n2": 10, - "N1": 9, - "N2": 23, - "programLength": 32, - "programVocabulary": 17, - "volume": 130.79881092001085, - "difficulty": 8.049999999999999, - "effort": 1052.9304279060873, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findSplitIndex" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::__construct": { - "line": 23, - "lineCount": 18, - "argCount": 1, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 7, - "N2": 11, - "programLength": 18, - "programVocabulary": 6, - "volume": 46.529325012980806, - "difficulty": 5.5, - "effort": 255.91128757139444, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::getAllClasses": { - "line": 47, - "lineCount": 17, - "argCount": 0, - "returnCount": 2, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 6, - "N2": 12, - "programLength": 18, - "programVocabulary": 9, - "volume": 57.05865002596162, - "difficulty": 3, - "effort": 171.17595007788486, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::getAllClasses" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::withClassNode": { - "line": 73, - "lineCount": 8, - "argCount": 2, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 4, - "N2": 8, - "programLength": 12, - "programVocabulary": 8, - "volume": 36, - "difficulty": 4, - "effort": 144, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::withClassNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::findClassNode": { - "line": 85, - "lineCount": 25, - "argCount": 1, - "returnCount": 4, - "variableCount": 5, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 13, - "N2": 29, - "programLength": 42, - "programVocabulary": 11, - "volume": 145.29612798276648, - "difficulty": 8.285714285714286, - "effort": 1203.8822032857795, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::findClassNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::escapeXPathValue": { - "line": 114, - "lineCount": 16, - "argCount": 1, - "returnCount": 3, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 9, - "N1": 11, - "N2": 18, - "programLength": 29, - "programVocabulary": 13, - "volume": 107.31275182609167, - "difficulty": 4, - "effort": 429.2510073043667, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::escapeXPathValue" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getLineCoverage": { - "line": 22, - "lineCount": 18, - "argCount": 1, - "returnCount": 4, - "variableCount": 5, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 9, - "N1": 10, - "N2": 19, - "programLength": 29, - "programVocabulary": 13, - "volume": 107.31275182609167, - "difficulty": 4.222222222222222, - "effort": 453.09828548794263, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getLineCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getBranchCoverage": { - "line": 48, - "lineCount": 18, - "argCount": 1, - "returnCount": 4, - "variableCount": 5, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 9, - "N1": 10, - "N2": 19, - "programLength": 29, - "programVocabulary": 13, - "volume": 107.31275182609167, - "difficulty": 4.222222222222222, - "effort": 453.09828548794263, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getBranchCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getComplexity": { - "line": 73, - "lineCount": 13, - "argCount": 1, - "returnCount": 3, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 7, - "N2": 14, - "programLength": 21, - "programVocabulary": 11, - "volume": 72.64806399138324, - "difficulty": 4, - "effort": 290.59225596553296, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getComplexity" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getCoverageDetails": { - "line": 93, - "lineCount": 26, - "argCount": 1, - "returnCount": 3, - "variableCount": 9, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 17, - "N1": 22, - "N2": 42, - "programLength": 64, - "programVocabulary": 22, - "volume": 285.403623592787, - "difficulty": 6.176470588235294, - "effort": 1762.7870868966259, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getCoverageDetails" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getMetricsNode": { - "line": 123, - "lineCount": 12, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 6, - "N1": 7, - "N2": 13, - "programLength": 20, - "programVocabulary": 10, - "volume": 66.43856189774725, - "difficulty": 4.333333333333333, - "effort": 287.90043489023805, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getMetricsNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getFilenameForClass": { - "line": 139, - "lineCount": 9, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 5, - "N1": 4, - "N2": 9, - "programLength": 13, - "programVocabulary": 9, - "volume": 41.209025018750054, - "difficulty": 3.6, - "effort": 148.3524900675002, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getFilenameForClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodsCoverage": { - "line": 154, - "lineCount": 36, - "argCount": 1, - "returnCount": 3, - "variableCount": 8, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 13, - "N1": 12, - "N2": 30, - "programLength": 42, - "programVocabulary": 16, - "volume": 168, - "difficulty": 3.4615384615384612, - "effort": 581.5384615384614, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodsCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::calculateMethodCoverage": { - "line": 194, - "lineCount": 15, - "argCount": 2, - "returnCount": 2, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 11, - "N1": 9, - "N2": 23, - "programLength": 32, - "programVocabulary": 16, - "volume": 128, - "difficulty": 5.227272727272727, - "effort": 669.090909090909, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::calculateMethodCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodCoverageFromLines": { - "line": 215, - "lineCount": 36, - "argCount": 2, - "returnCount": 1, - "variableCount": 7, - "propertyCallCount": 0, - "ifNestingLevel": 2, - "elseCount": 0, - "ifCount": 5, - "halstead": { - "n1": 2, - "n2": 14, - "N1": 12, - "N2": 35, - "programLength": 47, - "programVocabulary": 16, - "volume": 188, - "difficulty": 2.5, - "effort": 470, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodCoverageFromLines" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStart": { - "line": 252, - "lineCount": 4, - "argCount": 3, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 3, - "N2": 7, - "programLength": 10, - "programVocabulary": 6, - "volume": 25.84962500721156, - "difficulty": 1.75, - "effort": 45.23684376262023, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStart" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodEnd": { - "line": 257, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 5, - "programLength": 7, - "programVocabulary": 5, - "volume": 16.253496664211536, - "difficulty": 1.6666666666666667, - "effort": 27.089161107019226, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodEnd" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStatement": { - "line": 262, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 5, - "programLength": 7, - "programVocabulary": 5, - "volume": 16.253496664211536, - "difficulty": 1.6666666666666667, - "effort": 27.089161107019226, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStatement" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isStatementCovered": { - "line": 267, - "lineCount": 5, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 4, - "N1": 3, - "N2": 6, - "programLength": 9, - "programVocabulary": 7, - "volume": 25.26619429851844, - "difficulty": 2.25, - "effort": 56.848937171666485, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isStatementCovered" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getLineCoverage": { - "line": 20, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 9, - "volume": 44.37895002019237, - "difficulty": 2.5, - "effort": 110.94737505048093, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getLineCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getBranchCoverage": { - "line": 34, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 9, - "volume": 44.37895002019237, - "difficulty": 2.5, - "effort": 110.94737505048093, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getBranchCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getComplexity": { - "line": 48, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 9, - "volume": 44.37895002019237, - "difficulty": 2.5, - "effort": 110.94737505048093, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getComplexity" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getCoverageDetails": { - "line": 62, - "lineCount": 13, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 8, - "N1": 7, - "N2": 16, - "programLength": 23, - "programVocabulary": 9, - "volume": 72.90827503317318, - "difficulty": 1, - "effort": 72.90827503317318, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getCoverageDetails" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::extractMethodsCoverage": { - "line": 81, - "lineCount": 23, - "argCount": 1, - "returnCount": 2, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 11, - "N1": 10, - "N2": 23, - "programLength": 33, - "programVocabulary": 14, - "volume": 125.64271242790093, - "difficulty": 3.1363636363636362, - "effort": 394.061234432962, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::extractMethodsCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CodeCoverageFactory::createFromName": { - "line": 14, - "lineCount": 8, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 4, - "N1": 1, - "N2": 8, - "programLength": 9, - "programVocabulary": 5, - "volume": 20.89735285398626, - "difficulty": 1, - "effort": 20.89735285398626, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CodeCoverageFactory::createFromName" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::__construct": { - "line": 28, - "lineCount": 15, - "argCount": 6, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 6, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 7, - "N1": 6, - "N2": 18, - "programLength": 24, - "programVocabulary": 8, - "volume": 72, - "difficulty": 1.2857142857142858, - "effort": 92.57142857142858, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getName": { - "line": 44, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getName" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getFilename": { - "line": 49, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getFilename" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getLineRate": { - "line": 54, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getLineRate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getBranchRate": { - "line": 59, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getBranchRate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getComplexity": { - "line": 64, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getComplexity" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getMethods": { - "line": 72, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getMethods" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::__construct": { - "line": 17, - "lineCount": 11, - "argCount": 4, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 4, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 5, - "N1": 4, - "N2": 12, - "programLength": 16, - "programVocabulary": 6, - "volume": 41.3594000115385, - "difficulty": 1.2, - "effort": 49.631280013846194, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getName": { - "line": 29, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getName" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getLineRate": { - "line": 34, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getLineRate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getBranchRate": { - "line": 39, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getBranchRate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getComplexity": { - "line": 44, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getComplexity" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::calculateDeltas": { - "line": 19, - "lineCount": 14, - "argCount": 2, - "returnCount": 0, - "variableCount": 6, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 9, - "N1": 4, - "N2": 18, - "programLength": 22, - "programVocabulary": 11, - "volume": 76.10749561002054, - "difficulty": 2, - "effort": 152.21499122004107, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::calculateDeltas" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::loadBaseline": { - "line": 41, - "lineCount": 13, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 5, - "N2": 9, - "programLength": 14, - "programVocabulary": 8, - "volume": 42, - "difficulty": 2.7, - "effort": 113.4, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::loadBaseline" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::__construct": { - "line": 72, - "lineCount": 21, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 6, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 9, - "N1": 12, - "N2": 34, - "programLength": 46, - "programVocabulary": 12, - "volume": 164.90827503317317, - "difficulty": 5.666666666666666, - "effort": 934.4802251879812, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setRequiredMetricProperties": { - "line": 98, - "lineCount": 30, - "argCount": 1, - "returnCount": 0, - "variableCount": 6, - "propertyCallCount": 9, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 21, - "N1": 21, - "N2": 51, - "programLength": 72, - "programVocabulary": 24, - "volume": 330.1173000519232, - "difficulty": 3.6428571428571423, - "effort": 1202.570164474863, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setRequiredMetricProperties" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setOptionalMetricProperties": { - "line": 133, - "lineCount": 12, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 8, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 11, - "N1": 16, - "N2": 33, - "programLength": 49, - "programVocabulary": 13, - "volume": 181.32154618891352, - "difficulty": 3, - "effort": 543.9646385667405, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setOptionalMetricProperties" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setTimesChanged": { - "line": 146, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setTimesChanged" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertSame": { - "line": 151, - "lineCount": 14, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 6, - "N2": 8, - "programLength": 14, - "programVocabulary": 5, - "volume": 32.50699332842307, - "difficulty": 2.6666666666666665, - "effort": 86.68531554246152, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertSame" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::calculateDeltas": { - "line": 169, - "lineCount": 13, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 16, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 17, - "N2": 27, - "programLength": 44, - "programVocabulary": 4, - "volume": 88, - "difficulty": 13.5, - "effort": 1188, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::calculateDeltas" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::fromArray": { - "line": 187, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::fromArray" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertArrayKeyIsPresent": { - "line": 197, - "lineCount": 6, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 5, - "programLength": 5, - "programVocabulary": 2, - "volume": 5, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertArrayKeyIsPresent" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getClass": { - "line": 204, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getMethod": { - "line": 209, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getMethod" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCount": { - "line": 214, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCount": { - "line": 219, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCount": { - "line": 224, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCount": { - "line": 229, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCount": { - "line": 234, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCount": { - "line": 239, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevel": { - "line": 244, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevel" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCount": { - "line": 249, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeight": { - "line": 254, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setLineCountWeight": { - "line": 259, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setLineCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeight": { - "line": 264, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setArgCountWeight": { - "line": 269, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setArgCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeight": { - "line": 274, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setReturnCountWeight": { - "line": 279, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setReturnCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeight": { - "line": 284, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setVariableCountWeight": { - "line": 289, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setVariableCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeight": { - "line": 294, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setPropertyCallCountWeight": { - "line": 299, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setPropertyCallCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeight": { - "line": 304, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfCountWeight": { - "line": 309, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeight": { - "line": 314, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfNestingLevelWeight": { - "line": 319, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfNestingLevelWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeight": { - "line": 324, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setElseCountWeight": { - "line": 329, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setElseCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setScore": { - "line": 334, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setScore" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getScore": { - "line": 339, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getScore" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setCoverage": { - "line": 344, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCoverage": { - "line": 349, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeightDelta": { - "line": 354, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeightDelta": { - "line": 359, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeightDelta": { - "line": 364, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeightDelta": { - "line": 369, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeightDelta": { - "line": 374, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeightDelta": { - "line": 379, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeightDelta": { - "line": 384, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeightDelta": { - "line": 389, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getTimesChanged": { - "line": 394, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 2, - "programLength": 3, - "programVocabulary": 3, - "volume": 4.754887502163468, - "difficulty": 0.5, - "effort": 2.377443751081734, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getTimesChanged" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getFileName": { - "line": 399, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getFileName" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLine": { - "line": 404, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLine" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::equals": { - "line": 409, - "lineCount": 5, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 2, - "N1": 5, - "N2": 5, - "programLength": 10, - "programVocabulary": 5, - "volume": 23.21928094887362, - "difficulty": 3.75, - "effort": 87.07230355827608, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::equals" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::toArray": { - "line": 418, - "lineCount": 34, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 29, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 30, - "N1": 0, - "N2": 58, - "programLength": 58, - "programVocabulary": 30, - "volume": 284.5996545452941, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::toArray" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::jsonSerialize": { - "line": 456, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::jsonSerialize" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getHalstead": { - "line": 464, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getHalstead" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCyclomatic": { - "line": 472, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCyclomatic" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::add": { - "line": 30, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 5, - "N2": 6, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 3, - "effort": 85.30376252379816, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::add" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filter": { - "line": 40, - "lineCount": 11, - "argCount": 1, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 8, - "volume": 42, - "difficulty": 3, - "effort": 126, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filter" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getIterator": { - "line": 57, - "lineCount": 5, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getIterator" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::count": { - "line": 66, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::count" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterWithScoreGreaterThan": { - "line": 71, - "lineCount": 6, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 3, - "N2": 6, - "programLength": 9, - "programVocabulary": 5, - "volume": 20.89735285398626, - "difficulty": 2, - "effort": 41.79470570797252, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterWithScoreGreaterThan" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::contains": { - "line": 78, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 4, - "N2": 5, - "programLength": 9, - "programVocabulary": 5, - "volume": 20.89735285398626, - "difficulty": 1.6666666666666667, - "effort": 34.82892142331043, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::contains" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getClassWithMethod": { - "line": 83, - "lineCount": 9, - "argCount": 2, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 3, - "N2": 10, - "programLength": 13, - "programVocabulary": 7, - "volume": 36.49561398674886, - "difficulty": 2, - "effort": 72.99122797349771, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getClassWithMethod" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterByClassName": { - "line": 93, - "lineCount": 6, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 3, - "N2": 6, - "programLength": 9, - "programVocabulary": 5, - "volume": 20.89735285398626, - "difficulty": 2, - "effort": 41.79470570797252, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterByClassName" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::assertMetricHasGetter": { - "line": 100, - "lineCount": 9, - "argCount": 3, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 6, - "programLength": 7, - "programVocabulary": 4, - "volume": 14, - "difficulty": 1, - "effort": 14, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::assertMetricHasGetter" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::groupBy": { - "line": 117, - "lineCount": 20, - "argCount": 1, - "returnCount": 1, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 10, - "N2": 23, - "programLength": 33, - "programVocabulary": 11, - "volume": 114.16124341503081, - "difficulty": 6.571428571428571, - "effort": 750.2024567273453, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::groupBy" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::jsonSerialize": { - "line": 141, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::jsonSerialize" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::__construct": { - "line": 32, - "lineCount": 8, - "argCount": 5, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 5, - "N1": 0, - "N2": 5, - "programLength": 5, - "programVocabulary": 5, - "volume": 11.60964047443681, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collect": { - "line": 49, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 5, - "programLength": 6, - "programVocabulary": 4, - "volume": 12, - "difficulty": 0.8333333333333334, - "effort": 10, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collect" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collectFromPaths": { - "line": 62, - "lineCount": 13, - "argCount": 2, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 8, - "N2": 16, - "programLength": 24, - "programVocabulary": 9, - "volume": 76.07820003461549, - "difficulty": 4, - "effort": 304.31280013846197, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collectFromPaths" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCodeFromFile": { - "line": 79, - "lineCount": 10, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 2, - "N1": 5, - "N2": 6, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 6, - "effort": 170.6075250475963, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCodeFromFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findMetrics": { - "line": 98, - "lineCount": 31, - "argCount": 1, - "returnCount": 1, - "variableCount": 9, - "propertyCallCount": 2, - "ifNestingLevel": 2, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 13, - "N1": 18, - "N2": 38, - "programLength": 56, - "programVocabulary": 16, - "volume": 224, - "difficulty": 4.384615384615384, - "effort": 982.1538461538461, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findMetrics" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processMethodMetrics": { - "line": 136, - "lineCount": 29, - "argCount": 3, - "returnCount": 1, - "variableCount": 7, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 14, - "N1": 8, - "N2": 27, - "programLength": 35, - "programVocabulary": 17, - "volume": 143.06119944376186, - "difficulty": 2.892857142857143, - "effort": 413.8556126765968, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processMethodMetrics" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::isExcluded": { - "line": 166, - "lineCount": 12, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 5, - "N1": 5, - "N2": 9, - "programLength": 14, - "programVocabulary": 9, - "volume": 44.37895002019237, - "difficulty": 3.6, - "effort": 159.76422007269252, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::isExcluded" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findSourceFiles": { - "line": 187, - "lineCount": 7, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 2, - "N2": 6, - "programLength": 8, - "programVocabulary": 6, - "volume": 20.67970000576925, - "difficulty": 1.5, - "effort": 31.019550008653873, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findSourceFiles" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getProjectRoot": { - "line": 202, - "lineCount": 13, - "argCount": 0, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 2, - "N1": 8, - "N2": 8, - "programLength": 16, - "programVocabulary": 6, - "volume": 41.3594000115385, - "difficulty": 8, - "effort": 330.875200092308, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getProjectRoot" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateCacheKey": { - "line": 219, - "lineCount": 7, - "argCount": 2, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 6, - "N1": 10, - "N2": 12, - "programLength": 22, - "programVocabulary": 10, - "volume": 73.08241808752197, - "difficulty": 4, - "effort": 292.3296723500879, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateCacheKey" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateConfigHash": { - "line": 230, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 1, - "N1": 3, - "N2": 2, - "programLength": 5, - "programVocabulary": 3, - "volume": 7.92481250360578, - "difficulty": 2, - "effort": 15.84962500721156, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateConfigHash" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::cacheResult": { - "line": 239, - "lineCount": 14, - "argCount": 4, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 13, - "N1": 5, - "N2": 20, - "programLength": 25, - "programVocabulary": 15, - "volume": 97.67226489021297, - "difficulty": 1.5384615384615385, - "effort": 150.26502290801997, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::cacheResult" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::clearCache": { - "line": 254, - "lineCount": 4, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::clearCache" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::normalizeFilename": { - "line": 264, - "lineCount": 15, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 6, - "n2": 7, - "N1": 12, - "N2": 16, - "programLength": 28, - "programVocabulary": 13, - "volume": 103.61231210795059, - "difficulty": 6.857142857142857, - "effort": 710.4844258830897, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::normalizeFilename" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCachedMetrics": { - "line": 286, - "lineCount": 19, - "argCount": 3, - "returnCount": 3, - "variableCount": 4, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 11, - "N1": 10, - "N2": 29, - "programLength": 39, - "programVocabulary": 14, - "volume": 148.48684196024655, - "difficulty": 3.954545454545454, - "effort": 587.1979659337022, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCachedMetrics" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processFile": { - "line": 312, - "lineCount": 37, - "argCount": 5, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 7, - "n2": 10, - "N1": 12, - "N2": 28, - "programLength": 40, - "programVocabulary": 17, - "volume": 163.49851365001356, - "difficulty": 9.799999999999999, - "effort": 1602.2854337701328, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::sort": { - "line": 51, - "lineCount": 41, - "argCount": 3, - "returnCount": 2, - "variableCount": 10, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 18, - "N1": 20, - "N2": 43, - "programLength": 63, - "programVocabulary": 22, - "volume": 280.9441919741497, - "difficulty": 4.777777777777778, - "effort": 1342.2889172098264, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::sort" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getFieldValue": { - "line": 100, - "lineCount": 28, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 25, - "N1": 24, - "N2": 50, - "programLength": 74, - "programVocabulary": 27, - "volume": 351.86167516009664, - "difficulty": 2, - "effort": 703.7233503201933, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getFieldValue" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::compareValues": { - "line": 136, - "lineCount": 13, - "argCount": 2, - "returnCount": 3, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 2, - "N1": 9, - "N2": 12, - "programLength": 21, - "programVocabulary": 5, - "volume": 48.760489992634604, - "difficulty": 9, - "effort": 438.8444099337114, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::compareValues" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getSortableFields": { - "line": 155, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 0, - "N1": 0, - "N2": 0, - "programLength": 0, - "programVocabulary": 0, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getSortableFields" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__construct": { - "line": 15, - "lineCount": 11, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 7, - "N2": 12, - "programLength": 19, - "programVocabulary": 6, - "volume": 49.11428751370197, - "difficulty": 6, - "effort": 294.6857250822118, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::getValue": { - "line": 27, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::getValue" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasIncreased": { - "line": 32, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasIncreased" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__toString": { - "line": 37, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__toString" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasNotChanged": { - "line": 42, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 2, - "programLength": 3, - "programVocabulary": 3, - "volume": 4.754887502163468, - "difficulty": 0.5, - "effort": 2.377443751081734, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasNotChanged" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\FileProcessed::__construct": { - "line": 14, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\FileProcessed::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\ParserFailed::__construct": { - "line": 15, - "lineCount": 5, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\ParserFailed::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\SourceFilesFound::__construct": { - "line": 17, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\SourceFilesFound::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::__construct": { - "line": 15, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::create": { - "line": 27, - "lineCount": 10, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 6, - "N1": 0, - "N2": 8, - "programLength": 8, - "programVocabulary": 6, - "volume": 20.67970000576925, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::create" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::getSupportedTypes": { - "line": 43, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 4, - "N1": 0, - "N2": 4, - "programLength": 4, - "programVocabulary": 4, - "volume": 8, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::getSupportedTypes" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::isSupported": { - "line": 54, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 2, - "N2": 3, - "programLength": 5, - "programVocabulary": 4, - "volume": 10, - "difficulty": 1.5, - "effort": 15, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::isSupported" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CsvExporter::export": { - "line": 46, - "lineCount": 57, - "argCount": 2, - "returnCount": 0, - "variableCount": 6, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "cyclomatic_complexity": { - "complexity": 5, - "risk_level": "low" - }, - "halstead": { - "n1": 4, - "n2": 15, - "N1": 37, - "N2": 54, - "programLength": 91, - "programVocabulary": 19, - "volume": 386.56140372336625, - "difficulty": 7.2, - "effort": 2783.242106808237, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CsvExporter::export" - } - } - }, - "ignored_items": [], - "cached_at": 1759967601 -} \ No newline at end of file diff --git a/.phpcca.cache/d4/d4727a6d32efa0399b8fd3f536904e6e.cache b/.phpcca.cache/d4/d4727a6d32efa0399b8fd3f536904e6e.cache deleted file mode 100644 index be1b6a3..0000000 --- a/.phpcca.cache/d4/d4727a6d32efa0399b8fd3f536904e6e.cache +++ /dev/null @@ -1,3623 +0,0 @@ -{ - "version": "1.0", - "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/PhpParser\/CombinedMetricsVisitor.php", - "file_mtime": 1759791861, - "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", - "analysis_result": { - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::__construct": { - "line": 26, - "lineCount": 5, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 4, - "N1": 3, - "N2": 6, - "programLength": 9, - "programVocabulary": 7, - "volume": 25.26619429851844, - "difficulty": 2.25, - "effort": 56.848937171666485, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItem": { - "line": 35, - "lineCount": 15, - "argCount": 1, - "returnCount": 3, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 6, - "N2": 13, - "programLength": 19, - "programVocabulary": 8, - "volume": 57, - "difficulty": 6.5, - "effort": 370.5, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItem" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItems": { - "line": 55, - "lineCount": 9, - "argCount": 1, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 3, - "N2": 9, - "programLength": 12, - "programVocabulary": 6, - "volume": 31.019550008653873, - "difficulty": 2.25, - "effort": 69.79398751947122, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItems" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::hasItem": { - "line": 68, - "lineCount": 6, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 5, - "n2": 3, - "N1": 6, - "N2": 7, - "programLength": 13, - "programVocabulary": 8, - "volume": 39, - "difficulty": 5.833333333333334, - "effort": 227.50000000000003, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::hasItem" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::clear": { - "line": 75, - "lineCount": 10, - "argCount": 0, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 2, - "N2": 4, - "programLength": 6, - "programVocabulary": 3, - "volume": 9.509775004326936, - "difficulty": 1, - "effort": 9.509775004326936, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::clear" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItem": { - "line": 89, - "lineCount": 10, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 4, - "N2": 6, - "programLength": 10, - "programVocabulary": 6, - "volume": 25.84962500721156, - "difficulty": 3, - "effort": 77.54887502163469, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItem" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItems": { - "line": 103, - "lineCount": 10, - "argCount": 1, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 3, - "N2": 8, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 2, - "effort": 56.86917501586544, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItems" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::save": { - "line": 117, - "lineCount": 11, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 4, - "N1": 9, - "N2": 12, - "programLength": 21, - "programVocabulary": 7, - "volume": 58.95445336320969, - "difficulty": 4.5, - "effort": 265.2950401344436, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::save" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveDeferred": { - "line": 129, - "lineCount": 6, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveDeferred" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::commit": { - "line": 136, - "lineCount": 11, - "argCount": 0, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 4, - "N2": 8, - "programLength": 12, - "programVocabulary": 5, - "volume": 27.863137138648348, - "difficulty": 2.6666666666666665, - "effort": 74.30169903639559, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::commit" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::ensureCacheDirectory": { - "line": 152, - "lineCount": 9, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 3, - "N2": 4, - "programLength": 7, - "programVocabulary": 4, - "volume": 14, - "difficulty": 2, - "effort": 28, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::ensureCacheDirectory" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getCacheFilePath": { - "line": 168, - "lineCount": 15, - "argCount": 1, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 10, - "N1": 13, - "N2": 19, - "programLength": 32, - "programVocabulary": 14, - "volume": 121.83535750584333, - "difficulty": 3.8, - "effort": 462.9743585222046, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getCacheFilePath" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::loadCacheData": { - "line": 187, - "lineCount": 14, - "argCount": 1, - "returnCount": 3, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 6, - "N2": 8, - "programLength": 14, - "programVocabulary": 6, - "volume": 36.18947501009619, - "difficulty": 4, - "effort": 144.75790004038475, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::loadCacheData" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveCacheData": { - "line": 209, - "lineCount": 21, - "argCount": 2, - "returnCount": 3, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 6, - "n2": 7, - "N1": 13, - "N2": 17, - "programLength": 30, - "programVocabulary": 13, - "volume": 111.01319154423277, - "difficulty": 7.285714285714285, - "effort": 808.810395536553, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveCacheData" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::sanitizeUtf8": { - "line": 234, - "lineCount": 25, - "argCount": 1, - "returnCount": 4, - "variableCount": 6, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 8, - "N1": 13, - "N2": 29, - "programLength": 42, - "programVocabulary": 11, - "volume": 145.29612798276648, - "difficulty": 5.4375, - "effort": 790.0476959062927, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::sanitizeUtf8" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::removeDirectory": { - "line": 260, - "lineCount": 23, - "argCount": 1, - "returnCount": 2, - "variableCount": 5, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 5, - "n2": 9, - "N1": 13, - "N2": 20, - "programLength": 33, - "programVocabulary": 14, - "volume": 125.64271242790093, - "difficulty": 5.555555555555555, - "effort": 698.0150690438941, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::removeDirectory" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::__construct": { - "line": 42, - "lineCount": 7, - "argCount": 3, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 3, - "N1": 0, - "N2": 3, - "programLength": 3, - "programVocabulary": 3, - "volume": 4.754887502163468, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::configure": { - "line": 53, - "lineCount": 57, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 15, - "N1": 9, - "N2": 16, - "programLength": 25, - "programVocabulary": 16, - "volume": 100, - "difficulty": 0.5333333333333333, - "effort": 53.333333333333336, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::configure" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::execute": { - "line": 119, - "lineCount": 43, - "argCount": 2, - "returnCount": 5, - "variableCount": 9, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 4, - "halstead": { - "n1": 7, - "n2": 14, - "N1": 31, - "N2": 45, - "programLength": 76, - "programVocabulary": 21, - "volume": 333.8161241311858, - "difficulty": 11.25, - "effort": 3755.4313964758403, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::execute" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::loadCoverageReader": { - "line": 171, - "lineCount": 32, - "argCount": 3, - "returnCount": 4, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 2, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 4, - "n2": 9, - "N1": 9, - "N2": 21, - "programLength": 30, - "programVocabulary": 13, - "volume": 111.01319154423277, - "difficulty": 4.666666666666667, - "effort": 518.0615605397529, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::loadCoverageReader" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::detectCoverageFormat": { - "line": 207, - "lineCount": 19, - "argCount": 1, - "returnCount": 4, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 9, - "volume": 47.548875021634686, - "difficulty": 2.5, - "effort": 118.87218755408671, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::detectCoverageFormat" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::coverageFileExists": { - "line": 227, - "lineCount": 20, - "argCount": 2, - "returnCount": 3, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 4, - "N2": 7, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 3.5, - "effort": 99.52105627776452, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::coverageFileExists" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::__construct": { - "line": 49, - "lineCount": 10, - "argCount": 6, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 6, - "N1": 0, - "N2": 6, - "programLength": 6, - "programVocabulary": 6, - "volume": 15.509775004326936, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::configure": { - "line": 63, - "lineCount": 76, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 20, - "N1": 13, - "N2": 20, - "programLength": 33, - "programVocabulary": 21, - "volume": 144.94647495169912, - "difficulty": 0.5, - "effort": 72.47323747584956, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::configure" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::execute": { - "line": 150, - "lineCount": 52, - "argCount": 2, - "returnCount": 5, - "variableCount": 11, - "propertyCallCount": 6, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 7, - "halstead": { - "n1": 6, - "n2": 15, - "N1": 43, - "N2": 61, - "programLength": 104, - "programVocabulary": 21, - "volume": 456.80101196899113, - "difficulty": 12.2, - "effort": 5572.972346021692, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::execute" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::parsePaths": { - "line": 209, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 4, - "N2": 8, - "programLength": 12, - "programVocabulary": 7, - "volume": 33.68825906469125, - "difficulty": 1.6, - "effort": 53.901214503506004, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::parsePaths" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleBaseLine": { - "line": 224, - "lineCount": 8, - "argCount": 2, - "returnCount": 0, - "variableCount": 3, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 5, - "N2": 11, - "programLength": 16, - "programVocabulary": 7, - "volume": 44.91767875292167, - "difficulty": 2.2, - "effort": 98.81889325642767, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleBaseLine" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleCoverageOptions": { - "line": 238, - "lineCount": 20, - "argCount": 2, - "returnCount": 3, - "variableCount": 5, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 5, - "n2": 10, - "N1": 15, - "N2": 25, - "programLength": 40, - "programVocabulary": 15, - "volume": 156.27562382434076, - "difficulty": 6.25, - "effort": 976.7226489021298, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleCoverageOptions" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::applySorting": { - "line": 264, - "lineCount": 21, - "argCount": 3, - "returnCount": 3, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 15, - "N1": 16, - "N2": 32, - "programLength": 48, - "programVocabulary": 20, - "volume": 207.45254855459342, - "difficulty": 5.333333333333333, - "effort": 1106.4135922911648, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::applySorting" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadConfiguration": { - "line": 293, - "lineCount": 10, - "argCount": 2, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 6, - "N1": 5, - "N2": 9, - "programLength": 14, - "programVocabulary": 8, - "volume": 42, - "difficulty": 1.5, - "effort": 63, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadConfiguration" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadCoverageReader": { - "line": 313, - "lineCount": 28, - "argCount": 3, - "returnCount": 4, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 2, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 10, - "N2": 18, - "programLength": 28, - "programVocabulary": 11, - "volume": 96.86408532184433, - "difficulty": 5.142857142857143, - "effort": 498.15815308377086, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadCoverageReader" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::detectCoverageFormat": { - "line": 345, - "lineCount": 19, - "argCount": 1, - "returnCount": 4, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 9, - "volume": 47.548875021634686, - "difficulty": 2.5, - "effort": 118.87218755408671, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::detectCoverageFormat" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::coverageFileExists": { - "line": 365, - "lineCount": 20, - "argCount": 2, - "returnCount": 3, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 4, - "N2": 7, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 3.5, - "effort": 99.52105627776452, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::coverageFileExists" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__construct": { - "line": 12, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__invoke": { - "line": 17, - "lineCount": 22, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 3, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 10, - "N2": 11, - "programLength": 21, - "programVocabulary": 7, - "volume": 58.95445336320969, - "difficulty": 2.2, - "effort": 129.6997973990613, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__invoke" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__construct": { - "line": 21, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__invoke": { - "line": 26, - "lineCount": 11, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 4, - "N2": 9, - "programLength": 13, - "programVocabulary": 4, - "volume": 26, - "difficulty": 4.5, - "effort": 117, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__invoke" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleSourceFilesFound": { - "line": 38, - "lineCount": 6, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 4, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 6, - "N2": 10, - "programLength": 16, - "programVocabulary": 8, - "volume": 48, - "difficulty": 5, - "effort": 240, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleSourceFilesFound" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleFileProcessed": { - "line": 45, - "lineCount": 5, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleFileProcessed" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleAllFilesProcessed": { - "line": 51, - "lineCount": 6, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 3, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 3, - "N2": 5, - "programLength": 8, - "programVocabulary": 5, - "volume": 18.575424759098897, - "difficulty": 1.6666666666666667, - "effort": 30.95904126516483, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleAllFilesProcessed" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__construct": { - "line": 20, - "lineCount": 5, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__invoke": { - "line": 26, - "lineCount": 17, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 5, - "n2": 8, - "N1": 17, - "N2": 17, - "programLength": 34, - "programVocabulary": 13, - "volume": 125.81495041679713, - "difficulty": 5.3125, - "effort": 668.3919240892347, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__invoke" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::formatBytes": { - "line": 50, - "lineCount": 12, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 7, - "n2": 13, - "N1": 10, - "N2": 22, - "programLength": 32, - "programVocabulary": 20, - "volume": 138.3016990363956, - "difficulty": 5.923076923076923, - "effort": 819.1716019848047, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::formatBytes" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::isDebugEnabled": { - "line": 66, - "lineCount": 5, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 1, - "N1": 4, - "N2": 2, - "programLength": 6, - "programVocabulary": 4, - "volume": 12, - "difficulty": 3, - "effort": 36, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::isDebugEnabled" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::__construct": { - "line": 20, - "lineCount": 6, - "argCount": 2, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 4, - "volume": 8, - "difficulty": 0.5, - "effort": 4, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::exportToFile": { - "line": 32, - "lineCount": 27, - "argCount": 3, - "returnCount": 4, - "variableCount": 2, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 1, - "n2": 6, - "N1": 6, - "N2": 19, - "programLength": 25, - "programVocabulary": 7, - "volume": 70.1838730514401, - "difficulty": 1.5833333333333333, - "effort": 111.12446566478016, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::exportToFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::hasIncompleteReportOptions": { - "line": 60, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 2, - "N1": 7, - "N2": 6, - "programLength": 13, - "programVocabulary": 6, - "volume": 33.60451250937503, - "difficulty": 6, - "effort": 201.62707505625016, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::hasIncompleteReportOptions" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::isValidReportType": { - "line": 65, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 2, - "N2": 4, - "programLength": 6, - "programVocabulary": 4, - "volume": 12, - "difficulty": 2, - "effort": 24, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::isValidReportType" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleExceptions": { - "line": 77, - "lineCount": 9, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 3, - "N2": 4, - "programLength": 7, - "programVocabulary": 5, - "volume": 16.253496664211536, - "difficulty": 1.3333333333333333, - "effort": 21.67132888561538, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleExceptions" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleInvalidReportType": { - "line": 91, - "lineCount": 11, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 5, - "N2": 8, - "programLength": 13, - "programVocabulary": 8, - "volume": 39, - "difficulty": 2.4000000000000004, - "effort": 93.60000000000001, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleInvalidReportType" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::__construct": { - "line": 15, - "lineCount": 5, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handle": { - "line": 24, - "lineCount": 27, - "argCount": 3, - "returnCount": 4, - "variableCount": 2, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 1, - "n2": 6, - "N1": 6, - "N2": 19, - "programLength": 25, - "programVocabulary": 7, - "volume": 70.1838730514401, - "difficulty": 1.5833333333333333, - "effort": 111.12446566478016, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handle" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::hasIncompleteReportOptions": { - "line": 52, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 2, - "N1": 7, - "N2": 6, - "programLength": 13, - "programVocabulary": 6, - "volume": 33.60451250937503, - "difficulty": 6, - "effort": 201.62707505625016, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::hasIncompleteReportOptions" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::isValidReportType": { - "line": 57, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 5, - "N1": 1, - "N2": 6, - "programLength": 7, - "programVocabulary": 6, - "volume": 18.094737505048094, - "difficulty": 0.6, - "effort": 10.856842503028856, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::isValidReportType" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handleExceptions": { - "line": 66, - "lineCount": 9, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 3, - "N2": 4, - "programLength": 7, - "programVocabulary": 5, - "volume": 16.253496664211536, - "difficulty": 1.3333333333333333, - "effort": 21.67132888561538, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handleExceptions" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handleInvalidReporType": { - "line": 80, - "lineCount": 9, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 4, - "programLength": 6, - "programVocabulary": 5, - "volume": 13.931568569324174, - "difficulty": 1.3333333333333333, - "effort": 18.575424759098897, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handleInvalidReporType" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::__construct": { - "line": 42, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::reportWritten": { - "line": 47, - "lineCount": 7, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 4, - "programLength": 6, - "programVocabulary": 5, - "volume": 13.931568569324174, - "difficulty": 1.3333333333333333, - "effort": 18.575424759098897, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::reportWritten" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::renderChurnTable": { - "line": 59, - "lineCount": 35, - "argCount": 1, - "returnCount": 0, - "variableCount": 6, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 8, - "n2": 18, - "N1": 21, - "N2": 53, - "programLength": 74, - "programVocabulary": 26, - "volume": 347.8325391424408, - "difficulty": 11.777777777777779, - "effort": 4096.694349899859, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::renderChurnTable" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricSummaryTextRenderer::__construct": { - "line": 18, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricSummaryTextRenderer::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricSummaryTextRenderer::render": { - "line": 23, - "lineCount": 32, - "argCount": 2, - "returnCount": 0, - "variableCount": 6, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 6, - "n2": 16, - "N1": 27, - "N2": 38, - "programLength": 65, - "programVocabulary": 22, - "volume": 289.86305521142435, - "difficulty": 7.125, - "effort": 2065.2742683813985, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricSummaryTextRenderer::render" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::__construct": { - "line": 27, - "lineCount": 5, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::metricExceedsThreshold": { - "line": 33, - "lineCount": 6, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 2, - "N1": 3, - "N2": 5, - "programLength": 8, - "programVocabulary": 5, - "volume": 18.575424759098897, - "difficulty": 3.75, - "effort": 69.65784284662087, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::metricExceedsThreshold" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::hasCoverageInCollection": { - "line": 43, - "lineCount": 10, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 2, - "N2": 4, - "programLength": 6, - "programVocabulary": 4, - "volume": 12, - "difficulty": 2, - "effort": 24, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::hasCoverageInCollection" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::render": { - "line": 58, - "lineCount": 17, - "argCount": 2, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 6, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 9, - "N2": 25, - "programLength": 34, - "programVocabulary": 6, - "volume": 87.8887250245193, - "difficulty": 6.25, - "effort": 549.3045314032456, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::render" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderGroupedByClass": { - "line": 81, - "lineCount": 19, - "argCount": 3, - "returnCount": 0, - "variableCount": 6, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 5, - "n2": 11, - "N1": 11, - "N2": 25, - "programLength": 36, - "programVocabulary": 16, - "volume": 144, - "difficulty": 5.6818181818181825, - "effort": 818.1818181818182, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderGroupedByClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::buildRowsForClass": { - "line": 106, - "lineCount": 13, - "argCount": 2, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 4, - "N2": 12, - "programLength": 16, - "programVocabulary": 7, - "volume": 44.91767875292167, - "difficulty": 2.4, - "effort": 107.802429007012, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::buildRowsForClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::getFilenameFromMetrics": { - "line": 123, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 5, - "programLength": 6, - "programVocabulary": 4, - "volume": 12, - "difficulty": 0.8333333333333334, - "effort": 10, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::getFilenameFromMetrics" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderAllMethodsInSingleTable": { - "line": 136, - "lineCount": 12, - "argCount": 3, - "returnCount": 0, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 6, - "N2": 15, - "programLength": 21, - "programVocabulary": 11, - "volume": 72.64806399138324, - "difficulty": 4.285714285714286, - "effort": 311.34884567735673, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderAllMethodsInSingleTable" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::buildRowsForSingleTable": { - "line": 154, - "lineCount": 13, - "argCount": 2, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 4, - "N2": 12, - "programLength": 16, - "programVocabulary": 7, - "volume": 44.91767875292167, - "difficulty": 2.4, - "effort": 107.802429007012, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::buildRowsForSingleTable" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderTableCommon": { - "line": 173, - "lineCount": 19, - "argCount": 4, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 8, - "N1": 7, - "N2": 19, - "programLength": 26, - "programVocabulary": 10, - "volume": 86.37013046707142, - "difficulty": 2.375, - "effort": 205.1290598592946, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderTableCommon" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderTable": { - "line": 196, - "lineCount": 13, - "argCount": 4, - "returnCount": 0, - "variableCount": 3, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 7, - "N1": 4, - "N2": 14, - "programLength": 18, - "programVocabulary": 9, - "volume": 57.05865002596162, - "difficulty": 2, - "effort": 114.11730005192324, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderTable" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderSingleTable": { - "line": 213, - "lineCount": 11, - "argCount": 3, - "returnCount": 0, - "variableCount": 3, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 6, - "N1": 4, - "N2": 12, - "programLength": 16, - "programVocabulary": 8, - "volume": 48, - "difficulty": 2, - "effort": 96, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderSingleTable" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::__construct": { - "line": 16, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatScore": { - "line": 21, - "lineCount": 6, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 6, - "N1": 5, - "N2": 9, - "programLength": 14, - "programVocabulary": 8, - "volume": 42, - "difficulty": 1.5, - "effort": 63, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatScore" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadVolume": { - "line": 28, - "lineCount": 14, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 10, - "N1": 9, - "N2": 17, - "programLength": 26, - "programVocabulary": 15, - "volume": 101.57915548582149, - "difficulty": 4.25, - "effort": 431.7114108147413, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadVolume" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadDifficulty": { - "line": 43, - "lineCount": 13, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 10, - "N1": 8, - "N2": 17, - "programLength": 25, - "programVocabulary": 14, - "volume": 95.1838730514401, - "difficulty": 3.4, - "effort": 323.62516837489636, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadDifficulty" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadEffort": { - "line": 57, - "lineCount": 13, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 10, - "N1": 8, - "N2": 17, - "programLength": 25, - "programVocabulary": 14, - "volume": 95.1838730514401, - "difficulty": 3.4, - "effort": 323.62516837489636, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadEffort" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatCyclomaticComplexity": { - "line": 71, - "lineCount": 13, - "argCount": 1, - "returnCount": 3, - "variableCount": 4, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 5, - "n2": 9, - "N1": 9, - "N2": 18, - "programLength": 27, - "programVocabulary": 14, - "volume": 102.79858289555531, - "difficulty": 5, - "effort": 513.9929144777766, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatCyclomaticComplexity" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::colorCyclomaticRisk": { - "line": 85, - "lineCount": 8, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 7, - "N1": 5, - "N2": 11, - "programLength": 16, - "programVocabulary": 9, - "volume": 50.718800023076994, - "difficulty": 1.5714285714285714, - "effort": 79.70097146483528, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::colorCyclomaticRisk" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::__construct": { - "line": 17, - "lineCount": 5, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::getGroupedTableHeaders": { - "line": 28, - "lineCount": 16, - "argCount": 0, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 10, - "N2": 17, - "programLength": 27, - "programVocabulary": 6, - "volume": 69.79398751947122, - "difficulty": 4.25, - "effort": 296.62444695775264, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::getGroupedTableHeaders" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCoverageHeader": { - "line": 49, - "lineCount": 10, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 6, - "programLength": 7, - "programVocabulary": 4, - "volume": 14, - "difficulty": 1, - "effort": 14, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCoverageHeader" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::getSingleTableHeaders": { - "line": 65, - "lineCount": 20, - "argCount": 0, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 6, - "N1": 9, - "N2": 18, - "programLength": 27, - "programVocabulary": 8, - "volume": 81, - "difficulty": 3, - "effort": 243, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::getSingleTableHeaders" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addHalsteadHeaders": { - "line": 92, - "lineCount": 10, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 1, - "n2": 5, - "N1": 3, - "N2": 9, - "programLength": 12, - "programVocabulary": 6, - "volume": 31.019550008653873, - "difficulty": 0.9, - "effort": 27.917595007788485, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addHalsteadHeaders" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCyclomaticHeaders": { - "line": 109, - "lineCount": 8, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 5, - "programLength": 6, - "programVocabulary": 4, - "volume": 12, - "difficulty": 0.8333333333333334, - "effort": 10, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCyclomaticHeaders" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCognitiveMetricDetails": { - "line": 122, - "lineCount": 16, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 10, - "N1": 2, - "N2": 13, - "programLength": 15, - "programVocabulary": 12, - "volume": 53.77443751081734, - "difficulty": 1.3, - "effort": 69.90676876406255, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCognitiveMetricDetails" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::__construct": { - "line": 21, - "lineCount": 6, - "argCount": 3, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 3, - "N1": 0, - "N2": 3, - "programLength": 3, - "programVocabulary": 3, - "volume": 4.754887502163468, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::buildRow": { - "line": 34, - "lineCount": 16, - "argCount": 1, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 10, - "N2": 24, - "programLength": 34, - "programVocabulary": 7, - "volume": 95.45006734995854, - "difficulty": 4.8, - "effort": 458.160323279801, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::buildRow" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::buildRowWithClassInfo": { - "line": 57, - "lineCount": 16, - "argCount": 1, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 10, - "N2": 24, - "programLength": 34, - "programVocabulary": 7, - "volume": 95.45006734995854, - "difficulty": 4.8, - "effort": 458.160323279801, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::buildRowWithClassInfo" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::metricsToArray": { - "line": 79, - "lineCount": 8, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 3, - "N2": 7, - "programLength": 10, - "programVocabulary": 6, - "volume": 25.84962500721156, - "difficulty": 1.75, - "effort": 45.23684376262023, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::metricsToArray" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::metricsToArrayWithClassInfo": { - "line": 93, - "lineCount": 9, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 4, - "N2": 9, - "programLength": 13, - "programVocabulary": 7, - "volume": 36.49561398674886, - "difficulty": 1.8, - "effort": 65.69210517614795, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::metricsToArrayWithClassInfo" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addHalsteadFields": { - "line": 109, - "lineCount": 10, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 6, - "N1": 6, - "N2": 16, - "programLength": 22, - "programVocabulary": 8, - "volume": 66, - "difficulty": 2.6666666666666665, - "effort": 176, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addHalsteadFields" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addCyclomaticFields": { - "line": 126, - "lineCount": 8, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 2, - "N2": 8, - "programLength": 10, - "programVocabulary": 6, - "volume": 25.84962500721156, - "difficulty": 2, - "effort": 51.69925001442312, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addCyclomaticFields" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addWeightedValue": { - "line": 141, - "lineCount": 10, - "argCount": 3, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 11, - "N1": 13, - "N2": 22, - "programLength": 35, - "programVocabulary": 15, - "volume": 136.74117084629816, - "difficulty": 4, - "effort": 546.9646833851926, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addWeightedValue" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addDelta": { - "line": 158, - "lineCount": 20, - "argCount": 3, - "returnCount": 3, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 6, - "n2": 13, - "N1": 19, - "N2": 30, - "programLength": 49, - "programVocabulary": 19, - "volume": 208.14844815873568, - "difficulty": 6.9230769230769225, - "effort": 1441.0277180220162, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::getKeys": { - "line": 184, - "lineCount": 17, - "argCount": 0, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 0, - "n2": 9, - "N1": 0, - "N2": 9, - "programLength": 9, - "programVocabulary": 9, - "volume": 28.52932501298081, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::getKeys" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::assertDeltaMethodExists": { - "line": 205, - "lineCount": 6, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 6, - "programLength": 8, - "programVocabulary": 5, - "volume": 18.575424759098897, - "difficulty": 2, - "effort": 37.150849518197795, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::assertDeltaMethodExists" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addCoverageValue": { - "line": 216, - "lineCount": 11, - "argCount": 2, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 7, - "N1": 7, - "N2": 15, - "programLength": 22, - "programVocabulary": 12, - "volume": 78.86917501586544, - "difficulty": 5.357142857142857, - "effort": 422.51343758499337, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addCoverageValue" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::extracted": { - "line": 233, - "lineCount": 22, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 12, - "N1": 19, - "N2": 34, - "programLength": 53, - "programVocabulary": 15, - "volume": 207.06520156725148, - "difficulty": 4.25, - "effort": 880.0271066608187, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::extracted" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CacheConfig::__construct": { - "line": 12, - "lineCount": 5, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CacheConfig::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CacheConfig::toArray": { - "line": 23, - "lineCount": 7, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 3, - "N1": 0, - "N2": 4, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CacheConfig::toArray" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CognitiveConfig::__construct": { - "line": 20, - "lineCount": 13, - "argCount": 10, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 10, - "N1": 0, - "N2": 10, - "programLength": 10, - "programVocabulary": 10, - "volume": 33.219280948873624, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CognitiveConfig::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CognitiveConfig::toArray": { - "line": 39, - "lineCount": 20, - "argCount": 0, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 10, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 14, - "N1": 3, - "N2": 27, - "programLength": 30, - "programVocabulary": 16, - "volume": 120, - "difficulty": 1.9285714285714286, - "effort": 231.42857142857144, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CognitiveConfig::toArray" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigFactory::fromArray": { - "line": 16, - "lineCount": 31, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 20, - "N1": 10, - "N2": 52, - "programLength": 62, - "programVocabulary": 23, - "volume": 280.4608412755348, - "difficulty": 3.9000000000000004, - "effort": 1093.7972809745859, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigFactory::fromArray" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigLoader::getCognitiveMetricDefaults": { - "line": 27, - "lineCount": 45, - "argCount": 0, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 8, - "N1": 0, - "N2": 16, - "programLength": 16, - "programVocabulary": 8, - "volume": 48, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigLoader::getCognitiveMetricDefaults" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigLoader::getConfigTreeBuilder": { - "line": 73, - "lineCount": 75, - "argCount": 0, - "returnCount": 2, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 24, - "N1": 68, - "N2": 29, - "programLength": 97, - "programVocabulary": 27, - "volume": 461.2240877098564, - "difficulty": 1.8125, - "effort": 835.9686589741148, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigLoader::getConfigTreeBuilder" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigService::__construct": { - "line": 20, - "lineCount": 6, - "argCount": 2, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 4, - "volume": 8, - "difficulty": 0.5, - "effort": 4, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigService::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigService::loadDefaultConfig": { - "line": 30, - "lineCount": 8, - "argCount": 0, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 3, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 5, - "N2": 6, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 3, - "effort": 85.30376252379816, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigService::loadDefaultConfig" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigService::loadConfig": { - "line": 42, - "lineCount": 9, - "argCount": 1, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 3, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 4, - "N1": 5, - "N2": 8, - "programLength": 13, - "programVocabulary": 7, - "volume": 36.49561398674886, - "difficulty": 3, - "effort": 109.48684196024658, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigService::loadConfig" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigService::getConfig": { - "line": 52, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigService::getConfig" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\MetricsConfig::__construct": { - "line": 12, - "lineCount": 6, - "argCount": 3, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 3, - "N1": 0, - "N2": 3, - "programLength": 3, - "programVocabulary": 3, - "volume": 4.754887502163468, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\MetricsConfig::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\MetricsConfig::toArray": { - "line": 24, - "lineCount": 8, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 3, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 4, - "N1": 0, - "N2": 6, - "programLength": 6, - "programVocabulary": 4, - "volume": 12, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\MetricsConfig::toArray" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::setAnnotationVisitor": { - "line": 63, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::setAnnotationVisitor" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::resetValues": { - "line": 68, - "lineCount": 12, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 9, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 9, - "N2": 15, - "programLength": 24, - "programVocabulary": 3, - "volume": 38.039100017307746, - "difficulty": 3.75, - "effort": 142.64662506490404, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::resetValues" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::resetAll": { - "line": 84, - "lineCount": 9, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 4, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 5, - "N2": 8, - "programLength": 13, - "programVocabulary": 4, - "volume": 26, - "difficulty": 4, - "effort": 104, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::resetAll" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::createMetricsArray": { - "line": 97, - "lineCount": 14, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 12, - "N1": 3, - "N2": 21, - "programLength": 24, - "programVocabulary": 13, - "volume": 88.81055323538621, - "difficulty": 0.875, - "effort": 77.70923408096293, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::createMetricsArray" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::isValidContext": { - "line": 115, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::isValidContext" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::buildMethodKey": { - "line": 123, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::buildMethodKey" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::classMethodOnEnterNode": { - "line": 128, - "lineCount": 20, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 3, - "ifNestingLevel": 2, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 5, - "n2": 4, - "N1": 12, - "N2": 16, - "programLength": 28, - "programVocabulary": 9, - "volume": 88.75790004038474, - "difficulty": 10, - "effort": 887.5790004038474, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::classMethodOnEnterNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::isClassMethodNode": { - "line": 155, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::isClassMethodNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::initializeMethodContext": { - "line": 166, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 2, - "N2": 3, - "programLength": 5, - "programVocabulary": 4, - "volume": 10, - "difficulty": 1.5, - "effort": 15, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::initializeMethodContext" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::trackMethodArguments": { - "line": 177, - "lineCount": 8, - "argCount": 1, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 4, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 7, - "programLength": 9, - "programVocabulary": 5, - "volume": 20.89735285398626, - "difficulty": 2.3333333333333335, - "effort": 48.76048999263461, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::trackMethodArguments" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::isVariable": { - "line": 192, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::isVariable" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::calculateLineCount": { - "line": 203, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 2, - "N1": 4, - "N2": 4, - "programLength": 8, - "programVocabulary": 5, - "volume": 18.575424759098897, - "difficulty": 3, - "effort": 55.726274277296696, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::calculateLineCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::countMethodArguments": { - "line": 214, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 2, - "programLength": 3, - "programVocabulary": 2, - "volume": 3, - "difficulty": 1, - "effort": 3, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::countMethodArguments" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::setCurrentNamespaceOnEnterNode": { - "line": 219, - "lineCount": 6, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 6, - "programLength": 8, - "programVocabulary": 5, - "volume": 18.575424759098897, - "difficulty": 2, - "effort": 37.150849518197795, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::setCurrentNamespaceOnEnterNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::isClassOrTraitNode": { - "line": 229, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 1.5, - "effort": 6, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::isClassOrTraitNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::setCurrentClassOnEnterNode": { - "line": 234, - "lineCount": 22, - "argCount": 1, - "returnCount": 4, - "variableCount": 2, - "propertyCallCount": 4, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 6, - "n2": 5, - "N1": 12, - "N2": 16, - "programLength": 28, - "programVocabulary": 11, - "volume": 96.86408532184433, - "difficulty": 9.600000000000001, - "effort": 929.8952190897057, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::setCurrentClassOnEnterNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::normalizeFqcn": { - "line": 261, - "lineCount": 8, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 2, - "N1": 3, - "N2": 9, - "programLength": 12, - "programVocabulary": 5, - "volume": 27.863137138648348, - "difficulty": 6.75, - "effort": 188.07617568587634, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::normalizeFqcn" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::enterNode": { - "line": 270, - "lineCount": 16, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 3, - "volume": 22.189475010096185, - "difficulty": 2.5, - "effort": 55.473687525240464, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::enterNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::gatherMetrics": { - "line": 287, - "lineCount": 12, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 5, - "N2": 14, - "programLength": 19, - "programVocabulary": 3, - "volume": 30.114287513701967, - "difficulty": 3.5, - "effort": 105.40000629795688, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::gatherMetrics" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::incrementReturnCount": { - "line": 300, - "lineCount": 4, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::incrementReturnCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::countVariablesNotAlreadyTrackedAsArguments": { - "line": 326, - "lineCount": 6, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 2, - "N1": 3, - "N2": 6, - "programLength": 9, - "programVocabulary": 5, - "volume": 20.89735285398626, - "difficulty": 4.5, - "effort": 94.03808784293817, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::countVariablesNotAlreadyTrackedAsArguments" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::trackPropertyFetch": { - "line": 333, - "lineCount": 15, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 3, - "N2": 9, - "programLength": 12, - "programVocabulary": 5, - "volume": 27.863137138648348, - "difficulty": 3, - "effort": 83.58941141594505, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::trackPropertyFetch" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::trackIfStatement": { - "line": 349, - "lineCount": 9, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 1, - "N1": 2, - "N2": 6, - "programLength": 8, - "programVocabulary": 3, - "volume": 12.679700005769249, - "difficulty": 6, - "effort": 76.07820003461549, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::trackIfStatement" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::incrementElseCount": { - "line": 359, - "lineCount": 4, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::incrementElseCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::checkNestingLevelOnLeaveNode": { - "line": 364, - "lineCount": 6, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 3, - "programLength": 3, - "programVocabulary": 2, - "volume": 3, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::checkNestingLevelOnLeaveNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::writeMetricsOnLeaveNode": { - "line": 373, - "lineCount": 38, - "argCount": 1, - "returnCount": 3, - "variableCount": 2, - "propertyCallCount": 11, - "ifNestingLevel": 2, - "elseCount": 0, - "ifCount": 5, - "halstead": { - "n1": 7, - "n2": 14, - "N1": 29, - "N2": 58, - "programLength": 87, - "programVocabulary": 21, - "volume": 382.1316157817522, - "difficulty": 14.500000000000002, - "effort": 5540.908428835408, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::writeMetricsOnLeaveNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::checkNameSpaceOnLeaveNode": { - "line": 412, - "lineCount": 6, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 4, - "programLength": 5, - "programVocabulary": 4, - "volume": 10, - "difficulty": 0.6666666666666666, - "effort": 6.666666666666666, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::checkNameSpaceOnLeaveNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::checkClassOnLeaveNode": { - "line": 419, - "lineCount": 11, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 2, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 6, - "programLength": 8, - "programVocabulary": 5, - "volume": 18.575424759098897, - "difficulty": 2, - "effort": 37.150849518197795, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::checkClassOnLeaveNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::leaveNode": { - "line": 431, - "lineCount": 7, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 4, - "N2": 9, - "programLength": 13, - "programVocabulary": 3, - "volume": 20.604512509375027, - "difficulty": 2.25, - "effort": 46.36015314609381, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::leaveNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::getMethodMetrics": { - "line": 439, - "lineCount": 13, - "argCount": 0, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 6, - "N1": 8, - "N2": 15, - "programLength": 23, - "programVocabulary": 10, - "volume": 76.40434618240933, - "difficulty": 5, - "effort": 382.0217309120466, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::getMethodMetrics" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CombinedMetricsVisitor::__construct": { - "line": 22, - "lineCount": 7, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 4, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 4, - "N2": 4, - "programLength": 8, - "programVocabulary": 2, - "volume": 8, - "difficulty": 2, - "effort": 16, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CombinedMetricsVisitor::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CombinedMetricsVisitor::beforeTraverse": { - "line": 33, - "lineCount": 7, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 2, - "programLength": 3, - "programVocabulary": 3, - "volume": 4.754887502163468, - "difficulty": 0.5, - "effort": 2.377443751081734, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CombinedMetricsVisitor::beforeTraverse" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CombinedMetricsVisitor::enterNode": { - "line": 41, - "lineCount": 20, - "argCount": 1, - "returnCount": 2, - "variableCount": 5, - "propertyCallCount": 4, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "cyclomatic_complexity": { - "complexity": 2, - "risk_level": "low" - }, - "halstead": { - "n1": 4, - "n2": 6, - "N1": 15, - "N2": 17, - "programLength": 32, - "programVocabulary": 10, - "volume": 106.30169903639559, - "difficulty": 5.666666666666667, - "effort": 602.376294539575, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CombinedMetricsVisitor::enterNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CombinedMetricsVisitor::leaveNode": { - "line": 62, - "lineCount": 10, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 4, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 4, - "N2": 9, - "programLength": 13, - "programVocabulary": 3, - "volume": 20.604512509375027, - "difficulty": 2.25, - "effort": 46.36015314609381, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CombinedMetricsVisitor::leaveNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CombinedMetricsVisitor::afterTraverse": { - "line": 76, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CombinedMetricsVisitor::afterTraverse" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CombinedMetricsVisitor::resetAll": { - "line": 84, - "lineCount": 7, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 4, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 4, - "N2": 4, - "programLength": 8, - "programVocabulary": 2, - "volume": 8, - "difficulty": 2, - "effort": 16, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CombinedMetricsVisitor::resetAll" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CombinedMetricsVisitor::resetAllBetweenFiles": { - "line": 95, - "lineCount": 7, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 4, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 4, - "N2": 4, - "programLength": 8, - "programVocabulary": 2, - "volume": 8, - "difficulty": 2, - "effort": 16, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CombinedMetricsVisitor::resetAllBetweenFiles" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CombinedMetricsVisitor::getMethodMetrics": { - "line": 106, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CombinedMetricsVisitor::getMethodMetrics" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CombinedMetricsVisitor::getMethodComplexity": { - "line": 114, - "lineCount": 5, - "argCount": 0, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 3, - "N2": 4, - "programLength": 7, - "programVocabulary": 6, - "volume": 18.094737505048094, - "difficulty": 2, - "effort": 36.18947501009619, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CombinedMetricsVisitor::getMethodComplexity" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CombinedMetricsVisitor::getHalsteadMethodMetrics": { - "line": 123, - "lineCount": 5, - "argCount": 0, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 3, - "N2": 4, - "programLength": 7, - "programVocabulary": 6, - "volume": 18.094737505048094, - "difficulty": 2, - "effort": 36.18947501009619, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CombinedMetricsVisitor::getHalsteadMethodMetrics" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CombinedMetricsVisitor::getIgnored": { - "line": 132, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CombinedMetricsVisitor::getIgnored" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CombinedMetricsVisitor::setAnnotationVisitor": { - "line": 140, - "lineCount": 4, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 2, - "programLength": 3, - "programVocabulary": 2, - "volume": 3, - "difficulty": 1, - "effort": 3, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CombinedMetricsVisitor::setAnnotationVisitor" - } - } - }, - "ignored_items": [], - "cached_at": 1759967602 -} \ No newline at end of file diff --git a/.phpcca.cache/d4/d4da30247444888cb54a5b51b0494352.cache b/.phpcca.cache/d4/d4da30247444888cb54a5b51b0494352.cache deleted file mode 100644 index c2662d4..0000000 --- a/.phpcca.cache/d4/d4da30247444888cb54a5b51b0494352.cache +++ /dev/null @@ -1,2429 +0,0 @@ -{ - "version": "1.0", - "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/Config\/ConfigFactory.php", - "file_mtime": 1759965497, - "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", - "analysis_result": { - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::__construct": { - "line": 26, - "lineCount": 5, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 4, - "N1": 3, - "N2": 6, - "programLength": 9, - "programVocabulary": 7, - "volume": 25.26619429851844, - "difficulty": 2.25, - "effort": 56.848937171666485, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItem": { - "line": 35, - "lineCount": 15, - "argCount": 1, - "returnCount": 3, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 6, - "N2": 13, - "programLength": 19, - "programVocabulary": 8, - "volume": 57, - "difficulty": 6.5, - "effort": 370.5, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItem" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItems": { - "line": 55, - "lineCount": 9, - "argCount": 1, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 3, - "N2": 9, - "programLength": 12, - "programVocabulary": 6, - "volume": 31.019550008653873, - "difficulty": 2.25, - "effort": 69.79398751947122, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItems" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::hasItem": { - "line": 68, - "lineCount": 6, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 5, - "n2": 3, - "N1": 6, - "N2": 7, - "programLength": 13, - "programVocabulary": 8, - "volume": 39, - "difficulty": 5.833333333333334, - "effort": 227.50000000000003, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::hasItem" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::clear": { - "line": 75, - "lineCount": 10, - "argCount": 0, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 2, - "N2": 4, - "programLength": 6, - "programVocabulary": 3, - "volume": 9.509775004326936, - "difficulty": 1, - "effort": 9.509775004326936, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::clear" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItem": { - "line": 89, - "lineCount": 10, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 4, - "N2": 6, - "programLength": 10, - "programVocabulary": 6, - "volume": 25.84962500721156, - "difficulty": 3, - "effort": 77.54887502163469, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItem" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItems": { - "line": 103, - "lineCount": 10, - "argCount": 1, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 3, - "N2": 8, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 2, - "effort": 56.86917501586544, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItems" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::save": { - "line": 117, - "lineCount": 11, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 4, - "N1": 9, - "N2": 12, - "programLength": 21, - "programVocabulary": 7, - "volume": 58.95445336320969, - "difficulty": 4.5, - "effort": 265.2950401344436, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::save" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveDeferred": { - "line": 129, - "lineCount": 6, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveDeferred" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::commit": { - "line": 136, - "lineCount": 11, - "argCount": 0, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 4, - "N2": 8, - "programLength": 12, - "programVocabulary": 5, - "volume": 27.863137138648348, - "difficulty": 2.6666666666666665, - "effort": 74.30169903639559, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::commit" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::ensureCacheDirectory": { - "line": 152, - "lineCount": 9, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 3, - "N2": 4, - "programLength": 7, - "programVocabulary": 4, - "volume": 14, - "difficulty": 2, - "effort": 28, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::ensureCacheDirectory" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getCacheFilePath": { - "line": 168, - "lineCount": 15, - "argCount": 1, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 10, - "N1": 13, - "N2": 19, - "programLength": 32, - "programVocabulary": 14, - "volume": 121.83535750584333, - "difficulty": 3.8, - "effort": 462.9743585222046, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getCacheFilePath" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::loadCacheData": { - "line": 187, - "lineCount": 14, - "argCount": 1, - "returnCount": 3, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 6, - "N2": 8, - "programLength": 14, - "programVocabulary": 6, - "volume": 36.18947501009619, - "difficulty": 4, - "effort": 144.75790004038475, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::loadCacheData" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveCacheData": { - "line": 209, - "lineCount": 21, - "argCount": 2, - "returnCount": 3, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 6, - "n2": 7, - "N1": 13, - "N2": 17, - "programLength": 30, - "programVocabulary": 13, - "volume": 111.01319154423277, - "difficulty": 7.285714285714285, - "effort": 808.810395536553, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveCacheData" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::sanitizeUtf8": { - "line": 234, - "lineCount": 25, - "argCount": 1, - "returnCount": 4, - "variableCount": 6, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 8, - "N1": 13, - "N2": 29, - "programLength": 42, - "programVocabulary": 11, - "volume": 145.29612798276648, - "difficulty": 5.4375, - "effort": 790.0476959062927, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::sanitizeUtf8" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::removeDirectory": { - "line": 260, - "lineCount": 23, - "argCount": 1, - "returnCount": 2, - "variableCount": 5, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 5, - "n2": 9, - "N1": 13, - "N2": 20, - "programLength": 33, - "programVocabulary": 14, - "volume": 125.64271242790093, - "difficulty": 5.555555555555555, - "effort": 698.0150690438941, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::removeDirectory" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::__construct": { - "line": 42, - "lineCount": 7, - "argCount": 3, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 3, - "N1": 0, - "N2": 3, - "programLength": 3, - "programVocabulary": 3, - "volume": 4.754887502163468, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::configure": { - "line": 53, - "lineCount": 57, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 15, - "N1": 9, - "N2": 16, - "programLength": 25, - "programVocabulary": 16, - "volume": 100, - "difficulty": 0.5333333333333333, - "effort": 53.333333333333336, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::configure" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::execute": { - "line": 119, - "lineCount": 43, - "argCount": 2, - "returnCount": 5, - "variableCount": 9, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 4, - "halstead": { - "n1": 7, - "n2": 14, - "N1": 31, - "N2": 45, - "programLength": 76, - "programVocabulary": 21, - "volume": 333.8161241311858, - "difficulty": 11.25, - "effort": 3755.4313964758403, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::execute" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::loadCoverageReader": { - "line": 171, - "lineCount": 32, - "argCount": 3, - "returnCount": 4, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 2, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 4, - "n2": 9, - "N1": 9, - "N2": 21, - "programLength": 30, - "programVocabulary": 13, - "volume": 111.01319154423277, - "difficulty": 4.666666666666667, - "effort": 518.0615605397529, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::loadCoverageReader" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::detectCoverageFormat": { - "line": 207, - "lineCount": 19, - "argCount": 1, - "returnCount": 4, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 9, - "volume": 47.548875021634686, - "difficulty": 2.5, - "effort": 118.87218755408671, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::detectCoverageFormat" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::coverageFileExists": { - "line": 227, - "lineCount": 20, - "argCount": 2, - "returnCount": 3, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 4, - "N2": 7, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 3.5, - "effort": 99.52105627776452, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::coverageFileExists" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::__construct": { - "line": 49, - "lineCount": 10, - "argCount": 6, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 6, - "N1": 0, - "N2": 6, - "programLength": 6, - "programVocabulary": 6, - "volume": 15.509775004326936, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::configure": { - "line": 63, - "lineCount": 76, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 20, - "N1": 13, - "N2": 20, - "programLength": 33, - "programVocabulary": 21, - "volume": 144.94647495169912, - "difficulty": 0.5, - "effort": 72.47323747584956, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::configure" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::execute": { - "line": 150, - "lineCount": 52, - "argCount": 2, - "returnCount": 5, - "variableCount": 11, - "propertyCallCount": 6, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 7, - "halstead": { - "n1": 6, - "n2": 15, - "N1": 43, - "N2": 61, - "programLength": 104, - "programVocabulary": 21, - "volume": 456.80101196899113, - "difficulty": 12.2, - "effort": 5572.972346021692, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::execute" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::parsePaths": { - "line": 209, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 4, - "N2": 8, - "programLength": 12, - "programVocabulary": 7, - "volume": 33.68825906469125, - "difficulty": 1.6, - "effort": 53.901214503506004, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::parsePaths" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleBaseLine": { - "line": 224, - "lineCount": 8, - "argCount": 2, - "returnCount": 0, - "variableCount": 3, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 5, - "N2": 11, - "programLength": 16, - "programVocabulary": 7, - "volume": 44.91767875292167, - "difficulty": 2.2, - "effort": 98.81889325642767, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleBaseLine" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleCoverageOptions": { - "line": 238, - "lineCount": 20, - "argCount": 2, - "returnCount": 3, - "variableCount": 5, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 5, - "n2": 10, - "N1": 15, - "N2": 25, - "programLength": 40, - "programVocabulary": 15, - "volume": 156.27562382434076, - "difficulty": 6.25, - "effort": 976.7226489021298, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleCoverageOptions" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::applySorting": { - "line": 264, - "lineCount": 21, - "argCount": 3, - "returnCount": 3, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 15, - "N1": 16, - "N2": 32, - "programLength": 48, - "programVocabulary": 20, - "volume": 207.45254855459342, - "difficulty": 5.333333333333333, - "effort": 1106.4135922911648, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::applySorting" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadConfiguration": { - "line": 293, - "lineCount": 10, - "argCount": 2, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 6, - "N1": 5, - "N2": 9, - "programLength": 14, - "programVocabulary": 8, - "volume": 42, - "difficulty": 1.5, - "effort": 63, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadConfiguration" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadCoverageReader": { - "line": 313, - "lineCount": 28, - "argCount": 3, - "returnCount": 4, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 2, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 10, - "N2": 18, - "programLength": 28, - "programVocabulary": 11, - "volume": 96.86408532184433, - "difficulty": 5.142857142857143, - "effort": 498.15815308377086, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadCoverageReader" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::detectCoverageFormat": { - "line": 345, - "lineCount": 19, - "argCount": 1, - "returnCount": 4, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 9, - "volume": 47.548875021634686, - "difficulty": 2.5, - "effort": 118.87218755408671, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::detectCoverageFormat" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::coverageFileExists": { - "line": 365, - "lineCount": 20, - "argCount": 2, - "returnCount": 3, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 4, - "N2": 7, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 3.5, - "effort": 99.52105627776452, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::coverageFileExists" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__construct": { - "line": 12, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__invoke": { - "line": 17, - "lineCount": 22, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 3, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 10, - "N2": 11, - "programLength": 21, - "programVocabulary": 7, - "volume": 58.95445336320969, - "difficulty": 2.2, - "effort": 129.6997973990613, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__invoke" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__construct": { - "line": 21, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__invoke": { - "line": 26, - "lineCount": 11, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 4, - "N2": 9, - "programLength": 13, - "programVocabulary": 4, - "volume": 26, - "difficulty": 4.5, - "effort": 117, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__invoke" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleSourceFilesFound": { - "line": 38, - "lineCount": 6, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 4, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 6, - "N2": 10, - "programLength": 16, - "programVocabulary": 8, - "volume": 48, - "difficulty": 5, - "effort": 240, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleSourceFilesFound" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleFileProcessed": { - "line": 45, - "lineCount": 5, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleFileProcessed" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleAllFilesProcessed": { - "line": 51, - "lineCount": 6, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 3, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 3, - "N2": 5, - "programLength": 8, - "programVocabulary": 5, - "volume": 18.575424759098897, - "difficulty": 1.6666666666666667, - "effort": 30.95904126516483, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleAllFilesProcessed" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__construct": { - "line": 20, - "lineCount": 5, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__invoke": { - "line": 26, - "lineCount": 17, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 5, - "n2": 8, - "N1": 17, - "N2": 17, - "programLength": 34, - "programVocabulary": 13, - "volume": 125.81495041679713, - "difficulty": 5.3125, - "effort": 668.3919240892347, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__invoke" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::formatBytes": { - "line": 50, - "lineCount": 12, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 7, - "n2": 13, - "N1": 10, - "N2": 22, - "programLength": 32, - "programVocabulary": 20, - "volume": 138.3016990363956, - "difficulty": 5.923076923076923, - "effort": 819.1716019848047, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::formatBytes" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::isDebugEnabled": { - "line": 66, - "lineCount": 5, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 1, - "N1": 4, - "N2": 2, - "programLength": 6, - "programVocabulary": 4, - "volume": 12, - "difficulty": 3, - "effort": 36, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::isDebugEnabled" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::__construct": { - "line": 20, - "lineCount": 6, - "argCount": 2, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 4, - "volume": 8, - "difficulty": 0.5, - "effort": 4, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::exportToFile": { - "line": 32, - "lineCount": 27, - "argCount": 3, - "returnCount": 4, - "variableCount": 2, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 1, - "n2": 6, - "N1": 6, - "N2": 19, - "programLength": 25, - "programVocabulary": 7, - "volume": 70.1838730514401, - "difficulty": 1.5833333333333333, - "effort": 111.12446566478016, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::exportToFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::hasIncompleteReportOptions": { - "line": 60, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 2, - "N1": 7, - "N2": 6, - "programLength": 13, - "programVocabulary": 6, - "volume": 33.60451250937503, - "difficulty": 6, - "effort": 201.62707505625016, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::hasIncompleteReportOptions" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::isValidReportType": { - "line": 65, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 2, - "N2": 4, - "programLength": 6, - "programVocabulary": 4, - "volume": 12, - "difficulty": 2, - "effort": 24, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::isValidReportType" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleExceptions": { - "line": 77, - "lineCount": 9, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 3, - "N2": 4, - "programLength": 7, - "programVocabulary": 5, - "volume": 16.253496664211536, - "difficulty": 1.3333333333333333, - "effort": 21.67132888561538, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleExceptions" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleInvalidReportType": { - "line": 91, - "lineCount": 11, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 5, - "N2": 8, - "programLength": 13, - "programVocabulary": 8, - "volume": 39, - "difficulty": 2.4000000000000004, - "effort": 93.60000000000001, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleInvalidReportType" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::__construct": { - "line": 15, - "lineCount": 5, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handle": { - "line": 24, - "lineCount": 27, - "argCount": 3, - "returnCount": 4, - "variableCount": 2, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 1, - "n2": 6, - "N1": 6, - "N2": 19, - "programLength": 25, - "programVocabulary": 7, - "volume": 70.1838730514401, - "difficulty": 1.5833333333333333, - "effort": 111.12446566478016, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handle" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::hasIncompleteReportOptions": { - "line": 52, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 2, - "N1": 7, - "N2": 6, - "programLength": 13, - "programVocabulary": 6, - "volume": 33.60451250937503, - "difficulty": 6, - "effort": 201.62707505625016, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::hasIncompleteReportOptions" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::isValidReportType": { - "line": 57, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 5, - "N1": 1, - "N2": 6, - "programLength": 7, - "programVocabulary": 6, - "volume": 18.094737505048094, - "difficulty": 0.6, - "effort": 10.856842503028856, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::isValidReportType" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handleExceptions": { - "line": 66, - "lineCount": 9, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 3, - "N2": 4, - "programLength": 7, - "programVocabulary": 5, - "volume": 16.253496664211536, - "difficulty": 1.3333333333333333, - "effort": 21.67132888561538, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handleExceptions" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handleInvalidReporType": { - "line": 80, - "lineCount": 9, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 4, - "programLength": 6, - "programVocabulary": 5, - "volume": 13.931568569324174, - "difficulty": 1.3333333333333333, - "effort": 18.575424759098897, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handleInvalidReporType" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::__construct": { - "line": 42, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::reportWritten": { - "line": 47, - "lineCount": 7, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 4, - "programLength": 6, - "programVocabulary": 5, - "volume": 13.931568569324174, - "difficulty": 1.3333333333333333, - "effort": 18.575424759098897, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::reportWritten" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::renderChurnTable": { - "line": 59, - "lineCount": 35, - "argCount": 1, - "returnCount": 0, - "variableCount": 6, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 8, - "n2": 18, - "N1": 21, - "N2": 53, - "programLength": 74, - "programVocabulary": 26, - "volume": 347.8325391424408, - "difficulty": 11.777777777777779, - "effort": 4096.694349899859, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::renderChurnTable" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricSummaryTextRenderer::__construct": { - "line": 18, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricSummaryTextRenderer::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricSummaryTextRenderer::render": { - "line": 23, - "lineCount": 32, - "argCount": 2, - "returnCount": 0, - "variableCount": 6, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 6, - "n2": 16, - "N1": 27, - "N2": 38, - "programLength": 65, - "programVocabulary": 22, - "volume": 289.86305521142435, - "difficulty": 7.125, - "effort": 2065.2742683813985, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricSummaryTextRenderer::render" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::__construct": { - "line": 27, - "lineCount": 5, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::metricExceedsThreshold": { - "line": 33, - "lineCount": 6, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 2, - "N1": 3, - "N2": 5, - "programLength": 8, - "programVocabulary": 5, - "volume": 18.575424759098897, - "difficulty": 3.75, - "effort": 69.65784284662087, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::metricExceedsThreshold" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::hasCoverageInCollection": { - "line": 43, - "lineCount": 10, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 2, - "N2": 4, - "programLength": 6, - "programVocabulary": 4, - "volume": 12, - "difficulty": 2, - "effort": 24, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::hasCoverageInCollection" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::render": { - "line": 58, - "lineCount": 17, - "argCount": 2, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 6, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 9, - "N2": 25, - "programLength": 34, - "programVocabulary": 6, - "volume": 87.8887250245193, - "difficulty": 6.25, - "effort": 549.3045314032456, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::render" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderGroupedByClass": { - "line": 81, - "lineCount": 19, - "argCount": 3, - "returnCount": 0, - "variableCount": 6, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 5, - "n2": 11, - "N1": 11, - "N2": 25, - "programLength": 36, - "programVocabulary": 16, - "volume": 144, - "difficulty": 5.6818181818181825, - "effort": 818.1818181818182, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderGroupedByClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::buildRowsForClass": { - "line": 106, - "lineCount": 13, - "argCount": 2, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 4, - "N2": 12, - "programLength": 16, - "programVocabulary": 7, - "volume": 44.91767875292167, - "difficulty": 2.4, - "effort": 107.802429007012, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::buildRowsForClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::getFilenameFromMetrics": { - "line": 123, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 5, - "programLength": 6, - "programVocabulary": 4, - "volume": 12, - "difficulty": 0.8333333333333334, - "effort": 10, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::getFilenameFromMetrics" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderAllMethodsInSingleTable": { - "line": 136, - "lineCount": 12, - "argCount": 3, - "returnCount": 0, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 6, - "N2": 15, - "programLength": 21, - "programVocabulary": 11, - "volume": 72.64806399138324, - "difficulty": 4.285714285714286, - "effort": 311.34884567735673, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderAllMethodsInSingleTable" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::buildRowsForSingleTable": { - "line": 154, - "lineCount": 13, - "argCount": 2, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 4, - "N2": 12, - "programLength": 16, - "programVocabulary": 7, - "volume": 44.91767875292167, - "difficulty": 2.4, - "effort": 107.802429007012, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::buildRowsForSingleTable" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderTableCommon": { - "line": 173, - "lineCount": 19, - "argCount": 4, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 8, - "N1": 7, - "N2": 19, - "programLength": 26, - "programVocabulary": 10, - "volume": 86.37013046707142, - "difficulty": 2.375, - "effort": 205.1290598592946, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderTableCommon" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderTable": { - "line": 196, - "lineCount": 13, - "argCount": 4, - "returnCount": 0, - "variableCount": 3, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 7, - "N1": 4, - "N2": 14, - "programLength": 18, - "programVocabulary": 9, - "volume": 57.05865002596162, - "difficulty": 2, - "effort": 114.11730005192324, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderTable" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderSingleTable": { - "line": 213, - "lineCount": 11, - "argCount": 3, - "returnCount": 0, - "variableCount": 3, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 6, - "N1": 4, - "N2": 12, - "programLength": 16, - "programVocabulary": 8, - "volume": 48, - "difficulty": 2, - "effort": 96, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderSingleTable" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::__construct": { - "line": 16, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatScore": { - "line": 21, - "lineCount": 6, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 6, - "N1": 5, - "N2": 9, - "programLength": 14, - "programVocabulary": 8, - "volume": 42, - "difficulty": 1.5, - "effort": 63, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatScore" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadVolume": { - "line": 28, - "lineCount": 14, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 10, - "N1": 9, - "N2": 17, - "programLength": 26, - "programVocabulary": 15, - "volume": 101.57915548582149, - "difficulty": 4.25, - "effort": 431.7114108147413, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadVolume" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadDifficulty": { - "line": 43, - "lineCount": 13, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 10, - "N1": 8, - "N2": 17, - "programLength": 25, - "programVocabulary": 14, - "volume": 95.1838730514401, - "difficulty": 3.4, - "effort": 323.62516837489636, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadDifficulty" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadEffort": { - "line": 57, - "lineCount": 13, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 10, - "N1": 8, - "N2": 17, - "programLength": 25, - "programVocabulary": 14, - "volume": 95.1838730514401, - "difficulty": 3.4, - "effort": 323.62516837489636, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadEffort" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatCyclomaticComplexity": { - "line": 71, - "lineCount": 13, - "argCount": 1, - "returnCount": 3, - "variableCount": 4, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 5, - "n2": 9, - "N1": 9, - "N2": 18, - "programLength": 27, - "programVocabulary": 14, - "volume": 102.79858289555531, - "difficulty": 5, - "effort": 513.9929144777766, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatCyclomaticComplexity" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::colorCyclomaticRisk": { - "line": 85, - "lineCount": 8, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 7, - "N1": 5, - "N2": 11, - "programLength": 16, - "programVocabulary": 9, - "volume": 50.718800023076994, - "difficulty": 1.5714285714285714, - "effort": 79.70097146483528, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::colorCyclomaticRisk" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::__construct": { - "line": 17, - "lineCount": 5, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::getGroupedTableHeaders": { - "line": 28, - "lineCount": 16, - "argCount": 0, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 10, - "N2": 17, - "programLength": 27, - "programVocabulary": 6, - "volume": 69.79398751947122, - "difficulty": 4.25, - "effort": 296.62444695775264, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::getGroupedTableHeaders" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCoverageHeader": { - "line": 49, - "lineCount": 10, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 6, - "programLength": 7, - "programVocabulary": 4, - "volume": 14, - "difficulty": 1, - "effort": 14, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCoverageHeader" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::getSingleTableHeaders": { - "line": 65, - "lineCount": 20, - "argCount": 0, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 6, - "N1": 9, - "N2": 18, - "programLength": 27, - "programVocabulary": 8, - "volume": 81, - "difficulty": 3, - "effort": 243, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::getSingleTableHeaders" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addHalsteadHeaders": { - "line": 92, - "lineCount": 10, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 1, - "n2": 5, - "N1": 3, - "N2": 9, - "programLength": 12, - "programVocabulary": 6, - "volume": 31.019550008653873, - "difficulty": 0.9, - "effort": 27.917595007788485, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addHalsteadHeaders" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCyclomaticHeaders": { - "line": 109, - "lineCount": 8, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 5, - "programLength": 6, - "programVocabulary": 4, - "volume": 12, - "difficulty": 0.8333333333333334, - "effort": 10, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCyclomaticHeaders" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCognitiveMetricDetails": { - "line": 122, - "lineCount": 16, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 10, - "N1": 2, - "N2": 13, - "programLength": 15, - "programVocabulary": 12, - "volume": 53.77443751081734, - "difficulty": 1.3, - "effort": 69.90676876406255, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCognitiveMetricDetails" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::__construct": { - "line": 21, - "lineCount": 6, - "argCount": 3, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 3, - "N1": 0, - "N2": 3, - "programLength": 3, - "programVocabulary": 3, - "volume": 4.754887502163468, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::buildRow": { - "line": 34, - "lineCount": 16, - "argCount": 1, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 10, - "N2": 24, - "programLength": 34, - "programVocabulary": 7, - "volume": 95.45006734995854, - "difficulty": 4.8, - "effort": 458.160323279801, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::buildRow" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::buildRowWithClassInfo": { - "line": 57, - "lineCount": 16, - "argCount": 1, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 10, - "N2": 24, - "programLength": 34, - "programVocabulary": 7, - "volume": 95.45006734995854, - "difficulty": 4.8, - "effort": 458.160323279801, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::buildRowWithClassInfo" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::metricsToArray": { - "line": 79, - "lineCount": 8, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 3, - "N2": 7, - "programLength": 10, - "programVocabulary": 6, - "volume": 25.84962500721156, - "difficulty": 1.75, - "effort": 45.23684376262023, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::metricsToArray" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::metricsToArrayWithClassInfo": { - "line": 93, - "lineCount": 9, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 4, - "N2": 9, - "programLength": 13, - "programVocabulary": 7, - "volume": 36.49561398674886, - "difficulty": 1.8, - "effort": 65.69210517614795, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::metricsToArrayWithClassInfo" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addHalsteadFields": { - "line": 109, - "lineCount": 10, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 6, - "N1": 6, - "N2": 16, - "programLength": 22, - "programVocabulary": 8, - "volume": 66, - "difficulty": 2.6666666666666665, - "effort": 176, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addHalsteadFields" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addCyclomaticFields": { - "line": 126, - "lineCount": 8, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 2, - "N2": 8, - "programLength": 10, - "programVocabulary": 6, - "volume": 25.84962500721156, - "difficulty": 2, - "effort": 51.69925001442312, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addCyclomaticFields" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addWeightedValue": { - "line": 141, - "lineCount": 10, - "argCount": 3, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 11, - "N1": 13, - "N2": 22, - "programLength": 35, - "programVocabulary": 15, - "volume": 136.74117084629816, - "difficulty": 4, - "effort": 546.9646833851926, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addWeightedValue" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addDelta": { - "line": 158, - "lineCount": 20, - "argCount": 3, - "returnCount": 3, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 6, - "n2": 13, - "N1": 19, - "N2": 30, - "programLength": 49, - "programVocabulary": 19, - "volume": 208.14844815873568, - "difficulty": 6.9230769230769225, - "effort": 1441.0277180220162, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::getKeys": { - "line": 184, - "lineCount": 17, - "argCount": 0, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 0, - "n2": 9, - "N1": 0, - "N2": 9, - "programLength": 9, - "programVocabulary": 9, - "volume": 28.52932501298081, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::getKeys" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::assertDeltaMethodExists": { - "line": 205, - "lineCount": 6, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 6, - "programLength": 8, - "programVocabulary": 5, - "volume": 18.575424759098897, - "difficulty": 2, - "effort": 37.150849518197795, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::assertDeltaMethodExists" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addCoverageValue": { - "line": 216, - "lineCount": 11, - "argCount": 2, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 7, - "N1": 7, - "N2": 15, - "programLength": 22, - "programVocabulary": 12, - "volume": 78.86917501586544, - "difficulty": 5.357142857142857, - "effort": 422.51343758499337, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addCoverageValue" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::extracted": { - "line": 233, - "lineCount": 22, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 12, - "N1": 19, - "N2": 34, - "programLength": 53, - "programVocabulary": 15, - "volume": 207.06520156725148, - "difficulty": 4.25, - "effort": 880.0271066608187, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::extracted" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CacheConfig::__construct": { - "line": 12, - "lineCount": 5, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CacheConfig::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CacheConfig::toArray": { - "line": 23, - "lineCount": 7, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 3, - "N1": 0, - "N2": 4, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CacheConfig::toArray" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CognitiveConfig::__construct": { - "line": 20, - "lineCount": 13, - "argCount": 10, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 10, - "N1": 0, - "N2": 10, - "programLength": 10, - "programVocabulary": 10, - "volume": 33.219280948873624, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CognitiveConfig::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CognitiveConfig::toArray": { - "line": 39, - "lineCount": 20, - "argCount": 0, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 10, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 14, - "N1": 3, - "N2": 27, - "programLength": 30, - "programVocabulary": 16, - "volume": 120, - "difficulty": 1.9285714285714286, - "effort": 231.42857142857144, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CognitiveConfig::toArray" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigFactory::fromArray": { - "line": 16, - "lineCount": 31, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "cyclomatic_complexity": { - "complexity": 2, - "risk_level": "low" - }, - "halstead": { - "n1": 3, - "n2": 20, - "N1": 10, - "N2": 52, - "programLength": 62, - "programVocabulary": 23, - "volume": 280.4608412755348, - "difficulty": 3.9000000000000004, - "effort": 1093.7972809745859, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigFactory::fromArray" - } - } - }, - "ignored_items": [], - "cached_at": 1759967602 -} \ No newline at end of file diff --git a/.phpcca.cache/db/dbad0c83acfa294de54e0bc687d08ec2.cache b/.phpcca.cache/db/dbad0c83acfa294de54e0bc687d08ec2.cache deleted file mode 100644 index 4f4a52b..0000000 --- a/.phpcca.cache/db/dbad0c83acfa294de54e0bc687d08ec2.cache +++ /dev/null @@ -1,643 +0,0 @@ -{ - "version": "1.0", - "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/Business\/Churn\/Exporter\/ChurnExporterFactory.php", - "file_mtime": 1759784766, - "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", - "analysis_result": { - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct": { - "line": 60, - "lineCount": 5, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 1, - "N1": 2, - "N2": 2, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 2, - "effort": 12.679700005769249, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices": { - "line": 66, - "lineCount": 95, - "argCount": 0, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 5, - "N1": 58, - "N2": 32, - "programLength": 90, - "programVocabulary": 9, - "volume": 285.2932501298081, - "difficulty": 12.8, - "effort": 3651.7536016615436, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap": { - "line": 162, - "lineCount": 10, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 7, - "N2": 7, - "programLength": 14, - "programVocabulary": 2, - "volume": 14, - "difficulty": 3.5, - "effort": 49, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors": { - "line": 173, - "lineCount": 12, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 3, - "N2": 1, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0.5, - "effort": 2, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus": { - "line": 186, - "lineCount": 19, - "argCount": 0, - "returnCount": 0, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 9, - "N2": 13, - "programLength": 22, - "programVocabulary": 7, - "volume": 61.76180828526729, - "difficulty": 2.6, - "effort": 160.58070154169496, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService": { - "line": 206, - "lineCount": 9, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 3, - "N2": 1, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0.5, - "effort": 2, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade": { - "line": 216, - "lineCount": 13, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 3, - "N2": 1, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0.5, - "effort": 2, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands": { - "line": 230, - "lineCount": 21, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 6, - "N2": 2, - "programLength": 8, - "programVocabulary": 2, - "volume": 8, - "difficulty": 1, - "effort": 8, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication": { - "line": 252, - "lineCount": 11, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 5, - "N2": 4, - "programLength": 9, - "programVocabulary": 4, - "volume": 18, - "difficulty": 0.6666666666666666, - "effort": 12, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run": { - "line": 264, - "lineCount": 9, - "argCount": 0, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 5, - "N2": 5, - "programLength": 10, - "programVocabulary": 4, - "volume": 20, - "difficulty": 2.5, - "effort": 50, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get": { - "line": 274, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer": { - "line": 279, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator": { - "line": 289, - "lineCount": 16, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 7, - "programLength": 8, - "programVocabulary": 4, - "volume": 16, - "difficulty": 1.1666666666666667, - "effort": 18.666666666666668, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create": { - "line": 18, - "lineCount": 7, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 4, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile": { - "line": 17, - "lineCount": 17, - "argCount": 2, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 8, - "N1": 11, - "N2": 19, - "programLength": 30, - "programVocabulary": 11, - "volume": 103.78294855911892, - "difficulty": 3.5625, - "effort": 369.72675424186116, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode": { - "line": 42, - "lineCount": 8, - "argCount": 3, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 3, - "N2": 8, - "programLength": 11, - "programVocabulary": 8, - "volume": 33, - "difficulty": 2.4000000000000004, - "effort": 79.20000000000002, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate": { - "line": 22, - "lineCount": 10, - "argCount": 2, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 6, - "N2": 13, - "programLength": 19, - "programVocabulary": 6, - "volume": 49.11428751370197, - "difficulty": 3.25, - "effort": 159.6214344195314, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending": { - "line": 37, - "lineCount": 8, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 2, - "N2": 9, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 2.25, - "effort": 63.97782189284862, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn": { - "line": 51, - "lineCount": 24, - "argCount": 2, - "returnCount": 1, - "variableCount": 6, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 15, - "N1": 17, - "N2": 46, - "programLength": 63, - "programVocabulary": 20, - "volume": 272.28146997790384, - "difficulty": 7.666666666666667, - "effort": 2087.491269830596, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses": { - "line": 81, - "lineCount": 20, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 2, - "n2": 7, - "N1": 10, - "N2": 24, - "programLength": 34, - "programVocabulary": 9, - "volume": 107.7774500490386, - "difficulty": 3.4285714285714284, - "effort": 369.52268588241805, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass": { - "line": 109, - "lineCount": 9, - "argCount": 2, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 6, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 10, - "volume": 49.82892142331043, - "difficulty": 3.3333333333333335, - "effort": 166.09640474436813, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel": { - "line": 126, - "lineCount": 16, - "argCount": 2, - "returnCount": 4, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 12, - "N1": 9, - "N2": 18, - "programLength": 27, - "programVocabulary": 15, - "volume": 105.48604608143, - "difficulty": 2.25, - "effort": 237.3436036832175, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile": { - "line": 14, - "lineCount": 6, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 2, - "N2": 5, - "programLength": 7, - "programVocabulary": 4, - "volume": 14, - "difficulty": 2.5, - "effort": 35, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable": { - "line": 24, - "lineCount": 11, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 10, - "N2": 12, - "programLength": 22, - "programVocabulary": 8, - "volume": 66, - "difficulty": 6, - "effort": 396, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create": { - "line": 21, - "lineCount": 11, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 0, - "n2": 7, - "N1": 0, - "N2": 9, - "programLength": 9, - "programVocabulary": 7, - "volume": 25.26619429851844, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes": { - "line": 38, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 0, - "n2": 6, - "N1": 0, - "N2": 6, - "programLength": 6, - "programVocabulary": 6, - "volume": 15.509775004326936, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported": { - "line": 49, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 2, - "N2": 3, - "programLength": 5, - "programVocabulary": 4, - "volume": 10, - "difficulty": 1.5, - "effort": 15, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported" - } - } - }, - "ignored_items": [], - "cached_at": 1759967600 -} \ No newline at end of file diff --git a/.phpcca.cache/e2/e2a49950dd07e0b975cbe0f75651167f.cache b/.phpcca.cache/e2/e2a49950dd07e0b975cbe0f75651167f.cache deleted file mode 100644 index 807c38e..0000000 --- a/.phpcca.cache/e2/e2a49950dd07e0b975cbe0f75651167f.cache +++ /dev/null @@ -1,6187 +0,0 @@ -{ - "version": "1.0", - "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/Cache\/CacheItem.php", - "file_mtime": 1759964701, - "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", - "analysis_result": { - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct": { - "line": 60, - "lineCount": 5, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 1, - "N1": 2, - "N2": 2, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 2, - "effort": 12.679700005769249, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices": { - "line": 66, - "lineCount": 95, - "argCount": 0, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 5, - "N1": 58, - "N2": 32, - "programLength": 90, - "programVocabulary": 9, - "volume": 285.2932501298081, - "difficulty": 12.8, - "effort": 3651.7536016615436, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap": { - "line": 162, - "lineCount": 10, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 7, - "N2": 7, - "programLength": 14, - "programVocabulary": 2, - "volume": 14, - "difficulty": 3.5, - "effort": 49, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors": { - "line": 173, - "lineCount": 12, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 3, - "N2": 1, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0.5, - "effort": 2, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus": { - "line": 186, - "lineCount": 19, - "argCount": 0, - "returnCount": 0, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 9, - "N2": 13, - "programLength": 22, - "programVocabulary": 7, - "volume": 61.76180828526729, - "difficulty": 2.6, - "effort": 160.58070154169496, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService": { - "line": 206, - "lineCount": 9, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 3, - "N2": 1, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0.5, - "effort": 2, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade": { - "line": 216, - "lineCount": 13, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 3, - "N2": 1, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0.5, - "effort": 2, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands": { - "line": 230, - "lineCount": 21, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 6, - "N2": 2, - "programLength": 8, - "programVocabulary": 2, - "volume": 8, - "difficulty": 1, - "effort": 8, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication": { - "line": 252, - "lineCount": 11, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 5, - "N2": 4, - "programLength": 9, - "programVocabulary": 4, - "volume": 18, - "difficulty": 0.6666666666666666, - "effort": 12, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run": { - "line": 264, - "lineCount": 9, - "argCount": 0, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 5, - "N2": 5, - "programLength": 10, - "programVocabulary": 4, - "volume": 20, - "difficulty": 2.5, - "effort": 50, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get": { - "line": 274, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer": { - "line": 279, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator": { - "line": 289, - "lineCount": 16, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 7, - "programLength": 8, - "programVocabulary": 4, - "volume": 16, - "difficulty": 1.1666666666666667, - "effort": 18.666666666666668, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create": { - "line": 18, - "lineCount": 7, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 4, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile": { - "line": 17, - "lineCount": 17, - "argCount": 2, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 8, - "N1": 11, - "N2": 19, - "programLength": 30, - "programVocabulary": 11, - "volume": 103.78294855911892, - "difficulty": 3.5625, - "effort": 369.72675424186116, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode": { - "line": 42, - "lineCount": 8, - "argCount": 3, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 3, - "N2": 8, - "programLength": 11, - "programVocabulary": 8, - "volume": 33, - "difficulty": 2.4000000000000004, - "effort": 79.20000000000002, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate": { - "line": 22, - "lineCount": 10, - "argCount": 2, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 6, - "N2": 13, - "programLength": 19, - "programVocabulary": 6, - "volume": 49.11428751370197, - "difficulty": 3.25, - "effort": 159.6214344195314, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending": { - "line": 37, - "lineCount": 8, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 2, - "N2": 9, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 2.25, - "effort": 63.97782189284862, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn": { - "line": 51, - "lineCount": 24, - "argCount": 2, - "returnCount": 1, - "variableCount": 6, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 15, - "N1": 17, - "N2": 46, - "programLength": 63, - "programVocabulary": 20, - "volume": 272.28146997790384, - "difficulty": 7.666666666666667, - "effort": 2087.491269830596, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses": { - "line": 81, - "lineCount": 20, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 2, - "n2": 7, - "N1": 10, - "N2": 24, - "programLength": 34, - "programVocabulary": 9, - "volume": 107.7774500490386, - "difficulty": 3.4285714285714284, - "effort": 369.52268588241805, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass": { - "line": 109, - "lineCount": 9, - "argCount": 2, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 6, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 10, - "volume": 49.82892142331043, - "difficulty": 3.3333333333333335, - "effort": 166.09640474436813, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel": { - "line": 126, - "lineCount": 16, - "argCount": 2, - "returnCount": 4, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 12, - "N1": 9, - "N2": 18, - "programLength": 27, - "programVocabulary": 15, - "volume": 105.48604608143, - "difficulty": 2.25, - "effort": 237.3436036832175, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile": { - "line": 14, - "lineCount": 6, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 2, - "N2": 5, - "programLength": 7, - "programVocabulary": 4, - "volume": 14, - "difficulty": 2.5, - "effort": 35, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable": { - "line": 24, - "lineCount": 11, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 10, - "N2": 12, - "programLength": 22, - "programVocabulary": 8, - "volume": 66, - "difficulty": 6, - "effort": 396, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create": { - "line": 21, - "lineCount": 11, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 7, - "N1": 0, - "N2": 9, - "programLength": 9, - "programVocabulary": 7, - "volume": 25.26619429851844, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes": { - "line": 38, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 6, - "N1": 0, - "N2": 6, - "programLength": 6, - "programVocabulary": 6, - "volume": 15.509775004326936, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported": { - "line": 49, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 2, - "N2": 3, - "programLength": 5, - "programVocabulary": 4, - "volume": 10, - "difficulty": 1.5, - "effort": 15, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export": { - "line": 30, - "lineCount": 23, - "argCount": 2, - "returnCount": 0, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 16, - "N1": 10, - "N2": 33, - "programLength": 43, - "programVocabulary": 20, - "volume": 185.8429080801566, - "difficulty": 4.125, - "effort": 766.601995830646, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export": { - "line": 28, - "lineCount": 8, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 6, - "volume": 36.18947501009619, - "difficulty": 2.5, - "effort": 90.47368752524048, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape": { - "line": 37, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber": { - "line": 42, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml": { - "line": 52, - "lineCount": 50, - "argCount": 1, - "returnCount": 1, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 12, - "N1": 11, - "N2": 25, - "programLength": 36, - "programVocabulary": 17, - "volume": 147.14866228501222, - "difficulty": 5.208333333333334, - "effort": 766.3992827344388, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export": { - "line": 17, - "lineCount": 13, - "argCount": 2, - "returnCount": 0, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 8, - "N1": 7, - "N2": 14, - "programLength": 21, - "programVocabulary": 12, - "volume": 75.28421251514428, - "difficulty": 3.5, - "effort": 263.49474380300495, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export": { - "line": 48, - "lineCount": 8, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 6, - "volume": 36.18947501009619, - "difficulty": 2.5, - "effort": 90.47368752524048, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown": { - "line": 61, - "lineCount": 24, - "argCount": 1, - "returnCount": 1, - "variableCount": 6, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 6, - "n2": 16, - "N1": 19, - "N2": 41, - "programLength": 60, - "programVocabulary": 22, - "volume": 267.56589711823784, - "difficulty": 7.6875, - "effort": 2056.9128340964535, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow": { - "line": 94, - "lineCount": 21, - "argCount": 3, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 7, - "n2": 18, - "N1": 16, - "N2": 39, - "programLength": 55, - "programVocabulary": 25, - "volume": 255.41209043760983, - "difficulty": 7.583333333333333, - "effort": 1936.8750191518745, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::__construct": { - "line": 26, - "lineCount": 4, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::export": { - "line": 36, - "lineCount": 10, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 8, - "volume": 45, - "difficulty": 5, - "effort": 225, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::generateSvgTreemap": { - "line": 53, - "lineCount": 20, - "argCount": 1, - "returnCount": 1, - "variableCount": 6, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 8, - "N1": 9, - "N2": 20, - "programLength": 29, - "programVocabulary": 10, - "volume": 96.3359147517335, - "difficulty": 2.5, - "effort": 240.83978687933376, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::generateSvgTreemap" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRects": { - "line": 82, - "lineCount": 10, - "argCount": 3, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 9, - "N1": 6, - "N2": 18, - "programLength": 24, - "programVocabulary": 12, - "volume": 86.03910001730775, - "difficulty": 3, - "effort": 258.1173000519232, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRects" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRect": { - "line": 100, - "lineCount": 29, - "argCount": 2, - "returnCount": 1, - "variableCount": 12, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 6, - "n2": 28, - "N1": 26, - "N2": 54, - "programLength": 80, - "programVocabulary": 34, - "volume": 406.9970273000271, - "difficulty": 5.785714285714286, - "effort": 2354.7685150930142, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRect" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::wrapSvg": { - "line": 136, - "lineCount": 21, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 2, - "N2": 8, - "programLength": 10, - "programVocabulary": 4, - "volume": 20, - "difficulty": 1.3333333333333333, - "effort": 26.666666666666664, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::wrapSvg" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::prepareItems": { - "line": 28, - "lineCount": 18, - "argCount": 1, - "returnCount": 1, - "variableCount": 7, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 12, - "N1": 9, - "N2": 30, - "programLength": 39, - "programVocabulary": 17, - "volume": 159.41105080876324, - "difficulty": 6.25, - "effort": 996.3190675547702, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::prepareItems" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findScoreRange": { - "line": 53, - "lineCount": 16, - "argCount": 1, - "returnCount": 3, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 7, - "N2": 13, - "programLength": 20, - "programVocabulary": 8, - "volume": 60, - "difficulty": 3.9000000000000004, - "effort": 234.00000000000003, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findScoreRange" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::normalizeScore": { - "line": 78, - "lineCount": 8, - "argCount": 3, - "returnCount": 2, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 8, - "volume": 45, - "difficulty": 5, - "effort": 225, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::normalizeScore" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::scoreToColor": { - "line": 93, - "lineCount": 9, - "argCount": 1, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 5, - "n2": 9, - "N1": 12, - "N2": 16, - "programLength": 28, - "programVocabulary": 14, - "volume": 106.60593781761291, - "difficulty": 4.444444444444445, - "effort": 473.80416807827964, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::scoreToColor" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::calculateTreemapLayout": { - "line": 115, - "lineCount": 23, - "argCount": 7, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 9, - "N1": 2, - "N2": 18, - "programLength": 20, - "programVocabulary": 11, - "volume": 69.18863237274594, - "difficulty": 2, - "effort": 138.37726474549189, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::calculateTreemapLayout" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::layoutTreemap": { - "line": 152, - "lineCount": 89, - "argCount": 8, - "returnCount": 3, - "variableCount": 11, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 8, - "n2": 28, - "N1": 32, - "N2": 98, - "programLength": 130, - "programVocabulary": 36, - "volume": 672.0902501875006, - "difficulty": 14, - "effort": 9409.263502625008, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::layoutTreemap" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findSplitIndex": { - "line": 249, - "lineCount": 13, - "argCount": 2, - "returnCount": 2, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 7, - "n2": 10, - "N1": 9, - "N2": 23, - "programLength": 32, - "programVocabulary": 17, - "volume": 130.79881092001085, - "difficulty": 8.049999999999999, - "effort": 1052.9304279060873, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findSplitIndex" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::__construct": { - "line": 23, - "lineCount": 18, - "argCount": 1, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 7, - "N2": 11, - "programLength": 18, - "programVocabulary": 6, - "volume": 46.529325012980806, - "difficulty": 5.5, - "effort": 255.91128757139444, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::getAllClasses": { - "line": 47, - "lineCount": 17, - "argCount": 0, - "returnCount": 2, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 6, - "N2": 12, - "programLength": 18, - "programVocabulary": 9, - "volume": 57.05865002596162, - "difficulty": 3, - "effort": 171.17595007788486, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::getAllClasses" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::withClassNode": { - "line": 73, - "lineCount": 8, - "argCount": 2, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 4, - "N2": 8, - "programLength": 12, - "programVocabulary": 8, - "volume": 36, - "difficulty": 4, - "effort": 144, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::withClassNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::findClassNode": { - "line": 85, - "lineCount": 25, - "argCount": 1, - "returnCount": 4, - "variableCount": 5, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 13, - "N2": 29, - "programLength": 42, - "programVocabulary": 11, - "volume": 145.29612798276648, - "difficulty": 8.285714285714286, - "effort": 1203.8822032857795, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::findClassNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::escapeXPathValue": { - "line": 114, - "lineCount": 16, - "argCount": 1, - "returnCount": 3, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 9, - "N1": 11, - "N2": 18, - "programLength": 29, - "programVocabulary": 13, - "volume": 107.31275182609167, - "difficulty": 4, - "effort": 429.2510073043667, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::escapeXPathValue" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getLineCoverage": { - "line": 22, - "lineCount": 18, - "argCount": 1, - "returnCount": 4, - "variableCount": 5, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 9, - "N1": 10, - "N2": 19, - "programLength": 29, - "programVocabulary": 13, - "volume": 107.31275182609167, - "difficulty": 4.222222222222222, - "effort": 453.09828548794263, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getLineCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getBranchCoverage": { - "line": 48, - "lineCount": 18, - "argCount": 1, - "returnCount": 4, - "variableCount": 5, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 9, - "N1": 10, - "N2": 19, - "programLength": 29, - "programVocabulary": 13, - "volume": 107.31275182609167, - "difficulty": 4.222222222222222, - "effort": 453.09828548794263, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getBranchCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getComplexity": { - "line": 73, - "lineCount": 13, - "argCount": 1, - "returnCount": 3, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 7, - "N2": 14, - "programLength": 21, - "programVocabulary": 11, - "volume": 72.64806399138324, - "difficulty": 4, - "effort": 290.59225596553296, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getComplexity" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getCoverageDetails": { - "line": 93, - "lineCount": 26, - "argCount": 1, - "returnCount": 3, - "variableCount": 9, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 17, - "N1": 22, - "N2": 42, - "programLength": 64, - "programVocabulary": 22, - "volume": 285.403623592787, - "difficulty": 6.176470588235294, - "effort": 1762.7870868966259, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getCoverageDetails" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getMetricsNode": { - "line": 123, - "lineCount": 12, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 6, - "N1": 7, - "N2": 13, - "programLength": 20, - "programVocabulary": 10, - "volume": 66.43856189774725, - "difficulty": 4.333333333333333, - "effort": 287.90043489023805, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getMetricsNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getFilenameForClass": { - "line": 139, - "lineCount": 9, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 5, - "N1": 4, - "N2": 9, - "programLength": 13, - "programVocabulary": 9, - "volume": 41.209025018750054, - "difficulty": 3.6, - "effort": 148.3524900675002, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getFilenameForClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodsCoverage": { - "line": 154, - "lineCount": 36, - "argCount": 1, - "returnCount": 3, - "variableCount": 8, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 13, - "N1": 12, - "N2": 30, - "programLength": 42, - "programVocabulary": 16, - "volume": 168, - "difficulty": 3.4615384615384612, - "effort": 581.5384615384614, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodsCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::calculateMethodCoverage": { - "line": 194, - "lineCount": 15, - "argCount": 2, - "returnCount": 2, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 11, - "N1": 9, - "N2": 23, - "programLength": 32, - "programVocabulary": 16, - "volume": 128, - "difficulty": 5.227272727272727, - "effort": 669.090909090909, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::calculateMethodCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodCoverageFromLines": { - "line": 215, - "lineCount": 36, - "argCount": 2, - "returnCount": 1, - "variableCount": 7, - "propertyCallCount": 0, - "ifNestingLevel": 2, - "elseCount": 0, - "ifCount": 5, - "halstead": { - "n1": 2, - "n2": 14, - "N1": 12, - "N2": 35, - "programLength": 47, - "programVocabulary": 16, - "volume": 188, - "difficulty": 2.5, - "effort": 470, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodCoverageFromLines" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStart": { - "line": 252, - "lineCount": 4, - "argCount": 3, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 3, - "N2": 7, - "programLength": 10, - "programVocabulary": 6, - "volume": 25.84962500721156, - "difficulty": 1.75, - "effort": 45.23684376262023, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStart" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodEnd": { - "line": 257, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 5, - "programLength": 7, - "programVocabulary": 5, - "volume": 16.253496664211536, - "difficulty": 1.6666666666666667, - "effort": 27.089161107019226, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodEnd" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStatement": { - "line": 262, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 5, - "programLength": 7, - "programVocabulary": 5, - "volume": 16.253496664211536, - "difficulty": 1.6666666666666667, - "effort": 27.089161107019226, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStatement" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isStatementCovered": { - "line": 267, - "lineCount": 5, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 4, - "N1": 3, - "N2": 6, - "programLength": 9, - "programVocabulary": 7, - "volume": 25.26619429851844, - "difficulty": 2.25, - "effort": 56.848937171666485, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isStatementCovered" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getLineCoverage": { - "line": 20, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 9, - "volume": 44.37895002019237, - "difficulty": 2.5, - "effort": 110.94737505048093, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getLineCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getBranchCoverage": { - "line": 34, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 9, - "volume": 44.37895002019237, - "difficulty": 2.5, - "effort": 110.94737505048093, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getBranchCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getComplexity": { - "line": 48, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 9, - "volume": 44.37895002019237, - "difficulty": 2.5, - "effort": 110.94737505048093, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getComplexity" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getCoverageDetails": { - "line": 62, - "lineCount": 13, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 8, - "N1": 7, - "N2": 16, - "programLength": 23, - "programVocabulary": 9, - "volume": 72.90827503317318, - "difficulty": 1, - "effort": 72.90827503317318, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getCoverageDetails" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::extractMethodsCoverage": { - "line": 81, - "lineCount": 23, - "argCount": 1, - "returnCount": 2, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 11, - "N1": 10, - "N2": 23, - "programLength": 33, - "programVocabulary": 14, - "volume": 125.64271242790093, - "difficulty": 3.1363636363636362, - "effort": 394.061234432962, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::extractMethodsCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CodeCoverageFactory::createFromName": { - "line": 14, - "lineCount": 8, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 4, - "N1": 1, - "N2": 8, - "programLength": 9, - "programVocabulary": 5, - "volume": 20.89735285398626, - "difficulty": 1, - "effort": 20.89735285398626, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CodeCoverageFactory::createFromName" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::__construct": { - "line": 28, - "lineCount": 15, - "argCount": 6, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 6, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 7, - "N1": 6, - "N2": 18, - "programLength": 24, - "programVocabulary": 8, - "volume": 72, - "difficulty": 1.2857142857142858, - "effort": 92.57142857142858, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getName": { - "line": 44, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getName" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getFilename": { - "line": 49, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getFilename" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getLineRate": { - "line": 54, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getLineRate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getBranchRate": { - "line": 59, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getBranchRate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getComplexity": { - "line": 64, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getComplexity" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getMethods": { - "line": 72, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getMethods" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::__construct": { - "line": 17, - "lineCount": 11, - "argCount": 4, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 4, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 5, - "N1": 4, - "N2": 12, - "programLength": 16, - "programVocabulary": 6, - "volume": 41.3594000115385, - "difficulty": 1.2, - "effort": 49.631280013846194, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getName": { - "line": 29, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getName" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getLineRate": { - "line": 34, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getLineRate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getBranchRate": { - "line": 39, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getBranchRate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getComplexity": { - "line": 44, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getComplexity" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::calculateDeltas": { - "line": 19, - "lineCount": 14, - "argCount": 2, - "returnCount": 0, - "variableCount": 6, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 9, - "N1": 4, - "N2": 18, - "programLength": 22, - "programVocabulary": 11, - "volume": 76.10749561002054, - "difficulty": 2, - "effort": 152.21499122004107, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::calculateDeltas" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::loadBaseline": { - "line": 41, - "lineCount": 13, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 5, - "N2": 9, - "programLength": 14, - "programVocabulary": 8, - "volume": 42, - "difficulty": 2.7, - "effort": 113.4, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::loadBaseline" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::__construct": { - "line": 72, - "lineCount": 21, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 6, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 9, - "N1": 12, - "N2": 34, - "programLength": 46, - "programVocabulary": 12, - "volume": 164.90827503317317, - "difficulty": 5.666666666666666, - "effort": 934.4802251879812, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setRequiredMetricProperties": { - "line": 98, - "lineCount": 30, - "argCount": 1, - "returnCount": 0, - "variableCount": 6, - "propertyCallCount": 9, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 21, - "N1": 21, - "N2": 51, - "programLength": 72, - "programVocabulary": 24, - "volume": 330.1173000519232, - "difficulty": 3.6428571428571423, - "effort": 1202.570164474863, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setRequiredMetricProperties" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setOptionalMetricProperties": { - "line": 133, - "lineCount": 12, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 8, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 11, - "N1": 16, - "N2": 33, - "programLength": 49, - "programVocabulary": 13, - "volume": 181.32154618891352, - "difficulty": 3, - "effort": 543.9646385667405, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setOptionalMetricProperties" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setTimesChanged": { - "line": 146, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setTimesChanged" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertSame": { - "line": 151, - "lineCount": 14, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 6, - "N2": 8, - "programLength": 14, - "programVocabulary": 5, - "volume": 32.50699332842307, - "difficulty": 2.6666666666666665, - "effort": 86.68531554246152, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertSame" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::calculateDeltas": { - "line": 169, - "lineCount": 13, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 16, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 17, - "N2": 27, - "programLength": 44, - "programVocabulary": 4, - "volume": 88, - "difficulty": 13.5, - "effort": 1188, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::calculateDeltas" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::fromArray": { - "line": 187, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::fromArray" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertArrayKeyIsPresent": { - "line": 197, - "lineCount": 6, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 5, - "programLength": 5, - "programVocabulary": 2, - "volume": 5, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertArrayKeyIsPresent" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getClass": { - "line": 204, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getMethod": { - "line": 209, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getMethod" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCount": { - "line": 214, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCount": { - "line": 219, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCount": { - "line": 224, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCount": { - "line": 229, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCount": { - "line": 234, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCount": { - "line": 239, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevel": { - "line": 244, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevel" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCount": { - "line": 249, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeight": { - "line": 254, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setLineCountWeight": { - "line": 259, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setLineCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeight": { - "line": 264, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setArgCountWeight": { - "line": 269, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setArgCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeight": { - "line": 274, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setReturnCountWeight": { - "line": 279, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setReturnCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeight": { - "line": 284, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setVariableCountWeight": { - "line": 289, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setVariableCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeight": { - "line": 294, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setPropertyCallCountWeight": { - "line": 299, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setPropertyCallCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeight": { - "line": 304, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfCountWeight": { - "line": 309, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeight": { - "line": 314, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfNestingLevelWeight": { - "line": 319, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfNestingLevelWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeight": { - "line": 324, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setElseCountWeight": { - "line": 329, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setElseCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setScore": { - "line": 334, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setScore" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getScore": { - "line": 339, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getScore" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setCoverage": { - "line": 344, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCoverage": { - "line": 349, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeightDelta": { - "line": 354, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeightDelta": { - "line": 359, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeightDelta": { - "line": 364, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeightDelta": { - "line": 369, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeightDelta": { - "line": 374, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeightDelta": { - "line": 379, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeightDelta": { - "line": 384, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeightDelta": { - "line": 389, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getTimesChanged": { - "line": 394, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 2, - "programLength": 3, - "programVocabulary": 3, - "volume": 4.754887502163468, - "difficulty": 0.5, - "effort": 2.377443751081734, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getTimesChanged" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getFileName": { - "line": 399, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getFileName" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLine": { - "line": 404, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLine" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::equals": { - "line": 409, - "lineCount": 5, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 2, - "N1": 5, - "N2": 5, - "programLength": 10, - "programVocabulary": 5, - "volume": 23.21928094887362, - "difficulty": 3.75, - "effort": 87.07230355827608, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::equals" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::toArray": { - "line": 418, - "lineCount": 34, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 29, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 30, - "N1": 0, - "N2": 58, - "programLength": 58, - "programVocabulary": 30, - "volume": 284.5996545452941, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::toArray" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::jsonSerialize": { - "line": 456, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::jsonSerialize" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getHalstead": { - "line": 464, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getHalstead" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCyclomatic": { - "line": 472, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCyclomatic" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::add": { - "line": 30, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 5, - "N2": 6, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 3, - "effort": 85.30376252379816, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::add" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filter": { - "line": 40, - "lineCount": 11, - "argCount": 1, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 8, - "volume": 42, - "difficulty": 3, - "effort": 126, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filter" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getIterator": { - "line": 57, - "lineCount": 5, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getIterator" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::count": { - "line": 66, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::count" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterWithScoreGreaterThan": { - "line": 71, - "lineCount": 6, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 3, - "N2": 6, - "programLength": 9, - "programVocabulary": 5, - "volume": 20.89735285398626, - "difficulty": 2, - "effort": 41.79470570797252, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterWithScoreGreaterThan" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::contains": { - "line": 78, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 4, - "N2": 5, - "programLength": 9, - "programVocabulary": 5, - "volume": 20.89735285398626, - "difficulty": 1.6666666666666667, - "effort": 34.82892142331043, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::contains" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getClassWithMethod": { - "line": 83, - "lineCount": 9, - "argCount": 2, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 3, - "N2": 10, - "programLength": 13, - "programVocabulary": 7, - "volume": 36.49561398674886, - "difficulty": 2, - "effort": 72.99122797349771, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getClassWithMethod" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterByClassName": { - "line": 93, - "lineCount": 6, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 3, - "N2": 6, - "programLength": 9, - "programVocabulary": 5, - "volume": 20.89735285398626, - "difficulty": 2, - "effort": 41.79470570797252, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterByClassName" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::assertMetricHasGetter": { - "line": 100, - "lineCount": 9, - "argCount": 3, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 6, - "programLength": 7, - "programVocabulary": 4, - "volume": 14, - "difficulty": 1, - "effort": 14, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::assertMetricHasGetter" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::groupBy": { - "line": 117, - "lineCount": 20, - "argCount": 1, - "returnCount": 1, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 10, - "N2": 23, - "programLength": 33, - "programVocabulary": 11, - "volume": 114.16124341503081, - "difficulty": 6.571428571428571, - "effort": 750.2024567273453, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::groupBy" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::jsonSerialize": { - "line": 141, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::jsonSerialize" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::__construct": { - "line": 32, - "lineCount": 8, - "argCount": 5, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 5, - "N1": 0, - "N2": 5, - "programLength": 5, - "programVocabulary": 5, - "volume": 11.60964047443681, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collect": { - "line": 49, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 5, - "programLength": 6, - "programVocabulary": 4, - "volume": 12, - "difficulty": 0.8333333333333334, - "effort": 10, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collect" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collectFromPaths": { - "line": 62, - "lineCount": 13, - "argCount": 2, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 8, - "N2": 16, - "programLength": 24, - "programVocabulary": 9, - "volume": 76.07820003461549, - "difficulty": 4, - "effort": 304.31280013846197, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collectFromPaths" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCodeFromFile": { - "line": 79, - "lineCount": 10, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 2, - "N1": 5, - "N2": 6, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 6, - "effort": 170.6075250475963, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCodeFromFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findMetrics": { - "line": 98, - "lineCount": 31, - "argCount": 1, - "returnCount": 1, - "variableCount": 9, - "propertyCallCount": 2, - "ifNestingLevel": 2, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 13, - "N1": 18, - "N2": 38, - "programLength": 56, - "programVocabulary": 16, - "volume": 224, - "difficulty": 4.384615384615384, - "effort": 982.1538461538461, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findMetrics" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processMethodMetrics": { - "line": 136, - "lineCount": 29, - "argCount": 3, - "returnCount": 1, - "variableCount": 7, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 14, - "N1": 8, - "N2": 27, - "programLength": 35, - "programVocabulary": 17, - "volume": 143.06119944376186, - "difficulty": 2.892857142857143, - "effort": 413.8556126765968, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processMethodMetrics" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::isExcluded": { - "line": 166, - "lineCount": 12, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 5, - "N1": 5, - "N2": 9, - "programLength": 14, - "programVocabulary": 9, - "volume": 44.37895002019237, - "difficulty": 3.6, - "effort": 159.76422007269252, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::isExcluded" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findSourceFiles": { - "line": 187, - "lineCount": 7, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 2, - "N2": 6, - "programLength": 8, - "programVocabulary": 6, - "volume": 20.67970000576925, - "difficulty": 1.5, - "effort": 31.019550008653873, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findSourceFiles" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getProjectRoot": { - "line": 202, - "lineCount": 13, - "argCount": 0, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 2, - "N1": 8, - "N2": 8, - "programLength": 16, - "programVocabulary": 6, - "volume": 41.3594000115385, - "difficulty": 8, - "effort": 330.875200092308, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getProjectRoot" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateCacheKey": { - "line": 219, - "lineCount": 7, - "argCount": 2, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 6, - "N1": 10, - "N2": 12, - "programLength": 22, - "programVocabulary": 10, - "volume": 73.08241808752197, - "difficulty": 4, - "effort": 292.3296723500879, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateCacheKey" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateConfigHash": { - "line": 230, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 1, - "N1": 3, - "N2": 2, - "programLength": 5, - "programVocabulary": 3, - "volume": 7.92481250360578, - "difficulty": 2, - "effort": 15.84962500721156, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateConfigHash" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::cacheResult": { - "line": 239, - "lineCount": 14, - "argCount": 4, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 13, - "N1": 5, - "N2": 20, - "programLength": 25, - "programVocabulary": 15, - "volume": 97.67226489021297, - "difficulty": 1.5384615384615385, - "effort": 150.26502290801997, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::cacheResult" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::clearCache": { - "line": 254, - "lineCount": 4, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::clearCache" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::normalizeFilename": { - "line": 264, - "lineCount": 15, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 6, - "n2": 7, - "N1": 12, - "N2": 16, - "programLength": 28, - "programVocabulary": 13, - "volume": 103.61231210795059, - "difficulty": 6.857142857142857, - "effort": 710.4844258830897, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::normalizeFilename" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCachedMetrics": { - "line": 286, - "lineCount": 19, - "argCount": 3, - "returnCount": 3, - "variableCount": 4, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 11, - "N1": 10, - "N2": 29, - "programLength": 39, - "programVocabulary": 14, - "volume": 148.48684196024655, - "difficulty": 3.954545454545454, - "effort": 587.1979659337022, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCachedMetrics" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processFile": { - "line": 312, - "lineCount": 37, - "argCount": 5, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 7, - "n2": 10, - "N1": 12, - "N2": 28, - "programLength": 40, - "programVocabulary": 17, - "volume": 163.49851365001356, - "difficulty": 9.799999999999999, - "effort": 1602.2854337701328, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::sort": { - "line": 51, - "lineCount": 41, - "argCount": 3, - "returnCount": 2, - "variableCount": 10, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 18, - "N1": 20, - "N2": 43, - "programLength": 63, - "programVocabulary": 22, - "volume": 280.9441919741497, - "difficulty": 4.777777777777778, - "effort": 1342.2889172098264, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::sort" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getFieldValue": { - "line": 100, - "lineCount": 28, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 25, - "N1": 24, - "N2": 50, - "programLength": 74, - "programVocabulary": 27, - "volume": 351.86167516009664, - "difficulty": 2, - "effort": 703.7233503201933, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getFieldValue" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::compareValues": { - "line": 136, - "lineCount": 13, - "argCount": 2, - "returnCount": 3, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 2, - "N1": 9, - "N2": 12, - "programLength": 21, - "programVocabulary": 5, - "volume": 48.760489992634604, - "difficulty": 9, - "effort": 438.8444099337114, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::compareValues" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getSortableFields": { - "line": 155, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 0, - "N1": 0, - "N2": 0, - "programLength": 0, - "programVocabulary": 0, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getSortableFields" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__construct": { - "line": 15, - "lineCount": 11, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 7, - "N2": 12, - "programLength": 19, - "programVocabulary": 6, - "volume": 49.11428751370197, - "difficulty": 6, - "effort": 294.6857250822118, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::getValue": { - "line": 27, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::getValue" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasIncreased": { - "line": 32, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasIncreased" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__toString": { - "line": 37, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__toString" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasNotChanged": { - "line": 42, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 2, - "programLength": 3, - "programVocabulary": 3, - "volume": 4.754887502163468, - "difficulty": 0.5, - "effort": 2.377443751081734, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasNotChanged" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\FileProcessed::__construct": { - "line": 14, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\FileProcessed::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\ParserFailed::__construct": { - "line": 15, - "lineCount": 5, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\ParserFailed::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\SourceFilesFound::__construct": { - "line": 17, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\SourceFilesFound::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::__construct": { - "line": 15, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::create": { - "line": 27, - "lineCount": 10, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 6, - "N1": 0, - "N2": 8, - "programLength": 8, - "programVocabulary": 6, - "volume": 20.67970000576925, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::create" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::getSupportedTypes": { - "line": 43, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 4, - "N1": 0, - "N2": 4, - "programLength": 4, - "programVocabulary": 4, - "volume": 8, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::getSupportedTypes" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::isSupported": { - "line": 54, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 2, - "N2": 3, - "programLength": 5, - "programVocabulary": 4, - "volume": 10, - "difficulty": 1.5, - "effort": 15, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::isSupported" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CsvExporter::export": { - "line": 46, - "lineCount": 57, - "argCount": 2, - "returnCount": 0, - "variableCount": 6, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 15, - "N1": 37, - "N2": 54, - "programLength": 91, - "programVocabulary": 19, - "volume": 386.56140372336625, - "difficulty": 7.2, - "effort": 2783.242106808237, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CsvExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::export": { - "line": 40, - "lineCount": 8, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 5, - "N1": 4, - "N2": 8, - "programLength": 12, - "programVocabulary": 9, - "volume": 38.039100017307746, - "difficulty": 3.2, - "effort": 121.72512005538479, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::escape": { - "line": 49, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::escape" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::formatNumber": { - "line": 54, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::formatNumber" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::generateMetricRow": { - "line": 59, - "lineCount": 12, - "argCount": 3, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 16, - "N1": 19, - "N2": 27, - "programLength": 46, - "programVocabulary": 21, - "volume": 202.04660144782298, - "difficulty": 4.21875, - "effort": 852.3840998580032, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::generateMetricRow" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::generateHtml": { - "line": 78, - "lineCount": 64, - "argCount": 1, - "returnCount": 1, - "variableCount": 7, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 11, - "N1": 46, - "N2": 57, - "programLength": 103, - "programVocabulary": 15, - "volume": 402.40973134767745, - "difficulty": 10.363636363636363, - "effort": 4170.42812487593, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::generateHtml" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\JsonExporter::export": { - "line": 19, - "lineCount": 38, - "argCount": 2, - "returnCount": 0, - "variableCount": 5, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 27, - "N1": 29, - "N2": 58, - "programLength": 87, - "programVocabulary": 32, - "volume": 435, - "difficulty": 5.370370370370371, - "effort": 2336.1111111111113, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\JsonExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::__construct": { - "line": 24, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::export": { - "line": 36, - "lineCount": 8, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 5, - "N1": 4, - "N2": 8, - "programLength": 12, - "programVocabulary": 9, - "volume": 38.039100017307746, - "difficulty": 3.2, - "effort": 121.72512005538479, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::escape": { - "line": 48, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::escape" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateMetricCell": { - "line": 56, - "lineCount": 12, - "argCount": 3, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 12, - "N1": 16, - "N2": 24, - "programLength": 40, - "programVocabulary": 17, - "volume": 163.49851365001356, - "difficulty": 5, - "effort": 817.4925682500678, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateMetricCell" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::filterMetrics": { - "line": 75, - "lineCount": 15, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 4, - "N1": 4, - "N2": 11, - "programLength": 15, - "programVocabulary": 7, - "volume": 42.11032383086406, - "difficulty": 4.125, - "effort": 173.70508580231424, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::filterMetrics" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableHeader": { - "line": 94, - "lineCount": 33, - "argCount": 0, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 4, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 19, - "N1": 10, - "N2": 28, - "programLength": 38, - "programVocabulary": 22, - "volume": 169.4584015082173, - "difficulty": 2.2105263157894735, - "effort": 374.5922559655329, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableHeader" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableHeaderWithClass": { - "line": 131, - "lineCount": 33, - "argCount": 0, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 4, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 20, - "N1": 10, - "N2": 29, - "programLength": 39, - "programVocabulary": 23, - "volume": 176.41891628622352, - "difficulty": 2.175, - "effort": 383.7111429225361, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableHeaderWithClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableSeparator": { - "line": 168, - "lineCount": 20, - "argCount": 0, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 4, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 7, - "N1": 3, - "N2": 16, - "programLength": 19, - "programVocabulary": 10, - "volume": 63.11663380285988, - "difficulty": 3.4285714285714284, - "effort": 216.399887324091, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableSeparator" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableSeparatorWithClass": { - "line": 192, - "lineCount": 20, - "argCount": 0, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 4, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 8, - "N1": 3, - "N2": 16, - "programLength": 19, - "programVocabulary": 11, - "volume": 65.72920075410865, - "difficulty": 3, - "effort": 197.18760226232592, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableSeparatorWithClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableRow": { - "line": 216, - "lineCount": 22, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 6, - "N1": 53, - "N2": 60, - "programLength": 113, - "programVocabulary": 10, - "volume": 375.37787472227194, - "difficulty": 20, - "effort": 7507.557494445438, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableRow" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableRowWithClass": { - "line": 242, - "lineCount": 25, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 6, - "N1": 55, - "N2": 62, - "programLength": 117, - "programVocabulary": 10, - "volume": 388.66558710182136, - "difficulty": 20.666666666666668, - "effort": 8032.422133437642, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableRowWithClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::addHalsteadCells": { - "line": 274, - "lineCount": 20, - "argCount": 2, - "returnCount": 3, - "variableCount": 2, - "propertyCallCount": 5, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 12, - "N2": 24, - "programLength": 36, - "programVocabulary": 8, - "volume": 108, - "difficulty": 7.199999999999999, - "effort": 777.5999999999999, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::addHalsteadCells" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::addCyclomaticCell": { - "line": 301, - "lineCount": 16, - "argCount": 2, - "returnCount": 3, - "variableCount": 2, - "propertyCallCount": 4, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 8, - "N2": 16, - "programLength": 24, - "programVocabulary": 11, - "volume": 83.02635884729514, - "difficulty": 4.571428571428571, - "effort": 379.5490690162063, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::addCyclomaticCell" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateMarkdown": { - "line": 325, - "lineCount": 8, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 2, - "N2": 6, - "programLength": 8, - "programVocabulary": 3, - "volume": 12.679700005769249, - "difficulty": 1.5, - "effort": 19.019550008653873, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateMarkdown" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateGroupedMarkdown": { - "line": 337, - "lineCount": 49, - "argCount": 1, - "returnCount": 1, - "variableCount": 10, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 8, - "n2": 23, - "N1": 33, - "N2": 65, - "programLength": 98, - "programVocabulary": 31, - "volume": 485.5112384179137, - "difficulty": 11.304347826086957, - "effort": 5488.387912550329, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateGroupedMarkdown" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateSingleTableMarkdown": { - "line": 390, - "lineCount": 28, - "argCount": 1, - "returnCount": 1, - "variableCount": 6, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 6, - "n2": 13, - "N1": 19, - "N2": 37, - "programLength": 56, - "programVocabulary": 19, - "volume": 237.88394075284077, - "difficulty": 8.538461538461538, - "effort": 2031.1628787357943, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateSingleTableMarkdown" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::__construct": { - "line": 32, - "lineCount": 26, - "argCount": 2, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 7, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 14, - "N2": 22, - "programLength": 36, - "programVocabulary": 5, - "volume": 83.58941141594504, - "difficulty": 7.333333333333333, - "effort": 612.9890170502636, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::parse": { - "line": 63, - "lineCount": 37, - "argCount": 1, - "returnCount": 1, - "variableCount": 9, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 14, - "N1": 16, - "N2": 43, - "programLength": 59, - "programVocabulary": 17, - "volume": 241.16030763377, - "difficulty": 4.607142857142858, - "effort": 1111.0599887412977, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::parse" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::scanForAnnotations": { - "line": 104, - "lineCount": 20, - "argCount": 1, - "returnCount": 0, - "variableCount": 4, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 7, - "N1": 8, - "N2": 16, - "programLength": 24, - "programVocabulary": 10, - "volume": 79.7262742772967, - "difficulty": 3.4285714285714284, - "effort": 273.34722609358863, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::scanForAnnotations" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::traverseAbstractSyntaxTreeWithCombinedVisitor": { - "line": 129, - "lineCount": 17, - "argCount": 1, - "returnCount": 0, - "variableCount": 4, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 7, - "N1": 7, - "N2": 15, - "programLength": 22, - "programVocabulary": 10, - "volume": 73.08241808752197, - "difficulty": 3.2142857142857144, - "effort": 234.90777242417778, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::traverseAbstractSyntaxTreeWithCombinedVisitor" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getIgnored": { - "line": 153, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getIgnored" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getIgnoredClasses": { - "line": 163, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getIgnoredClasses" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getIgnoredMethods": { - "line": 173, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getIgnoredMethods" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::clearStaticCaches": { - "line": 181, - "lineCount": 15, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 9, - "N1": 7, - "N2": 19, - "programLength": 26, - "programVocabulary": 10, - "volume": 86.37013046707142, - "difficulty": 1.0555555555555556, - "effort": 91.16847104857538, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::clearStaticCaches" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::clearStaticProperty": { - "line": 200, - "lineCount": 14, - "argCount": 2, - "returnCount": 0, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 6, - "N2": 12, - "programLength": 18, - "programVocabulary": 7, - "volume": 50.53238859703688, - "difficulty": 2.4, - "effort": 121.2777326328885, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::clearStaticProperty" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getRiskLevel": { - "line": 218, - "lineCount": 9, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 8, - "N1": 3, - "N2": 11, - "programLength": 14, - "programVocabulary": 9, - "volume": 44.37895002019237, - "difficulty": 0.6875, - "effort": 30.510528138882254, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getRiskLevel" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculate": { - "line": 47, - "lineCount": 5, - "argCount": 2, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 2, - "N2": 8, - "programLength": 10, - "programVocabulary": 4, - "volume": 20, - "difficulty": 1.3333333333333333, - "effort": 26.666666666666664, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculateScore": { - "line": 53, - "lineCount": 10, - "argCount": 1, - "returnCount": 0, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 9, - "N1": 7, - "N2": 15, - "programLength": 22, - "programVocabulary": 13, - "volume": 81.40967379910403, - "difficulty": 3.3333333333333335, - "effort": 271.36557933034675, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculateScore" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculateMetricWeights": { - "line": 70, - "lineCount": 17, - "argCount": 3, - "returnCount": 0, - "variableCount": 6, - "propertyCallCount": 3, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 12, - "N1": 9, - "N2": 24, - "programLength": 33, - "programVocabulary": 15, - "volume": 128.92738965508113, - "difficulty": 3, - "effort": 386.7821689652434, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculateMetricWeights" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculateLogWeight": { - "line": 132, - "lineCount": 8, - "argCount": 3, - "returnCount": 2, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 5, - "N1": 5, - "N2": 11, - "programLength": 16, - "programVocabulary": 10, - "volume": 53.150849518197795, - "difficulty": 5.5, - "effort": 292.3296723500879, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculateLogWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cyclomatic\\CyclomaticMetrics::__construct": { - "line": 129, - "lineCount": 23, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 19, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 43, - "N1": 56, - "N2": 130, - "programLength": 186, - "programVocabulary": 45, - "volume": 1021.4846759173195, - "difficulty": 3.0232558139534884, - "effort": 3088.209485331431, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cyclomatic\\CyclomaticMetrics::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::escapeMarkdown": { - "line": 18, - "lineCount": 6, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 5, - "N1": 1, - "N2": 6, - "programLength": 7, - "programVocabulary": 6, - "volume": 18.094737505048094, - "difficulty": 0.6, - "effort": 10.856842503028856, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::escapeMarkdown" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::formatNumber": { - "line": 32, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 5, - "programLength": 6, - "programVocabulary": 4, - "volume": 12, - "difficulty": 0.8333333333333334, - "effort": 10, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::formatNumber" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::buildTableHeader": { - "line": 43, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 3, - "N2": 5, - "programLength": 8, - "programVocabulary": 6, - "volume": 20.67970000576925, - "difficulty": 1.25, - "effort": 25.84962500721156, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::buildTableHeader" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::buildTableSeparator": { - "line": 54, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 4, - "programLength": 6, - "programVocabulary": 5, - "volume": 13.931568569324174, - "difficulty": 1.3333333333333333, - "effort": 18.575424759098897, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::buildTableSeparator" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::buildTableRow": { - "line": 65, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 3, - "N2": 5, - "programLength": 8, - "programVocabulary": 6, - "volume": 20.67970000576925, - "difficulty": 1.25, - "effort": 25.84962500721156, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::buildTableRow" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::formatPercentage": { - "line": 77, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 2, - "N2": 6, - "programLength": 8, - "programVocabulary": 6, - "volume": 20.67970000576925, - "difficulty": 1.5, - "effort": 31.019550008653873, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::formatPercentage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::escapeMarkdown": { - "line": 18, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 5, - "N1": 1, - "N2": 6, - "programLength": 7, - "programVocabulary": 6, - "volume": 18.094737505048094, - "difficulty": 0.6, - "effort": 10.856842503028856, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::escapeMarkdown" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::formatNumber": { - "line": 30, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 5, - "programLength": 6, - "programVocabulary": 4, - "volume": 12, - "difficulty": 0.8333333333333334, - "effort": 10, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::formatNumber" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::buildMarkdownTableHeader": { - "line": 41, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 3, - "N2": 5, - "programLength": 8, - "programVocabulary": 6, - "volume": 20.67970000576925, - "difficulty": 1.25, - "effort": 25.84962500721156, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::buildMarkdownTableHeader" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::buildMarkdownTableSeparator": { - "line": 52, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 4, - "programLength": 6, - "programVocabulary": 5, - "volume": 13.931568569324174, - "difficulty": 1.3333333333333333, - "effort": 18.575424759098897, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::buildMarkdownTableSeparator" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::buildMarkdownTableRow": { - "line": 63, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 3, - "N2": 5, - "programLength": 8, - "programVocabulary": 6, - "volume": 20.67970000576925, - "difficulty": 1.25, - "effort": 25.84962500721156, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::buildMarkdownTableRow" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::formatMarkdownPercentage": { - "line": 75, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 2, - "N2": 6, - "programLength": 8, - "programVocabulary": 6, - "volume": 20.67970000576925, - "difficulty": 1.5, - "effort": 31.019550008653873, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::formatMarkdownPercentage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Halstead\\HalsteadMetrics::__construct": { - "line": 33, - "lineCount": 13, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 10, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 12, - "N1": 10, - "N2": 31, - "programLength": 41, - "programVocabulary": 13, - "volume": 151.7180284437848, - "difficulty": 1.2916666666666667, - "effort": 195.96912007322203, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Halstead\\HalsteadMetrics::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Halstead\\HalsteadMetrics::getVolume": { - "line": 47, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Halstead\\HalsteadMetrics::getVolume" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::__construct": { - "line": 32, - "lineCount": 9, - "argCount": 5, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 7, - "N1": 2, - "N2": 7, - "programLength": 9, - "programVocabulary": 9, - "volume": 28.52932501298081, - "difficulty": 1, - "effort": 28.52932501298081, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::getChurnExporterFactory": { - "line": 45, - "lineCount": 7, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 1, - "N1": 2, - "N2": 3, - "programLength": 5, - "programVocabulary": 3, - "volume": 7.92481250360578, - "difficulty": 3, - "effort": 23.774437510817343, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::getChurnExporterFactory" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::getCognitiveExporterFactory": { - "line": 56, - "lineCount": 7, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 1, - "N1": 3, - "N2": 4, - "programLength": 7, - "programVocabulary": 4, - "volume": 14, - "difficulty": 6, - "effort": 84, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::getCognitiveExporterFactory" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::getCognitiveMetrics": { - "line": 72, - "lineCount": 10, - "argCount": 1, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 3, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 5, - "N2": 11, - "programLength": 16, - "programVocabulary": 6, - "volume": 41.3594000115385, - "difficulty": 2.75, - "effort": 113.73835003173087, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::getCognitiveMetrics" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::getCognitiveMetricsFromPaths": { - "line": 92, - "lineCount": 16, - "argCount": 2, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 8, - "N2": 18, - "programLength": 26, - "programVocabulary": 9, - "volume": 82.41805003750011, - "difficulty": 4.5, - "effort": 370.88122516875046, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::getCognitiveMetricsFromPaths" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::calculateChurn": { - "line": 118, - "lineCount": 18, - "argCount": 4, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 10, - "N1": 8, - "N2": 21, - "programLength": 29, - "programVocabulary": 12, - "volume": 103.96391252091352, - "difficulty": 2.1, - "effort": 218.3242162939184, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::calculateChurn" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::loadConfig": { - "line": 143, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::loadConfig" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::getConfig": { - "line": 148, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::getConfig" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::exportChurnReport": { - "line": 156, - "lineCount": 9, - "argCount": 3, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 4, - "N1": 3, - "N2": 7, - "programLength": 10, - "programVocabulary": 5, - "volume": 23.21928094887362, - "difficulty": 0.875, - "effort": 20.316870830264417, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::exportChurnReport" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::exportMetricsReport": { - "line": 168, - "lineCount": 8, - "argCount": 3, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 4, - "N2": 9, - "programLength": 13, - "programVocabulary": 7, - "volume": 36.49561398674886, - "difficulty": 1.8, - "effort": 65.69210517614795, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::exportMetricsReport" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::clearCache": { - "line": 177, - "lineCount": 4, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::clearCache" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::addCoverageToMetric": { - "line": 185, - "lineCount": 20, - "argCount": 2, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 11, - "N2": 18, - "programLength": 29, - "programVocabulary": 11, - "volume": 100.32351694048162, - "difficulty": 5.142857142857143, - "effort": 515.9495156939055, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::addCoverageToMetric" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::addMethodLevelCoverage": { - "line": 209, - "lineCount": 16, - "argCount": 2, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 9, - "N2": 15, - "programLength": 24, - "programVocabulary": 7, - "volume": 67.3765181293825, - "difficulty": 3, - "effort": 202.1295543881475, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::addMethodLevelCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Traits\\CoverageDataDetector::hasCoverageData": { - "line": 18, - "lineCount": 10, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 3, - "N2": 7, - "programLength": 10, - "programVocabulary": 6, - "volume": 25.84962500721156, - "difficulty": 3.5, - "effort": 90.47368752524046, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Traits\\CoverageDataDetector::hasCoverageData" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Utility\\Datetime::__construct": { - "line": 19, - "lineCount": 9, - "argCount": 0, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 1, - "n2": 0, - "N1": 1, - "N2": 0, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Utility\\Datetime::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Utility\\DirectoryScanner::scan": { - "line": 29, - "lineCount": 14, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 5, - "N2": 14, - "programLength": 19, - "programVocabulary": 6, - "volume": 49.11428751370197, - "difficulty": 3.5, - "effort": 171.90000629795688, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Utility\\DirectoryScanner::scan" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Utility\\DirectoryScanner::assertValidPath": { - "line": 47, - "lineCount": 6, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 1.5, - "effort": 6, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Utility\\DirectoryScanner::assertValidPath" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Utility\\DirectoryScanner::yieldFileIfNotExcluded": { - "line": 59, - "lineCount": 8, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 2, - "N2": 8, - "programLength": 10, - "programVocabulary": 6, - "volume": 25.84962500721156, - "difficulty": 2, - "effort": 51.69925001442312, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Utility\\DirectoryScanner::yieldFileIfNotExcluded" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Utility\\DirectoryScanner::traverseDirectory": { - "line": 76, - "lineCount": 15, - "argCount": 2, - "returnCount": 0, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 6, - "N1": 4, - "N2": 13, - "programLength": 17, - "programVocabulary": 8, - "volume": 51, - "difficulty": 2.1666666666666665, - "effort": 110.49999999999999, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Utility\\DirectoryScanner::traverseDirectory" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Utility\\DirectoryScanner::sortFilesByPathname": { - "line": 97, - "lineCount": 6, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 4, - "N2": 6, - "programLength": 10, - "programVocabulary": 5, - "volume": 23.21928094887362, - "difficulty": 2, - "effort": 46.43856189774724, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Utility\\DirectoryScanner::sortFilesByPathname" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Utility\\DirectoryScanner::getFilesFromIterator": { - "line": 111, - "lineCount": 11, - "argCount": 2, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 5, - "N2": 12, - "programLength": 17, - "programVocabulary": 8, - "volume": 51, - "difficulty": 3.5999999999999996, - "effort": 183.6, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Utility\\DirectoryScanner::getFilesFromIterator" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Utility\\DirectoryScanner::isExcluded": { - "line": 130, - "lineCount": 12, - "argCount": 2, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 5, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 9, - "volume": 47.548875021634686, - "difficulty": 4, - "effort": 190.19550008653874, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Utility\\DirectoryScanner::isExcluded" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\CacheItem::__construct": { - "line": 20, - "lineCount": 6, - "argCount": 3, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 3, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 1, - "n2": 4, - "N1": 3, - "N2": 9, - "programLength": 12, - "programVocabulary": 5, - "volume": 27.863137138648348, - "difficulty": 1.125, - "effort": 31.34602928097939, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\CacheItem::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\CacheItem::getKey": { - "line": 27, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\CacheItem::getKey" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\CacheItem::get": { - "line": 32, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\CacheItem::get" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\CacheItem::set": { - "line": 37, - "lineCount": 5, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 4, - "programLength": 5, - "programVocabulary": 3, - "volume": 7.92481250360578, - "difficulty": 1, - "effort": 7.92481250360578, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\CacheItem::set" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\CacheItem::isHit": { - "line": 43, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\CacheItem::isHit" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\CacheItem::setExpiration": { - "line": 48, - "lineCount": 6, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\CacheItem::setExpiration" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\CacheItem::getExpiration": { - "line": 55, - "lineCount": 5, - "argCount": 0, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 0, - "n2": 0, - "N1": 0, - "N2": 0, - "programLength": 0, - "programVocabulary": 0, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\CacheItem::getExpiration" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\CacheItem::expiresAt": { - "line": 61, - "lineCount": 6, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\CacheItem::expiresAt" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\CacheItem::expiresAfter": { - "line": 68, - "lineCount": 6, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\CacheItem::expiresAfter" - } - } - }, - "ignored_items": [], - "cached_at": 1759967601 -} \ No newline at end of file diff --git a/.phpcca.cache/e4/e42dae32fc5c6a37ae8340e84d857f29.cache b/.phpcca.cache/e4/e42dae32fc5c6a37ae8340e84d857f29.cache deleted file mode 100644 index 7106dee..0000000 --- a/.phpcca.cache/e4/e42dae32fc5c6a37ae8340e84d857f29.cache +++ /dev/null @@ -1,4986 +0,0 @@ -{ - "version": "1.0", - "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/PhpParser\/HalsteadMetricsVisitor.php", - "file_mtime": 1759791861, - "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", - "analysis_result": { - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::__construct": { - "line": 26, - "lineCount": 5, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 4, - "N1": 3, - "N2": 6, - "programLength": 9, - "programVocabulary": 7, - "volume": 25.26619429851844, - "difficulty": 2.25, - "effort": 56.848937171666485, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItem": { - "line": 35, - "lineCount": 15, - "argCount": 1, - "returnCount": 3, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 6, - "N2": 13, - "programLength": 19, - "programVocabulary": 8, - "volume": 57, - "difficulty": 6.5, - "effort": 370.5, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItem" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItems": { - "line": 55, - "lineCount": 9, - "argCount": 1, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 3, - "N2": 9, - "programLength": 12, - "programVocabulary": 6, - "volume": 31.019550008653873, - "difficulty": 2.25, - "effort": 69.79398751947122, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItems" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::hasItem": { - "line": 68, - "lineCount": 6, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 5, - "n2": 3, - "N1": 6, - "N2": 7, - "programLength": 13, - "programVocabulary": 8, - "volume": 39, - "difficulty": 5.833333333333334, - "effort": 227.50000000000003, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::hasItem" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::clear": { - "line": 75, - "lineCount": 10, - "argCount": 0, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 2, - "N2": 4, - "programLength": 6, - "programVocabulary": 3, - "volume": 9.509775004326936, - "difficulty": 1, - "effort": 9.509775004326936, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::clear" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItem": { - "line": 89, - "lineCount": 10, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 4, - "N2": 6, - "programLength": 10, - "programVocabulary": 6, - "volume": 25.84962500721156, - "difficulty": 3, - "effort": 77.54887502163469, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItem" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItems": { - "line": 103, - "lineCount": 10, - "argCount": 1, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 3, - "N2": 8, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 2, - "effort": 56.86917501586544, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItems" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::save": { - "line": 117, - "lineCount": 11, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 4, - "N1": 9, - "N2": 12, - "programLength": 21, - "programVocabulary": 7, - "volume": 58.95445336320969, - "difficulty": 4.5, - "effort": 265.2950401344436, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::save" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveDeferred": { - "line": 129, - "lineCount": 6, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveDeferred" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::commit": { - "line": 136, - "lineCount": 11, - "argCount": 0, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 4, - "N2": 8, - "programLength": 12, - "programVocabulary": 5, - "volume": 27.863137138648348, - "difficulty": 2.6666666666666665, - "effort": 74.30169903639559, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::commit" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::ensureCacheDirectory": { - "line": 152, - "lineCount": 9, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 3, - "N2": 4, - "programLength": 7, - "programVocabulary": 4, - "volume": 14, - "difficulty": 2, - "effort": 28, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::ensureCacheDirectory" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getCacheFilePath": { - "line": 168, - "lineCount": 15, - "argCount": 1, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 10, - "N1": 13, - "N2": 19, - "programLength": 32, - "programVocabulary": 14, - "volume": 121.83535750584333, - "difficulty": 3.8, - "effort": 462.9743585222046, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getCacheFilePath" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::loadCacheData": { - "line": 187, - "lineCount": 14, - "argCount": 1, - "returnCount": 3, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 6, - "N2": 8, - "programLength": 14, - "programVocabulary": 6, - "volume": 36.18947501009619, - "difficulty": 4, - "effort": 144.75790004038475, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::loadCacheData" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveCacheData": { - "line": 209, - "lineCount": 21, - "argCount": 2, - "returnCount": 3, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 6, - "n2": 7, - "N1": 13, - "N2": 17, - "programLength": 30, - "programVocabulary": 13, - "volume": 111.01319154423277, - "difficulty": 7.285714285714285, - "effort": 808.810395536553, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveCacheData" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::sanitizeUtf8": { - "line": 234, - "lineCount": 25, - "argCount": 1, - "returnCount": 4, - "variableCount": 6, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 8, - "N1": 13, - "N2": 29, - "programLength": 42, - "programVocabulary": 11, - "volume": 145.29612798276648, - "difficulty": 5.4375, - "effort": 790.0476959062927, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::sanitizeUtf8" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::removeDirectory": { - "line": 260, - "lineCount": 23, - "argCount": 1, - "returnCount": 2, - "variableCount": 5, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 5, - "n2": 9, - "N1": 13, - "N2": 20, - "programLength": 33, - "programVocabulary": 14, - "volume": 125.64271242790093, - "difficulty": 5.555555555555555, - "effort": 698.0150690438941, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::removeDirectory" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::__construct": { - "line": 42, - "lineCount": 7, - "argCount": 3, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 3, - "N1": 0, - "N2": 3, - "programLength": 3, - "programVocabulary": 3, - "volume": 4.754887502163468, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::configure": { - "line": 53, - "lineCount": 57, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 15, - "N1": 9, - "N2": 16, - "programLength": 25, - "programVocabulary": 16, - "volume": 100, - "difficulty": 0.5333333333333333, - "effort": 53.333333333333336, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::configure" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::execute": { - "line": 119, - "lineCount": 43, - "argCount": 2, - "returnCount": 5, - "variableCount": 9, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 4, - "halstead": { - "n1": 7, - "n2": 14, - "N1": 31, - "N2": 45, - "programLength": 76, - "programVocabulary": 21, - "volume": 333.8161241311858, - "difficulty": 11.25, - "effort": 3755.4313964758403, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::execute" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::loadCoverageReader": { - "line": 171, - "lineCount": 32, - "argCount": 3, - "returnCount": 4, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 2, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 4, - "n2": 9, - "N1": 9, - "N2": 21, - "programLength": 30, - "programVocabulary": 13, - "volume": 111.01319154423277, - "difficulty": 4.666666666666667, - "effort": 518.0615605397529, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::loadCoverageReader" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::detectCoverageFormat": { - "line": 207, - "lineCount": 19, - "argCount": 1, - "returnCount": 4, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 9, - "volume": 47.548875021634686, - "difficulty": 2.5, - "effort": 118.87218755408671, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::detectCoverageFormat" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::coverageFileExists": { - "line": 227, - "lineCount": 20, - "argCount": 2, - "returnCount": 3, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 4, - "N2": 7, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 3.5, - "effort": 99.52105627776452, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::coverageFileExists" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::__construct": { - "line": 49, - "lineCount": 10, - "argCount": 6, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 6, - "N1": 0, - "N2": 6, - "programLength": 6, - "programVocabulary": 6, - "volume": 15.509775004326936, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::configure": { - "line": 63, - "lineCount": 76, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 20, - "N1": 13, - "N2": 20, - "programLength": 33, - "programVocabulary": 21, - "volume": 144.94647495169912, - "difficulty": 0.5, - "effort": 72.47323747584956, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::configure" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::execute": { - "line": 150, - "lineCount": 52, - "argCount": 2, - "returnCount": 5, - "variableCount": 11, - "propertyCallCount": 6, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 7, - "halstead": { - "n1": 6, - "n2": 15, - "N1": 43, - "N2": 61, - "programLength": 104, - "programVocabulary": 21, - "volume": 456.80101196899113, - "difficulty": 12.2, - "effort": 5572.972346021692, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::execute" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::parsePaths": { - "line": 209, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 4, - "N2": 8, - "programLength": 12, - "programVocabulary": 7, - "volume": 33.68825906469125, - "difficulty": 1.6, - "effort": 53.901214503506004, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::parsePaths" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleBaseLine": { - "line": 224, - "lineCount": 8, - "argCount": 2, - "returnCount": 0, - "variableCount": 3, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 5, - "N2": 11, - "programLength": 16, - "programVocabulary": 7, - "volume": 44.91767875292167, - "difficulty": 2.2, - "effort": 98.81889325642767, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleBaseLine" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleCoverageOptions": { - "line": 238, - "lineCount": 20, - "argCount": 2, - "returnCount": 3, - "variableCount": 5, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 5, - "n2": 10, - "N1": 15, - "N2": 25, - "programLength": 40, - "programVocabulary": 15, - "volume": 156.27562382434076, - "difficulty": 6.25, - "effort": 976.7226489021298, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleCoverageOptions" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::applySorting": { - "line": 264, - "lineCount": 21, - "argCount": 3, - "returnCount": 3, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 15, - "N1": 16, - "N2": 32, - "programLength": 48, - "programVocabulary": 20, - "volume": 207.45254855459342, - "difficulty": 5.333333333333333, - "effort": 1106.4135922911648, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::applySorting" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadConfiguration": { - "line": 293, - "lineCount": 10, - "argCount": 2, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 6, - "N1": 5, - "N2": 9, - "programLength": 14, - "programVocabulary": 8, - "volume": 42, - "difficulty": 1.5, - "effort": 63, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadConfiguration" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadCoverageReader": { - "line": 313, - "lineCount": 28, - "argCount": 3, - "returnCount": 4, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 2, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 10, - "N2": 18, - "programLength": 28, - "programVocabulary": 11, - "volume": 96.86408532184433, - "difficulty": 5.142857142857143, - "effort": 498.15815308377086, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadCoverageReader" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::detectCoverageFormat": { - "line": 345, - "lineCount": 19, - "argCount": 1, - "returnCount": 4, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 9, - "volume": 47.548875021634686, - "difficulty": 2.5, - "effort": 118.87218755408671, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::detectCoverageFormat" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::coverageFileExists": { - "line": 365, - "lineCount": 20, - "argCount": 2, - "returnCount": 3, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 4, - "N2": 7, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 3.5, - "effort": 99.52105627776452, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::coverageFileExists" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__construct": { - "line": 12, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__invoke": { - "line": 17, - "lineCount": 22, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 3, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 10, - "N2": 11, - "programLength": 21, - "programVocabulary": 7, - "volume": 58.95445336320969, - "difficulty": 2.2, - "effort": 129.6997973990613, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__invoke" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__construct": { - "line": 21, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__invoke": { - "line": 26, - "lineCount": 11, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 4, - "N2": 9, - "programLength": 13, - "programVocabulary": 4, - "volume": 26, - "difficulty": 4.5, - "effort": 117, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__invoke" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleSourceFilesFound": { - "line": 38, - "lineCount": 6, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 4, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 6, - "N2": 10, - "programLength": 16, - "programVocabulary": 8, - "volume": 48, - "difficulty": 5, - "effort": 240, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleSourceFilesFound" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleFileProcessed": { - "line": 45, - "lineCount": 5, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleFileProcessed" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleAllFilesProcessed": { - "line": 51, - "lineCount": 6, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 3, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 3, - "N2": 5, - "programLength": 8, - "programVocabulary": 5, - "volume": 18.575424759098897, - "difficulty": 1.6666666666666667, - "effort": 30.95904126516483, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleAllFilesProcessed" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__construct": { - "line": 20, - "lineCount": 5, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__invoke": { - "line": 26, - "lineCount": 17, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 5, - "n2": 8, - "N1": 17, - "N2": 17, - "programLength": 34, - "programVocabulary": 13, - "volume": 125.81495041679713, - "difficulty": 5.3125, - "effort": 668.3919240892347, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__invoke" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::formatBytes": { - "line": 50, - "lineCount": 12, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 7, - "n2": 13, - "N1": 10, - "N2": 22, - "programLength": 32, - "programVocabulary": 20, - "volume": 138.3016990363956, - "difficulty": 5.923076923076923, - "effort": 819.1716019848047, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::formatBytes" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::isDebugEnabled": { - "line": 66, - "lineCount": 5, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 1, - "N1": 4, - "N2": 2, - "programLength": 6, - "programVocabulary": 4, - "volume": 12, - "difficulty": 3, - "effort": 36, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::isDebugEnabled" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::__construct": { - "line": 20, - "lineCount": 6, - "argCount": 2, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 4, - "volume": 8, - "difficulty": 0.5, - "effort": 4, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::exportToFile": { - "line": 32, - "lineCount": 27, - "argCount": 3, - "returnCount": 4, - "variableCount": 2, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 1, - "n2": 6, - "N1": 6, - "N2": 19, - "programLength": 25, - "programVocabulary": 7, - "volume": 70.1838730514401, - "difficulty": 1.5833333333333333, - "effort": 111.12446566478016, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::exportToFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::hasIncompleteReportOptions": { - "line": 60, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 2, - "N1": 7, - "N2": 6, - "programLength": 13, - "programVocabulary": 6, - "volume": 33.60451250937503, - "difficulty": 6, - "effort": 201.62707505625016, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::hasIncompleteReportOptions" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::isValidReportType": { - "line": 65, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 2, - "N2": 4, - "programLength": 6, - "programVocabulary": 4, - "volume": 12, - "difficulty": 2, - "effort": 24, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::isValidReportType" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleExceptions": { - "line": 77, - "lineCount": 9, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 3, - "N2": 4, - "programLength": 7, - "programVocabulary": 5, - "volume": 16.253496664211536, - "difficulty": 1.3333333333333333, - "effort": 21.67132888561538, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleExceptions" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleInvalidReportType": { - "line": 91, - "lineCount": 11, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 5, - "N2": 8, - "programLength": 13, - "programVocabulary": 8, - "volume": 39, - "difficulty": 2.4000000000000004, - "effort": 93.60000000000001, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleInvalidReportType" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::__construct": { - "line": 15, - "lineCount": 5, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handle": { - "line": 24, - "lineCount": 27, - "argCount": 3, - "returnCount": 4, - "variableCount": 2, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 1, - "n2": 6, - "N1": 6, - "N2": 19, - "programLength": 25, - "programVocabulary": 7, - "volume": 70.1838730514401, - "difficulty": 1.5833333333333333, - "effort": 111.12446566478016, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handle" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::hasIncompleteReportOptions": { - "line": 52, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 2, - "N1": 7, - "N2": 6, - "programLength": 13, - "programVocabulary": 6, - "volume": 33.60451250937503, - "difficulty": 6, - "effort": 201.62707505625016, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::hasIncompleteReportOptions" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::isValidReportType": { - "line": 57, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 5, - "N1": 1, - "N2": 6, - "programLength": 7, - "programVocabulary": 6, - "volume": 18.094737505048094, - "difficulty": 0.6, - "effort": 10.856842503028856, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::isValidReportType" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handleExceptions": { - "line": 66, - "lineCount": 9, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 3, - "N2": 4, - "programLength": 7, - "programVocabulary": 5, - "volume": 16.253496664211536, - "difficulty": 1.3333333333333333, - "effort": 21.67132888561538, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handleExceptions" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handleInvalidReporType": { - "line": 80, - "lineCount": 9, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 4, - "programLength": 6, - "programVocabulary": 5, - "volume": 13.931568569324174, - "difficulty": 1.3333333333333333, - "effort": 18.575424759098897, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handleInvalidReporType" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::__construct": { - "line": 42, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::reportWritten": { - "line": 47, - "lineCount": 7, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 4, - "programLength": 6, - "programVocabulary": 5, - "volume": 13.931568569324174, - "difficulty": 1.3333333333333333, - "effort": 18.575424759098897, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::reportWritten" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::renderChurnTable": { - "line": 59, - "lineCount": 35, - "argCount": 1, - "returnCount": 0, - "variableCount": 6, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 8, - "n2": 18, - "N1": 21, - "N2": 53, - "programLength": 74, - "programVocabulary": 26, - "volume": 347.8325391424408, - "difficulty": 11.777777777777779, - "effort": 4096.694349899859, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::renderChurnTable" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricSummaryTextRenderer::__construct": { - "line": 18, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricSummaryTextRenderer::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricSummaryTextRenderer::render": { - "line": 23, - "lineCount": 32, - "argCount": 2, - "returnCount": 0, - "variableCount": 6, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 6, - "n2": 16, - "N1": 27, - "N2": 38, - "programLength": 65, - "programVocabulary": 22, - "volume": 289.86305521142435, - "difficulty": 7.125, - "effort": 2065.2742683813985, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricSummaryTextRenderer::render" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::__construct": { - "line": 27, - "lineCount": 5, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::metricExceedsThreshold": { - "line": 33, - "lineCount": 6, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 2, - "N1": 3, - "N2": 5, - "programLength": 8, - "programVocabulary": 5, - "volume": 18.575424759098897, - "difficulty": 3.75, - "effort": 69.65784284662087, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::metricExceedsThreshold" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::hasCoverageInCollection": { - "line": 43, - "lineCount": 10, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 2, - "N2": 4, - "programLength": 6, - "programVocabulary": 4, - "volume": 12, - "difficulty": 2, - "effort": 24, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::hasCoverageInCollection" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::render": { - "line": 58, - "lineCount": 17, - "argCount": 2, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 6, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 9, - "N2": 25, - "programLength": 34, - "programVocabulary": 6, - "volume": 87.8887250245193, - "difficulty": 6.25, - "effort": 549.3045314032456, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::render" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderGroupedByClass": { - "line": 81, - "lineCount": 19, - "argCount": 3, - "returnCount": 0, - "variableCount": 6, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 5, - "n2": 11, - "N1": 11, - "N2": 25, - "programLength": 36, - "programVocabulary": 16, - "volume": 144, - "difficulty": 5.6818181818181825, - "effort": 818.1818181818182, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderGroupedByClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::buildRowsForClass": { - "line": 106, - "lineCount": 13, - "argCount": 2, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 4, - "N2": 12, - "programLength": 16, - "programVocabulary": 7, - "volume": 44.91767875292167, - "difficulty": 2.4, - "effort": 107.802429007012, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::buildRowsForClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::getFilenameFromMetrics": { - "line": 123, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 5, - "programLength": 6, - "programVocabulary": 4, - "volume": 12, - "difficulty": 0.8333333333333334, - "effort": 10, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::getFilenameFromMetrics" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderAllMethodsInSingleTable": { - "line": 136, - "lineCount": 12, - "argCount": 3, - "returnCount": 0, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 6, - "N2": 15, - "programLength": 21, - "programVocabulary": 11, - "volume": 72.64806399138324, - "difficulty": 4.285714285714286, - "effort": 311.34884567735673, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderAllMethodsInSingleTable" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::buildRowsForSingleTable": { - "line": 154, - "lineCount": 13, - "argCount": 2, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 4, - "N2": 12, - "programLength": 16, - "programVocabulary": 7, - "volume": 44.91767875292167, - "difficulty": 2.4, - "effort": 107.802429007012, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::buildRowsForSingleTable" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderTableCommon": { - "line": 173, - "lineCount": 19, - "argCount": 4, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 8, - "N1": 7, - "N2": 19, - "programLength": 26, - "programVocabulary": 10, - "volume": 86.37013046707142, - "difficulty": 2.375, - "effort": 205.1290598592946, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderTableCommon" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderTable": { - "line": 196, - "lineCount": 13, - "argCount": 4, - "returnCount": 0, - "variableCount": 3, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 7, - "N1": 4, - "N2": 14, - "programLength": 18, - "programVocabulary": 9, - "volume": 57.05865002596162, - "difficulty": 2, - "effort": 114.11730005192324, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderTable" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderSingleTable": { - "line": 213, - "lineCount": 11, - "argCount": 3, - "returnCount": 0, - "variableCount": 3, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 6, - "N1": 4, - "N2": 12, - "programLength": 16, - "programVocabulary": 8, - "volume": 48, - "difficulty": 2, - "effort": 96, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderSingleTable" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::__construct": { - "line": 16, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatScore": { - "line": 21, - "lineCount": 6, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 6, - "N1": 5, - "N2": 9, - "programLength": 14, - "programVocabulary": 8, - "volume": 42, - "difficulty": 1.5, - "effort": 63, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatScore" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadVolume": { - "line": 28, - "lineCount": 14, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 10, - "N1": 9, - "N2": 17, - "programLength": 26, - "programVocabulary": 15, - "volume": 101.57915548582149, - "difficulty": 4.25, - "effort": 431.7114108147413, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadVolume" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadDifficulty": { - "line": 43, - "lineCount": 13, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 10, - "N1": 8, - "N2": 17, - "programLength": 25, - "programVocabulary": 14, - "volume": 95.1838730514401, - "difficulty": 3.4, - "effort": 323.62516837489636, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadDifficulty" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadEffort": { - "line": 57, - "lineCount": 13, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 10, - "N1": 8, - "N2": 17, - "programLength": 25, - "programVocabulary": 14, - "volume": 95.1838730514401, - "difficulty": 3.4, - "effort": 323.62516837489636, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadEffort" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatCyclomaticComplexity": { - "line": 71, - "lineCount": 13, - "argCount": 1, - "returnCount": 3, - "variableCount": 4, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 5, - "n2": 9, - "N1": 9, - "N2": 18, - "programLength": 27, - "programVocabulary": 14, - "volume": 102.79858289555531, - "difficulty": 5, - "effort": 513.9929144777766, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatCyclomaticComplexity" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::colorCyclomaticRisk": { - "line": 85, - "lineCount": 8, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 7, - "N1": 5, - "N2": 11, - "programLength": 16, - "programVocabulary": 9, - "volume": 50.718800023076994, - "difficulty": 1.5714285714285714, - "effort": 79.70097146483528, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::colorCyclomaticRisk" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::__construct": { - "line": 17, - "lineCount": 5, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::getGroupedTableHeaders": { - "line": 28, - "lineCount": 16, - "argCount": 0, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 10, - "N2": 17, - "programLength": 27, - "programVocabulary": 6, - "volume": 69.79398751947122, - "difficulty": 4.25, - "effort": 296.62444695775264, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::getGroupedTableHeaders" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCoverageHeader": { - "line": 49, - "lineCount": 10, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 6, - "programLength": 7, - "programVocabulary": 4, - "volume": 14, - "difficulty": 1, - "effort": 14, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCoverageHeader" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::getSingleTableHeaders": { - "line": 65, - "lineCount": 20, - "argCount": 0, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 6, - "N1": 9, - "N2": 18, - "programLength": 27, - "programVocabulary": 8, - "volume": 81, - "difficulty": 3, - "effort": 243, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::getSingleTableHeaders" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addHalsteadHeaders": { - "line": 92, - "lineCount": 10, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 1, - "n2": 5, - "N1": 3, - "N2": 9, - "programLength": 12, - "programVocabulary": 6, - "volume": 31.019550008653873, - "difficulty": 0.9, - "effort": 27.917595007788485, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addHalsteadHeaders" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCyclomaticHeaders": { - "line": 109, - "lineCount": 8, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 5, - "programLength": 6, - "programVocabulary": 4, - "volume": 12, - "difficulty": 0.8333333333333334, - "effort": 10, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCyclomaticHeaders" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCognitiveMetricDetails": { - "line": 122, - "lineCount": 16, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 10, - "N1": 2, - "N2": 13, - "programLength": 15, - "programVocabulary": 12, - "volume": 53.77443751081734, - "difficulty": 1.3, - "effort": 69.90676876406255, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCognitiveMetricDetails" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::__construct": { - "line": 21, - "lineCount": 6, - "argCount": 3, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 3, - "N1": 0, - "N2": 3, - "programLength": 3, - "programVocabulary": 3, - "volume": 4.754887502163468, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::buildRow": { - "line": 34, - "lineCount": 16, - "argCount": 1, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 10, - "N2": 24, - "programLength": 34, - "programVocabulary": 7, - "volume": 95.45006734995854, - "difficulty": 4.8, - "effort": 458.160323279801, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::buildRow" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::buildRowWithClassInfo": { - "line": 57, - "lineCount": 16, - "argCount": 1, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 10, - "N2": 24, - "programLength": 34, - "programVocabulary": 7, - "volume": 95.45006734995854, - "difficulty": 4.8, - "effort": 458.160323279801, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::buildRowWithClassInfo" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::metricsToArray": { - "line": 79, - "lineCount": 8, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 3, - "N2": 7, - "programLength": 10, - "programVocabulary": 6, - "volume": 25.84962500721156, - "difficulty": 1.75, - "effort": 45.23684376262023, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::metricsToArray" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::metricsToArrayWithClassInfo": { - "line": 93, - "lineCount": 9, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 4, - "N2": 9, - "programLength": 13, - "programVocabulary": 7, - "volume": 36.49561398674886, - "difficulty": 1.8, - "effort": 65.69210517614795, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::metricsToArrayWithClassInfo" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addHalsteadFields": { - "line": 109, - "lineCount": 10, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 6, - "N1": 6, - "N2": 16, - "programLength": 22, - "programVocabulary": 8, - "volume": 66, - "difficulty": 2.6666666666666665, - "effort": 176, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addHalsteadFields" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addCyclomaticFields": { - "line": 126, - "lineCount": 8, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 2, - "N2": 8, - "programLength": 10, - "programVocabulary": 6, - "volume": 25.84962500721156, - "difficulty": 2, - "effort": 51.69925001442312, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addCyclomaticFields" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addWeightedValue": { - "line": 141, - "lineCount": 10, - "argCount": 3, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 11, - "N1": 13, - "N2": 22, - "programLength": 35, - "programVocabulary": 15, - "volume": 136.74117084629816, - "difficulty": 4, - "effort": 546.9646833851926, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addWeightedValue" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addDelta": { - "line": 158, - "lineCount": 20, - "argCount": 3, - "returnCount": 3, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 6, - "n2": 13, - "N1": 19, - "N2": 30, - "programLength": 49, - "programVocabulary": 19, - "volume": 208.14844815873568, - "difficulty": 6.9230769230769225, - "effort": 1441.0277180220162, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::getKeys": { - "line": 184, - "lineCount": 17, - "argCount": 0, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 0, - "n2": 9, - "N1": 0, - "N2": 9, - "programLength": 9, - "programVocabulary": 9, - "volume": 28.52932501298081, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::getKeys" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::assertDeltaMethodExists": { - "line": 205, - "lineCount": 6, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 6, - "programLength": 8, - "programVocabulary": 5, - "volume": 18.575424759098897, - "difficulty": 2, - "effort": 37.150849518197795, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::assertDeltaMethodExists" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addCoverageValue": { - "line": 216, - "lineCount": 11, - "argCount": 2, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 7, - "N1": 7, - "N2": 15, - "programLength": 22, - "programVocabulary": 12, - "volume": 78.86917501586544, - "difficulty": 5.357142857142857, - "effort": 422.51343758499337, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::addCoverageValue" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::extracted": { - "line": 233, - "lineCount": 22, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 12, - "N1": 19, - "N2": 34, - "programLength": 53, - "programVocabulary": 15, - "volume": 207.06520156725148, - "difficulty": 4.25, - "effort": 880.0271066608187, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableRowBuilder::extracted" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CacheConfig::__construct": { - "line": 12, - "lineCount": 5, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CacheConfig::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CacheConfig::toArray": { - "line": 23, - "lineCount": 7, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 3, - "N1": 0, - "N2": 4, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CacheConfig::toArray" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CognitiveConfig::__construct": { - "line": 20, - "lineCount": 13, - "argCount": 10, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 10, - "N1": 0, - "N2": 10, - "programLength": 10, - "programVocabulary": 10, - "volume": 33.219280948873624, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CognitiveConfig::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CognitiveConfig::toArray": { - "line": 39, - "lineCount": 20, - "argCount": 0, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 10, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 14, - "N1": 3, - "N2": 27, - "programLength": 30, - "programVocabulary": 16, - "volume": 120, - "difficulty": 1.9285714285714286, - "effort": 231.42857142857144, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\CognitiveConfig::toArray" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigFactory::fromArray": { - "line": 16, - "lineCount": 31, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 20, - "N1": 10, - "N2": 52, - "programLength": 62, - "programVocabulary": 23, - "volume": 280.4608412755348, - "difficulty": 3.9000000000000004, - "effort": 1093.7972809745859, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigFactory::fromArray" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigLoader::getCognitiveMetricDefaults": { - "line": 27, - "lineCount": 45, - "argCount": 0, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 8, - "N1": 0, - "N2": 16, - "programLength": 16, - "programVocabulary": 8, - "volume": 48, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigLoader::getCognitiveMetricDefaults" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigLoader::getConfigTreeBuilder": { - "line": 73, - "lineCount": 75, - "argCount": 0, - "returnCount": 2, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 24, - "N1": 68, - "N2": 29, - "programLength": 97, - "programVocabulary": 27, - "volume": 461.2240877098564, - "difficulty": 1.8125, - "effort": 835.9686589741148, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigLoader::getConfigTreeBuilder" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigService::__construct": { - "line": 20, - "lineCount": 6, - "argCount": 2, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 4, - "volume": 8, - "difficulty": 0.5, - "effort": 4, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigService::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigService::loadDefaultConfig": { - "line": 30, - "lineCount": 8, - "argCount": 0, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 3, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 5, - "N2": 6, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 3, - "effort": 85.30376252379816, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigService::loadDefaultConfig" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigService::loadConfig": { - "line": 42, - "lineCount": 9, - "argCount": 1, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 3, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 4, - "N1": 5, - "N2": 8, - "programLength": 13, - "programVocabulary": 7, - "volume": 36.49561398674886, - "difficulty": 3, - "effort": 109.48684196024658, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigService::loadConfig" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigService::getConfig": { - "line": 52, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\ConfigService::getConfig" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\MetricsConfig::__construct": { - "line": 12, - "lineCount": 6, - "argCount": 3, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 3, - "N1": 0, - "N2": 3, - "programLength": 3, - "programVocabulary": 3, - "volume": 4.754887502163468, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\MetricsConfig::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\MetricsConfig::toArray": { - "line": 24, - "lineCount": 8, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 3, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 4, - "N1": 0, - "N2": 6, - "programLength": 6, - "programVocabulary": 4, - "volume": 12, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Config\\MetricsConfig::toArray" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::setAnnotationVisitor": { - "line": 63, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::setAnnotationVisitor" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::resetValues": { - "line": 68, - "lineCount": 12, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 9, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 9, - "N2": 15, - "programLength": 24, - "programVocabulary": 3, - "volume": 38.039100017307746, - "difficulty": 3.75, - "effort": 142.64662506490404, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::resetValues" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::resetAll": { - "line": 84, - "lineCount": 9, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 4, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 5, - "N2": 8, - "programLength": 13, - "programVocabulary": 4, - "volume": 26, - "difficulty": 4, - "effort": 104, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::resetAll" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::createMetricsArray": { - "line": 97, - "lineCount": 14, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 12, - "N1": 3, - "N2": 21, - "programLength": 24, - "programVocabulary": 13, - "volume": 88.81055323538621, - "difficulty": 0.875, - "effort": 77.70923408096293, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::createMetricsArray" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::isValidContext": { - "line": 115, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::isValidContext" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::buildMethodKey": { - "line": 123, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::buildMethodKey" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::classMethodOnEnterNode": { - "line": 128, - "lineCount": 20, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 3, - "ifNestingLevel": 2, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 5, - "n2": 4, - "N1": 12, - "N2": 16, - "programLength": 28, - "programVocabulary": 9, - "volume": 88.75790004038474, - "difficulty": 10, - "effort": 887.5790004038474, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::classMethodOnEnterNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::isClassMethodNode": { - "line": 155, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::isClassMethodNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::initializeMethodContext": { - "line": 166, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 2, - "N2": 3, - "programLength": 5, - "programVocabulary": 4, - "volume": 10, - "difficulty": 1.5, - "effort": 15, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::initializeMethodContext" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::trackMethodArguments": { - "line": 177, - "lineCount": 8, - "argCount": 1, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 4, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 7, - "programLength": 9, - "programVocabulary": 5, - "volume": 20.89735285398626, - "difficulty": 2.3333333333333335, - "effort": 48.76048999263461, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::trackMethodArguments" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::isVariable": { - "line": 192, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::isVariable" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::calculateLineCount": { - "line": 203, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 2, - "N1": 4, - "N2": 4, - "programLength": 8, - "programVocabulary": 5, - "volume": 18.575424759098897, - "difficulty": 3, - "effort": 55.726274277296696, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::calculateLineCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::countMethodArguments": { - "line": 214, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 2, - "programLength": 3, - "programVocabulary": 2, - "volume": 3, - "difficulty": 1, - "effort": 3, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::countMethodArguments" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::setCurrentNamespaceOnEnterNode": { - "line": 219, - "lineCount": 6, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 6, - "programLength": 8, - "programVocabulary": 5, - "volume": 18.575424759098897, - "difficulty": 2, - "effort": 37.150849518197795, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::setCurrentNamespaceOnEnterNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::isClassOrTraitNode": { - "line": 229, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 1.5, - "effort": 6, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::isClassOrTraitNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::setCurrentClassOnEnterNode": { - "line": 234, - "lineCount": 22, - "argCount": 1, - "returnCount": 4, - "variableCount": 2, - "propertyCallCount": 4, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 6, - "n2": 5, - "N1": 12, - "N2": 16, - "programLength": 28, - "programVocabulary": 11, - "volume": 96.86408532184433, - "difficulty": 9.600000000000001, - "effort": 929.8952190897057, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::setCurrentClassOnEnterNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::normalizeFqcn": { - "line": 261, - "lineCount": 8, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 2, - "N1": 3, - "N2": 9, - "programLength": 12, - "programVocabulary": 5, - "volume": 27.863137138648348, - "difficulty": 6.75, - "effort": 188.07617568587634, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::normalizeFqcn" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::enterNode": { - "line": 270, - "lineCount": 16, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 3, - "volume": 22.189475010096185, - "difficulty": 2.5, - "effort": 55.473687525240464, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::enterNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::gatherMetrics": { - "line": 287, - "lineCount": 12, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 5, - "N2": 14, - "programLength": 19, - "programVocabulary": 3, - "volume": 30.114287513701967, - "difficulty": 3.5, - "effort": 105.40000629795688, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::gatherMetrics" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::incrementReturnCount": { - "line": 300, - "lineCount": 4, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::incrementReturnCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::countVariablesNotAlreadyTrackedAsArguments": { - "line": 326, - "lineCount": 6, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 2, - "N1": 3, - "N2": 6, - "programLength": 9, - "programVocabulary": 5, - "volume": 20.89735285398626, - "difficulty": 4.5, - "effort": 94.03808784293817, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::countVariablesNotAlreadyTrackedAsArguments" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::trackPropertyFetch": { - "line": 333, - "lineCount": 15, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 3, - "N2": 9, - "programLength": 12, - "programVocabulary": 5, - "volume": 27.863137138648348, - "difficulty": 3, - "effort": 83.58941141594505, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::trackPropertyFetch" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::trackIfStatement": { - "line": 349, - "lineCount": 9, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 1, - "N1": 2, - "N2": 6, - "programLength": 8, - "programVocabulary": 3, - "volume": 12.679700005769249, - "difficulty": 6, - "effort": 76.07820003461549, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::trackIfStatement" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::incrementElseCount": { - "line": 359, - "lineCount": 4, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::incrementElseCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::checkNestingLevelOnLeaveNode": { - "line": 364, - "lineCount": 6, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 3, - "programLength": 3, - "programVocabulary": 2, - "volume": 3, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::checkNestingLevelOnLeaveNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::writeMetricsOnLeaveNode": { - "line": 373, - "lineCount": 38, - "argCount": 1, - "returnCount": 3, - "variableCount": 2, - "propertyCallCount": 11, - "ifNestingLevel": 2, - "elseCount": 0, - "ifCount": 5, - "halstead": { - "n1": 7, - "n2": 14, - "N1": 29, - "N2": 58, - "programLength": 87, - "programVocabulary": 21, - "volume": 382.1316157817522, - "difficulty": 14.500000000000002, - "effort": 5540.908428835408, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::writeMetricsOnLeaveNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::checkNameSpaceOnLeaveNode": { - "line": 412, - "lineCount": 6, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 4, - "programLength": 5, - "programVocabulary": 4, - "volume": 10, - "difficulty": 0.6666666666666666, - "effort": 6.666666666666666, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::checkNameSpaceOnLeaveNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::checkClassOnLeaveNode": { - "line": 419, - "lineCount": 11, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 2, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 6, - "programLength": 8, - "programVocabulary": 5, - "volume": 18.575424759098897, - "difficulty": 2, - "effort": 37.150849518197795, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::checkClassOnLeaveNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::leaveNode": { - "line": 431, - "lineCount": 7, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 4, - "N2": 9, - "programLength": 13, - "programVocabulary": 3, - "volume": 20.604512509375027, - "difficulty": 2.25, - "effort": 46.36015314609381, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::leaveNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::getMethodMetrics": { - "line": 439, - "lineCount": 13, - "argCount": 0, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 6, - "N1": 8, - "N2": 15, - "programLength": 23, - "programVocabulary": 10, - "volume": 76.40434618240933, - "difficulty": 5, - "effort": 382.0217309120466, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CognitiveMetricsVisitor::getMethodMetrics" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CombinedMetricsVisitor::__construct": { - "line": 22, - "lineCount": 7, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 4, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 4, - "N2": 4, - "programLength": 8, - "programVocabulary": 2, - "volume": 8, - "difficulty": 2, - "effort": 16, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CombinedMetricsVisitor::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CombinedMetricsVisitor::beforeTraverse": { - "line": 33, - "lineCount": 7, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 2, - "programLength": 3, - "programVocabulary": 3, - "volume": 4.754887502163468, - "difficulty": 0.5, - "effort": 2.377443751081734, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CombinedMetricsVisitor::beforeTraverse" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CombinedMetricsVisitor::enterNode": { - "line": 41, - "lineCount": 20, - "argCount": 1, - "returnCount": 2, - "variableCount": 5, - "propertyCallCount": 4, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 6, - "N1": 15, - "N2": 17, - "programLength": 32, - "programVocabulary": 10, - "volume": 106.30169903639559, - "difficulty": 5.666666666666667, - "effort": 602.376294539575, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CombinedMetricsVisitor::enterNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CombinedMetricsVisitor::leaveNode": { - "line": 62, - "lineCount": 10, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 4, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 4, - "N2": 9, - "programLength": 13, - "programVocabulary": 3, - "volume": 20.604512509375027, - "difficulty": 2.25, - "effort": 46.36015314609381, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CombinedMetricsVisitor::leaveNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CombinedMetricsVisitor::afterTraverse": { - "line": 76, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CombinedMetricsVisitor::afterTraverse" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CombinedMetricsVisitor::resetAll": { - "line": 84, - "lineCount": 7, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 4, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 4, - "N2": 4, - "programLength": 8, - "programVocabulary": 2, - "volume": 8, - "difficulty": 2, - "effort": 16, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CombinedMetricsVisitor::resetAll" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CombinedMetricsVisitor::resetAllBetweenFiles": { - "line": 95, - "lineCount": 7, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 4, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 4, - "N2": 4, - "programLength": 8, - "programVocabulary": 2, - "volume": 8, - "difficulty": 2, - "effort": 16, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CombinedMetricsVisitor::resetAllBetweenFiles" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CombinedMetricsVisitor::getMethodMetrics": { - "line": 106, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CombinedMetricsVisitor::getMethodMetrics" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CombinedMetricsVisitor::getMethodComplexity": { - "line": 114, - "lineCount": 5, - "argCount": 0, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 3, - "N2": 4, - "programLength": 7, - "programVocabulary": 6, - "volume": 18.094737505048094, - "difficulty": 2, - "effort": 36.18947501009619, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CombinedMetricsVisitor::getMethodComplexity" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CombinedMetricsVisitor::getHalsteadMethodMetrics": { - "line": 123, - "lineCount": 5, - "argCount": 0, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 3, - "N2": 4, - "programLength": 7, - "programVocabulary": 6, - "volume": 18.094737505048094, - "difficulty": 2, - "effort": 36.18947501009619, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CombinedMetricsVisitor::getHalsteadMethodMetrics" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CombinedMetricsVisitor::getIgnored": { - "line": 132, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CombinedMetricsVisitor::getIgnored" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CombinedMetricsVisitor::setAnnotationVisitor": { - "line": 140, - "lineCount": 4, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 2, - "programLength": 3, - "programVocabulary": 2, - "volume": 3, - "difficulty": 1, - "effort": 3, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CombinedMetricsVisitor::setAnnotationVisitor" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::setAnnotationVisitor": { - "line": 73, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::setAnnotationVisitor" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::resetMethodCounters": { - "line": 78, - "lineCount": 19, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 16, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 16, - "N2": 32, - "programLength": 48, - "programVocabulary": 4, - "volume": 96, - "difficulty": 5.333333333333333, - "effort": 512, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::resetMethodCounters" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::resetAll": { - "line": 101, - "lineCount": 11, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 6, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 7, - "N2": 10, - "programLength": 17, - "programVocabulary": 4, - "volume": 34, - "difficulty": 5, - "effort": 170, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::resetAll" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::enterNode": { - "line": 113, - "lineCount": 10, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 3, - "volume": 22.189475010096185, - "difficulty": 2.5, - "effort": 55.473687525240464, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::enterNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::leaveNode": { - "line": 124, - "lineCount": 6, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 3, - "N2": 7, - "programLength": 10, - "programVocabulary": 3, - "volume": 15.84962500721156, - "difficulty": 1.75, - "effort": 27.736843762620232, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::leaveNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::setCurrentNamespaceOnEnterNode": { - "line": 131, - "lineCount": 6, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 6, - "programLength": 8, - "programVocabulary": 5, - "volume": 18.575424759098897, - "difficulty": 2, - "effort": 37.150849518197795, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::setCurrentNamespaceOnEnterNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::setCurrentClassOnEnterNode": { - "line": 138, - "lineCount": 17, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 5, - "ifNestingLevel": 3, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 6, - "n2": 6, - "N1": 13, - "N2": 19, - "programLength": 32, - "programVocabulary": 12, - "volume": 114.718800023077, - "difficulty": 9.5, - "effort": 1089.8286002192315, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::setCurrentClassOnEnterNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::normalizeFqcn": { - "line": 156, - "lineCount": 8, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 2, - "N1": 3, - "N2": 9, - "programLength": 12, - "programVocabulary": 5, - "volume": 27.863137138648348, - "difficulty": 6.75, - "effort": 188.07617568587634, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::normalizeFqcn" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::handleClassMethodEnter": { - "line": 165, - "lineCount": 19, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 4, - "ifNestingLevel": 2, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 5, - "n2": 4, - "N1": 10, - "N2": 13, - "programLength": 23, - "programVocabulary": 9, - "volume": 72.90827503317318, - "difficulty": 8.125, - "effort": 592.3797346445322, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::handleClassMethodEnter" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::countDecisionPoints": { - "line": 185, - "lineCount": 20, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 14, - "N2": 29, - "programLength": 43, - "programVocabulary": 3, - "volume": 68.15338753100971, - "difficulty": 7.25, - "effort": 494.11205959982044, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::countDecisionPoints" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::countIfStatement": { - "line": 206, - "lineCount": 5, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::countIfStatement" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::countElseIfStatement": { - "line": 212, - "lineCount": 5, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::countElseIfStatement" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::countElseStatement": { - "line": 218, - "lineCount": 5, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::countElseStatement" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::countSwitchStatement": { - "line": 224, - "lineCount": 5, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::countSwitchStatement" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::countCaseStatement": { - "line": 230, - "lineCount": 5, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::countCaseStatement" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::countWhileStatement": { - "line": 236, - "lineCount": 5, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::countWhileStatement" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::countDoWhileStatement": { - "line": 242, - "lineCount": 5, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::countDoWhileStatement" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::countForStatement": { - "line": 248, - "lineCount": 5, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::countForStatement" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::countForeachStatement": { - "line": 254, - "lineCount": 5, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::countForeachStatement" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::countCatchStatement": { - "line": 260, - "lineCount": 5, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::countCatchStatement" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::countLogicalAnd": { - "line": 266, - "lineCount": 5, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::countLogicalAnd" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::countLogicalOr": { - "line": 272, - "lineCount": 5, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::countLogicalOr" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::countLogicalXor": { - "line": 278, - "lineCount": 5, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::countLogicalXor" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::countTernary": { - "line": 284, - "lineCount": 5, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::countTernary" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::handleClassMethodLeave": { - "line": 290, - "lineCount": 43, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 21, - "ifNestingLevel": 2, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 1, - "n2": 22, - "N1": 5, - "N2": 54, - "programLength": 59, - "programVocabulary": 23, - "volume": 266.89015540736375, - "difficulty": 1.2272727272727273, - "effort": 327.54700890903734, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::handleClassMethodLeave" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::checkNamespaceLeave": { - "line": 334, - "lineCount": 6, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 4, - "programLength": 5, - "programVocabulary": 4, - "volume": 10, - "difficulty": 0.6666666666666666, - "effort": 6.666666666666666, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::checkNamespaceLeave" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::checkClassLeave": { - "line": 341, - "lineCount": 6, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 5, - "programLength": 7, - "programVocabulary": 5, - "volume": 16.253496664211536, - "difficulty": 1.6666666666666667, - "effort": 27.089161107019226, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::checkClassLeave" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::getClassComplexity": { - "line": 353, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::getClassComplexity" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::getMethodComplexity": { - "line": 363, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::getMethodComplexity" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::getMethodComplexityBreakdown": { - "line": 373, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::getMethodComplexityBreakdown" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::getComplexitySummary": { - "line": 383, - "lineCount": 36, - "argCount": 0, - "returnCount": 1, - "variableCount": 6, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 15, - "N1": 11, - "N2": 45, - "programLength": 56, - "programVocabulary": 19, - "volume": 237.88394075284077, - "difficulty": 6, - "effort": 1427.3036445170446, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::getComplexitySummary" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::getRiskLevel": { - "line": 426, - "lineCount": 9, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 8, - "N1": 3, - "N2": 11, - "programLength": 14, - "programVocabulary": 9, - "volume": 44.37895002019237, - "difficulty": 0.6875, - "effort": 30.510528138882254, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\CyclomaticComplexityVisitor::getRiskLevel" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\HalsteadMetricsVisitor::setAnnotationVisitor": { - "line": 44, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\HalsteadMetricsVisitor::setAnnotationVisitor" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\HalsteadMetricsVisitor::enterNode": { - "line": 63, - "lineCount": 54, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 6, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 6, - "cyclomatic_complexity": { - "complexity": 7, - "risk_level": "medium" - }, - "halstead": { - "n1": 7, - "n2": 5, - "N1": 33, - "N2": 49, - "programLength": 82, - "programVocabulary": 12, - "volume": 293.9669250591348, - "difficulty": 34.300000000000004, - "effort": 10083.065529528325, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\HalsteadMetricsVisitor::enterNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\HalsteadMetricsVisitor::setCurrentNamespace": { - "line": 118, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 2, - "risk_level": "low" - }, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 5, - "programLength": 7, - "programVocabulary": 5, - "volume": 16.253496664211536, - "difficulty": 1.6666666666666667, - "effort": 27.089161107019226, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\HalsteadMetricsVisitor::setCurrentNamespace" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\HalsteadMetricsVisitor::setCurrentClassName": { - "line": 123, - "lineCount": 13, - "argCount": 1, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "cyclomatic_complexity": { - "complexity": 3, - "risk_level": "low" - }, - "halstead": { - "n1": 5, - "n2": 6, - "N1": 10, - "N2": 15, - "programLength": 25, - "programVocabulary": 11, - "volume": 86.48579046593244, - "difficulty": 6.25, - "effort": 540.5361904120778, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\HalsteadMetricsVisitor::setCurrentClassName" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\HalsteadMetricsVisitor::normalizeFqcn": { - "line": 140, - "lineCount": 8, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "cyclomatic_complexity": { - "complexity": 3, - "risk_level": "low" - }, - "halstead": { - "n1": 3, - "n2": 2, - "N1": 3, - "N2": 9, - "programLength": 12, - "programVocabulary": 5, - "volume": 27.863137138648348, - "difficulty": 6.75, - "effort": 188.07617568587634, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\HalsteadMetricsVisitor::normalizeFqcn" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\HalsteadMetricsVisitor::addOperator": { - "line": 149, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 2, - "N2": 3, - "programLength": 5, - "programVocabulary": 4, - "volume": 10, - "difficulty": 1.5, - "effort": 15, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\HalsteadMetricsVisitor::addOperator" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\HalsteadMetricsVisitor::addOperand": { - "line": 154, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 2, - "N2": 4, - "programLength": 6, - "programVocabulary": 4, - "volume": 12, - "difficulty": 2, - "effort": 24, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\HalsteadMetricsVisitor::addOperand" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\HalsteadMetricsVisitor::leaveNode": { - "line": 159, - "lineCount": 23, - "argCount": 1, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 6, - "ifNestingLevel": 2, - "elseCount": 0, - "ifCount": 4, - "cyclomatic_complexity": { - "complexity": 5, - "risk_level": "low" - }, - "halstead": { - "n1": 5, - "n2": 5, - "N1": 14, - "N2": 23, - "programLength": 37, - "programVocabulary": 10, - "volume": 122.9113395108324, - "difficulty": 11.5, - "effort": 1413.4804043745726, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\HalsteadMetricsVisitor::leaveNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\HalsteadMetricsVisitor::isOperator": { - "line": 183, - "lineCount": 7, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 3, - "N2": 5, - "programLength": 8, - "programVocabulary": 2, - "volume": 8, - "difficulty": 2.5, - "effort": 20, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\HalsteadMetricsVisitor::isOperator" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\HalsteadMetricsVisitor::isOperand": { - "line": 191, - "lineCount": 7, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 3, - "N2": 5, - "programLength": 8, - "programVocabulary": 2, - "volume": 8, - "difficulty": 2.5, - "effort": 20, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\HalsteadMetricsVisitor::isOperand" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\HalsteadMetricsVisitor::getOperandValue": { - "line": 199, - "lineCount": 16, - "argCount": 1, - "returnCount": 4, - "variableCount": 0, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "cyclomatic_complexity": { - "complexity": 4, - "risk_level": "low" - }, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 10, - "programLength": 12, - "programVocabulary": 5, - "volume": 27.863137138648348, - "difficulty": 3.3333333333333335, - "effort": 92.8771237954945, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\HalsteadMetricsVisitor::getOperandValue" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\HalsteadMetricsVisitor::storeClassMetrics": { - "line": 216, - "lineCount": 6, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "cyclomatic_complexity": { - "complexity": 2, - "risk_level": "low" - }, - "halstead": { - "n1": 3, - "n2": 1, - "N1": 3, - "N2": 4, - "programLength": 7, - "programVocabulary": 4, - "volume": 14, - "difficulty": 6, - "effort": 84, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\HalsteadMetricsVisitor::storeClassMetrics" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\HalsteadMetricsVisitor::resetMetrics": { - "line": 223, - "lineCount": 11, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 7, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 7, - "N2": 7, - "programLength": 14, - "programVocabulary": 2, - "volume": 14, - "difficulty": 3.5, - "effort": 49, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\HalsteadMetricsVisitor::resetMetrics" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\HalsteadMetricsVisitor::resetAll": { - "line": 238, - "lineCount": 13, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 9, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 9, - "N2": 9, - "programLength": 18, - "programVocabulary": 2, - "volume": 18, - "difficulty": 4.5, - "effort": 81, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\HalsteadMetricsVisitor::resetAll" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\HalsteadMetricsVisitor::calculateMetrics": { - "line": 252, - "lineCount": 31, - "argCount": 0, - "returnCount": 1, - "variableCount": 10, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 3, - "n2": 20, - "N1": 18, - "N2": 48, - "programLength": 66, - "programVocabulary": 23, - "volume": 298.5550890997629, - "difficulty": 3.5999999999999996, - "effort": 1074.7983207591462, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\HalsteadMetricsVisitor::calculateMetrics" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\HalsteadMetricsVisitor::calculateMetricsFor": { - "line": 284, - "lineCount": 25, - "argCount": 3, - "returnCount": 1, - "variableCount": 9, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 3, - "risk_level": "low" - }, - "halstead": { - "n1": 7, - "n2": 24, - "N1": 27, - "N2": 57, - "programLength": 84, - "programVocabulary": 31, - "volume": 416.15249007249747, - "difficulty": 8.3125, - "effort": 3459.2675737276354, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\HalsteadMetricsVisitor::calculateMetricsFor" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\HalsteadMetricsVisitor::calculateProgramLength": { - "line": 317, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 4, - "programLength": 5, - "programVocabulary": 3, - "volume": 7.92481250360578, - "difficulty": 1, - "effort": 7.92481250360578, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\HalsteadMetricsVisitor::calculateProgramLength" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\HalsteadMetricsVisitor::calculateProgramVocabulary": { - "line": 329, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 4, - "programLength": 5, - "programVocabulary": 3, - "volume": 7.92481250360578, - "difficulty": 1, - "effort": 7.92481250360578, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\HalsteadMetricsVisitor::calculateProgramVocabulary" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\HalsteadMetricsVisitor::calculateVolume": { - "line": 341, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 5, - "programLength": 7, - "programVocabulary": 5, - "volume": 16.253496664211536, - "difficulty": 1.6666666666666667, - "effort": 27.089161107019226, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\HalsteadMetricsVisitor::calculateVolume" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\HalsteadMetricsVisitor::calculateDifficulty": { - "line": 354, - "lineCount": 7, - "argCount": 3, - "returnCount": 2, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "cyclomatic_complexity": { - "complexity": 2, - "risk_level": "low" - }, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 8, - "volume": 42, - "difficulty": 3, - "effort": 126, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\HalsteadMetricsVisitor::calculateDifficulty" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\HalsteadMetricsVisitor::countDistinctOperators": { - "line": 367, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 2, - "N2": 1, - "programLength": 3, - "programVocabulary": 2, - "volume": 3, - "difficulty": 0.5, - "effort": 1.5, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\HalsteadMetricsVisitor::countDistinctOperators" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\HalsteadMetricsVisitor::countDistinctOperands": { - "line": 377, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 2, - "N2": 1, - "programLength": 3, - "programVocabulary": 2, - "volume": 3, - "difficulty": 0.5, - "effort": 1.5, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\HalsteadMetricsVisitor::countDistinctOperands" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\HalsteadMetricsVisitor::countTotalOperators": { - "line": 387, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\HalsteadMetricsVisitor::countTotalOperators" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\HalsteadMetricsVisitor::countTotalOperands": { - "line": 397, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\HalsteadMetricsVisitor::countTotalOperands" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\HalsteadMetricsVisitor::getMetrics": { - "line": 402, - "lineCount": 12, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "cyclomatic_complexity": { - "complexity": 2, - "risk_level": "low" - }, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 6, - "programLength": 8, - "programVocabulary": 5, - "volume": 18.575424759098897, - "difficulty": 2, - "effort": 37.150849518197795, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\PhpParser\\HalsteadMetricsVisitor::getMetrics" - } - } - }, - "ignored_items": [], - "cached_at": 1759967602 -} \ No newline at end of file diff --git a/.phpcca.cache/e5/e5110f94a95b2ec1e6bf8f45b80112ea.cache b/.phpcca.cache/e5/e5110f94a95b2ec1e6bf8f45b80112ea.cache deleted file mode 100644 index 9269e57..0000000 --- a/.phpcca.cache/e5/e5110f94a95b2ec1e6bf8f45b80112ea.cache +++ /dev/null @@ -1,1038 +0,0 @@ -{ - "version": "1.0", - "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/Command\/EventHandler\/VerboseHandler.php", - "file_mtime": 1759791861, - "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", - "analysis_result": { - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::__construct": { - "line": 26, - "lineCount": 5, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 4, - "N1": 3, - "N2": 6, - "programLength": 9, - "programVocabulary": 7, - "volume": 25.26619429851844, - "difficulty": 2.25, - "effort": 56.848937171666485, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItem": { - "line": 35, - "lineCount": 15, - "argCount": 1, - "returnCount": 3, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 6, - "N2": 13, - "programLength": 19, - "programVocabulary": 8, - "volume": 57, - "difficulty": 6.5, - "effort": 370.5, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItem" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItems": { - "line": 55, - "lineCount": 9, - "argCount": 1, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 3, - "N2": 9, - "programLength": 12, - "programVocabulary": 6, - "volume": 31.019550008653873, - "difficulty": 2.25, - "effort": 69.79398751947122, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItems" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::hasItem": { - "line": 68, - "lineCount": 6, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 5, - "n2": 3, - "N1": 6, - "N2": 7, - "programLength": 13, - "programVocabulary": 8, - "volume": 39, - "difficulty": 5.833333333333334, - "effort": 227.50000000000003, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::hasItem" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::clear": { - "line": 75, - "lineCount": 10, - "argCount": 0, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 2, - "N2": 4, - "programLength": 6, - "programVocabulary": 3, - "volume": 9.509775004326936, - "difficulty": 1, - "effort": 9.509775004326936, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::clear" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItem": { - "line": 89, - "lineCount": 10, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 4, - "N2": 6, - "programLength": 10, - "programVocabulary": 6, - "volume": 25.84962500721156, - "difficulty": 3, - "effort": 77.54887502163469, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItem" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItems": { - "line": 103, - "lineCount": 10, - "argCount": 1, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 3, - "N2": 8, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 2, - "effort": 56.86917501586544, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItems" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::save": { - "line": 117, - "lineCount": 11, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 4, - "N1": 9, - "N2": 12, - "programLength": 21, - "programVocabulary": 7, - "volume": 58.95445336320969, - "difficulty": 4.5, - "effort": 265.2950401344436, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::save" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveDeferred": { - "line": 129, - "lineCount": 6, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveDeferred" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::commit": { - "line": 136, - "lineCount": 11, - "argCount": 0, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 4, - "N2": 8, - "programLength": 12, - "programVocabulary": 5, - "volume": 27.863137138648348, - "difficulty": 2.6666666666666665, - "effort": 74.30169903639559, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::commit" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::ensureCacheDirectory": { - "line": 152, - "lineCount": 9, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 3, - "N2": 4, - "programLength": 7, - "programVocabulary": 4, - "volume": 14, - "difficulty": 2, - "effort": 28, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::ensureCacheDirectory" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getCacheFilePath": { - "line": 168, - "lineCount": 15, - "argCount": 1, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 10, - "N1": 13, - "N2": 19, - "programLength": 32, - "programVocabulary": 14, - "volume": 121.83535750584333, - "difficulty": 3.8, - "effort": 462.9743585222046, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getCacheFilePath" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::loadCacheData": { - "line": 187, - "lineCount": 14, - "argCount": 1, - "returnCount": 3, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 6, - "N2": 8, - "programLength": 14, - "programVocabulary": 6, - "volume": 36.18947501009619, - "difficulty": 4, - "effort": 144.75790004038475, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::loadCacheData" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveCacheData": { - "line": 209, - "lineCount": 21, - "argCount": 2, - "returnCount": 3, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 6, - "n2": 7, - "N1": 13, - "N2": 17, - "programLength": 30, - "programVocabulary": 13, - "volume": 111.01319154423277, - "difficulty": 7.285714285714285, - "effort": 808.810395536553, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveCacheData" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::sanitizeUtf8": { - "line": 234, - "lineCount": 25, - "argCount": 1, - "returnCount": 4, - "variableCount": 6, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 8, - "N1": 13, - "N2": 29, - "programLength": 42, - "programVocabulary": 11, - "volume": 145.29612798276648, - "difficulty": 5.4375, - "effort": 790.0476959062927, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::sanitizeUtf8" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::removeDirectory": { - "line": 260, - "lineCount": 23, - "argCount": 1, - "returnCount": 2, - "variableCount": 5, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 5, - "n2": 9, - "N1": 13, - "N2": 20, - "programLength": 33, - "programVocabulary": 14, - "volume": 125.64271242790093, - "difficulty": 5.555555555555555, - "effort": 698.0150690438941, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::removeDirectory" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::__construct": { - "line": 42, - "lineCount": 7, - "argCount": 3, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 3, - "N1": 0, - "N2": 3, - "programLength": 3, - "programVocabulary": 3, - "volume": 4.754887502163468, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::configure": { - "line": 53, - "lineCount": 57, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 15, - "N1": 9, - "N2": 16, - "programLength": 25, - "programVocabulary": 16, - "volume": 100, - "difficulty": 0.5333333333333333, - "effort": 53.333333333333336, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::configure" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::execute": { - "line": 119, - "lineCount": 43, - "argCount": 2, - "returnCount": 5, - "variableCount": 9, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 4, - "halstead": { - "n1": 7, - "n2": 14, - "N1": 31, - "N2": 45, - "programLength": 76, - "programVocabulary": 21, - "volume": 333.8161241311858, - "difficulty": 11.25, - "effort": 3755.4313964758403, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::execute" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::loadCoverageReader": { - "line": 171, - "lineCount": 32, - "argCount": 3, - "returnCount": 4, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 2, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 4, - "n2": 9, - "N1": 9, - "N2": 21, - "programLength": 30, - "programVocabulary": 13, - "volume": 111.01319154423277, - "difficulty": 4.666666666666667, - "effort": 518.0615605397529, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::loadCoverageReader" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::detectCoverageFormat": { - "line": 207, - "lineCount": 19, - "argCount": 1, - "returnCount": 4, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 9, - "volume": 47.548875021634686, - "difficulty": 2.5, - "effort": 118.87218755408671, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::detectCoverageFormat" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::coverageFileExists": { - "line": 227, - "lineCount": 20, - "argCount": 2, - "returnCount": 3, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 4, - "N2": 7, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 3.5, - "effort": 99.52105627776452, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::coverageFileExists" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::__construct": { - "line": 49, - "lineCount": 10, - "argCount": 6, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 6, - "N1": 0, - "N2": 6, - "programLength": 6, - "programVocabulary": 6, - "volume": 15.509775004326936, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::configure": { - "line": 63, - "lineCount": 76, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 20, - "N1": 13, - "N2": 20, - "programLength": 33, - "programVocabulary": 21, - "volume": 144.94647495169912, - "difficulty": 0.5, - "effort": 72.47323747584956, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::configure" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::execute": { - "line": 150, - "lineCount": 52, - "argCount": 2, - "returnCount": 5, - "variableCount": 11, - "propertyCallCount": 6, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 7, - "halstead": { - "n1": 6, - "n2": 15, - "N1": 43, - "N2": 61, - "programLength": 104, - "programVocabulary": 21, - "volume": 456.80101196899113, - "difficulty": 12.2, - "effort": 5572.972346021692, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::execute" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::parsePaths": { - "line": 209, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 4, - "N2": 8, - "programLength": 12, - "programVocabulary": 7, - "volume": 33.68825906469125, - "difficulty": 1.6, - "effort": 53.901214503506004, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::parsePaths" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleBaseLine": { - "line": 224, - "lineCount": 8, - "argCount": 2, - "returnCount": 0, - "variableCount": 3, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 5, - "N2": 11, - "programLength": 16, - "programVocabulary": 7, - "volume": 44.91767875292167, - "difficulty": 2.2, - "effort": 98.81889325642767, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleBaseLine" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleCoverageOptions": { - "line": 238, - "lineCount": 20, - "argCount": 2, - "returnCount": 3, - "variableCount": 5, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 5, - "n2": 10, - "N1": 15, - "N2": 25, - "programLength": 40, - "programVocabulary": 15, - "volume": 156.27562382434076, - "difficulty": 6.25, - "effort": 976.7226489021298, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleCoverageOptions" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::applySorting": { - "line": 264, - "lineCount": 21, - "argCount": 3, - "returnCount": 3, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 15, - "N1": 16, - "N2": 32, - "programLength": 48, - "programVocabulary": 20, - "volume": 207.45254855459342, - "difficulty": 5.333333333333333, - "effort": 1106.4135922911648, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::applySorting" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadConfiguration": { - "line": 293, - "lineCount": 10, - "argCount": 2, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 6, - "N1": 5, - "N2": 9, - "programLength": 14, - "programVocabulary": 8, - "volume": 42, - "difficulty": 1.5, - "effort": 63, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadConfiguration" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadCoverageReader": { - "line": 313, - "lineCount": 28, - "argCount": 3, - "returnCount": 4, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 2, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 10, - "N2": 18, - "programLength": 28, - "programVocabulary": 11, - "volume": 96.86408532184433, - "difficulty": 5.142857142857143, - "effort": 498.15815308377086, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadCoverageReader" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::detectCoverageFormat": { - "line": 345, - "lineCount": 19, - "argCount": 1, - "returnCount": 4, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 9, - "volume": 47.548875021634686, - "difficulty": 2.5, - "effort": 118.87218755408671, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::detectCoverageFormat" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::coverageFileExists": { - "line": 365, - "lineCount": 20, - "argCount": 2, - "returnCount": 3, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 4, - "N2": 7, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 3.5, - "effort": 99.52105627776452, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::coverageFileExists" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__construct": { - "line": 12, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__invoke": { - "line": 17, - "lineCount": 22, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 3, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 10, - "N2": 11, - "programLength": 21, - "programVocabulary": 7, - "volume": 58.95445336320969, - "difficulty": 2.2, - "effort": 129.6997973990613, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__invoke" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__construct": { - "line": 21, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__invoke": { - "line": 26, - "lineCount": 11, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 4, - "N2": 9, - "programLength": 13, - "programVocabulary": 4, - "volume": 26, - "difficulty": 4.5, - "effort": 117, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__invoke" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleSourceFilesFound": { - "line": 38, - "lineCount": 6, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 4, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 6, - "N2": 10, - "programLength": 16, - "programVocabulary": 8, - "volume": 48, - "difficulty": 5, - "effort": 240, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleSourceFilesFound" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleFileProcessed": { - "line": 45, - "lineCount": 5, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleFileProcessed" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleAllFilesProcessed": { - "line": 51, - "lineCount": 6, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 3, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 3, - "N2": 5, - "programLength": 8, - "programVocabulary": 5, - "volume": 18.575424759098897, - "difficulty": 1.6666666666666667, - "effort": 30.95904126516483, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleAllFilesProcessed" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__construct": { - "line": 20, - "lineCount": 5, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__invoke": { - "line": 26, - "lineCount": 17, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "cyclomatic_complexity": { - "complexity": 4, - "risk_level": "low" - }, - "halstead": { - "n1": 5, - "n2": 8, - "N1": 17, - "N2": 17, - "programLength": 34, - "programVocabulary": 13, - "volume": 125.81495041679713, - "difficulty": 5.3125, - "effort": 668.3919240892347, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__invoke" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::formatBytes": { - "line": 50, - "lineCount": 12, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 2, - "risk_level": "low" - }, - "halstead": { - "n1": 7, - "n2": 13, - "N1": 10, - "N2": 22, - "programLength": 32, - "programVocabulary": 20, - "volume": 138.3016990363956, - "difficulty": 5.923076923076923, - "effort": 819.1716019848047, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::formatBytes" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::isDebugEnabled": { - "line": 66, - "lineCount": 5, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 3, - "n2": 1, - "N1": 4, - "N2": 2, - "programLength": 6, - "programVocabulary": 4, - "volume": 12, - "difficulty": 3, - "effort": 36, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::isDebugEnabled" - } - } - }, - "ignored_items": [], - "cached_at": 1759967602 -} \ No newline at end of file diff --git a/.phpcca.cache/e9/e9f313b56e5bb74109bb7d07067c7b84.cache b/.phpcca.cache/e9/e9f313b56e5bb74109bb7d07067c7b84.cache deleted file mode 100644 index 4ca1690..0000000 --- a/.phpcca.cache/e9/e9f313b56e5bb74109bb7d07067c7b84.cache +++ /dev/null @@ -1,570 +0,0 @@ -{ - "version": "1.0", - "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/Business\/Churn\/Exporter\/AbstractExporter.php", - "file_mtime": 1759784766, - "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", - "analysis_result": { - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct": { - "line": 60, - "lineCount": 5, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 1, - "N1": 2, - "N2": 2, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 2, - "effort": 12.679700005769249, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices": { - "line": 66, - "lineCount": 95, - "argCount": 0, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 5, - "N1": 58, - "N2": 32, - "programLength": 90, - "programVocabulary": 9, - "volume": 285.2932501298081, - "difficulty": 12.8, - "effort": 3651.7536016615436, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap": { - "line": 162, - "lineCount": 10, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 7, - "N2": 7, - "programLength": 14, - "programVocabulary": 2, - "volume": 14, - "difficulty": 3.5, - "effort": 49, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors": { - "line": 173, - "lineCount": 12, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 3, - "N2": 1, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0.5, - "effort": 2, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus": { - "line": 186, - "lineCount": 19, - "argCount": 0, - "returnCount": 0, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 9, - "N2": 13, - "programLength": 22, - "programVocabulary": 7, - "volume": 61.76180828526729, - "difficulty": 2.6, - "effort": 160.58070154169496, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService": { - "line": 206, - "lineCount": 9, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 3, - "N2": 1, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0.5, - "effort": 2, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade": { - "line": 216, - "lineCount": 13, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 3, - "N2": 1, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0.5, - "effort": 2, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands": { - "line": 230, - "lineCount": 21, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 6, - "N2": 2, - "programLength": 8, - "programVocabulary": 2, - "volume": 8, - "difficulty": 1, - "effort": 8, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication": { - "line": 252, - "lineCount": 11, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 5, - "N2": 4, - "programLength": 9, - "programVocabulary": 4, - "volume": 18, - "difficulty": 0.6666666666666666, - "effort": 12, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run": { - "line": 264, - "lineCount": 9, - "argCount": 0, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 5, - "N2": 5, - "programLength": 10, - "programVocabulary": 4, - "volume": 20, - "difficulty": 2.5, - "effort": 50, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get": { - "line": 274, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer": { - "line": 279, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator": { - "line": 289, - "lineCount": 16, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 7, - "programLength": 8, - "programVocabulary": 4, - "volume": 16, - "difficulty": 1.1666666666666667, - "effort": 18.666666666666668, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create": { - "line": 18, - "lineCount": 7, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 4, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile": { - "line": 17, - "lineCount": 17, - "argCount": 2, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 8, - "N1": 11, - "N2": 19, - "programLength": 30, - "programVocabulary": 11, - "volume": 103.78294855911892, - "difficulty": 3.5625, - "effort": 369.72675424186116, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode": { - "line": 42, - "lineCount": 8, - "argCount": 3, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 3, - "N2": 8, - "programLength": 11, - "programVocabulary": 8, - "volume": 33, - "difficulty": 2.4000000000000004, - "effort": 79.20000000000002, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate": { - "line": 22, - "lineCount": 10, - "argCount": 2, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 6, - "N2": 13, - "programLength": 19, - "programVocabulary": 6, - "volume": 49.11428751370197, - "difficulty": 3.25, - "effort": 159.6214344195314, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending": { - "line": 37, - "lineCount": 8, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 2, - "N2": 9, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 2.25, - "effort": 63.97782189284862, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn": { - "line": 51, - "lineCount": 24, - "argCount": 2, - "returnCount": 1, - "variableCount": 6, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 15, - "N1": 17, - "N2": 46, - "programLength": 63, - "programVocabulary": 20, - "volume": 272.28146997790384, - "difficulty": 7.666666666666667, - "effort": 2087.491269830596, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses": { - "line": 81, - "lineCount": 20, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 2, - "n2": 7, - "N1": 10, - "N2": 24, - "programLength": 34, - "programVocabulary": 9, - "volume": 107.7774500490386, - "difficulty": 3.4285714285714284, - "effort": 369.52268588241805, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass": { - "line": 109, - "lineCount": 9, - "argCount": 2, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 6, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 10, - "volume": 49.82892142331043, - "difficulty": 3.3333333333333335, - "effort": 166.09640474436813, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel": { - "line": 126, - "lineCount": 16, - "argCount": 2, - "returnCount": 4, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 12, - "N1": 9, - "N2": 18, - "programLength": 27, - "programVocabulary": 15, - "volume": 105.48604608143, - "difficulty": 2.25, - "effort": 237.3436036832175, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile": { - "line": 14, - "lineCount": 6, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "cyclomatic_complexity": { - "complexity": 2, - "risk_level": "low" - }, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 2, - "N2": 5, - "programLength": 7, - "programVocabulary": 4, - "volume": 14, - "difficulty": 2.5, - "effort": 35, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable": { - "line": 24, - "lineCount": 11, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "cyclomatic_complexity": { - "complexity": 3, - "risk_level": "low" - }, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 10, - "N2": 12, - "programLength": 22, - "programVocabulary": 8, - "volume": 66, - "difficulty": 6, - "effort": 396, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable" - } - } - }, - "ignored_items": [], - "cached_at": 1759967600 -} \ No newline at end of file diff --git a/.phpcca.cache/ee/ee784ff4be30931a4281c15293ae9b60.cache b/.phpcca.cache/ee/ee784ff4be30931a4281c15293ae9b60.cache deleted file mode 100644 index 156d3b2..0000000 --- a/.phpcca.cache/ee/ee784ff4be30931a4281c15293ae9b60.cache +++ /dev/null @@ -1,2039 +0,0 @@ -{ - "version": "1.0", - "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/Command\/Presentation\/TableHeaderBuilder.php", - "file_mtime": 1759870485, - "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", - "analysis_result": { - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::__construct": { - "line": 26, - "lineCount": 5, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 4, - "N1": 3, - "N2": 6, - "programLength": 9, - "programVocabulary": 7, - "volume": 25.26619429851844, - "difficulty": 2.25, - "effort": 56.848937171666485, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItem": { - "line": 35, - "lineCount": 15, - "argCount": 1, - "returnCount": 3, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 6, - "N2": 13, - "programLength": 19, - "programVocabulary": 8, - "volume": 57, - "difficulty": 6.5, - "effort": 370.5, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItem" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItems": { - "line": 55, - "lineCount": 9, - "argCount": 1, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 3, - "N2": 9, - "programLength": 12, - "programVocabulary": 6, - "volume": 31.019550008653873, - "difficulty": 2.25, - "effort": 69.79398751947122, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItems" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::hasItem": { - "line": 68, - "lineCount": 6, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 5, - "n2": 3, - "N1": 6, - "N2": 7, - "programLength": 13, - "programVocabulary": 8, - "volume": 39, - "difficulty": 5.833333333333334, - "effort": 227.50000000000003, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::hasItem" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::clear": { - "line": 75, - "lineCount": 10, - "argCount": 0, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 2, - "N2": 4, - "programLength": 6, - "programVocabulary": 3, - "volume": 9.509775004326936, - "difficulty": 1, - "effort": 9.509775004326936, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::clear" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItem": { - "line": 89, - "lineCount": 10, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 4, - "N2": 6, - "programLength": 10, - "programVocabulary": 6, - "volume": 25.84962500721156, - "difficulty": 3, - "effort": 77.54887502163469, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItem" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItems": { - "line": 103, - "lineCount": 10, - "argCount": 1, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 3, - "N2": 8, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 2, - "effort": 56.86917501586544, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItems" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::save": { - "line": 117, - "lineCount": 11, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 4, - "N1": 9, - "N2": 12, - "programLength": 21, - "programVocabulary": 7, - "volume": 58.95445336320969, - "difficulty": 4.5, - "effort": 265.2950401344436, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::save" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveDeferred": { - "line": 129, - "lineCount": 6, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveDeferred" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::commit": { - "line": 136, - "lineCount": 11, - "argCount": 0, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 4, - "N2": 8, - "programLength": 12, - "programVocabulary": 5, - "volume": 27.863137138648348, - "difficulty": 2.6666666666666665, - "effort": 74.30169903639559, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::commit" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::ensureCacheDirectory": { - "line": 152, - "lineCount": 9, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 3, - "N2": 4, - "programLength": 7, - "programVocabulary": 4, - "volume": 14, - "difficulty": 2, - "effort": 28, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::ensureCacheDirectory" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getCacheFilePath": { - "line": 168, - "lineCount": 15, - "argCount": 1, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 10, - "N1": 13, - "N2": 19, - "programLength": 32, - "programVocabulary": 14, - "volume": 121.83535750584333, - "difficulty": 3.8, - "effort": 462.9743585222046, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getCacheFilePath" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::loadCacheData": { - "line": 187, - "lineCount": 14, - "argCount": 1, - "returnCount": 3, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 6, - "N2": 8, - "programLength": 14, - "programVocabulary": 6, - "volume": 36.18947501009619, - "difficulty": 4, - "effort": 144.75790004038475, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::loadCacheData" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveCacheData": { - "line": 209, - "lineCount": 21, - "argCount": 2, - "returnCount": 3, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 6, - "n2": 7, - "N1": 13, - "N2": 17, - "programLength": 30, - "programVocabulary": 13, - "volume": 111.01319154423277, - "difficulty": 7.285714285714285, - "effort": 808.810395536553, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveCacheData" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::sanitizeUtf8": { - "line": 234, - "lineCount": 25, - "argCount": 1, - "returnCount": 4, - "variableCount": 6, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 8, - "N1": 13, - "N2": 29, - "programLength": 42, - "programVocabulary": 11, - "volume": 145.29612798276648, - "difficulty": 5.4375, - "effort": 790.0476959062927, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::sanitizeUtf8" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::removeDirectory": { - "line": 260, - "lineCount": 23, - "argCount": 1, - "returnCount": 2, - "variableCount": 5, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 5, - "n2": 9, - "N1": 13, - "N2": 20, - "programLength": 33, - "programVocabulary": 14, - "volume": 125.64271242790093, - "difficulty": 5.555555555555555, - "effort": 698.0150690438941, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::removeDirectory" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::__construct": { - "line": 42, - "lineCount": 7, - "argCount": 3, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 3, - "N1": 0, - "N2": 3, - "programLength": 3, - "programVocabulary": 3, - "volume": 4.754887502163468, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::configure": { - "line": 53, - "lineCount": 57, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 15, - "N1": 9, - "N2": 16, - "programLength": 25, - "programVocabulary": 16, - "volume": 100, - "difficulty": 0.5333333333333333, - "effort": 53.333333333333336, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::configure" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::execute": { - "line": 119, - "lineCount": 43, - "argCount": 2, - "returnCount": 5, - "variableCount": 9, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 4, - "halstead": { - "n1": 7, - "n2": 14, - "N1": 31, - "N2": 45, - "programLength": 76, - "programVocabulary": 21, - "volume": 333.8161241311858, - "difficulty": 11.25, - "effort": 3755.4313964758403, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::execute" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::loadCoverageReader": { - "line": 171, - "lineCount": 32, - "argCount": 3, - "returnCount": 4, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 2, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 4, - "n2": 9, - "N1": 9, - "N2": 21, - "programLength": 30, - "programVocabulary": 13, - "volume": 111.01319154423277, - "difficulty": 4.666666666666667, - "effort": 518.0615605397529, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::loadCoverageReader" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::detectCoverageFormat": { - "line": 207, - "lineCount": 19, - "argCount": 1, - "returnCount": 4, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 9, - "volume": 47.548875021634686, - "difficulty": 2.5, - "effort": 118.87218755408671, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::detectCoverageFormat" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::coverageFileExists": { - "line": 227, - "lineCount": 20, - "argCount": 2, - "returnCount": 3, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 4, - "N2": 7, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 3.5, - "effort": 99.52105627776452, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\ChurnCommand::coverageFileExists" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::__construct": { - "line": 49, - "lineCount": 10, - "argCount": 6, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 6, - "N1": 0, - "N2": 6, - "programLength": 6, - "programVocabulary": 6, - "volume": 15.509775004326936, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::configure": { - "line": 63, - "lineCount": 76, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 20, - "N1": 13, - "N2": 20, - "programLength": 33, - "programVocabulary": 21, - "volume": 144.94647495169912, - "difficulty": 0.5, - "effort": 72.47323747584956, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::configure" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::execute": { - "line": 150, - "lineCount": 52, - "argCount": 2, - "returnCount": 5, - "variableCount": 11, - "propertyCallCount": 6, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 7, - "halstead": { - "n1": 6, - "n2": 15, - "N1": 43, - "N2": 61, - "programLength": 104, - "programVocabulary": 21, - "volume": 456.80101196899113, - "difficulty": 12.2, - "effort": 5572.972346021692, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::execute" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::parsePaths": { - "line": 209, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 4, - "N2": 8, - "programLength": 12, - "programVocabulary": 7, - "volume": 33.68825906469125, - "difficulty": 1.6, - "effort": 53.901214503506004, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::parsePaths" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleBaseLine": { - "line": 224, - "lineCount": 8, - "argCount": 2, - "returnCount": 0, - "variableCount": 3, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 5, - "N2": 11, - "programLength": 16, - "programVocabulary": 7, - "volume": 44.91767875292167, - "difficulty": 2.2, - "effort": 98.81889325642767, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleBaseLine" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleCoverageOptions": { - "line": 238, - "lineCount": 20, - "argCount": 2, - "returnCount": 3, - "variableCount": 5, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 5, - "n2": 10, - "N1": 15, - "N2": 25, - "programLength": 40, - "programVocabulary": 15, - "volume": 156.27562382434076, - "difficulty": 6.25, - "effort": 976.7226489021298, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::handleCoverageOptions" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::applySorting": { - "line": 264, - "lineCount": 21, - "argCount": 3, - "returnCount": 3, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 15, - "N1": 16, - "N2": 32, - "programLength": 48, - "programVocabulary": 20, - "volume": 207.45254855459342, - "difficulty": 5.333333333333333, - "effort": 1106.4135922911648, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::applySorting" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadConfiguration": { - "line": 293, - "lineCount": 10, - "argCount": 2, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 6, - "N1": 5, - "N2": 9, - "programLength": 14, - "programVocabulary": 8, - "volume": 42, - "difficulty": 1.5, - "effort": 63, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadConfiguration" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadCoverageReader": { - "line": 313, - "lineCount": 28, - "argCount": 3, - "returnCount": 4, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 2, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 10, - "N2": 18, - "programLength": 28, - "programVocabulary": 11, - "volume": 96.86408532184433, - "difficulty": 5.142857142857143, - "effort": 498.15815308377086, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::loadCoverageReader" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::detectCoverageFormat": { - "line": 345, - "lineCount": 19, - "argCount": 1, - "returnCount": 4, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 9, - "volume": 47.548875021634686, - "difficulty": 2.5, - "effort": 118.87218755408671, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::detectCoverageFormat" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::coverageFileExists": { - "line": 365, - "lineCount": 20, - "argCount": 2, - "returnCount": 3, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 4, - "N2": 7, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 3.5, - "effort": 99.52105627776452, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\CognitiveMetricsCommand::coverageFileExists" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__construct": { - "line": 12, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__invoke": { - "line": 17, - "lineCount": 22, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 3, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 10, - "N2": 11, - "programLength": 21, - "programVocabulary": 7, - "volume": 58.95445336320969, - "difficulty": 2.2, - "effort": 129.6997973990613, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ParserErrorHandler::__invoke" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__construct": { - "line": 21, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__invoke": { - "line": 26, - "lineCount": 11, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 4, - "N2": 9, - "programLength": 13, - "programVocabulary": 4, - "volume": 26, - "difficulty": 4.5, - "effort": 117, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::__invoke" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleSourceFilesFound": { - "line": 38, - "lineCount": 6, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 4, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 6, - "N2": 10, - "programLength": 16, - "programVocabulary": 8, - "volume": 48, - "difficulty": 5, - "effort": 240, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleSourceFilesFound" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleFileProcessed": { - "line": 45, - "lineCount": 5, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleFileProcessed" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleAllFilesProcessed": { - "line": 51, - "lineCount": 6, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 3, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 3, - "N2": 5, - "programLength": 8, - "programVocabulary": 5, - "volume": 18.575424759098897, - "difficulty": 1.6666666666666667, - "effort": 30.95904126516483, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\ProgressBarHandler::handleAllFilesProcessed" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__construct": { - "line": 20, - "lineCount": 5, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__invoke": { - "line": 26, - "lineCount": 17, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 5, - "n2": 8, - "N1": 17, - "N2": 17, - "programLength": 34, - "programVocabulary": 13, - "volume": 125.81495041679713, - "difficulty": 5.3125, - "effort": 668.3919240892347, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::__invoke" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::formatBytes": { - "line": 50, - "lineCount": 12, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 7, - "n2": 13, - "N1": 10, - "N2": 22, - "programLength": 32, - "programVocabulary": 20, - "volume": 138.3016990363956, - "difficulty": 5.923076923076923, - "effort": 819.1716019848047, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::formatBytes" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::isDebugEnabled": { - "line": 66, - "lineCount": 5, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 1, - "N1": 4, - "N2": 2, - "programLength": 6, - "programVocabulary": 4, - "volume": 12, - "difficulty": 3, - "effort": 36, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\EventHandler\\VerboseHandler::isDebugEnabled" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::__construct": { - "line": 20, - "lineCount": 6, - "argCount": 2, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 4, - "volume": 8, - "difficulty": 0.5, - "effort": 4, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::exportToFile": { - "line": 32, - "lineCount": 27, - "argCount": 3, - "returnCount": 4, - "variableCount": 2, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 1, - "n2": 6, - "N1": 6, - "N2": 19, - "programLength": 25, - "programVocabulary": 7, - "volume": 70.1838730514401, - "difficulty": 1.5833333333333333, - "effort": 111.12446566478016, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::exportToFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::hasIncompleteReportOptions": { - "line": 60, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 2, - "N1": 7, - "N2": 6, - "programLength": 13, - "programVocabulary": 6, - "volume": 33.60451250937503, - "difficulty": 6, - "effort": 201.62707505625016, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::hasIncompleteReportOptions" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::isValidReportType": { - "line": 65, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 2, - "N2": 4, - "programLength": 6, - "programVocabulary": 4, - "volume": 12, - "difficulty": 2, - "effort": 24, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::isValidReportType" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleExceptions": { - "line": 77, - "lineCount": 9, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 3, - "N2": 4, - "programLength": 7, - "programVocabulary": 5, - "volume": 16.253496664211536, - "difficulty": 1.3333333333333333, - "effort": 21.67132888561538, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleExceptions" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleInvalidReportType": { - "line": 91, - "lineCount": 11, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 5, - "N2": 8, - "programLength": 13, - "programVocabulary": 8, - "volume": 39, - "difficulty": 2.4000000000000004, - "effort": 93.60000000000001, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\ChurnReportHandler::handleInvalidReportType" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::__construct": { - "line": 15, - "lineCount": 5, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handle": { - "line": 24, - "lineCount": 27, - "argCount": 3, - "returnCount": 4, - "variableCount": 2, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 1, - "n2": 6, - "N1": 6, - "N2": 19, - "programLength": 25, - "programVocabulary": 7, - "volume": 70.1838730514401, - "difficulty": 1.5833333333333333, - "effort": 111.12446566478016, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handle" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::hasIncompleteReportOptions": { - "line": 52, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 2, - "N1": 7, - "N2": 6, - "programLength": 13, - "programVocabulary": 6, - "volume": 33.60451250937503, - "difficulty": 6, - "effort": 201.62707505625016, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::hasIncompleteReportOptions" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::isValidReportType": { - "line": 57, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 5, - "N1": 1, - "N2": 6, - "programLength": 7, - "programVocabulary": 6, - "volume": 18.094737505048094, - "difficulty": 0.6, - "effort": 10.856842503028856, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::isValidReportType" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handleExceptions": { - "line": 66, - "lineCount": 9, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 3, - "N2": 4, - "programLength": 7, - "programVocabulary": 5, - "volume": 16.253496664211536, - "difficulty": 1.3333333333333333, - "effort": 21.67132888561538, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handleExceptions" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handleInvalidReporType": { - "line": 80, - "lineCount": 9, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 4, - "programLength": 6, - "programVocabulary": 5, - "volume": 13.931568569324174, - "difficulty": 1.3333333333333333, - "effort": 18.575424759098897, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Handler\\CognitiveMetricsReportHandler::handleInvalidReporType" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::__construct": { - "line": 42, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::reportWritten": { - "line": 47, - "lineCount": 7, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 4, - "programLength": 6, - "programVocabulary": 5, - "volume": 13.931568569324174, - "difficulty": 1.3333333333333333, - "effort": 18.575424759098897, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::reportWritten" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::renderChurnTable": { - "line": 59, - "lineCount": 35, - "argCount": 1, - "returnCount": 0, - "variableCount": 6, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 8, - "n2": 18, - "N1": 21, - "N2": 53, - "programLength": 74, - "programVocabulary": 26, - "volume": 347.8325391424408, - "difficulty": 11.777777777777779, - "effort": 4096.694349899859, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\ChurnTextRenderer::renderChurnTable" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricSummaryTextRenderer::__construct": { - "line": 18, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricSummaryTextRenderer::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricSummaryTextRenderer::render": { - "line": 23, - "lineCount": 32, - "argCount": 2, - "returnCount": 0, - "variableCount": 6, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 6, - "n2": 16, - "N1": 27, - "N2": 38, - "programLength": 65, - "programVocabulary": 22, - "volume": 289.86305521142435, - "difficulty": 7.125, - "effort": 2065.2742683813985, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricSummaryTextRenderer::render" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::__construct": { - "line": 27, - "lineCount": 5, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::metricExceedsThreshold": { - "line": 33, - "lineCount": 6, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 2, - "N1": 3, - "N2": 5, - "programLength": 8, - "programVocabulary": 5, - "volume": 18.575424759098897, - "difficulty": 3.75, - "effort": 69.65784284662087, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::metricExceedsThreshold" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::hasCoverageInCollection": { - "line": 43, - "lineCount": 10, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 2, - "N2": 4, - "programLength": 6, - "programVocabulary": 4, - "volume": 12, - "difficulty": 2, - "effort": 24, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::hasCoverageInCollection" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::render": { - "line": 58, - "lineCount": 17, - "argCount": 2, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 6, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 9, - "N2": 25, - "programLength": 34, - "programVocabulary": 6, - "volume": 87.8887250245193, - "difficulty": 6.25, - "effort": 549.3045314032456, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::render" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderGroupedByClass": { - "line": 81, - "lineCount": 19, - "argCount": 3, - "returnCount": 0, - "variableCount": 6, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 5, - "n2": 11, - "N1": 11, - "N2": 25, - "programLength": 36, - "programVocabulary": 16, - "volume": 144, - "difficulty": 5.6818181818181825, - "effort": 818.1818181818182, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderGroupedByClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::buildRowsForClass": { - "line": 106, - "lineCount": 13, - "argCount": 2, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 4, - "N2": 12, - "programLength": 16, - "programVocabulary": 7, - "volume": 44.91767875292167, - "difficulty": 2.4, - "effort": 107.802429007012, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::buildRowsForClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::getFilenameFromMetrics": { - "line": 123, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 5, - "programLength": 6, - "programVocabulary": 4, - "volume": 12, - "difficulty": 0.8333333333333334, - "effort": 10, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::getFilenameFromMetrics" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderAllMethodsInSingleTable": { - "line": 136, - "lineCount": 12, - "argCount": 3, - "returnCount": 0, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 6, - "N2": 15, - "programLength": 21, - "programVocabulary": 11, - "volume": 72.64806399138324, - "difficulty": 4.285714285714286, - "effort": 311.34884567735673, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderAllMethodsInSingleTable" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::buildRowsForSingleTable": { - "line": 154, - "lineCount": 13, - "argCount": 2, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 4, - "N2": 12, - "programLength": 16, - "programVocabulary": 7, - "volume": 44.91767875292167, - "difficulty": 2.4, - "effort": 107.802429007012, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::buildRowsForSingleTable" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderTableCommon": { - "line": 173, - "lineCount": 19, - "argCount": 4, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 8, - "N1": 7, - "N2": 19, - "programLength": 26, - "programVocabulary": 10, - "volume": 86.37013046707142, - "difficulty": 2.375, - "effort": 205.1290598592946, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderTableCommon" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderTable": { - "line": 196, - "lineCount": 13, - "argCount": 4, - "returnCount": 0, - "variableCount": 3, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 7, - "N1": 4, - "N2": 14, - "programLength": 18, - "programVocabulary": 9, - "volume": 57.05865002596162, - "difficulty": 2, - "effort": 114.11730005192324, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderTable" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderSingleTable": { - "line": 213, - "lineCount": 11, - "argCount": 3, - "returnCount": 0, - "variableCount": 3, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 6, - "N1": 4, - "N2": 12, - "programLength": 16, - "programVocabulary": 8, - "volume": 48, - "difficulty": 2, - "effort": 96, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer::renderSingleTable" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::__construct": { - "line": 16, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatScore": { - "line": 21, - "lineCount": 6, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 6, - "N1": 5, - "N2": 9, - "programLength": 14, - "programVocabulary": 8, - "volume": 42, - "difficulty": 1.5, - "effort": 63, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatScore" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadVolume": { - "line": 28, - "lineCount": 14, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 10, - "N1": 9, - "N2": 17, - "programLength": 26, - "programVocabulary": 15, - "volume": 101.57915548582149, - "difficulty": 4.25, - "effort": 431.7114108147413, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadVolume" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadDifficulty": { - "line": 43, - "lineCount": 13, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 10, - "N1": 8, - "N2": 17, - "programLength": 25, - "programVocabulary": 14, - "volume": 95.1838730514401, - "difficulty": 3.4, - "effort": 323.62516837489636, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadDifficulty" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadEffort": { - "line": 57, - "lineCount": 13, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 10, - "N1": 8, - "N2": 17, - "programLength": 25, - "programVocabulary": 14, - "volume": 95.1838730514401, - "difficulty": 3.4, - "effort": 323.62516837489636, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatHalsteadEffort" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatCyclomaticComplexity": { - "line": 71, - "lineCount": 13, - "argCount": 1, - "returnCount": 3, - "variableCount": 4, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 5, - "n2": 9, - "N1": 9, - "N2": 18, - "programLength": 27, - "programVocabulary": 14, - "volume": 102.79858289555531, - "difficulty": 5, - "effort": 513.9929144777766, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::formatCyclomaticComplexity" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::colorCyclomaticRisk": { - "line": 85, - "lineCount": 8, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 7, - "N1": 5, - "N2": 11, - "programLength": 16, - "programVocabulary": 9, - "volume": 50.718800023076994, - "difficulty": 1.5714285714285714, - "effort": 79.70097146483528, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\MetricFormatter::colorCyclomaticRisk" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::__construct": { - "line": 17, - "lineCount": 5, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::getGroupedTableHeaders": { - "line": 28, - "lineCount": 16, - "argCount": 0, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 10, - "N2": 17, - "programLength": 27, - "programVocabulary": 6, - "volume": 69.79398751947122, - "difficulty": 4.25, - "effort": 296.62444695775264, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::getGroupedTableHeaders" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCoverageHeader": { - "line": 49, - "lineCount": 10, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "cyclomatic_complexity": { - "complexity": 2, - "risk_level": "low" - }, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 6, - "programLength": 7, - "programVocabulary": 4, - "volume": 14, - "difficulty": 1, - "effort": 14, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCoverageHeader" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::getSingleTableHeaders": { - "line": 65, - "lineCount": 20, - "argCount": 0, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "cyclomatic_complexity": { - "complexity": 2, - "risk_level": "low" - }, - "halstead": { - "n1": 2, - "n2": 6, - "N1": 9, - "N2": 18, - "programLength": 27, - "programVocabulary": 8, - "volume": 81, - "difficulty": 3, - "effort": 243, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::getSingleTableHeaders" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addHalsteadHeaders": { - "line": 92, - "lineCount": 10, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "cyclomatic_complexity": { - "complexity": 2, - "risk_level": "low" - }, - "halstead": { - "n1": 1, - "n2": 5, - "N1": 3, - "N2": 9, - "programLength": 12, - "programVocabulary": 6, - "volume": 31.019550008653873, - "difficulty": 0.9, - "effort": 27.917595007788485, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addHalsteadHeaders" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCyclomaticHeaders": { - "line": 109, - "lineCount": 8, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "cyclomatic_complexity": { - "complexity": 2, - "risk_level": "low" - }, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 5, - "programLength": 6, - "programVocabulary": 4, - "volume": 12, - "difficulty": 0.8333333333333334, - "effort": 10, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCyclomaticHeaders" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCognitiveMetricDetails": { - "line": 122, - "lineCount": 16, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "cyclomatic_complexity": { - "complexity": 2, - "risk_level": "low" - }, - "halstead": { - "n1": 2, - "n2": 10, - "N1": 2, - "N2": 13, - "programLength": 15, - "programVocabulary": 12, - "volume": 53.77443751081734, - "difficulty": 1.3, - "effort": 69.90676876406255, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\TableHeaderBuilder::addCognitiveMetricDetails" - } - } - }, - "ignored_items": [], - "cached_at": 1759967602 -} \ No newline at end of file diff --git a/.phpcca.cache/f2/f216cd0f27a7f2ab16de7f23f175c13c.cache b/.phpcca.cache/f2/f216cd0f27a7f2ab16de7f23f175c13c.cache deleted file mode 100644 index 918bd66..0000000 --- a/.phpcca.cache/f2/f216cd0f27a7f2ab16de7f23f175c13c.cache +++ /dev/null @@ -1,5789 +0,0 @@ -{ - "version": "1.0", - "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/Business\/MetricsFacade.php", - "file_mtime": 1759964701, - "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", - "analysis_result": { - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct": { - "line": 60, - "lineCount": 5, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 1, - "N1": 2, - "N2": 2, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 2, - "effort": 12.679700005769249, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices": { - "line": 66, - "lineCount": 95, - "argCount": 0, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 5, - "N1": 58, - "N2": 32, - "programLength": 90, - "programVocabulary": 9, - "volume": 285.2932501298081, - "difficulty": 12.8, - "effort": 3651.7536016615436, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap": { - "line": 162, - "lineCount": 10, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 7, - "N2": 7, - "programLength": 14, - "programVocabulary": 2, - "volume": 14, - "difficulty": 3.5, - "effort": 49, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors": { - "line": 173, - "lineCount": 12, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 3, - "N2": 1, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0.5, - "effort": 2, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus": { - "line": 186, - "lineCount": 19, - "argCount": 0, - "returnCount": 0, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 9, - "N2": 13, - "programLength": 22, - "programVocabulary": 7, - "volume": 61.76180828526729, - "difficulty": 2.6, - "effort": 160.58070154169496, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService": { - "line": 206, - "lineCount": 9, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 3, - "N2": 1, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0.5, - "effort": 2, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade": { - "line": 216, - "lineCount": 13, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 3, - "N2": 1, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0.5, - "effort": 2, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands": { - "line": 230, - "lineCount": 21, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 6, - "N2": 2, - "programLength": 8, - "programVocabulary": 2, - "volume": 8, - "difficulty": 1, - "effort": 8, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication": { - "line": 252, - "lineCount": 11, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 5, - "N2": 4, - "programLength": 9, - "programVocabulary": 4, - "volume": 18, - "difficulty": 0.6666666666666666, - "effort": 12, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run": { - "line": 264, - "lineCount": 9, - "argCount": 0, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 5, - "N2": 5, - "programLength": 10, - "programVocabulary": 4, - "volume": 20, - "difficulty": 2.5, - "effort": 50, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get": { - "line": 274, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer": { - "line": 279, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator": { - "line": 289, - "lineCount": 16, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 7, - "programLength": 8, - "programVocabulary": 4, - "volume": 16, - "difficulty": 1.1666666666666667, - "effort": 18.666666666666668, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create": { - "line": 18, - "lineCount": 7, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 4, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile": { - "line": 17, - "lineCount": 17, - "argCount": 2, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 8, - "N1": 11, - "N2": 19, - "programLength": 30, - "programVocabulary": 11, - "volume": 103.78294855911892, - "difficulty": 3.5625, - "effort": 369.72675424186116, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode": { - "line": 42, - "lineCount": 8, - "argCount": 3, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 3, - "N2": 8, - "programLength": 11, - "programVocabulary": 8, - "volume": 33, - "difficulty": 2.4000000000000004, - "effort": 79.20000000000002, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate": { - "line": 22, - "lineCount": 10, - "argCount": 2, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 6, - "N2": 13, - "programLength": 19, - "programVocabulary": 6, - "volume": 49.11428751370197, - "difficulty": 3.25, - "effort": 159.6214344195314, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending": { - "line": 37, - "lineCount": 8, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 2, - "N2": 9, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 2.25, - "effort": 63.97782189284862, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn": { - "line": 51, - "lineCount": 24, - "argCount": 2, - "returnCount": 1, - "variableCount": 6, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 15, - "N1": 17, - "N2": 46, - "programLength": 63, - "programVocabulary": 20, - "volume": 272.28146997790384, - "difficulty": 7.666666666666667, - "effort": 2087.491269830596, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses": { - "line": 81, - "lineCount": 20, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 2, - "n2": 7, - "N1": 10, - "N2": 24, - "programLength": 34, - "programVocabulary": 9, - "volume": 107.7774500490386, - "difficulty": 3.4285714285714284, - "effort": 369.52268588241805, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass": { - "line": 109, - "lineCount": 9, - "argCount": 2, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 6, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 10, - "volume": 49.82892142331043, - "difficulty": 3.3333333333333335, - "effort": 166.09640474436813, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel": { - "line": 126, - "lineCount": 16, - "argCount": 2, - "returnCount": 4, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 12, - "N1": 9, - "N2": 18, - "programLength": 27, - "programVocabulary": 15, - "volume": 105.48604608143, - "difficulty": 2.25, - "effort": 237.3436036832175, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile": { - "line": 14, - "lineCount": 6, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 2, - "N2": 5, - "programLength": 7, - "programVocabulary": 4, - "volume": 14, - "difficulty": 2.5, - "effort": 35, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable": { - "line": 24, - "lineCount": 11, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 10, - "N2": 12, - "programLength": 22, - "programVocabulary": 8, - "volume": 66, - "difficulty": 6, - "effort": 396, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create": { - "line": 21, - "lineCount": 11, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 7, - "N1": 0, - "N2": 9, - "programLength": 9, - "programVocabulary": 7, - "volume": 25.26619429851844, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes": { - "line": 38, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 6, - "N1": 0, - "N2": 6, - "programLength": 6, - "programVocabulary": 6, - "volume": 15.509775004326936, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported": { - "line": 49, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 2, - "N2": 3, - "programLength": 5, - "programVocabulary": 4, - "volume": 10, - "difficulty": 1.5, - "effort": 15, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export": { - "line": 30, - "lineCount": 23, - "argCount": 2, - "returnCount": 0, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 16, - "N1": 10, - "N2": 33, - "programLength": 43, - "programVocabulary": 20, - "volume": 185.8429080801566, - "difficulty": 4.125, - "effort": 766.601995830646, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export": { - "line": 28, - "lineCount": 8, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 6, - "volume": 36.18947501009619, - "difficulty": 2.5, - "effort": 90.47368752524048, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape": { - "line": 37, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber": { - "line": 42, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml": { - "line": 52, - "lineCount": 50, - "argCount": 1, - "returnCount": 1, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 12, - "N1": 11, - "N2": 25, - "programLength": 36, - "programVocabulary": 17, - "volume": 147.14866228501222, - "difficulty": 5.208333333333334, - "effort": 766.3992827344388, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export": { - "line": 17, - "lineCount": 13, - "argCount": 2, - "returnCount": 0, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 8, - "N1": 7, - "N2": 14, - "programLength": 21, - "programVocabulary": 12, - "volume": 75.28421251514428, - "difficulty": 3.5, - "effort": 263.49474380300495, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export": { - "line": 48, - "lineCount": 8, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 6, - "volume": 36.18947501009619, - "difficulty": 2.5, - "effort": 90.47368752524048, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown": { - "line": 61, - "lineCount": 24, - "argCount": 1, - "returnCount": 1, - "variableCount": 6, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 6, - "n2": 16, - "N1": 19, - "N2": 41, - "programLength": 60, - "programVocabulary": 22, - "volume": 267.56589711823784, - "difficulty": 7.6875, - "effort": 2056.9128340964535, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow": { - "line": 94, - "lineCount": 21, - "argCount": 3, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 7, - "n2": 18, - "N1": 16, - "N2": 39, - "programLength": 55, - "programVocabulary": 25, - "volume": 255.41209043760983, - "difficulty": 7.583333333333333, - "effort": 1936.8750191518745, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::__construct": { - "line": 26, - "lineCount": 4, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::export": { - "line": 36, - "lineCount": 10, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 8, - "volume": 45, - "difficulty": 5, - "effort": 225, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::generateSvgTreemap": { - "line": 53, - "lineCount": 20, - "argCount": 1, - "returnCount": 1, - "variableCount": 6, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 8, - "N1": 9, - "N2": 20, - "programLength": 29, - "programVocabulary": 10, - "volume": 96.3359147517335, - "difficulty": 2.5, - "effort": 240.83978687933376, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::generateSvgTreemap" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRects": { - "line": 82, - "lineCount": 10, - "argCount": 3, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 9, - "N1": 6, - "N2": 18, - "programLength": 24, - "programVocabulary": 12, - "volume": 86.03910001730775, - "difficulty": 3, - "effort": 258.1173000519232, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRects" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRect": { - "line": 100, - "lineCount": 29, - "argCount": 2, - "returnCount": 1, - "variableCount": 12, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 6, - "n2": 28, - "N1": 26, - "N2": 54, - "programLength": 80, - "programVocabulary": 34, - "volume": 406.9970273000271, - "difficulty": 5.785714285714286, - "effort": 2354.7685150930142, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRect" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::wrapSvg": { - "line": 136, - "lineCount": 21, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 2, - "N2": 8, - "programLength": 10, - "programVocabulary": 4, - "volume": 20, - "difficulty": 1.3333333333333333, - "effort": 26.666666666666664, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::wrapSvg" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::prepareItems": { - "line": 28, - "lineCount": 18, - "argCount": 1, - "returnCount": 1, - "variableCount": 7, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 12, - "N1": 9, - "N2": 30, - "programLength": 39, - "programVocabulary": 17, - "volume": 159.41105080876324, - "difficulty": 6.25, - "effort": 996.3190675547702, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::prepareItems" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findScoreRange": { - "line": 53, - "lineCount": 16, - "argCount": 1, - "returnCount": 3, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 7, - "N2": 13, - "programLength": 20, - "programVocabulary": 8, - "volume": 60, - "difficulty": 3.9000000000000004, - "effort": 234.00000000000003, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findScoreRange" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::normalizeScore": { - "line": 78, - "lineCount": 8, - "argCount": 3, - "returnCount": 2, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 8, - "volume": 45, - "difficulty": 5, - "effort": 225, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::normalizeScore" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::scoreToColor": { - "line": 93, - "lineCount": 9, - "argCount": 1, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 5, - "n2": 9, - "N1": 12, - "N2": 16, - "programLength": 28, - "programVocabulary": 14, - "volume": 106.60593781761291, - "difficulty": 4.444444444444445, - "effort": 473.80416807827964, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::scoreToColor" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::calculateTreemapLayout": { - "line": 115, - "lineCount": 23, - "argCount": 7, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 9, - "N1": 2, - "N2": 18, - "programLength": 20, - "programVocabulary": 11, - "volume": 69.18863237274594, - "difficulty": 2, - "effort": 138.37726474549189, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::calculateTreemapLayout" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::layoutTreemap": { - "line": 152, - "lineCount": 89, - "argCount": 8, - "returnCount": 3, - "variableCount": 11, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 8, - "n2": 28, - "N1": 32, - "N2": 98, - "programLength": 130, - "programVocabulary": 36, - "volume": 672.0902501875006, - "difficulty": 14, - "effort": 9409.263502625008, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::layoutTreemap" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findSplitIndex": { - "line": 249, - "lineCount": 13, - "argCount": 2, - "returnCount": 2, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 7, - "n2": 10, - "N1": 9, - "N2": 23, - "programLength": 32, - "programVocabulary": 17, - "volume": 130.79881092001085, - "difficulty": 8.049999999999999, - "effort": 1052.9304279060873, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findSplitIndex" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::__construct": { - "line": 23, - "lineCount": 18, - "argCount": 1, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 7, - "N2": 11, - "programLength": 18, - "programVocabulary": 6, - "volume": 46.529325012980806, - "difficulty": 5.5, - "effort": 255.91128757139444, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::getAllClasses": { - "line": 47, - "lineCount": 17, - "argCount": 0, - "returnCount": 2, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 6, - "N2": 12, - "programLength": 18, - "programVocabulary": 9, - "volume": 57.05865002596162, - "difficulty": 3, - "effort": 171.17595007788486, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::getAllClasses" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::withClassNode": { - "line": 73, - "lineCount": 8, - "argCount": 2, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 4, - "N2": 8, - "programLength": 12, - "programVocabulary": 8, - "volume": 36, - "difficulty": 4, - "effort": 144, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::withClassNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::findClassNode": { - "line": 85, - "lineCount": 25, - "argCount": 1, - "returnCount": 4, - "variableCount": 5, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 13, - "N2": 29, - "programLength": 42, - "programVocabulary": 11, - "volume": 145.29612798276648, - "difficulty": 8.285714285714286, - "effort": 1203.8822032857795, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::findClassNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::escapeXPathValue": { - "line": 114, - "lineCount": 16, - "argCount": 1, - "returnCount": 3, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 9, - "N1": 11, - "N2": 18, - "programLength": 29, - "programVocabulary": 13, - "volume": 107.31275182609167, - "difficulty": 4, - "effort": 429.2510073043667, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::escapeXPathValue" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getLineCoverage": { - "line": 22, - "lineCount": 18, - "argCount": 1, - "returnCount": 4, - "variableCount": 5, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 9, - "N1": 10, - "N2": 19, - "programLength": 29, - "programVocabulary": 13, - "volume": 107.31275182609167, - "difficulty": 4.222222222222222, - "effort": 453.09828548794263, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getLineCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getBranchCoverage": { - "line": 48, - "lineCount": 18, - "argCount": 1, - "returnCount": 4, - "variableCount": 5, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 9, - "N1": 10, - "N2": 19, - "programLength": 29, - "programVocabulary": 13, - "volume": 107.31275182609167, - "difficulty": 4.222222222222222, - "effort": 453.09828548794263, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getBranchCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getComplexity": { - "line": 73, - "lineCount": 13, - "argCount": 1, - "returnCount": 3, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 7, - "N2": 14, - "programLength": 21, - "programVocabulary": 11, - "volume": 72.64806399138324, - "difficulty": 4, - "effort": 290.59225596553296, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getComplexity" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getCoverageDetails": { - "line": 93, - "lineCount": 26, - "argCount": 1, - "returnCount": 3, - "variableCount": 9, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 17, - "N1": 22, - "N2": 42, - "programLength": 64, - "programVocabulary": 22, - "volume": 285.403623592787, - "difficulty": 6.176470588235294, - "effort": 1762.7870868966259, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getCoverageDetails" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getMetricsNode": { - "line": 123, - "lineCount": 12, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 6, - "N1": 7, - "N2": 13, - "programLength": 20, - "programVocabulary": 10, - "volume": 66.43856189774725, - "difficulty": 4.333333333333333, - "effort": 287.90043489023805, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getMetricsNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getFilenameForClass": { - "line": 139, - "lineCount": 9, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 5, - "N1": 4, - "N2": 9, - "programLength": 13, - "programVocabulary": 9, - "volume": 41.209025018750054, - "difficulty": 3.6, - "effort": 148.3524900675002, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getFilenameForClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodsCoverage": { - "line": 154, - "lineCount": 36, - "argCount": 1, - "returnCount": 3, - "variableCount": 8, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 13, - "N1": 12, - "N2": 30, - "programLength": 42, - "programVocabulary": 16, - "volume": 168, - "difficulty": 3.4615384615384612, - "effort": 581.5384615384614, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodsCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::calculateMethodCoverage": { - "line": 194, - "lineCount": 15, - "argCount": 2, - "returnCount": 2, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 11, - "N1": 9, - "N2": 23, - "programLength": 32, - "programVocabulary": 16, - "volume": 128, - "difficulty": 5.227272727272727, - "effort": 669.090909090909, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::calculateMethodCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodCoverageFromLines": { - "line": 215, - "lineCount": 36, - "argCount": 2, - "returnCount": 1, - "variableCount": 7, - "propertyCallCount": 0, - "ifNestingLevel": 2, - "elseCount": 0, - "ifCount": 5, - "halstead": { - "n1": 2, - "n2": 14, - "N1": 12, - "N2": 35, - "programLength": 47, - "programVocabulary": 16, - "volume": 188, - "difficulty": 2.5, - "effort": 470, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodCoverageFromLines" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStart": { - "line": 252, - "lineCount": 4, - "argCount": 3, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 3, - "N2": 7, - "programLength": 10, - "programVocabulary": 6, - "volume": 25.84962500721156, - "difficulty": 1.75, - "effort": 45.23684376262023, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStart" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodEnd": { - "line": 257, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 5, - "programLength": 7, - "programVocabulary": 5, - "volume": 16.253496664211536, - "difficulty": 1.6666666666666667, - "effort": 27.089161107019226, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodEnd" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStatement": { - "line": 262, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 5, - "programLength": 7, - "programVocabulary": 5, - "volume": 16.253496664211536, - "difficulty": 1.6666666666666667, - "effort": 27.089161107019226, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStatement" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isStatementCovered": { - "line": 267, - "lineCount": 5, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 4, - "N1": 3, - "N2": 6, - "programLength": 9, - "programVocabulary": 7, - "volume": 25.26619429851844, - "difficulty": 2.25, - "effort": 56.848937171666485, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isStatementCovered" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getLineCoverage": { - "line": 20, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 9, - "volume": 44.37895002019237, - "difficulty": 2.5, - "effort": 110.94737505048093, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getLineCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getBranchCoverage": { - "line": 34, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 9, - "volume": 44.37895002019237, - "difficulty": 2.5, - "effort": 110.94737505048093, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getBranchCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getComplexity": { - "line": 48, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 9, - "volume": 44.37895002019237, - "difficulty": 2.5, - "effort": 110.94737505048093, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getComplexity" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getCoverageDetails": { - "line": 62, - "lineCount": 13, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 8, - "N1": 7, - "N2": 16, - "programLength": 23, - "programVocabulary": 9, - "volume": 72.90827503317318, - "difficulty": 1, - "effort": 72.90827503317318, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getCoverageDetails" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::extractMethodsCoverage": { - "line": 81, - "lineCount": 23, - "argCount": 1, - "returnCount": 2, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 11, - "N1": 10, - "N2": 23, - "programLength": 33, - "programVocabulary": 14, - "volume": 125.64271242790093, - "difficulty": 3.1363636363636362, - "effort": 394.061234432962, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::extractMethodsCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CodeCoverageFactory::createFromName": { - "line": 14, - "lineCount": 8, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 4, - "N1": 1, - "N2": 8, - "programLength": 9, - "programVocabulary": 5, - "volume": 20.89735285398626, - "difficulty": 1, - "effort": 20.89735285398626, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CodeCoverageFactory::createFromName" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::__construct": { - "line": 28, - "lineCount": 15, - "argCount": 6, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 6, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 7, - "N1": 6, - "N2": 18, - "programLength": 24, - "programVocabulary": 8, - "volume": 72, - "difficulty": 1.2857142857142858, - "effort": 92.57142857142858, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getName": { - "line": 44, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getName" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getFilename": { - "line": 49, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getFilename" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getLineRate": { - "line": 54, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getLineRate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getBranchRate": { - "line": 59, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getBranchRate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getComplexity": { - "line": 64, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getComplexity" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getMethods": { - "line": 72, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getMethods" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::__construct": { - "line": 17, - "lineCount": 11, - "argCount": 4, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 4, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 5, - "N1": 4, - "N2": 12, - "programLength": 16, - "programVocabulary": 6, - "volume": 41.3594000115385, - "difficulty": 1.2, - "effort": 49.631280013846194, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getName": { - "line": 29, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getName" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getLineRate": { - "line": 34, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getLineRate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getBranchRate": { - "line": 39, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getBranchRate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getComplexity": { - "line": 44, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getComplexity" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::calculateDeltas": { - "line": 19, - "lineCount": 14, - "argCount": 2, - "returnCount": 0, - "variableCount": 6, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 9, - "N1": 4, - "N2": 18, - "programLength": 22, - "programVocabulary": 11, - "volume": 76.10749561002054, - "difficulty": 2, - "effort": 152.21499122004107, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::calculateDeltas" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::loadBaseline": { - "line": 41, - "lineCount": 13, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 5, - "N2": 9, - "programLength": 14, - "programVocabulary": 8, - "volume": 42, - "difficulty": 2.7, - "effort": 113.4, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::loadBaseline" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::__construct": { - "line": 72, - "lineCount": 21, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 6, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 9, - "N1": 12, - "N2": 34, - "programLength": 46, - "programVocabulary": 12, - "volume": 164.90827503317317, - "difficulty": 5.666666666666666, - "effort": 934.4802251879812, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setRequiredMetricProperties": { - "line": 98, - "lineCount": 30, - "argCount": 1, - "returnCount": 0, - "variableCount": 6, - "propertyCallCount": 9, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 21, - "N1": 21, - "N2": 51, - "programLength": 72, - "programVocabulary": 24, - "volume": 330.1173000519232, - "difficulty": 3.6428571428571423, - "effort": 1202.570164474863, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setRequiredMetricProperties" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setOptionalMetricProperties": { - "line": 133, - "lineCount": 12, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 8, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 11, - "N1": 16, - "N2": 33, - "programLength": 49, - "programVocabulary": 13, - "volume": 181.32154618891352, - "difficulty": 3, - "effort": 543.9646385667405, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setOptionalMetricProperties" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setTimesChanged": { - "line": 146, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setTimesChanged" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertSame": { - "line": 151, - "lineCount": 14, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 6, - "N2": 8, - "programLength": 14, - "programVocabulary": 5, - "volume": 32.50699332842307, - "difficulty": 2.6666666666666665, - "effort": 86.68531554246152, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertSame" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::calculateDeltas": { - "line": 169, - "lineCount": 13, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 16, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 17, - "N2": 27, - "programLength": 44, - "programVocabulary": 4, - "volume": 88, - "difficulty": 13.5, - "effort": 1188, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::calculateDeltas" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::fromArray": { - "line": 187, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::fromArray" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertArrayKeyIsPresent": { - "line": 197, - "lineCount": 6, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 5, - "programLength": 5, - "programVocabulary": 2, - "volume": 5, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertArrayKeyIsPresent" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getClass": { - "line": 204, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getMethod": { - "line": 209, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getMethod" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCount": { - "line": 214, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCount": { - "line": 219, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCount": { - "line": 224, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCount": { - "line": 229, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCount": { - "line": 234, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCount": { - "line": 239, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevel": { - "line": 244, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevel" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCount": { - "line": 249, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeight": { - "line": 254, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setLineCountWeight": { - "line": 259, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setLineCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeight": { - "line": 264, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setArgCountWeight": { - "line": 269, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setArgCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeight": { - "line": 274, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setReturnCountWeight": { - "line": 279, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setReturnCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeight": { - "line": 284, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setVariableCountWeight": { - "line": 289, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setVariableCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeight": { - "line": 294, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setPropertyCallCountWeight": { - "line": 299, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setPropertyCallCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeight": { - "line": 304, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfCountWeight": { - "line": 309, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeight": { - "line": 314, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfNestingLevelWeight": { - "line": 319, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfNestingLevelWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeight": { - "line": 324, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setElseCountWeight": { - "line": 329, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setElseCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setScore": { - "line": 334, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setScore" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getScore": { - "line": 339, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getScore" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setCoverage": { - "line": 344, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCoverage": { - "line": 349, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeightDelta": { - "line": 354, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeightDelta": { - "line": 359, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeightDelta": { - "line": 364, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeightDelta": { - "line": 369, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeightDelta": { - "line": 374, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeightDelta": { - "line": 379, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeightDelta": { - "line": 384, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeightDelta": { - "line": 389, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getTimesChanged": { - "line": 394, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 2, - "programLength": 3, - "programVocabulary": 3, - "volume": 4.754887502163468, - "difficulty": 0.5, - "effort": 2.377443751081734, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getTimesChanged" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getFileName": { - "line": 399, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getFileName" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLine": { - "line": 404, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLine" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::equals": { - "line": 409, - "lineCount": 5, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 2, - "N1": 5, - "N2": 5, - "programLength": 10, - "programVocabulary": 5, - "volume": 23.21928094887362, - "difficulty": 3.75, - "effort": 87.07230355827608, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::equals" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::toArray": { - "line": 418, - "lineCount": 34, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 29, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 30, - "N1": 0, - "N2": 58, - "programLength": 58, - "programVocabulary": 30, - "volume": 284.5996545452941, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::toArray" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::jsonSerialize": { - "line": 456, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::jsonSerialize" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getHalstead": { - "line": 464, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getHalstead" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCyclomatic": { - "line": 472, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCyclomatic" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::add": { - "line": 30, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 5, - "N2": 6, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 3, - "effort": 85.30376252379816, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::add" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filter": { - "line": 40, - "lineCount": 11, - "argCount": 1, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 8, - "volume": 42, - "difficulty": 3, - "effort": 126, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filter" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getIterator": { - "line": 57, - "lineCount": 5, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getIterator" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::count": { - "line": 66, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::count" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterWithScoreGreaterThan": { - "line": 71, - "lineCount": 6, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 3, - "N2": 6, - "programLength": 9, - "programVocabulary": 5, - "volume": 20.89735285398626, - "difficulty": 2, - "effort": 41.79470570797252, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterWithScoreGreaterThan" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::contains": { - "line": 78, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 4, - "N2": 5, - "programLength": 9, - "programVocabulary": 5, - "volume": 20.89735285398626, - "difficulty": 1.6666666666666667, - "effort": 34.82892142331043, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::contains" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getClassWithMethod": { - "line": 83, - "lineCount": 9, - "argCount": 2, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 3, - "N2": 10, - "programLength": 13, - "programVocabulary": 7, - "volume": 36.49561398674886, - "difficulty": 2, - "effort": 72.99122797349771, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getClassWithMethod" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterByClassName": { - "line": 93, - "lineCount": 6, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 3, - "N2": 6, - "programLength": 9, - "programVocabulary": 5, - "volume": 20.89735285398626, - "difficulty": 2, - "effort": 41.79470570797252, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterByClassName" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::assertMetricHasGetter": { - "line": 100, - "lineCount": 9, - "argCount": 3, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 6, - "programLength": 7, - "programVocabulary": 4, - "volume": 14, - "difficulty": 1, - "effort": 14, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::assertMetricHasGetter" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::groupBy": { - "line": 117, - "lineCount": 20, - "argCount": 1, - "returnCount": 1, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 10, - "N2": 23, - "programLength": 33, - "programVocabulary": 11, - "volume": 114.16124341503081, - "difficulty": 6.571428571428571, - "effort": 750.2024567273453, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::groupBy" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::jsonSerialize": { - "line": 141, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::jsonSerialize" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::__construct": { - "line": 32, - "lineCount": 8, - "argCount": 5, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 5, - "N1": 0, - "N2": 5, - "programLength": 5, - "programVocabulary": 5, - "volume": 11.60964047443681, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collect": { - "line": 49, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 5, - "programLength": 6, - "programVocabulary": 4, - "volume": 12, - "difficulty": 0.8333333333333334, - "effort": 10, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collect" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collectFromPaths": { - "line": 62, - "lineCount": 13, - "argCount": 2, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 8, - "N2": 16, - "programLength": 24, - "programVocabulary": 9, - "volume": 76.07820003461549, - "difficulty": 4, - "effort": 304.31280013846197, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collectFromPaths" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCodeFromFile": { - "line": 79, - "lineCount": 10, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 2, - "N1": 5, - "N2": 6, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 6, - "effort": 170.6075250475963, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCodeFromFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findMetrics": { - "line": 98, - "lineCount": 31, - "argCount": 1, - "returnCount": 1, - "variableCount": 9, - "propertyCallCount": 2, - "ifNestingLevel": 2, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 13, - "N1": 18, - "N2": 38, - "programLength": 56, - "programVocabulary": 16, - "volume": 224, - "difficulty": 4.384615384615384, - "effort": 982.1538461538461, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findMetrics" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processMethodMetrics": { - "line": 136, - "lineCount": 29, - "argCount": 3, - "returnCount": 1, - "variableCount": 7, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 14, - "N1": 8, - "N2": 27, - "programLength": 35, - "programVocabulary": 17, - "volume": 143.06119944376186, - "difficulty": 2.892857142857143, - "effort": 413.8556126765968, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processMethodMetrics" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::isExcluded": { - "line": 166, - "lineCount": 12, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 5, - "N1": 5, - "N2": 9, - "programLength": 14, - "programVocabulary": 9, - "volume": 44.37895002019237, - "difficulty": 3.6, - "effort": 159.76422007269252, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::isExcluded" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findSourceFiles": { - "line": 187, - "lineCount": 7, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 2, - "N2": 6, - "programLength": 8, - "programVocabulary": 6, - "volume": 20.67970000576925, - "difficulty": 1.5, - "effort": 31.019550008653873, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findSourceFiles" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getProjectRoot": { - "line": 202, - "lineCount": 13, - "argCount": 0, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 2, - "N1": 8, - "N2": 8, - "programLength": 16, - "programVocabulary": 6, - "volume": 41.3594000115385, - "difficulty": 8, - "effort": 330.875200092308, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getProjectRoot" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateCacheKey": { - "line": 219, - "lineCount": 7, - "argCount": 2, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 6, - "N1": 10, - "N2": 12, - "programLength": 22, - "programVocabulary": 10, - "volume": 73.08241808752197, - "difficulty": 4, - "effort": 292.3296723500879, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateCacheKey" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateConfigHash": { - "line": 230, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 1, - "N1": 3, - "N2": 2, - "programLength": 5, - "programVocabulary": 3, - "volume": 7.92481250360578, - "difficulty": 2, - "effort": 15.84962500721156, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateConfigHash" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::cacheResult": { - "line": 239, - "lineCount": 14, - "argCount": 4, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 13, - "N1": 5, - "N2": 20, - "programLength": 25, - "programVocabulary": 15, - "volume": 97.67226489021297, - "difficulty": 1.5384615384615385, - "effort": 150.26502290801997, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::cacheResult" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::clearCache": { - "line": 254, - "lineCount": 4, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::clearCache" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::normalizeFilename": { - "line": 264, - "lineCount": 15, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 6, - "n2": 7, - "N1": 12, - "N2": 16, - "programLength": 28, - "programVocabulary": 13, - "volume": 103.61231210795059, - "difficulty": 6.857142857142857, - "effort": 710.4844258830897, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::normalizeFilename" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCachedMetrics": { - "line": 286, - "lineCount": 19, - "argCount": 3, - "returnCount": 3, - "variableCount": 4, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 11, - "N1": 10, - "N2": 29, - "programLength": 39, - "programVocabulary": 14, - "volume": 148.48684196024655, - "difficulty": 3.954545454545454, - "effort": 587.1979659337022, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCachedMetrics" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processFile": { - "line": 312, - "lineCount": 37, - "argCount": 5, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 7, - "n2": 10, - "N1": 12, - "N2": 28, - "programLength": 40, - "programVocabulary": 17, - "volume": 163.49851365001356, - "difficulty": 9.799999999999999, - "effort": 1602.2854337701328, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::sort": { - "line": 51, - "lineCount": 41, - "argCount": 3, - "returnCount": 2, - "variableCount": 10, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 18, - "N1": 20, - "N2": 43, - "programLength": 63, - "programVocabulary": 22, - "volume": 280.9441919741497, - "difficulty": 4.777777777777778, - "effort": 1342.2889172098264, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::sort" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getFieldValue": { - "line": 100, - "lineCount": 28, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 25, - "N1": 24, - "N2": 50, - "programLength": 74, - "programVocabulary": 27, - "volume": 351.86167516009664, - "difficulty": 2, - "effort": 703.7233503201933, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getFieldValue" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::compareValues": { - "line": 136, - "lineCount": 13, - "argCount": 2, - "returnCount": 3, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 2, - "N1": 9, - "N2": 12, - "programLength": 21, - "programVocabulary": 5, - "volume": 48.760489992634604, - "difficulty": 9, - "effort": 438.8444099337114, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::compareValues" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getSortableFields": { - "line": 155, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 0, - "N1": 0, - "N2": 0, - "programLength": 0, - "programVocabulary": 0, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getSortableFields" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__construct": { - "line": 15, - "lineCount": 11, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 7, - "N2": 12, - "programLength": 19, - "programVocabulary": 6, - "volume": 49.11428751370197, - "difficulty": 6, - "effort": 294.6857250822118, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::getValue": { - "line": 27, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::getValue" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasIncreased": { - "line": 32, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasIncreased" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__toString": { - "line": 37, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__toString" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasNotChanged": { - "line": 42, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 2, - "programLength": 3, - "programVocabulary": 3, - "volume": 4.754887502163468, - "difficulty": 0.5, - "effort": 2.377443751081734, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasNotChanged" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\FileProcessed::__construct": { - "line": 14, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\FileProcessed::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\ParserFailed::__construct": { - "line": 15, - "lineCount": 5, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\ParserFailed::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\SourceFilesFound::__construct": { - "line": 17, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\SourceFilesFound::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::__construct": { - "line": 15, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::create": { - "line": 27, - "lineCount": 10, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 6, - "N1": 0, - "N2": 8, - "programLength": 8, - "programVocabulary": 6, - "volume": 20.67970000576925, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::create" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::getSupportedTypes": { - "line": 43, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 4, - "N1": 0, - "N2": 4, - "programLength": 4, - "programVocabulary": 4, - "volume": 8, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::getSupportedTypes" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::isSupported": { - "line": 54, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 2, - "N2": 3, - "programLength": 5, - "programVocabulary": 4, - "volume": 10, - "difficulty": 1.5, - "effort": 15, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::isSupported" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CsvExporter::export": { - "line": 46, - "lineCount": 57, - "argCount": 2, - "returnCount": 0, - "variableCount": 6, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 15, - "N1": 37, - "N2": 54, - "programLength": 91, - "programVocabulary": 19, - "volume": 386.56140372336625, - "difficulty": 7.2, - "effort": 2783.242106808237, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CsvExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::export": { - "line": 40, - "lineCount": 8, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 5, - "N1": 4, - "N2": 8, - "programLength": 12, - "programVocabulary": 9, - "volume": 38.039100017307746, - "difficulty": 3.2, - "effort": 121.72512005538479, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::escape": { - "line": 49, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::escape" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::formatNumber": { - "line": 54, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::formatNumber" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::generateMetricRow": { - "line": 59, - "lineCount": 12, - "argCount": 3, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 16, - "N1": 19, - "N2": 27, - "programLength": 46, - "programVocabulary": 21, - "volume": 202.04660144782298, - "difficulty": 4.21875, - "effort": 852.3840998580032, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::generateMetricRow" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::generateHtml": { - "line": 78, - "lineCount": 64, - "argCount": 1, - "returnCount": 1, - "variableCount": 7, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 11, - "N1": 46, - "N2": 57, - "programLength": 103, - "programVocabulary": 15, - "volume": 402.40973134767745, - "difficulty": 10.363636363636363, - "effort": 4170.42812487593, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::generateHtml" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\JsonExporter::export": { - "line": 19, - "lineCount": 38, - "argCount": 2, - "returnCount": 0, - "variableCount": 5, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 27, - "N1": 29, - "N2": 58, - "programLength": 87, - "programVocabulary": 32, - "volume": 435, - "difficulty": 5.370370370370371, - "effort": 2336.1111111111113, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\JsonExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::__construct": { - "line": 24, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::export": { - "line": 36, - "lineCount": 8, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 5, - "N1": 4, - "N2": 8, - "programLength": 12, - "programVocabulary": 9, - "volume": 38.039100017307746, - "difficulty": 3.2, - "effort": 121.72512005538479, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::escape": { - "line": 48, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::escape" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateMetricCell": { - "line": 56, - "lineCount": 12, - "argCount": 3, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 12, - "N1": 16, - "N2": 24, - "programLength": 40, - "programVocabulary": 17, - "volume": 163.49851365001356, - "difficulty": 5, - "effort": 817.4925682500678, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateMetricCell" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::filterMetrics": { - "line": 75, - "lineCount": 15, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 4, - "N1": 4, - "N2": 11, - "programLength": 15, - "programVocabulary": 7, - "volume": 42.11032383086406, - "difficulty": 4.125, - "effort": 173.70508580231424, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::filterMetrics" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableHeader": { - "line": 94, - "lineCount": 33, - "argCount": 0, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 4, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 19, - "N1": 10, - "N2": 28, - "programLength": 38, - "programVocabulary": 22, - "volume": 169.4584015082173, - "difficulty": 2.2105263157894735, - "effort": 374.5922559655329, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableHeader" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableHeaderWithClass": { - "line": 131, - "lineCount": 33, - "argCount": 0, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 4, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 20, - "N1": 10, - "N2": 29, - "programLength": 39, - "programVocabulary": 23, - "volume": 176.41891628622352, - "difficulty": 2.175, - "effort": 383.7111429225361, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableHeaderWithClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableSeparator": { - "line": 168, - "lineCount": 20, - "argCount": 0, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 4, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 7, - "N1": 3, - "N2": 16, - "programLength": 19, - "programVocabulary": 10, - "volume": 63.11663380285988, - "difficulty": 3.4285714285714284, - "effort": 216.399887324091, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableSeparator" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableSeparatorWithClass": { - "line": 192, - "lineCount": 20, - "argCount": 0, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 4, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 8, - "N1": 3, - "N2": 16, - "programLength": 19, - "programVocabulary": 11, - "volume": 65.72920075410865, - "difficulty": 3, - "effort": 197.18760226232592, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableSeparatorWithClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableRow": { - "line": 216, - "lineCount": 22, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 6, - "N1": 53, - "N2": 60, - "programLength": 113, - "programVocabulary": 10, - "volume": 375.37787472227194, - "difficulty": 20, - "effort": 7507.557494445438, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableRow" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableRowWithClass": { - "line": 242, - "lineCount": 25, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 6, - "N1": 55, - "N2": 62, - "programLength": 117, - "programVocabulary": 10, - "volume": 388.66558710182136, - "difficulty": 20.666666666666668, - "effort": 8032.422133437642, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableRowWithClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::addHalsteadCells": { - "line": 274, - "lineCount": 20, - "argCount": 2, - "returnCount": 3, - "variableCount": 2, - "propertyCallCount": 5, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 12, - "N2": 24, - "programLength": 36, - "programVocabulary": 8, - "volume": 108, - "difficulty": 7.199999999999999, - "effort": 777.5999999999999, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::addHalsteadCells" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::addCyclomaticCell": { - "line": 301, - "lineCount": 16, - "argCount": 2, - "returnCount": 3, - "variableCount": 2, - "propertyCallCount": 4, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 8, - "N2": 16, - "programLength": 24, - "programVocabulary": 11, - "volume": 83.02635884729514, - "difficulty": 4.571428571428571, - "effort": 379.5490690162063, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::addCyclomaticCell" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateMarkdown": { - "line": 325, - "lineCount": 8, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 2, - "N2": 6, - "programLength": 8, - "programVocabulary": 3, - "volume": 12.679700005769249, - "difficulty": 1.5, - "effort": 19.019550008653873, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateMarkdown" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateGroupedMarkdown": { - "line": 337, - "lineCount": 49, - "argCount": 1, - "returnCount": 1, - "variableCount": 10, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 8, - "n2": 23, - "N1": 33, - "N2": 65, - "programLength": 98, - "programVocabulary": 31, - "volume": 485.5112384179137, - "difficulty": 11.304347826086957, - "effort": 5488.387912550329, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateGroupedMarkdown" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateSingleTableMarkdown": { - "line": 390, - "lineCount": 28, - "argCount": 1, - "returnCount": 1, - "variableCount": 6, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 6, - "n2": 13, - "N1": 19, - "N2": 37, - "programLength": 56, - "programVocabulary": 19, - "volume": 237.88394075284077, - "difficulty": 8.538461538461538, - "effort": 2031.1628787357943, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateSingleTableMarkdown" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::__construct": { - "line": 32, - "lineCount": 26, - "argCount": 2, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 7, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 14, - "N2": 22, - "programLength": 36, - "programVocabulary": 5, - "volume": 83.58941141594504, - "difficulty": 7.333333333333333, - "effort": 612.9890170502636, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::parse": { - "line": 63, - "lineCount": 37, - "argCount": 1, - "returnCount": 1, - "variableCount": 9, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 14, - "N1": 16, - "N2": 43, - "programLength": 59, - "programVocabulary": 17, - "volume": 241.16030763377, - "difficulty": 4.607142857142858, - "effort": 1111.0599887412977, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::parse" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::scanForAnnotations": { - "line": 104, - "lineCount": 20, - "argCount": 1, - "returnCount": 0, - "variableCount": 4, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 7, - "N1": 8, - "N2": 16, - "programLength": 24, - "programVocabulary": 10, - "volume": 79.7262742772967, - "difficulty": 3.4285714285714284, - "effort": 273.34722609358863, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::scanForAnnotations" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::traverseAbstractSyntaxTreeWithCombinedVisitor": { - "line": 129, - "lineCount": 17, - "argCount": 1, - "returnCount": 0, - "variableCount": 4, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 7, - "N1": 7, - "N2": 15, - "programLength": 22, - "programVocabulary": 10, - "volume": 73.08241808752197, - "difficulty": 3.2142857142857144, - "effort": 234.90777242417778, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::traverseAbstractSyntaxTreeWithCombinedVisitor" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getIgnored": { - "line": 153, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getIgnored" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getIgnoredClasses": { - "line": 163, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getIgnoredClasses" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getIgnoredMethods": { - "line": 173, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getIgnoredMethods" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::clearStaticCaches": { - "line": 181, - "lineCount": 15, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 9, - "N1": 7, - "N2": 19, - "programLength": 26, - "programVocabulary": 10, - "volume": 86.37013046707142, - "difficulty": 1.0555555555555556, - "effort": 91.16847104857538, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::clearStaticCaches" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::clearStaticProperty": { - "line": 200, - "lineCount": 14, - "argCount": 2, - "returnCount": 0, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 6, - "N2": 12, - "programLength": 18, - "programVocabulary": 7, - "volume": 50.53238859703688, - "difficulty": 2.4, - "effort": 121.2777326328885, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::clearStaticProperty" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getRiskLevel": { - "line": 218, - "lineCount": 9, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 8, - "N1": 3, - "N2": 11, - "programLength": 14, - "programVocabulary": 9, - "volume": 44.37895002019237, - "difficulty": 0.6875, - "effort": 30.510528138882254, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getRiskLevel" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculate": { - "line": 47, - "lineCount": 5, - "argCount": 2, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 2, - "N2": 8, - "programLength": 10, - "programVocabulary": 4, - "volume": 20, - "difficulty": 1.3333333333333333, - "effort": 26.666666666666664, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculateScore": { - "line": 53, - "lineCount": 10, - "argCount": 1, - "returnCount": 0, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 9, - "N1": 7, - "N2": 15, - "programLength": 22, - "programVocabulary": 13, - "volume": 81.40967379910403, - "difficulty": 3.3333333333333335, - "effort": 271.36557933034675, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculateScore" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculateMetricWeights": { - "line": 70, - "lineCount": 17, - "argCount": 3, - "returnCount": 0, - "variableCount": 6, - "propertyCallCount": 3, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 12, - "N1": 9, - "N2": 24, - "programLength": 33, - "programVocabulary": 15, - "volume": 128.92738965508113, - "difficulty": 3, - "effort": 386.7821689652434, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculateMetricWeights" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculateLogWeight": { - "line": 132, - "lineCount": 8, - "argCount": 3, - "returnCount": 2, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 5, - "N1": 5, - "N2": 11, - "programLength": 16, - "programVocabulary": 10, - "volume": 53.150849518197795, - "difficulty": 5.5, - "effort": 292.3296723500879, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculateLogWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cyclomatic\\CyclomaticMetrics::__construct": { - "line": 129, - "lineCount": 23, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 19, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 43, - "N1": 56, - "N2": 130, - "programLength": 186, - "programVocabulary": 45, - "volume": 1021.4846759173195, - "difficulty": 3.0232558139534884, - "effort": 3088.209485331431, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cyclomatic\\CyclomaticMetrics::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::escapeMarkdown": { - "line": 18, - "lineCount": 6, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 5, - "N1": 1, - "N2": 6, - "programLength": 7, - "programVocabulary": 6, - "volume": 18.094737505048094, - "difficulty": 0.6, - "effort": 10.856842503028856, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::escapeMarkdown" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::formatNumber": { - "line": 32, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 5, - "programLength": 6, - "programVocabulary": 4, - "volume": 12, - "difficulty": 0.8333333333333334, - "effort": 10, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::formatNumber" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::buildTableHeader": { - "line": 43, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 3, - "N2": 5, - "programLength": 8, - "programVocabulary": 6, - "volume": 20.67970000576925, - "difficulty": 1.25, - "effort": 25.84962500721156, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::buildTableHeader" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::buildTableSeparator": { - "line": 54, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 4, - "programLength": 6, - "programVocabulary": 5, - "volume": 13.931568569324174, - "difficulty": 1.3333333333333333, - "effort": 18.575424759098897, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::buildTableSeparator" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::buildTableRow": { - "line": 65, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 3, - "N2": 5, - "programLength": 8, - "programVocabulary": 6, - "volume": 20.67970000576925, - "difficulty": 1.25, - "effort": 25.84962500721156, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::buildTableRow" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::formatPercentage": { - "line": 77, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 2, - "N2": 6, - "programLength": 8, - "programVocabulary": 6, - "volume": 20.67970000576925, - "difficulty": 1.5, - "effort": 31.019550008653873, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::formatPercentage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::escapeMarkdown": { - "line": 18, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 5, - "N1": 1, - "N2": 6, - "programLength": 7, - "programVocabulary": 6, - "volume": 18.094737505048094, - "difficulty": 0.6, - "effort": 10.856842503028856, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::escapeMarkdown" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::formatNumber": { - "line": 30, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 5, - "programLength": 6, - "programVocabulary": 4, - "volume": 12, - "difficulty": 0.8333333333333334, - "effort": 10, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::formatNumber" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::buildMarkdownTableHeader": { - "line": 41, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 3, - "N2": 5, - "programLength": 8, - "programVocabulary": 6, - "volume": 20.67970000576925, - "difficulty": 1.25, - "effort": 25.84962500721156, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::buildMarkdownTableHeader" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::buildMarkdownTableSeparator": { - "line": 52, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 4, - "programLength": 6, - "programVocabulary": 5, - "volume": 13.931568569324174, - "difficulty": 1.3333333333333333, - "effort": 18.575424759098897, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::buildMarkdownTableSeparator" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::buildMarkdownTableRow": { - "line": 63, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 3, - "N2": 5, - "programLength": 8, - "programVocabulary": 6, - "volume": 20.67970000576925, - "difficulty": 1.25, - "effort": 25.84962500721156, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::buildMarkdownTableRow" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::formatMarkdownPercentage": { - "line": 75, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 2, - "N2": 6, - "programLength": 8, - "programVocabulary": 6, - "volume": 20.67970000576925, - "difficulty": 1.5, - "effort": 31.019550008653873, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::formatMarkdownPercentage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Halstead\\HalsteadMetrics::__construct": { - "line": 33, - "lineCount": 13, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 10, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 12, - "N1": 10, - "N2": 31, - "programLength": 41, - "programVocabulary": 13, - "volume": 151.7180284437848, - "difficulty": 1.2916666666666667, - "effort": 195.96912007322203, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Halstead\\HalsteadMetrics::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Halstead\\HalsteadMetrics::getVolume": { - "line": 47, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Halstead\\HalsteadMetrics::getVolume" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::__construct": { - "line": 32, - "lineCount": 9, - "argCount": 5, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 2, - "n2": 7, - "N1": 2, - "N2": 7, - "programLength": 9, - "programVocabulary": 9, - "volume": 28.52932501298081, - "difficulty": 1, - "effort": 28.52932501298081, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::getChurnExporterFactory": { - "line": 45, - "lineCount": 7, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "cyclomatic_complexity": { - "complexity": 2, - "risk_level": "low" - }, - "halstead": { - "n1": 2, - "n2": 1, - "N1": 2, - "N2": 3, - "programLength": 5, - "programVocabulary": 3, - "volume": 7.92481250360578, - "difficulty": 3, - "effort": 23.774437510817343, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::getChurnExporterFactory" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::getCognitiveExporterFactory": { - "line": 56, - "lineCount": 7, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "cyclomatic_complexity": { - "complexity": 2, - "risk_level": "low" - }, - "halstead": { - "n1": 3, - "n2": 1, - "N1": 3, - "N2": 4, - "programLength": 7, - "programVocabulary": 4, - "volume": 14, - "difficulty": 6, - "effort": 84, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::getCognitiveExporterFactory" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::getCognitiveMetrics": { - "line": 72, - "lineCount": 10, - "argCount": 1, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 3, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 2, - "risk_level": "low" - }, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 5, - "N2": 11, - "programLength": 16, - "programVocabulary": 6, - "volume": 41.3594000115385, - "difficulty": 2.75, - "effort": 113.73835003173087, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::getCognitiveMetrics" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::getCognitiveMetricsFromPaths": { - "line": 92, - "lineCount": 16, - "argCount": 2, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "cyclomatic_complexity": { - "complexity": 3, - "risk_level": "low" - }, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 8, - "N2": 18, - "programLength": 26, - "programVocabulary": 9, - "volume": 82.41805003750011, - "difficulty": 4.5, - "effort": 370.88122516875046, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::getCognitiveMetricsFromPaths" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::calculateChurn": { - "line": 118, - "lineCount": 18, - "argCount": 4, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 2, - "risk_level": "low" - }, - "halstead": { - "n1": 2, - "n2": 10, - "N1": 8, - "N2": 21, - "programLength": 29, - "programVocabulary": 12, - "volume": 103.96391252091352, - "difficulty": 2.1, - "effort": 218.3242162939184, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::calculateChurn" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::loadConfig": { - "line": 143, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::loadConfig" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::getConfig": { - "line": 148, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::getConfig" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::exportChurnReport": { - "line": 156, - "lineCount": 9, - "argCount": 3, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 1, - "n2": 4, - "N1": 3, - "N2": 7, - "programLength": 10, - "programVocabulary": 5, - "volume": 23.21928094887362, - "difficulty": 0.875, - "effort": 20.316870830264417, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::exportChurnReport" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::exportMetricsReport": { - "line": 168, - "lineCount": 8, - "argCount": 3, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 4, - "N2": 9, - "programLength": 13, - "programVocabulary": 7, - "volume": 36.49561398674886, - "difficulty": 1.8, - "effort": 65.69210517614795, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::exportMetricsReport" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::clearCache": { - "line": 177, - "lineCount": 4, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::clearCache" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::addCoverageToMetric": { - "line": 185, - "lineCount": 20, - "argCount": 2, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "cyclomatic_complexity": { - "complexity": 3, - "risk_level": "low" - }, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 11, - "N2": 18, - "programLength": 29, - "programVocabulary": 11, - "volume": 100.32351694048162, - "difficulty": 5.142857142857143, - "effort": 515.9495156939055, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::addCoverageToMetric" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::addMethodLevelCoverage": { - "line": 209, - "lineCount": 16, - "argCount": 2, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "cyclomatic_complexity": { - "complexity": 2, - "risk_level": "low" - }, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 9, - "N2": 15, - "programLength": 24, - "programVocabulary": 7, - "volume": 67.3765181293825, - "difficulty": 3, - "effort": 202.1295543881475, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::addMethodLevelCoverage" - } - } - }, - "ignored_items": [], - "cached_at": 1759967601 -} \ No newline at end of file diff --git a/.phpcca.cache/f2/f2e881ba1bfa52f09465fadc05130809.cache b/.phpcca.cache/f2/f2e881ba1bfa52f09465fadc05130809.cache deleted file mode 100644 index 2cf7243..0000000 --- a/.phpcca.cache/f2/f2e881ba1bfa52f09465fadc05130809.cache +++ /dev/null @@ -1,442 +0,0 @@ -{ - "version": "1.0", - "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/Cache\/FileCache.php", - "file_mtime": 1759967661, - "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", - "analysis_result": { - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::__construct": { - "line": 26, - "lineCount": 5, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 3, - "n2": 4, - "N1": 3, - "N2": 6, - "programLength": 9, - "programVocabulary": 7, - "volume": 25.26619429851844, - "difficulty": 2.25, - "effort": 56.848937171666485, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItem": { - "line": 35, - "lineCount": 15, - "argCount": 1, - "returnCount": 3, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "cyclomatic_complexity": { - "complexity": 3, - "risk_level": "low" - }, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 6, - "N2": 13, - "programLength": 19, - "programVocabulary": 8, - "volume": 57, - "difficulty": 6.5, - "effort": 370.5, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItem" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItems": { - "line": 55, - "lineCount": 9, - "argCount": 1, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 2, - "risk_level": "low" - }, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 3, - "N2": 9, - "programLength": 12, - "programVocabulary": 6, - "volume": 31.019550008653873, - "difficulty": 2.25, - "effort": 69.79398751947122, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItems" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::hasItem": { - "line": 68, - "lineCount": 6, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 5, - "n2": 3, - "N1": 6, - "N2": 7, - "programLength": 13, - "programVocabulary": 8, - "volume": 39, - "difficulty": 5.833333333333334, - "effort": 227.50000000000003, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::hasItem" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::clear": { - "line": 75, - "lineCount": 10, - "argCount": 0, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 2, - "risk_level": "low" - }, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 2, - "N2": 4, - "programLength": 6, - "programVocabulary": 3, - "volume": 9.509775004326936, - "difficulty": 1, - "effort": 9.509775004326936, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::clear" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItem": { - "line": 89, - "lineCount": 10, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "cyclomatic_complexity": { - "complexity": 2, - "risk_level": "low" - }, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 4, - "N2": 6, - "programLength": 10, - "programVocabulary": 6, - "volume": 25.84962500721156, - "difficulty": 3, - "effort": 77.54887502163469, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItem" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItems": { - "line": 103, - "lineCount": 10, - "argCount": 1, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "cyclomatic_complexity": { - "complexity": 3, - "risk_level": "low" - }, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 3, - "N2": 8, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 2, - "effort": 56.86917501586544, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItems" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::save": { - "line": 117, - "lineCount": 11, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "cyclomatic_complexity": { - "complexity": 2, - "risk_level": "low" - }, - "halstead": { - "n1": 3, - "n2": 4, - "N1": 9, - "N2": 12, - "programLength": 21, - "programVocabulary": 7, - "volume": 58.95445336320969, - "difficulty": 4.5, - "effort": 265.2950401344436, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::save" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveDeferred": { - "line": 129, - "lineCount": 6, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveDeferred" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::commit": { - "line": 136, - "lineCount": 11, - "argCount": 0, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "cyclomatic_complexity": { - "complexity": 3, - "risk_level": "low" - }, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 4, - "N2": 8, - "programLength": 12, - "programVocabulary": 5, - "volume": 27.863137138648348, - "difficulty": 2.6666666666666665, - "effort": 74.30169903639559, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::commit" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::ensureCacheDirectory": { - "line": 152, - "lineCount": 9, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "cyclomatic_complexity": { - "complexity": 2, - "risk_level": "low" - }, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 3, - "N2": 4, - "programLength": 7, - "programVocabulary": 4, - "volume": 14, - "difficulty": 2, - "effort": 28, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::ensureCacheDirectory" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getCacheFilePath": { - "line": 168, - "lineCount": 15, - "argCount": 1, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "cyclomatic_complexity": { - "complexity": 2, - "risk_level": "low" - }, - "halstead": { - "n1": 4, - "n2": 10, - "N1": 13, - "N2": 19, - "programLength": 32, - "programVocabulary": 14, - "volume": 121.83535750584333, - "difficulty": 3.8, - "effort": 462.9743585222046, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getCacheFilePath" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::loadCacheData": { - "line": 187, - "lineCount": 14, - "argCount": 1, - "returnCount": 3, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "cyclomatic_complexity": { - "complexity": 3, - "risk_level": "low" - }, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 6, - "N2": 8, - "programLength": 14, - "programVocabulary": 6, - "volume": 36.18947501009619, - "difficulty": 4, - "effort": 144.75790004038475, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::loadCacheData" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveCacheData": { - "line": 209, - "lineCount": 21, - "argCount": 2, - "returnCount": 3, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "cyclomatic_complexity": { - "complexity": 3, - "risk_level": "low" - }, - "halstead": { - "n1": 6, - "n2": 7, - "N1": 13, - "N2": 17, - "programLength": 30, - "programVocabulary": 13, - "volume": 111.01319154423277, - "difficulty": 7.285714285714285, - "effort": 808.810395536553, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveCacheData" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::sanitizeUtf8": { - "line": 234, - "lineCount": 25, - "argCount": 1, - "returnCount": 4, - "variableCount": 6, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "cyclomatic_complexity": { - "complexity": 6, - "risk_level": "medium" - }, - "halstead": { - "n1": 3, - "n2": 8, - "N1": 13, - "N2": 29, - "programLength": 42, - "programVocabulary": 11, - "volume": 145.29612798276648, - "difficulty": 5.4375, - "effort": 790.0476959062927, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::sanitizeUtf8" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::removeDirectory": { - "line": 260, - "lineCount": 23, - "argCount": 1, - "returnCount": 2, - "variableCount": 5, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "cyclomatic_complexity": { - "complexity": 5, - "risk_level": "low" - }, - "halstead": { - "n1": 5, - "n2": 9, - "N1": 13, - "N2": 20, - "programLength": 33, - "programVocabulary": 14, - "volume": 125.64271242790093, - "difficulty": 5.555555555555555, - "effort": 698.0150690438941, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::removeDirectory" - } - } - }, - "ignored_items": [], - "cached_at": 1759967673 -} \ No newline at end of file diff --git a/.phpcca.cache/f2/f2fc42afb7b0445f4cb4c070efb4d9e4.cache b/.phpcca.cache/f2/f2fc42afb7b0445f4cb4c070efb4d9e4.cache deleted file mode 100644 index 126cfb8..0000000 --- a/.phpcca.cache/f2/f2fc42afb7b0445f4cb4c070efb4d9e4.cache +++ /dev/null @@ -1,378 +0,0 @@ -{ - "version": "1.0", - "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/CognitiveAnalysisException.php", - "file_mtime": 1752612112, - "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", - "analysis_result": { - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::__construct": { - "line": 26, - "lineCount": 5, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 4, - "N1": 3, - "N2": 6, - "programLength": 9, - "programVocabulary": 7, - "volume": 25.26619429851844, - "difficulty": 2.25, - "effort": 56.848937171666485, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItem": { - "line": 35, - "lineCount": 15, - "argCount": 1, - "returnCount": 3, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 6, - "N2": 13, - "programLength": 19, - "programVocabulary": 8, - "volume": 57, - "difficulty": 6.5, - "effort": 370.5, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItem" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItems": { - "line": 55, - "lineCount": 9, - "argCount": 1, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 3, - "N2": 9, - "programLength": 12, - "programVocabulary": 6, - "volume": 31.019550008653873, - "difficulty": 2.25, - "effort": 69.79398751947122, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getItems" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::hasItem": { - "line": 68, - "lineCount": 6, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 5, - "n2": 3, - "N1": 6, - "N2": 7, - "programLength": 13, - "programVocabulary": 8, - "volume": 39, - "difficulty": 5.833333333333334, - "effort": 227.50000000000003, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::hasItem" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::clear": { - "line": 75, - "lineCount": 10, - "argCount": 0, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 2, - "N2": 4, - "programLength": 6, - "programVocabulary": 3, - "volume": 9.509775004326936, - "difficulty": 1, - "effort": 9.509775004326936, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::clear" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItem": { - "line": 89, - "lineCount": 10, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 4, - "N2": 6, - "programLength": 10, - "programVocabulary": 6, - "volume": 25.84962500721156, - "difficulty": 3, - "effort": 77.54887502163469, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItem" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItems": { - "line": 103, - "lineCount": 10, - "argCount": 1, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 3, - "N2": 8, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 2, - "effort": 56.86917501586544, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::deleteItems" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::save": { - "line": 117, - "lineCount": 11, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 4, - "N1": 9, - "N2": 12, - "programLength": 21, - "programVocabulary": 7, - "volume": 58.95445336320969, - "difficulty": 4.5, - "effort": 265.2950401344436, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::save" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveDeferred": { - "line": 129, - "lineCount": 6, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveDeferred" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::commit": { - "line": 136, - "lineCount": 11, - "argCount": 0, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 4, - "N2": 8, - "programLength": 12, - "programVocabulary": 5, - "volume": 27.863137138648348, - "difficulty": 2.6666666666666665, - "effort": 74.30169903639559, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::commit" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::ensureCacheDirectory": { - "line": 152, - "lineCount": 9, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 3, - "N2": 4, - "programLength": 7, - "programVocabulary": 4, - "volume": 14, - "difficulty": 2, - "effort": 28, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::ensureCacheDirectory" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getCacheFilePath": { - "line": 168, - "lineCount": 15, - "argCount": 1, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 10, - "N1": 13, - "N2": 19, - "programLength": 32, - "programVocabulary": 14, - "volume": 121.83535750584333, - "difficulty": 3.8, - "effort": 462.9743585222046, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::getCacheFilePath" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::loadCacheData": { - "line": 187, - "lineCount": 14, - "argCount": 1, - "returnCount": 3, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 6, - "N2": 8, - "programLength": 14, - "programVocabulary": 6, - "volume": 36.18947501009619, - "difficulty": 4, - "effort": 144.75790004038475, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::loadCacheData" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveCacheData": { - "line": 209, - "lineCount": 21, - "argCount": 2, - "returnCount": 3, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 6, - "n2": 7, - "N1": 13, - "N2": 17, - "programLength": 30, - "programVocabulary": 13, - "volume": 111.01319154423277, - "difficulty": 7.285714285714285, - "effort": 808.810395536553, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::saveCacheData" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::sanitizeUtf8": { - "line": 234, - "lineCount": 25, - "argCount": 1, - "returnCount": 4, - "variableCount": 6, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 8, - "N1": 13, - "N2": 29, - "programLength": 42, - "programVocabulary": 11, - "volume": 145.29612798276648, - "difficulty": 5.4375, - "effort": 790.0476959062927, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::sanitizeUtf8" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::removeDirectory": { - "line": 260, - "lineCount": 23, - "argCount": 1, - "returnCount": 2, - "variableCount": 5, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 5, - "n2": 9, - "N1": 13, - "N2": 20, - "programLength": 33, - "programVocabulary": 14, - "volume": 125.64271242790093, - "difficulty": 5.555555555555555, - "effort": 698.0150690438941, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Cache\\FileCache::removeDirectory" - } - } - }, - "ignored_items": [], - "cached_at": 1759967601 -} \ No newline at end of file diff --git a/.phpcca.cache/f3/f39d176e14e300adf03e6ed5b029b843.cache b/.phpcca.cache/f3/f39d176e14e300adf03e6ed5b029b843.cache deleted file mode 100644 index 2652cb6..0000000 --- a/.phpcca.cache/f3/f39d176e14e300adf03e6ed5b029b843.cache +++ /dev/null @@ -1,1850 +0,0 @@ -{ - "version": "1.0", - "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/Business\/CodeCoverage\/CoverageReportReaderInterface.php", - "file_mtime": 1759784766, - "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", - "analysis_result": { - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct": { - "line": 60, - "lineCount": 5, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 1, - "N1": 2, - "N2": 2, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 2, - "effort": 12.679700005769249, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices": { - "line": 66, - "lineCount": 95, - "argCount": 0, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 5, - "N1": 58, - "N2": 32, - "programLength": 90, - "programVocabulary": 9, - "volume": 285.2932501298081, - "difficulty": 12.8, - "effort": 3651.7536016615436, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap": { - "line": 162, - "lineCount": 10, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 7, - "N2": 7, - "programLength": 14, - "programVocabulary": 2, - "volume": 14, - "difficulty": 3.5, - "effort": 49, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors": { - "line": 173, - "lineCount": 12, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 3, - "N2": 1, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0.5, - "effort": 2, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus": { - "line": 186, - "lineCount": 19, - "argCount": 0, - "returnCount": 0, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 9, - "N2": 13, - "programLength": 22, - "programVocabulary": 7, - "volume": 61.76180828526729, - "difficulty": 2.6, - "effort": 160.58070154169496, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService": { - "line": 206, - "lineCount": 9, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 3, - "N2": 1, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0.5, - "effort": 2, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade": { - "line": 216, - "lineCount": 13, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 3, - "N2": 1, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0.5, - "effort": 2, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands": { - "line": 230, - "lineCount": 21, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 6, - "N2": 2, - "programLength": 8, - "programVocabulary": 2, - "volume": 8, - "difficulty": 1, - "effort": 8, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication": { - "line": 252, - "lineCount": 11, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 5, - "N2": 4, - "programLength": 9, - "programVocabulary": 4, - "volume": 18, - "difficulty": 0.6666666666666666, - "effort": 12, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run": { - "line": 264, - "lineCount": 9, - "argCount": 0, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 5, - "N2": 5, - "programLength": 10, - "programVocabulary": 4, - "volume": 20, - "difficulty": 2.5, - "effort": 50, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get": { - "line": 274, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer": { - "line": 279, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator": { - "line": 289, - "lineCount": 16, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 7, - "programLength": 8, - "programVocabulary": 4, - "volume": 16, - "difficulty": 1.1666666666666667, - "effort": 18.666666666666668, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create": { - "line": 18, - "lineCount": 7, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 4, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile": { - "line": 17, - "lineCount": 17, - "argCount": 2, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 8, - "N1": 11, - "N2": 19, - "programLength": 30, - "programVocabulary": 11, - "volume": 103.78294855911892, - "difficulty": 3.5625, - "effort": 369.72675424186116, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode": { - "line": 42, - "lineCount": 8, - "argCount": 3, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 3, - "N2": 8, - "programLength": 11, - "programVocabulary": 8, - "volume": 33, - "difficulty": 2.4000000000000004, - "effort": 79.20000000000002, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate": { - "line": 22, - "lineCount": 10, - "argCount": 2, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 6, - "N2": 13, - "programLength": 19, - "programVocabulary": 6, - "volume": 49.11428751370197, - "difficulty": 3.25, - "effort": 159.6214344195314, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending": { - "line": 37, - "lineCount": 8, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 2, - "N2": 9, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 2.25, - "effort": 63.97782189284862, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn": { - "line": 51, - "lineCount": 24, - "argCount": 2, - "returnCount": 1, - "variableCount": 6, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 15, - "N1": 17, - "N2": 46, - "programLength": 63, - "programVocabulary": 20, - "volume": 272.28146997790384, - "difficulty": 7.666666666666667, - "effort": 2087.491269830596, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses": { - "line": 81, - "lineCount": 20, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 2, - "n2": 7, - "N1": 10, - "N2": 24, - "programLength": 34, - "programVocabulary": 9, - "volume": 107.7774500490386, - "difficulty": 3.4285714285714284, - "effort": 369.52268588241805, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass": { - "line": 109, - "lineCount": 9, - "argCount": 2, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 6, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 10, - "volume": 49.82892142331043, - "difficulty": 3.3333333333333335, - "effort": 166.09640474436813, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel": { - "line": 126, - "lineCount": 16, - "argCount": 2, - "returnCount": 4, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 12, - "N1": 9, - "N2": 18, - "programLength": 27, - "programVocabulary": 15, - "volume": 105.48604608143, - "difficulty": 2.25, - "effort": 237.3436036832175, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile": { - "line": 14, - "lineCount": 6, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 2, - "N2": 5, - "programLength": 7, - "programVocabulary": 4, - "volume": 14, - "difficulty": 2.5, - "effort": 35, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable": { - "line": 24, - "lineCount": 11, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 10, - "N2": 12, - "programLength": 22, - "programVocabulary": 8, - "volume": 66, - "difficulty": 6, - "effort": 396, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create": { - "line": 21, - "lineCount": 11, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 7, - "N1": 0, - "N2": 9, - "programLength": 9, - "programVocabulary": 7, - "volume": 25.26619429851844, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes": { - "line": 38, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 6, - "N1": 0, - "N2": 6, - "programLength": 6, - "programVocabulary": 6, - "volume": 15.509775004326936, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported": { - "line": 49, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 2, - "N2": 3, - "programLength": 5, - "programVocabulary": 4, - "volume": 10, - "difficulty": 1.5, - "effort": 15, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export": { - "line": 30, - "lineCount": 23, - "argCount": 2, - "returnCount": 0, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 16, - "N1": 10, - "N2": 33, - "programLength": 43, - "programVocabulary": 20, - "volume": 185.8429080801566, - "difficulty": 4.125, - "effort": 766.601995830646, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export": { - "line": 28, - "lineCount": 8, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 6, - "volume": 36.18947501009619, - "difficulty": 2.5, - "effort": 90.47368752524048, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape": { - "line": 37, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber": { - "line": 42, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml": { - "line": 52, - "lineCount": 50, - "argCount": 1, - "returnCount": 1, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 12, - "N1": 11, - "N2": 25, - "programLength": 36, - "programVocabulary": 17, - "volume": 147.14866228501222, - "difficulty": 5.208333333333334, - "effort": 766.3992827344388, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export": { - "line": 17, - "lineCount": 13, - "argCount": 2, - "returnCount": 0, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 8, - "N1": 7, - "N2": 14, - "programLength": 21, - "programVocabulary": 12, - "volume": 75.28421251514428, - "difficulty": 3.5, - "effort": 263.49474380300495, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export": { - "line": 48, - "lineCount": 8, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 6, - "volume": 36.18947501009619, - "difficulty": 2.5, - "effort": 90.47368752524048, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown": { - "line": 61, - "lineCount": 24, - "argCount": 1, - "returnCount": 1, - "variableCount": 6, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 6, - "n2": 16, - "N1": 19, - "N2": 41, - "programLength": 60, - "programVocabulary": 22, - "volume": 267.56589711823784, - "difficulty": 7.6875, - "effort": 2056.9128340964535, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow": { - "line": 94, - "lineCount": 21, - "argCount": 3, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 7, - "n2": 18, - "N1": 16, - "N2": 39, - "programLength": 55, - "programVocabulary": 25, - "volume": 255.41209043760983, - "difficulty": 7.583333333333333, - "effort": 1936.8750191518745, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::__construct": { - "line": 26, - "lineCount": 4, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::export": { - "line": 36, - "lineCount": 10, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 8, - "volume": 45, - "difficulty": 5, - "effort": 225, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::generateSvgTreemap": { - "line": 53, - "lineCount": 20, - "argCount": 1, - "returnCount": 1, - "variableCount": 6, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 8, - "N1": 9, - "N2": 20, - "programLength": 29, - "programVocabulary": 10, - "volume": 96.3359147517335, - "difficulty": 2.5, - "effort": 240.83978687933376, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::generateSvgTreemap" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRects": { - "line": 82, - "lineCount": 10, - "argCount": 3, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 9, - "N1": 6, - "N2": 18, - "programLength": 24, - "programVocabulary": 12, - "volume": 86.03910001730775, - "difficulty": 3, - "effort": 258.1173000519232, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRects" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRect": { - "line": 100, - "lineCount": 29, - "argCount": 2, - "returnCount": 1, - "variableCount": 12, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 6, - "n2": 28, - "N1": 26, - "N2": 54, - "programLength": 80, - "programVocabulary": 34, - "volume": 406.9970273000271, - "difficulty": 5.785714285714286, - "effort": 2354.7685150930142, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRect" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::wrapSvg": { - "line": 136, - "lineCount": 21, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 2, - "N2": 8, - "programLength": 10, - "programVocabulary": 4, - "volume": 20, - "difficulty": 1.3333333333333333, - "effort": 26.666666666666664, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::wrapSvg" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::prepareItems": { - "line": 28, - "lineCount": 18, - "argCount": 1, - "returnCount": 1, - "variableCount": 7, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 12, - "N1": 9, - "N2": 30, - "programLength": 39, - "programVocabulary": 17, - "volume": 159.41105080876324, - "difficulty": 6.25, - "effort": 996.3190675547702, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::prepareItems" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findScoreRange": { - "line": 53, - "lineCount": 16, - "argCount": 1, - "returnCount": 3, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 7, - "N2": 13, - "programLength": 20, - "programVocabulary": 8, - "volume": 60, - "difficulty": 3.9000000000000004, - "effort": 234.00000000000003, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findScoreRange" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::normalizeScore": { - "line": 78, - "lineCount": 8, - "argCount": 3, - "returnCount": 2, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 8, - "volume": 45, - "difficulty": 5, - "effort": 225, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::normalizeScore" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::scoreToColor": { - "line": 93, - "lineCount": 9, - "argCount": 1, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 5, - "n2": 9, - "N1": 12, - "N2": 16, - "programLength": 28, - "programVocabulary": 14, - "volume": 106.60593781761291, - "difficulty": 4.444444444444445, - "effort": 473.80416807827964, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::scoreToColor" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::calculateTreemapLayout": { - "line": 115, - "lineCount": 23, - "argCount": 7, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 9, - "N1": 2, - "N2": 18, - "programLength": 20, - "programVocabulary": 11, - "volume": 69.18863237274594, - "difficulty": 2, - "effort": 138.37726474549189, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::calculateTreemapLayout" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::layoutTreemap": { - "line": 152, - "lineCount": 89, - "argCount": 8, - "returnCount": 3, - "variableCount": 11, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 8, - "n2": 28, - "N1": 32, - "N2": 98, - "programLength": 130, - "programVocabulary": 36, - "volume": 672.0902501875006, - "difficulty": 14, - "effort": 9409.263502625008, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::layoutTreemap" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findSplitIndex": { - "line": 249, - "lineCount": 13, - "argCount": 2, - "returnCount": 2, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 7, - "n2": 10, - "N1": 9, - "N2": 23, - "programLength": 32, - "programVocabulary": 17, - "volume": 130.79881092001085, - "difficulty": 8.049999999999999, - "effort": 1052.9304279060873, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findSplitIndex" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::__construct": { - "line": 23, - "lineCount": 18, - "argCount": 1, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 7, - "N2": 11, - "programLength": 18, - "programVocabulary": 6, - "volume": 46.529325012980806, - "difficulty": 5.5, - "effort": 255.91128757139444, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::getAllClasses": { - "line": 47, - "lineCount": 17, - "argCount": 0, - "returnCount": 2, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 6, - "N2": 12, - "programLength": 18, - "programVocabulary": 9, - "volume": 57.05865002596162, - "difficulty": 3, - "effort": 171.17595007788486, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::getAllClasses" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::withClassNode": { - "line": 73, - "lineCount": 8, - "argCount": 2, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 4, - "N2": 8, - "programLength": 12, - "programVocabulary": 8, - "volume": 36, - "difficulty": 4, - "effort": 144, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::withClassNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::findClassNode": { - "line": 85, - "lineCount": 25, - "argCount": 1, - "returnCount": 4, - "variableCount": 5, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 13, - "N2": 29, - "programLength": 42, - "programVocabulary": 11, - "volume": 145.29612798276648, - "difficulty": 8.285714285714286, - "effort": 1203.8822032857795, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::findClassNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::escapeXPathValue": { - "line": 114, - "lineCount": 16, - "argCount": 1, - "returnCount": 3, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 9, - "N1": 11, - "N2": 18, - "programLength": 29, - "programVocabulary": 13, - "volume": 107.31275182609167, - "difficulty": 4, - "effort": 429.2510073043667, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::escapeXPathValue" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getLineCoverage": { - "line": 22, - "lineCount": 18, - "argCount": 1, - "returnCount": 4, - "variableCount": 5, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 9, - "N1": 10, - "N2": 19, - "programLength": 29, - "programVocabulary": 13, - "volume": 107.31275182609167, - "difficulty": 4.222222222222222, - "effort": 453.09828548794263, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getLineCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getBranchCoverage": { - "line": 48, - "lineCount": 18, - "argCount": 1, - "returnCount": 4, - "variableCount": 5, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 9, - "N1": 10, - "N2": 19, - "programLength": 29, - "programVocabulary": 13, - "volume": 107.31275182609167, - "difficulty": 4.222222222222222, - "effort": 453.09828548794263, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getBranchCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getComplexity": { - "line": 73, - "lineCount": 13, - "argCount": 1, - "returnCount": 3, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 7, - "N2": 14, - "programLength": 21, - "programVocabulary": 11, - "volume": 72.64806399138324, - "difficulty": 4, - "effort": 290.59225596553296, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getComplexity" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getCoverageDetails": { - "line": 93, - "lineCount": 26, - "argCount": 1, - "returnCount": 3, - "variableCount": 9, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 17, - "N1": 22, - "N2": 42, - "programLength": 64, - "programVocabulary": 22, - "volume": 285.403623592787, - "difficulty": 6.176470588235294, - "effort": 1762.7870868966259, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getCoverageDetails" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getMetricsNode": { - "line": 123, - "lineCount": 12, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 6, - "N1": 7, - "N2": 13, - "programLength": 20, - "programVocabulary": 10, - "volume": 66.43856189774725, - "difficulty": 4.333333333333333, - "effort": 287.90043489023805, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getMetricsNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getFilenameForClass": { - "line": 139, - "lineCount": 9, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 5, - "N1": 4, - "N2": 9, - "programLength": 13, - "programVocabulary": 9, - "volume": 41.209025018750054, - "difficulty": 3.6, - "effort": 148.3524900675002, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getFilenameForClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodsCoverage": { - "line": 154, - "lineCount": 36, - "argCount": 1, - "returnCount": 3, - "variableCount": 8, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 13, - "N1": 12, - "N2": 30, - "programLength": 42, - "programVocabulary": 16, - "volume": 168, - "difficulty": 3.4615384615384612, - "effort": 581.5384615384614, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodsCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::calculateMethodCoverage": { - "line": 194, - "lineCount": 15, - "argCount": 2, - "returnCount": 2, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 11, - "N1": 9, - "N2": 23, - "programLength": 32, - "programVocabulary": 16, - "volume": 128, - "difficulty": 5.227272727272727, - "effort": 669.090909090909, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::calculateMethodCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodCoverageFromLines": { - "line": 215, - "lineCount": 36, - "argCount": 2, - "returnCount": 1, - "variableCount": 7, - "propertyCallCount": 0, - "ifNestingLevel": 2, - "elseCount": 0, - "ifCount": 5, - "halstead": { - "n1": 2, - "n2": 14, - "N1": 12, - "N2": 35, - "programLength": 47, - "programVocabulary": 16, - "volume": 188, - "difficulty": 2.5, - "effort": 470, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodCoverageFromLines" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStart": { - "line": 252, - "lineCount": 4, - "argCount": 3, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 3, - "N2": 7, - "programLength": 10, - "programVocabulary": 6, - "volume": 25.84962500721156, - "difficulty": 1.75, - "effort": 45.23684376262023, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStart" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodEnd": { - "line": 257, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 5, - "programLength": 7, - "programVocabulary": 5, - "volume": 16.253496664211536, - "difficulty": 1.6666666666666667, - "effort": 27.089161107019226, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodEnd" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStatement": { - "line": 262, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 5, - "programLength": 7, - "programVocabulary": 5, - "volume": 16.253496664211536, - "difficulty": 1.6666666666666667, - "effort": 27.089161107019226, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStatement" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isStatementCovered": { - "line": 267, - "lineCount": 5, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 4, - "N1": 3, - "N2": 6, - "programLength": 9, - "programVocabulary": 7, - "volume": 25.26619429851844, - "difficulty": 2.25, - "effort": 56.848937171666485, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isStatementCovered" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getLineCoverage": { - "line": 20, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 9, - "volume": 44.37895002019237, - "difficulty": 2.5, - "effort": 110.94737505048093, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getLineCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getBranchCoverage": { - "line": 34, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 9, - "volume": 44.37895002019237, - "difficulty": 2.5, - "effort": 110.94737505048093, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getBranchCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getComplexity": { - "line": 48, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 9, - "volume": 44.37895002019237, - "difficulty": 2.5, - "effort": 110.94737505048093, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getComplexity" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getCoverageDetails": { - "line": 62, - "lineCount": 13, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 8, - "N1": 7, - "N2": 16, - "programLength": 23, - "programVocabulary": 9, - "volume": 72.90827503317318, - "difficulty": 1, - "effort": 72.90827503317318, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getCoverageDetails" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::extractMethodsCoverage": { - "line": 81, - "lineCount": 23, - "argCount": 1, - "returnCount": 2, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 11, - "N1": 10, - "N2": 23, - "programLength": 33, - "programVocabulary": 14, - "volume": 125.64271242790093, - "difficulty": 3.1363636363636362, - "effort": 394.061234432962, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::extractMethodsCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CodeCoverageFactory::createFromName": { - "line": 14, - "lineCount": 8, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 4, - "N1": 1, - "N2": 8, - "programLength": 9, - "programVocabulary": 5, - "volume": 20.89735285398626, - "difficulty": 1, - "effort": 20.89735285398626, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CodeCoverageFactory::createFromName" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::__construct": { - "line": 28, - "lineCount": 15, - "argCount": 6, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 6, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 7, - "N1": 6, - "N2": 18, - "programLength": 24, - "programVocabulary": 8, - "volume": 72, - "difficulty": 1.2857142857142858, - "effort": 92.57142857142858, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getName": { - "line": 44, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getName" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getFilename": { - "line": 49, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getFilename" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getLineRate": { - "line": 54, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getLineRate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getBranchRate": { - "line": 59, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getBranchRate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getComplexity": { - "line": 64, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getComplexity" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getMethods": { - "line": 72, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getMethods" - } - } - }, - "ignored_items": [], - "cached_at": 1759967600 -} \ No newline at end of file diff --git a/.phpcca.cache/f5/f51d5eb63d52fe9ec7559800ffee29a1.cache b/.phpcca.cache/f5/f51d5eb63d52fe9ec7559800ffee29a1.cache deleted file mode 100644 index cb48a78..0000000 --- a/.phpcca.cache/f5/f51d5eb63d52fe9ec7559800ffee29a1.cache +++ /dev/null @@ -1,332 +0,0 @@ -{ - "version": "1.0", - "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/Business\/Churn\/ChangeCounter\/ChangeCounterInterface.php", - "file_mtime": 1759784766, - "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", - "analysis_result": { - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct": { - "line": 60, - "lineCount": 5, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 1, - "N1": 2, - "N2": 2, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 2, - "effort": 12.679700005769249, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices": { - "line": 66, - "lineCount": 95, - "argCount": 0, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 5, - "N1": 58, - "N2": 32, - "programLength": 90, - "programVocabulary": 9, - "volume": 285.2932501298081, - "difficulty": 12.8, - "effort": 3651.7536016615436, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap": { - "line": 162, - "lineCount": 10, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 7, - "N2": 7, - "programLength": 14, - "programVocabulary": 2, - "volume": 14, - "difficulty": 3.5, - "effort": 49, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors": { - "line": 173, - "lineCount": 12, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 3, - "N2": 1, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0.5, - "effort": 2, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus": { - "line": 186, - "lineCount": 19, - "argCount": 0, - "returnCount": 0, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 9, - "N2": 13, - "programLength": 22, - "programVocabulary": 7, - "volume": 61.76180828526729, - "difficulty": 2.6, - "effort": 160.58070154169496, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService": { - "line": 206, - "lineCount": 9, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 3, - "N2": 1, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0.5, - "effort": 2, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade": { - "line": 216, - "lineCount": 13, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 3, - "N2": 1, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0.5, - "effort": 2, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands": { - "line": 230, - "lineCount": 21, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 6, - "N2": 2, - "programLength": 8, - "programVocabulary": 2, - "volume": 8, - "difficulty": 1, - "effort": 8, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication": { - "line": 252, - "lineCount": 11, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 5, - "N2": 4, - "programLength": 9, - "programVocabulary": 4, - "volume": 18, - "difficulty": 0.6666666666666666, - "effort": 12, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run": { - "line": 264, - "lineCount": 9, - "argCount": 0, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 5, - "N2": 5, - "programLength": 10, - "programVocabulary": 4, - "volume": 20, - "difficulty": 2.5, - "effort": 50, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get": { - "line": 274, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer": { - "line": 279, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator": { - "line": 289, - "lineCount": 16, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 7, - "programLength": 8, - "programVocabulary": 4, - "volume": 16, - "difficulty": 1.1666666666666667, - "effort": 18.666666666666668, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create": { - "line": 18, - "lineCount": 7, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 4, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create" - } - } - }, - "ignored_items": [], - "cached_at": 1759967600 -} \ No newline at end of file diff --git a/.phpcca.cache/f5/f5d2d5e78dfa6ae4dc86216e6fc427fc.cache b/.phpcca.cache/f5/f5d2d5e78dfa6ae4dc86216e6fc427fc.cache deleted file mode 100644 index c254139..0000000 --- a/.phpcca.cache/f5/f5d2d5e78dfa6ae4dc86216e6fc427fc.cache +++ /dev/null @@ -1,361 +0,0 @@ -{ - "version": "1.0", - "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/Application.php", - "file_mtime": 1759964701, - "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", - "analysis_result": { - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct": { - "line": 60, - "lineCount": 5, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 2, - "n2": 1, - "N1": 2, - "N2": 2, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 2, - "effort": 12.679700005769249, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices": { - "line": 66, - "lineCount": 95, - "argCount": 0, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 3, - "risk_level": "low" - }, - "halstead": { - "n1": 4, - "n2": 5, - "N1": 58, - "N2": 32, - "programLength": 90, - "programVocabulary": 9, - "volume": 285.2932501298081, - "difficulty": 12.8, - "effort": 3651.7536016615436, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap": { - "line": 162, - "lineCount": 10, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 7, - "N2": 7, - "programLength": 14, - "programVocabulary": 2, - "volume": 14, - "difficulty": 3.5, - "effort": 49, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors": { - "line": 173, - "lineCount": 12, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 3, - "N2": 1, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0.5, - "effort": 2, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus": { - "line": 186, - "lineCount": 19, - "argCount": 0, - "returnCount": 0, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 9, - "N2": 13, - "programLength": 22, - "programVocabulary": 7, - "volume": 61.76180828526729, - "difficulty": 2.6, - "effort": 160.58070154169496, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService": { - "line": 206, - "lineCount": 9, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 3, - "N2": 1, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0.5, - "effort": 2, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade": { - "line": 216, - "lineCount": 13, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 3, - "N2": 1, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0.5, - "effort": 2, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands": { - "line": 230, - "lineCount": 21, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 6, - "N2": 2, - "programLength": 8, - "programVocabulary": 2, - "volume": 8, - "difficulty": 1, - "effort": 8, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication": { - "line": 252, - "lineCount": 11, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 5, - "N2": 4, - "programLength": 9, - "programVocabulary": 4, - "volume": 18, - "difficulty": 0.6666666666666666, - "effort": 12, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run": { - "line": 264, - "lineCount": 9, - "argCount": 0, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 5, - "N2": 5, - "programLength": 10, - "programVocabulary": 4, - "volume": 20, - "difficulty": 2.5, - "effort": 50, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get": { - "line": 274, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer": { - "line": 279, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator": { - "line": 289, - "lineCount": 16, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 7, - "programLength": 8, - "programVocabulary": 4, - "volume": 16, - "difficulty": 1.1666666666666667, - "effort": 18.666666666666668, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator" - } - } - }, - "ignored_items": [], - "cached_at": 1759967600 -} \ No newline at end of file diff --git a/.phpcca.cache/f8/f807666f237cad663bd765d05880b44b.cache b/.phpcca.cache/f8/f807666f237cad663bd765d05880b44b.cache deleted file mode 100644 index 35b6813..0000000 --- a/.phpcca.cache/f8/f807666f237cad663bd765d05880b44b.cache +++ /dev/null @@ -1,5787 +0,0 @@ -{ - "version": "1.0", - "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/Business\/Utility\/Datetime.php", - "file_mtime": 1752612112, - "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", - "analysis_result": { - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct": { - "line": 60, - "lineCount": 5, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 1, - "N1": 2, - "N2": 2, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 2, - "effort": 12.679700005769249, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices": { - "line": 66, - "lineCount": 95, - "argCount": 0, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 5, - "N1": 58, - "N2": 32, - "programLength": 90, - "programVocabulary": 9, - "volume": 285.2932501298081, - "difficulty": 12.8, - "effort": 3651.7536016615436, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap": { - "line": 162, - "lineCount": 10, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 7, - "N2": 7, - "programLength": 14, - "programVocabulary": 2, - "volume": 14, - "difficulty": 3.5, - "effort": 49, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors": { - "line": 173, - "lineCount": 12, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 3, - "N2": 1, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0.5, - "effort": 2, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus": { - "line": 186, - "lineCount": 19, - "argCount": 0, - "returnCount": 0, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 9, - "N2": 13, - "programLength": 22, - "programVocabulary": 7, - "volume": 61.76180828526729, - "difficulty": 2.6, - "effort": 160.58070154169496, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService": { - "line": 206, - "lineCount": 9, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 3, - "N2": 1, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0.5, - "effort": 2, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade": { - "line": 216, - "lineCount": 13, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 3, - "N2": 1, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0.5, - "effort": 2, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands": { - "line": 230, - "lineCount": 21, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 6, - "N2": 2, - "programLength": 8, - "programVocabulary": 2, - "volume": 8, - "difficulty": 1, - "effort": 8, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication": { - "line": 252, - "lineCount": 11, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 5, - "N2": 4, - "programLength": 9, - "programVocabulary": 4, - "volume": 18, - "difficulty": 0.6666666666666666, - "effort": 12, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run": { - "line": 264, - "lineCount": 9, - "argCount": 0, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 5, - "N2": 5, - "programLength": 10, - "programVocabulary": 4, - "volume": 20, - "difficulty": 2.5, - "effort": 50, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get": { - "line": 274, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer": { - "line": 279, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator": { - "line": 289, - "lineCount": 16, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 7, - "programLength": 8, - "programVocabulary": 4, - "volume": 16, - "difficulty": 1.1666666666666667, - "effort": 18.666666666666668, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create": { - "line": 18, - "lineCount": 7, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 4, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile": { - "line": 17, - "lineCount": 17, - "argCount": 2, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 8, - "N1": 11, - "N2": 19, - "programLength": 30, - "programVocabulary": 11, - "volume": 103.78294855911892, - "difficulty": 3.5625, - "effort": 369.72675424186116, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode": { - "line": 42, - "lineCount": 8, - "argCount": 3, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 3, - "N2": 8, - "programLength": 11, - "programVocabulary": 8, - "volume": 33, - "difficulty": 2.4000000000000004, - "effort": 79.20000000000002, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate": { - "line": 22, - "lineCount": 10, - "argCount": 2, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 6, - "N2": 13, - "programLength": 19, - "programVocabulary": 6, - "volume": 49.11428751370197, - "difficulty": 3.25, - "effort": 159.6214344195314, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending": { - "line": 37, - "lineCount": 8, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 2, - "N2": 9, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 2.25, - "effort": 63.97782189284862, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn": { - "line": 51, - "lineCount": 24, - "argCount": 2, - "returnCount": 1, - "variableCount": 6, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 15, - "N1": 17, - "N2": 46, - "programLength": 63, - "programVocabulary": 20, - "volume": 272.28146997790384, - "difficulty": 7.666666666666667, - "effort": 2087.491269830596, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses": { - "line": 81, - "lineCount": 20, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 2, - "n2": 7, - "N1": 10, - "N2": 24, - "programLength": 34, - "programVocabulary": 9, - "volume": 107.7774500490386, - "difficulty": 3.4285714285714284, - "effort": 369.52268588241805, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass": { - "line": 109, - "lineCount": 9, - "argCount": 2, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 6, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 10, - "volume": 49.82892142331043, - "difficulty": 3.3333333333333335, - "effort": 166.09640474436813, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel": { - "line": 126, - "lineCount": 16, - "argCount": 2, - "returnCount": 4, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 12, - "N1": 9, - "N2": 18, - "programLength": 27, - "programVocabulary": 15, - "volume": 105.48604608143, - "difficulty": 2.25, - "effort": 237.3436036832175, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile": { - "line": 14, - "lineCount": 6, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 2, - "N2": 5, - "programLength": 7, - "programVocabulary": 4, - "volume": 14, - "difficulty": 2.5, - "effort": 35, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable": { - "line": 24, - "lineCount": 11, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 10, - "N2": 12, - "programLength": 22, - "programVocabulary": 8, - "volume": 66, - "difficulty": 6, - "effort": 396, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create": { - "line": 21, - "lineCount": 11, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 7, - "N1": 0, - "N2": 9, - "programLength": 9, - "programVocabulary": 7, - "volume": 25.26619429851844, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes": { - "line": 38, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 6, - "N1": 0, - "N2": 6, - "programLength": 6, - "programVocabulary": 6, - "volume": 15.509775004326936, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported": { - "line": 49, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 2, - "N2": 3, - "programLength": 5, - "programVocabulary": 4, - "volume": 10, - "difficulty": 1.5, - "effort": 15, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export": { - "line": 30, - "lineCount": 23, - "argCount": 2, - "returnCount": 0, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 16, - "N1": 10, - "N2": 33, - "programLength": 43, - "programVocabulary": 20, - "volume": 185.8429080801566, - "difficulty": 4.125, - "effort": 766.601995830646, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export": { - "line": 28, - "lineCount": 8, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 6, - "volume": 36.18947501009619, - "difficulty": 2.5, - "effort": 90.47368752524048, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape": { - "line": 37, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber": { - "line": 42, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml": { - "line": 52, - "lineCount": 50, - "argCount": 1, - "returnCount": 1, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 12, - "N1": 11, - "N2": 25, - "programLength": 36, - "programVocabulary": 17, - "volume": 147.14866228501222, - "difficulty": 5.208333333333334, - "effort": 766.3992827344388, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export": { - "line": 17, - "lineCount": 13, - "argCount": 2, - "returnCount": 0, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 8, - "N1": 7, - "N2": 14, - "programLength": 21, - "programVocabulary": 12, - "volume": 75.28421251514428, - "difficulty": 3.5, - "effort": 263.49474380300495, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export": { - "line": 48, - "lineCount": 8, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 6, - "volume": 36.18947501009619, - "difficulty": 2.5, - "effort": 90.47368752524048, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown": { - "line": 61, - "lineCount": 24, - "argCount": 1, - "returnCount": 1, - "variableCount": 6, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 6, - "n2": 16, - "N1": 19, - "N2": 41, - "programLength": 60, - "programVocabulary": 22, - "volume": 267.56589711823784, - "difficulty": 7.6875, - "effort": 2056.9128340964535, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow": { - "line": 94, - "lineCount": 21, - "argCount": 3, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 7, - "n2": 18, - "N1": 16, - "N2": 39, - "programLength": 55, - "programVocabulary": 25, - "volume": 255.41209043760983, - "difficulty": 7.583333333333333, - "effort": 1936.8750191518745, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::__construct": { - "line": 26, - "lineCount": 4, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::export": { - "line": 36, - "lineCount": 10, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 8, - "volume": 45, - "difficulty": 5, - "effort": 225, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::generateSvgTreemap": { - "line": 53, - "lineCount": 20, - "argCount": 1, - "returnCount": 1, - "variableCount": 6, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 8, - "N1": 9, - "N2": 20, - "programLength": 29, - "programVocabulary": 10, - "volume": 96.3359147517335, - "difficulty": 2.5, - "effort": 240.83978687933376, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::generateSvgTreemap" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRects": { - "line": 82, - "lineCount": 10, - "argCount": 3, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 9, - "N1": 6, - "N2": 18, - "programLength": 24, - "programVocabulary": 12, - "volume": 86.03910001730775, - "difficulty": 3, - "effort": 258.1173000519232, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRects" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRect": { - "line": 100, - "lineCount": 29, - "argCount": 2, - "returnCount": 1, - "variableCount": 12, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 6, - "n2": 28, - "N1": 26, - "N2": 54, - "programLength": 80, - "programVocabulary": 34, - "volume": 406.9970273000271, - "difficulty": 5.785714285714286, - "effort": 2354.7685150930142, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRect" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::wrapSvg": { - "line": 136, - "lineCount": 21, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 2, - "N2": 8, - "programLength": 10, - "programVocabulary": 4, - "volume": 20, - "difficulty": 1.3333333333333333, - "effort": 26.666666666666664, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::wrapSvg" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::prepareItems": { - "line": 28, - "lineCount": 18, - "argCount": 1, - "returnCount": 1, - "variableCount": 7, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 12, - "N1": 9, - "N2": 30, - "programLength": 39, - "programVocabulary": 17, - "volume": 159.41105080876324, - "difficulty": 6.25, - "effort": 996.3190675547702, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::prepareItems" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findScoreRange": { - "line": 53, - "lineCount": 16, - "argCount": 1, - "returnCount": 3, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 7, - "N2": 13, - "programLength": 20, - "programVocabulary": 8, - "volume": 60, - "difficulty": 3.9000000000000004, - "effort": 234.00000000000003, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findScoreRange" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::normalizeScore": { - "line": 78, - "lineCount": 8, - "argCount": 3, - "returnCount": 2, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 8, - "volume": 45, - "difficulty": 5, - "effort": 225, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::normalizeScore" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::scoreToColor": { - "line": 93, - "lineCount": 9, - "argCount": 1, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 5, - "n2": 9, - "N1": 12, - "N2": 16, - "programLength": 28, - "programVocabulary": 14, - "volume": 106.60593781761291, - "difficulty": 4.444444444444445, - "effort": 473.80416807827964, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::scoreToColor" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::calculateTreemapLayout": { - "line": 115, - "lineCount": 23, - "argCount": 7, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 9, - "N1": 2, - "N2": 18, - "programLength": 20, - "programVocabulary": 11, - "volume": 69.18863237274594, - "difficulty": 2, - "effort": 138.37726474549189, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::calculateTreemapLayout" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::layoutTreemap": { - "line": 152, - "lineCount": 89, - "argCount": 8, - "returnCount": 3, - "variableCount": 11, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 8, - "n2": 28, - "N1": 32, - "N2": 98, - "programLength": 130, - "programVocabulary": 36, - "volume": 672.0902501875006, - "difficulty": 14, - "effort": 9409.263502625008, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::layoutTreemap" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findSplitIndex": { - "line": 249, - "lineCount": 13, - "argCount": 2, - "returnCount": 2, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 7, - "n2": 10, - "N1": 9, - "N2": 23, - "programLength": 32, - "programVocabulary": 17, - "volume": 130.79881092001085, - "difficulty": 8.049999999999999, - "effort": 1052.9304279060873, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findSplitIndex" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::__construct": { - "line": 23, - "lineCount": 18, - "argCount": 1, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 7, - "N2": 11, - "programLength": 18, - "programVocabulary": 6, - "volume": 46.529325012980806, - "difficulty": 5.5, - "effort": 255.91128757139444, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::getAllClasses": { - "line": 47, - "lineCount": 17, - "argCount": 0, - "returnCount": 2, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 6, - "N2": 12, - "programLength": 18, - "programVocabulary": 9, - "volume": 57.05865002596162, - "difficulty": 3, - "effort": 171.17595007788486, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::getAllClasses" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::withClassNode": { - "line": 73, - "lineCount": 8, - "argCount": 2, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 4, - "N2": 8, - "programLength": 12, - "programVocabulary": 8, - "volume": 36, - "difficulty": 4, - "effort": 144, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::withClassNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::findClassNode": { - "line": 85, - "lineCount": 25, - "argCount": 1, - "returnCount": 4, - "variableCount": 5, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 13, - "N2": 29, - "programLength": 42, - "programVocabulary": 11, - "volume": 145.29612798276648, - "difficulty": 8.285714285714286, - "effort": 1203.8822032857795, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::findClassNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::escapeXPathValue": { - "line": 114, - "lineCount": 16, - "argCount": 1, - "returnCount": 3, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 9, - "N1": 11, - "N2": 18, - "programLength": 29, - "programVocabulary": 13, - "volume": 107.31275182609167, - "difficulty": 4, - "effort": 429.2510073043667, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::escapeXPathValue" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getLineCoverage": { - "line": 22, - "lineCount": 18, - "argCount": 1, - "returnCount": 4, - "variableCount": 5, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 9, - "N1": 10, - "N2": 19, - "programLength": 29, - "programVocabulary": 13, - "volume": 107.31275182609167, - "difficulty": 4.222222222222222, - "effort": 453.09828548794263, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getLineCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getBranchCoverage": { - "line": 48, - "lineCount": 18, - "argCount": 1, - "returnCount": 4, - "variableCount": 5, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 9, - "N1": 10, - "N2": 19, - "programLength": 29, - "programVocabulary": 13, - "volume": 107.31275182609167, - "difficulty": 4.222222222222222, - "effort": 453.09828548794263, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getBranchCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getComplexity": { - "line": 73, - "lineCount": 13, - "argCount": 1, - "returnCount": 3, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 7, - "N2": 14, - "programLength": 21, - "programVocabulary": 11, - "volume": 72.64806399138324, - "difficulty": 4, - "effort": 290.59225596553296, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getComplexity" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getCoverageDetails": { - "line": 93, - "lineCount": 26, - "argCount": 1, - "returnCount": 3, - "variableCount": 9, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 17, - "N1": 22, - "N2": 42, - "programLength": 64, - "programVocabulary": 22, - "volume": 285.403623592787, - "difficulty": 6.176470588235294, - "effort": 1762.7870868966259, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getCoverageDetails" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getMetricsNode": { - "line": 123, - "lineCount": 12, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 6, - "N1": 7, - "N2": 13, - "programLength": 20, - "programVocabulary": 10, - "volume": 66.43856189774725, - "difficulty": 4.333333333333333, - "effort": 287.90043489023805, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getMetricsNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getFilenameForClass": { - "line": 139, - "lineCount": 9, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 5, - "N1": 4, - "N2": 9, - "programLength": 13, - "programVocabulary": 9, - "volume": 41.209025018750054, - "difficulty": 3.6, - "effort": 148.3524900675002, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getFilenameForClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodsCoverage": { - "line": 154, - "lineCount": 36, - "argCount": 1, - "returnCount": 3, - "variableCount": 8, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 13, - "N1": 12, - "N2": 30, - "programLength": 42, - "programVocabulary": 16, - "volume": 168, - "difficulty": 3.4615384615384612, - "effort": 581.5384615384614, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodsCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::calculateMethodCoverage": { - "line": 194, - "lineCount": 15, - "argCount": 2, - "returnCount": 2, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 11, - "N1": 9, - "N2": 23, - "programLength": 32, - "programVocabulary": 16, - "volume": 128, - "difficulty": 5.227272727272727, - "effort": 669.090909090909, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::calculateMethodCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodCoverageFromLines": { - "line": 215, - "lineCount": 36, - "argCount": 2, - "returnCount": 1, - "variableCount": 7, - "propertyCallCount": 0, - "ifNestingLevel": 2, - "elseCount": 0, - "ifCount": 5, - "halstead": { - "n1": 2, - "n2": 14, - "N1": 12, - "N2": 35, - "programLength": 47, - "programVocabulary": 16, - "volume": 188, - "difficulty": 2.5, - "effort": 470, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodCoverageFromLines" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStart": { - "line": 252, - "lineCount": 4, - "argCount": 3, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 3, - "N2": 7, - "programLength": 10, - "programVocabulary": 6, - "volume": 25.84962500721156, - "difficulty": 1.75, - "effort": 45.23684376262023, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStart" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodEnd": { - "line": 257, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 5, - "programLength": 7, - "programVocabulary": 5, - "volume": 16.253496664211536, - "difficulty": 1.6666666666666667, - "effort": 27.089161107019226, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodEnd" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStatement": { - "line": 262, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 5, - "programLength": 7, - "programVocabulary": 5, - "volume": 16.253496664211536, - "difficulty": 1.6666666666666667, - "effort": 27.089161107019226, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStatement" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isStatementCovered": { - "line": 267, - "lineCount": 5, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 4, - "N1": 3, - "N2": 6, - "programLength": 9, - "programVocabulary": 7, - "volume": 25.26619429851844, - "difficulty": 2.25, - "effort": 56.848937171666485, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isStatementCovered" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getLineCoverage": { - "line": 20, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 9, - "volume": 44.37895002019237, - "difficulty": 2.5, - "effort": 110.94737505048093, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getLineCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getBranchCoverage": { - "line": 34, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 9, - "volume": 44.37895002019237, - "difficulty": 2.5, - "effort": 110.94737505048093, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getBranchCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getComplexity": { - "line": 48, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 9, - "volume": 44.37895002019237, - "difficulty": 2.5, - "effort": 110.94737505048093, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getComplexity" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getCoverageDetails": { - "line": 62, - "lineCount": 13, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 8, - "N1": 7, - "N2": 16, - "programLength": 23, - "programVocabulary": 9, - "volume": 72.90827503317318, - "difficulty": 1, - "effort": 72.90827503317318, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getCoverageDetails" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::extractMethodsCoverage": { - "line": 81, - "lineCount": 23, - "argCount": 1, - "returnCount": 2, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 11, - "N1": 10, - "N2": 23, - "programLength": 33, - "programVocabulary": 14, - "volume": 125.64271242790093, - "difficulty": 3.1363636363636362, - "effort": 394.061234432962, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::extractMethodsCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CodeCoverageFactory::createFromName": { - "line": 14, - "lineCount": 8, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 4, - "N1": 1, - "N2": 8, - "programLength": 9, - "programVocabulary": 5, - "volume": 20.89735285398626, - "difficulty": 1, - "effort": 20.89735285398626, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CodeCoverageFactory::createFromName" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::__construct": { - "line": 28, - "lineCount": 15, - "argCount": 6, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 6, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 7, - "N1": 6, - "N2": 18, - "programLength": 24, - "programVocabulary": 8, - "volume": 72, - "difficulty": 1.2857142857142858, - "effort": 92.57142857142858, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getName": { - "line": 44, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getName" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getFilename": { - "line": 49, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getFilename" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getLineRate": { - "line": 54, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getLineRate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getBranchRate": { - "line": 59, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getBranchRate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getComplexity": { - "line": 64, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getComplexity" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getMethods": { - "line": 72, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getMethods" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::__construct": { - "line": 17, - "lineCount": 11, - "argCount": 4, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 4, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 5, - "N1": 4, - "N2": 12, - "programLength": 16, - "programVocabulary": 6, - "volume": 41.3594000115385, - "difficulty": 1.2, - "effort": 49.631280013846194, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getName": { - "line": 29, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getName" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getLineRate": { - "line": 34, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getLineRate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getBranchRate": { - "line": 39, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getBranchRate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getComplexity": { - "line": 44, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getComplexity" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::calculateDeltas": { - "line": 19, - "lineCount": 14, - "argCount": 2, - "returnCount": 0, - "variableCount": 6, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 9, - "N1": 4, - "N2": 18, - "programLength": 22, - "programVocabulary": 11, - "volume": 76.10749561002054, - "difficulty": 2, - "effort": 152.21499122004107, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::calculateDeltas" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::loadBaseline": { - "line": 41, - "lineCount": 13, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 5, - "N2": 9, - "programLength": 14, - "programVocabulary": 8, - "volume": 42, - "difficulty": 2.7, - "effort": 113.4, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::loadBaseline" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::__construct": { - "line": 72, - "lineCount": 21, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 6, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 9, - "N1": 12, - "N2": 34, - "programLength": 46, - "programVocabulary": 12, - "volume": 164.90827503317317, - "difficulty": 5.666666666666666, - "effort": 934.4802251879812, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setRequiredMetricProperties": { - "line": 98, - "lineCount": 30, - "argCount": 1, - "returnCount": 0, - "variableCount": 6, - "propertyCallCount": 9, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 21, - "N1": 21, - "N2": 51, - "programLength": 72, - "programVocabulary": 24, - "volume": 330.1173000519232, - "difficulty": 3.6428571428571423, - "effort": 1202.570164474863, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setRequiredMetricProperties" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setOptionalMetricProperties": { - "line": 133, - "lineCount": 12, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 8, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 11, - "N1": 16, - "N2": 33, - "programLength": 49, - "programVocabulary": 13, - "volume": 181.32154618891352, - "difficulty": 3, - "effort": 543.9646385667405, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setOptionalMetricProperties" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setTimesChanged": { - "line": 146, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setTimesChanged" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertSame": { - "line": 151, - "lineCount": 14, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 6, - "N2": 8, - "programLength": 14, - "programVocabulary": 5, - "volume": 32.50699332842307, - "difficulty": 2.6666666666666665, - "effort": 86.68531554246152, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertSame" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::calculateDeltas": { - "line": 169, - "lineCount": 13, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 16, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 17, - "N2": 27, - "programLength": 44, - "programVocabulary": 4, - "volume": 88, - "difficulty": 13.5, - "effort": 1188, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::calculateDeltas" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::fromArray": { - "line": 187, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::fromArray" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertArrayKeyIsPresent": { - "line": 197, - "lineCount": 6, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 5, - "programLength": 5, - "programVocabulary": 2, - "volume": 5, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertArrayKeyIsPresent" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getClass": { - "line": 204, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getMethod": { - "line": 209, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getMethod" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCount": { - "line": 214, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCount": { - "line": 219, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCount": { - "line": 224, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCount": { - "line": 229, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCount": { - "line": 234, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCount": { - "line": 239, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevel": { - "line": 244, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevel" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCount": { - "line": 249, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeight": { - "line": 254, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setLineCountWeight": { - "line": 259, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setLineCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeight": { - "line": 264, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setArgCountWeight": { - "line": 269, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setArgCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeight": { - "line": 274, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setReturnCountWeight": { - "line": 279, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setReturnCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeight": { - "line": 284, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setVariableCountWeight": { - "line": 289, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setVariableCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeight": { - "line": 294, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setPropertyCallCountWeight": { - "line": 299, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setPropertyCallCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeight": { - "line": 304, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfCountWeight": { - "line": 309, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeight": { - "line": 314, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfNestingLevelWeight": { - "line": 319, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfNestingLevelWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeight": { - "line": 324, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setElseCountWeight": { - "line": 329, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setElseCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setScore": { - "line": 334, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setScore" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getScore": { - "line": 339, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getScore" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setCoverage": { - "line": 344, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCoverage": { - "line": 349, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeightDelta": { - "line": 354, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeightDelta": { - "line": 359, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeightDelta": { - "line": 364, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeightDelta": { - "line": 369, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeightDelta": { - "line": 374, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeightDelta": { - "line": 379, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeightDelta": { - "line": 384, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeightDelta": { - "line": 389, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getTimesChanged": { - "line": 394, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 2, - "programLength": 3, - "programVocabulary": 3, - "volume": 4.754887502163468, - "difficulty": 0.5, - "effort": 2.377443751081734, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getTimesChanged" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getFileName": { - "line": 399, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getFileName" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLine": { - "line": 404, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLine" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::equals": { - "line": 409, - "lineCount": 5, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 2, - "N1": 5, - "N2": 5, - "programLength": 10, - "programVocabulary": 5, - "volume": 23.21928094887362, - "difficulty": 3.75, - "effort": 87.07230355827608, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::equals" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::toArray": { - "line": 418, - "lineCount": 34, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 29, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 30, - "N1": 0, - "N2": 58, - "programLength": 58, - "programVocabulary": 30, - "volume": 284.5996545452941, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::toArray" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::jsonSerialize": { - "line": 456, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::jsonSerialize" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getHalstead": { - "line": 464, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getHalstead" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCyclomatic": { - "line": 472, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCyclomatic" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::add": { - "line": 30, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 5, - "N2": 6, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 3, - "effort": 85.30376252379816, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::add" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filter": { - "line": 40, - "lineCount": 11, - "argCount": 1, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 8, - "volume": 42, - "difficulty": 3, - "effort": 126, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filter" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getIterator": { - "line": 57, - "lineCount": 5, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getIterator" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::count": { - "line": 66, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::count" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterWithScoreGreaterThan": { - "line": 71, - "lineCount": 6, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 3, - "N2": 6, - "programLength": 9, - "programVocabulary": 5, - "volume": 20.89735285398626, - "difficulty": 2, - "effort": 41.79470570797252, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterWithScoreGreaterThan" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::contains": { - "line": 78, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 4, - "N2": 5, - "programLength": 9, - "programVocabulary": 5, - "volume": 20.89735285398626, - "difficulty": 1.6666666666666667, - "effort": 34.82892142331043, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::contains" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getClassWithMethod": { - "line": 83, - "lineCount": 9, - "argCount": 2, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 3, - "N2": 10, - "programLength": 13, - "programVocabulary": 7, - "volume": 36.49561398674886, - "difficulty": 2, - "effort": 72.99122797349771, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getClassWithMethod" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterByClassName": { - "line": 93, - "lineCount": 6, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 3, - "N2": 6, - "programLength": 9, - "programVocabulary": 5, - "volume": 20.89735285398626, - "difficulty": 2, - "effort": 41.79470570797252, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterByClassName" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::assertMetricHasGetter": { - "line": 100, - "lineCount": 9, - "argCount": 3, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 6, - "programLength": 7, - "programVocabulary": 4, - "volume": 14, - "difficulty": 1, - "effort": 14, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::assertMetricHasGetter" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::groupBy": { - "line": 117, - "lineCount": 20, - "argCount": 1, - "returnCount": 1, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 10, - "N2": 23, - "programLength": 33, - "programVocabulary": 11, - "volume": 114.16124341503081, - "difficulty": 6.571428571428571, - "effort": 750.2024567273453, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::groupBy" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::jsonSerialize": { - "line": 141, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::jsonSerialize" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::__construct": { - "line": 32, - "lineCount": 8, - "argCount": 5, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 5, - "N1": 0, - "N2": 5, - "programLength": 5, - "programVocabulary": 5, - "volume": 11.60964047443681, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collect": { - "line": 49, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 5, - "programLength": 6, - "programVocabulary": 4, - "volume": 12, - "difficulty": 0.8333333333333334, - "effort": 10, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collect" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collectFromPaths": { - "line": 62, - "lineCount": 13, - "argCount": 2, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 8, - "N2": 16, - "programLength": 24, - "programVocabulary": 9, - "volume": 76.07820003461549, - "difficulty": 4, - "effort": 304.31280013846197, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collectFromPaths" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCodeFromFile": { - "line": 79, - "lineCount": 10, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 2, - "N1": 5, - "N2": 6, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 6, - "effort": 170.6075250475963, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCodeFromFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findMetrics": { - "line": 98, - "lineCount": 31, - "argCount": 1, - "returnCount": 1, - "variableCount": 9, - "propertyCallCount": 2, - "ifNestingLevel": 2, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 13, - "N1": 18, - "N2": 38, - "programLength": 56, - "programVocabulary": 16, - "volume": 224, - "difficulty": 4.384615384615384, - "effort": 982.1538461538461, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findMetrics" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processMethodMetrics": { - "line": 136, - "lineCount": 29, - "argCount": 3, - "returnCount": 1, - "variableCount": 7, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 14, - "N1": 8, - "N2": 27, - "programLength": 35, - "programVocabulary": 17, - "volume": 143.06119944376186, - "difficulty": 2.892857142857143, - "effort": 413.8556126765968, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processMethodMetrics" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::isExcluded": { - "line": 166, - "lineCount": 12, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 5, - "N1": 5, - "N2": 9, - "programLength": 14, - "programVocabulary": 9, - "volume": 44.37895002019237, - "difficulty": 3.6, - "effort": 159.76422007269252, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::isExcluded" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findSourceFiles": { - "line": 187, - "lineCount": 7, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 2, - "N2": 6, - "programLength": 8, - "programVocabulary": 6, - "volume": 20.67970000576925, - "difficulty": 1.5, - "effort": 31.019550008653873, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findSourceFiles" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getProjectRoot": { - "line": 202, - "lineCount": 13, - "argCount": 0, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 2, - "N1": 8, - "N2": 8, - "programLength": 16, - "programVocabulary": 6, - "volume": 41.3594000115385, - "difficulty": 8, - "effort": 330.875200092308, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getProjectRoot" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateCacheKey": { - "line": 219, - "lineCount": 7, - "argCount": 2, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 6, - "N1": 10, - "N2": 12, - "programLength": 22, - "programVocabulary": 10, - "volume": 73.08241808752197, - "difficulty": 4, - "effort": 292.3296723500879, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateCacheKey" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateConfigHash": { - "line": 230, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 1, - "N1": 3, - "N2": 2, - "programLength": 5, - "programVocabulary": 3, - "volume": 7.92481250360578, - "difficulty": 2, - "effort": 15.84962500721156, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateConfigHash" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::cacheResult": { - "line": 239, - "lineCount": 14, - "argCount": 4, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 13, - "N1": 5, - "N2": 20, - "programLength": 25, - "programVocabulary": 15, - "volume": 97.67226489021297, - "difficulty": 1.5384615384615385, - "effort": 150.26502290801997, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::cacheResult" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::clearCache": { - "line": 254, - "lineCount": 4, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::clearCache" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::normalizeFilename": { - "line": 264, - "lineCount": 15, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 6, - "n2": 7, - "N1": 12, - "N2": 16, - "programLength": 28, - "programVocabulary": 13, - "volume": 103.61231210795059, - "difficulty": 6.857142857142857, - "effort": 710.4844258830897, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::normalizeFilename" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCachedMetrics": { - "line": 286, - "lineCount": 19, - "argCount": 3, - "returnCount": 3, - "variableCount": 4, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 11, - "N1": 10, - "N2": 29, - "programLength": 39, - "programVocabulary": 14, - "volume": 148.48684196024655, - "difficulty": 3.954545454545454, - "effort": 587.1979659337022, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCachedMetrics" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processFile": { - "line": 312, - "lineCount": 37, - "argCount": 5, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 7, - "n2": 10, - "N1": 12, - "N2": 28, - "programLength": 40, - "programVocabulary": 17, - "volume": 163.49851365001356, - "difficulty": 9.799999999999999, - "effort": 1602.2854337701328, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::sort": { - "line": 51, - "lineCount": 41, - "argCount": 3, - "returnCount": 2, - "variableCount": 10, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 18, - "N1": 20, - "N2": 43, - "programLength": 63, - "programVocabulary": 22, - "volume": 280.9441919741497, - "difficulty": 4.777777777777778, - "effort": 1342.2889172098264, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::sort" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getFieldValue": { - "line": 100, - "lineCount": 28, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 25, - "N1": 24, - "N2": 50, - "programLength": 74, - "programVocabulary": 27, - "volume": 351.86167516009664, - "difficulty": 2, - "effort": 703.7233503201933, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getFieldValue" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::compareValues": { - "line": 136, - "lineCount": 13, - "argCount": 2, - "returnCount": 3, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 2, - "N1": 9, - "N2": 12, - "programLength": 21, - "programVocabulary": 5, - "volume": 48.760489992634604, - "difficulty": 9, - "effort": 438.8444099337114, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::compareValues" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getSortableFields": { - "line": 155, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 0, - "N1": 0, - "N2": 0, - "programLength": 0, - "programVocabulary": 0, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getSortableFields" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__construct": { - "line": 15, - "lineCount": 11, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 7, - "N2": 12, - "programLength": 19, - "programVocabulary": 6, - "volume": 49.11428751370197, - "difficulty": 6, - "effort": 294.6857250822118, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::getValue": { - "line": 27, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::getValue" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasIncreased": { - "line": 32, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasIncreased" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__toString": { - "line": 37, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__toString" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasNotChanged": { - "line": 42, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 2, - "programLength": 3, - "programVocabulary": 3, - "volume": 4.754887502163468, - "difficulty": 0.5, - "effort": 2.377443751081734, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasNotChanged" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\FileProcessed::__construct": { - "line": 14, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\FileProcessed::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\ParserFailed::__construct": { - "line": 15, - "lineCount": 5, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\ParserFailed::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\SourceFilesFound::__construct": { - "line": 17, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\SourceFilesFound::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::__construct": { - "line": 15, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::create": { - "line": 27, - "lineCount": 10, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 6, - "N1": 0, - "N2": 8, - "programLength": 8, - "programVocabulary": 6, - "volume": 20.67970000576925, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::create" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::getSupportedTypes": { - "line": 43, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 4, - "N1": 0, - "N2": 4, - "programLength": 4, - "programVocabulary": 4, - "volume": 8, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::getSupportedTypes" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::isSupported": { - "line": 54, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 2, - "N2": 3, - "programLength": 5, - "programVocabulary": 4, - "volume": 10, - "difficulty": 1.5, - "effort": 15, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::isSupported" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CsvExporter::export": { - "line": 46, - "lineCount": 57, - "argCount": 2, - "returnCount": 0, - "variableCount": 6, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 15, - "N1": 37, - "N2": 54, - "programLength": 91, - "programVocabulary": 19, - "volume": 386.56140372336625, - "difficulty": 7.2, - "effort": 2783.242106808237, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CsvExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::export": { - "line": 40, - "lineCount": 8, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 5, - "N1": 4, - "N2": 8, - "programLength": 12, - "programVocabulary": 9, - "volume": 38.039100017307746, - "difficulty": 3.2, - "effort": 121.72512005538479, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::escape": { - "line": 49, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::escape" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::formatNumber": { - "line": 54, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::formatNumber" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::generateMetricRow": { - "line": 59, - "lineCount": 12, - "argCount": 3, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 16, - "N1": 19, - "N2": 27, - "programLength": 46, - "programVocabulary": 21, - "volume": 202.04660144782298, - "difficulty": 4.21875, - "effort": 852.3840998580032, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::generateMetricRow" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::generateHtml": { - "line": 78, - "lineCount": 64, - "argCount": 1, - "returnCount": 1, - "variableCount": 7, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 11, - "N1": 46, - "N2": 57, - "programLength": 103, - "programVocabulary": 15, - "volume": 402.40973134767745, - "difficulty": 10.363636363636363, - "effort": 4170.42812487593, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::generateHtml" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\JsonExporter::export": { - "line": 19, - "lineCount": 38, - "argCount": 2, - "returnCount": 0, - "variableCount": 5, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 27, - "N1": 29, - "N2": 58, - "programLength": 87, - "programVocabulary": 32, - "volume": 435, - "difficulty": 5.370370370370371, - "effort": 2336.1111111111113, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\JsonExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::__construct": { - "line": 24, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::export": { - "line": 36, - "lineCount": 8, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 5, - "N1": 4, - "N2": 8, - "programLength": 12, - "programVocabulary": 9, - "volume": 38.039100017307746, - "difficulty": 3.2, - "effort": 121.72512005538479, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::escape": { - "line": 48, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::escape" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateMetricCell": { - "line": 56, - "lineCount": 12, - "argCount": 3, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 12, - "N1": 16, - "N2": 24, - "programLength": 40, - "programVocabulary": 17, - "volume": 163.49851365001356, - "difficulty": 5, - "effort": 817.4925682500678, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateMetricCell" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::filterMetrics": { - "line": 75, - "lineCount": 15, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 4, - "N1": 4, - "N2": 11, - "programLength": 15, - "programVocabulary": 7, - "volume": 42.11032383086406, - "difficulty": 4.125, - "effort": 173.70508580231424, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::filterMetrics" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableHeader": { - "line": 94, - "lineCount": 33, - "argCount": 0, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 4, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 19, - "N1": 10, - "N2": 28, - "programLength": 38, - "programVocabulary": 22, - "volume": 169.4584015082173, - "difficulty": 2.2105263157894735, - "effort": 374.5922559655329, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableHeader" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableHeaderWithClass": { - "line": 131, - "lineCount": 33, - "argCount": 0, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 4, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 20, - "N1": 10, - "N2": 29, - "programLength": 39, - "programVocabulary": 23, - "volume": 176.41891628622352, - "difficulty": 2.175, - "effort": 383.7111429225361, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableHeaderWithClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableSeparator": { - "line": 168, - "lineCount": 20, - "argCount": 0, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 4, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 7, - "N1": 3, - "N2": 16, - "programLength": 19, - "programVocabulary": 10, - "volume": 63.11663380285988, - "difficulty": 3.4285714285714284, - "effort": 216.399887324091, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableSeparator" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableSeparatorWithClass": { - "line": 192, - "lineCount": 20, - "argCount": 0, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 4, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 8, - "N1": 3, - "N2": 16, - "programLength": 19, - "programVocabulary": 11, - "volume": 65.72920075410865, - "difficulty": 3, - "effort": 197.18760226232592, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableSeparatorWithClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableRow": { - "line": 216, - "lineCount": 22, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 6, - "N1": 53, - "N2": 60, - "programLength": 113, - "programVocabulary": 10, - "volume": 375.37787472227194, - "difficulty": 20, - "effort": 7507.557494445438, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableRow" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableRowWithClass": { - "line": 242, - "lineCount": 25, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 6, - "N1": 55, - "N2": 62, - "programLength": 117, - "programVocabulary": 10, - "volume": 388.66558710182136, - "difficulty": 20.666666666666668, - "effort": 8032.422133437642, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableRowWithClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::addHalsteadCells": { - "line": 274, - "lineCount": 20, - "argCount": 2, - "returnCount": 3, - "variableCount": 2, - "propertyCallCount": 5, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 12, - "N2": 24, - "programLength": 36, - "programVocabulary": 8, - "volume": 108, - "difficulty": 7.199999999999999, - "effort": 777.5999999999999, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::addHalsteadCells" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::addCyclomaticCell": { - "line": 301, - "lineCount": 16, - "argCount": 2, - "returnCount": 3, - "variableCount": 2, - "propertyCallCount": 4, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 8, - "N2": 16, - "programLength": 24, - "programVocabulary": 11, - "volume": 83.02635884729514, - "difficulty": 4.571428571428571, - "effort": 379.5490690162063, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::addCyclomaticCell" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateMarkdown": { - "line": 325, - "lineCount": 8, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 2, - "N2": 6, - "programLength": 8, - "programVocabulary": 3, - "volume": 12.679700005769249, - "difficulty": 1.5, - "effort": 19.019550008653873, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateMarkdown" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateGroupedMarkdown": { - "line": 337, - "lineCount": 49, - "argCount": 1, - "returnCount": 1, - "variableCount": 10, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 8, - "n2": 23, - "N1": 33, - "N2": 65, - "programLength": 98, - "programVocabulary": 31, - "volume": 485.5112384179137, - "difficulty": 11.304347826086957, - "effort": 5488.387912550329, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateGroupedMarkdown" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateSingleTableMarkdown": { - "line": 390, - "lineCount": 28, - "argCount": 1, - "returnCount": 1, - "variableCount": 6, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 6, - "n2": 13, - "N1": 19, - "N2": 37, - "programLength": 56, - "programVocabulary": 19, - "volume": 237.88394075284077, - "difficulty": 8.538461538461538, - "effort": 2031.1628787357943, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateSingleTableMarkdown" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::__construct": { - "line": 32, - "lineCount": 26, - "argCount": 2, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 7, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 14, - "N2": 22, - "programLength": 36, - "programVocabulary": 5, - "volume": 83.58941141594504, - "difficulty": 7.333333333333333, - "effort": 612.9890170502636, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::parse": { - "line": 63, - "lineCount": 37, - "argCount": 1, - "returnCount": 1, - "variableCount": 9, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 14, - "N1": 16, - "N2": 43, - "programLength": 59, - "programVocabulary": 17, - "volume": 241.16030763377, - "difficulty": 4.607142857142858, - "effort": 1111.0599887412977, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::parse" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::scanForAnnotations": { - "line": 104, - "lineCount": 20, - "argCount": 1, - "returnCount": 0, - "variableCount": 4, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 7, - "N1": 8, - "N2": 16, - "programLength": 24, - "programVocabulary": 10, - "volume": 79.7262742772967, - "difficulty": 3.4285714285714284, - "effort": 273.34722609358863, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::scanForAnnotations" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::traverseAbstractSyntaxTreeWithCombinedVisitor": { - "line": 129, - "lineCount": 17, - "argCount": 1, - "returnCount": 0, - "variableCount": 4, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 7, - "N1": 7, - "N2": 15, - "programLength": 22, - "programVocabulary": 10, - "volume": 73.08241808752197, - "difficulty": 3.2142857142857144, - "effort": 234.90777242417778, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::traverseAbstractSyntaxTreeWithCombinedVisitor" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getIgnored": { - "line": 153, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getIgnored" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getIgnoredClasses": { - "line": 163, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getIgnoredClasses" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getIgnoredMethods": { - "line": 173, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getIgnoredMethods" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::clearStaticCaches": { - "line": 181, - "lineCount": 15, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 9, - "N1": 7, - "N2": 19, - "programLength": 26, - "programVocabulary": 10, - "volume": 86.37013046707142, - "difficulty": 1.0555555555555556, - "effort": 91.16847104857538, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::clearStaticCaches" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::clearStaticProperty": { - "line": 200, - "lineCount": 14, - "argCount": 2, - "returnCount": 0, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 6, - "N2": 12, - "programLength": 18, - "programVocabulary": 7, - "volume": 50.53238859703688, - "difficulty": 2.4, - "effort": 121.2777326328885, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::clearStaticProperty" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getRiskLevel": { - "line": 218, - "lineCount": 9, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 8, - "N1": 3, - "N2": 11, - "programLength": 14, - "programVocabulary": 9, - "volume": 44.37895002019237, - "difficulty": 0.6875, - "effort": 30.510528138882254, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getRiskLevel" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculate": { - "line": 47, - "lineCount": 5, - "argCount": 2, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 2, - "N2": 8, - "programLength": 10, - "programVocabulary": 4, - "volume": 20, - "difficulty": 1.3333333333333333, - "effort": 26.666666666666664, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculateScore": { - "line": 53, - "lineCount": 10, - "argCount": 1, - "returnCount": 0, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 9, - "N1": 7, - "N2": 15, - "programLength": 22, - "programVocabulary": 13, - "volume": 81.40967379910403, - "difficulty": 3.3333333333333335, - "effort": 271.36557933034675, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculateScore" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculateMetricWeights": { - "line": 70, - "lineCount": 17, - "argCount": 3, - "returnCount": 0, - "variableCount": 6, - "propertyCallCount": 3, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 12, - "N1": 9, - "N2": 24, - "programLength": 33, - "programVocabulary": 15, - "volume": 128.92738965508113, - "difficulty": 3, - "effort": 386.7821689652434, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculateMetricWeights" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculateLogWeight": { - "line": 132, - "lineCount": 8, - "argCount": 3, - "returnCount": 2, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 5, - "N1": 5, - "N2": 11, - "programLength": 16, - "programVocabulary": 10, - "volume": 53.150849518197795, - "difficulty": 5.5, - "effort": 292.3296723500879, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculateLogWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cyclomatic\\CyclomaticMetrics::__construct": { - "line": 129, - "lineCount": 23, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 19, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 43, - "N1": 56, - "N2": 130, - "programLength": 186, - "programVocabulary": 45, - "volume": 1021.4846759173195, - "difficulty": 3.0232558139534884, - "effort": 3088.209485331431, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cyclomatic\\CyclomaticMetrics::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::escapeMarkdown": { - "line": 18, - "lineCount": 6, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 5, - "N1": 1, - "N2": 6, - "programLength": 7, - "programVocabulary": 6, - "volume": 18.094737505048094, - "difficulty": 0.6, - "effort": 10.856842503028856, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::escapeMarkdown" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::formatNumber": { - "line": 32, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 5, - "programLength": 6, - "programVocabulary": 4, - "volume": 12, - "difficulty": 0.8333333333333334, - "effort": 10, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::formatNumber" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::buildTableHeader": { - "line": 43, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 3, - "N2": 5, - "programLength": 8, - "programVocabulary": 6, - "volume": 20.67970000576925, - "difficulty": 1.25, - "effort": 25.84962500721156, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::buildTableHeader" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::buildTableSeparator": { - "line": 54, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 4, - "programLength": 6, - "programVocabulary": 5, - "volume": 13.931568569324174, - "difficulty": 1.3333333333333333, - "effort": 18.575424759098897, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::buildTableSeparator" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::buildTableRow": { - "line": 65, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 3, - "N2": 5, - "programLength": 8, - "programVocabulary": 6, - "volume": 20.67970000576925, - "difficulty": 1.25, - "effort": 25.84962500721156, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::buildTableRow" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::formatPercentage": { - "line": 77, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 2, - "N2": 6, - "programLength": 8, - "programVocabulary": 6, - "volume": 20.67970000576925, - "difficulty": 1.5, - "effort": 31.019550008653873, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::formatPercentage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::escapeMarkdown": { - "line": 18, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 5, - "N1": 1, - "N2": 6, - "programLength": 7, - "programVocabulary": 6, - "volume": 18.094737505048094, - "difficulty": 0.6, - "effort": 10.856842503028856, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::escapeMarkdown" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::formatNumber": { - "line": 30, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 5, - "programLength": 6, - "programVocabulary": 4, - "volume": 12, - "difficulty": 0.8333333333333334, - "effort": 10, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::formatNumber" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::buildMarkdownTableHeader": { - "line": 41, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 3, - "N2": 5, - "programLength": 8, - "programVocabulary": 6, - "volume": 20.67970000576925, - "difficulty": 1.25, - "effort": 25.84962500721156, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::buildMarkdownTableHeader" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::buildMarkdownTableSeparator": { - "line": 52, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 4, - "programLength": 6, - "programVocabulary": 5, - "volume": 13.931568569324174, - "difficulty": 1.3333333333333333, - "effort": 18.575424759098897, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::buildMarkdownTableSeparator" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::buildMarkdownTableRow": { - "line": 63, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 3, - "N2": 5, - "programLength": 8, - "programVocabulary": 6, - "volume": 20.67970000576925, - "difficulty": 1.25, - "effort": 25.84962500721156, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::buildMarkdownTableRow" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::formatMarkdownPercentage": { - "line": 75, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 2, - "N2": 6, - "programLength": 8, - "programVocabulary": 6, - "volume": 20.67970000576925, - "difficulty": 1.5, - "effort": 31.019550008653873, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::formatMarkdownPercentage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Halstead\\HalsteadMetrics::__construct": { - "line": 33, - "lineCount": 13, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 10, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 12, - "N1": 10, - "N2": 31, - "programLength": 41, - "programVocabulary": 13, - "volume": 151.7180284437848, - "difficulty": 1.2916666666666667, - "effort": 195.96912007322203, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Halstead\\HalsteadMetrics::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Halstead\\HalsteadMetrics::getVolume": { - "line": 47, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Halstead\\HalsteadMetrics::getVolume" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::__construct": { - "line": 32, - "lineCount": 9, - "argCount": 5, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 7, - "N1": 2, - "N2": 7, - "programLength": 9, - "programVocabulary": 9, - "volume": 28.52932501298081, - "difficulty": 1, - "effort": 28.52932501298081, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::getChurnExporterFactory": { - "line": 45, - "lineCount": 7, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 1, - "N1": 2, - "N2": 3, - "programLength": 5, - "programVocabulary": 3, - "volume": 7.92481250360578, - "difficulty": 3, - "effort": 23.774437510817343, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::getChurnExporterFactory" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::getCognitiveExporterFactory": { - "line": 56, - "lineCount": 7, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 1, - "N1": 3, - "N2": 4, - "programLength": 7, - "programVocabulary": 4, - "volume": 14, - "difficulty": 6, - "effort": 84, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::getCognitiveExporterFactory" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::getCognitiveMetrics": { - "line": 72, - "lineCount": 10, - "argCount": 1, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 3, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 5, - "N2": 11, - "programLength": 16, - "programVocabulary": 6, - "volume": 41.3594000115385, - "difficulty": 2.75, - "effort": 113.73835003173087, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::getCognitiveMetrics" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::getCognitiveMetricsFromPaths": { - "line": 92, - "lineCount": 16, - "argCount": 2, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 8, - "N2": 18, - "programLength": 26, - "programVocabulary": 9, - "volume": 82.41805003750011, - "difficulty": 4.5, - "effort": 370.88122516875046, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::getCognitiveMetricsFromPaths" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::calculateChurn": { - "line": 118, - "lineCount": 18, - "argCount": 4, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 10, - "N1": 8, - "N2": 21, - "programLength": 29, - "programVocabulary": 12, - "volume": 103.96391252091352, - "difficulty": 2.1, - "effort": 218.3242162939184, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::calculateChurn" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::loadConfig": { - "line": 143, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::loadConfig" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::getConfig": { - "line": 148, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::getConfig" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::exportChurnReport": { - "line": 156, - "lineCount": 9, - "argCount": 3, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 4, - "N1": 3, - "N2": 7, - "programLength": 10, - "programVocabulary": 5, - "volume": 23.21928094887362, - "difficulty": 0.875, - "effort": 20.316870830264417, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::exportChurnReport" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::exportMetricsReport": { - "line": 168, - "lineCount": 8, - "argCount": 3, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 4, - "N2": 9, - "programLength": 13, - "programVocabulary": 7, - "volume": 36.49561398674886, - "difficulty": 1.8, - "effort": 65.69210517614795, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::exportMetricsReport" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::clearCache": { - "line": 177, - "lineCount": 4, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::clearCache" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::addCoverageToMetric": { - "line": 185, - "lineCount": 20, - "argCount": 2, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 11, - "N2": 18, - "programLength": 29, - "programVocabulary": 11, - "volume": 100.32351694048162, - "difficulty": 5.142857142857143, - "effort": 515.9495156939055, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::addCoverageToMetric" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::addMethodLevelCoverage": { - "line": 209, - "lineCount": 16, - "argCount": 2, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 9, - "N2": 15, - "programLength": 24, - "programVocabulary": 7, - "volume": 67.3765181293825, - "difficulty": 3, - "effort": 202.1295543881475, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::addMethodLevelCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Traits\\CoverageDataDetector::hasCoverageData": { - "line": 18, - "lineCount": 10, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 3, - "N2": 7, - "programLength": 10, - "programVocabulary": 6, - "volume": 25.84962500721156, - "difficulty": 3.5, - "effort": 90.47368752524046, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Traits\\CoverageDataDetector::hasCoverageData" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Utility\\Datetime::__construct": { - "line": 19, - "lineCount": 9, - "argCount": 0, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "cyclomatic_complexity": { - "complexity": 2, - "risk_level": "low" - }, - "halstead": { - "n1": 1, - "n2": 0, - "N1": 1, - "N2": 0, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Utility\\Datetime::__construct" - } - } - }, - "ignored_items": [], - "cached_at": 1759967601 -} \ No newline at end of file diff --git a/.phpcca.cache/fa/fac54313fa8d01a49932cd8cbde772ce.cache b/.phpcca.cache/fa/fac54313fa8d01a49932cd8cbde772ce.cache deleted file mode 100644 index 36d32a9..0000000 --- a/.phpcca.cache/fa/fac54313fa8d01a49932cd8cbde772ce.cache +++ /dev/null @@ -1,773 +0,0 @@ -{ - "version": "1.0", - "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/Business\/Churn\/Exporter\/JsonExporter.php", - "file_mtime": 1759784766, - "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", - "analysis_result": { - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct": { - "line": 60, - "lineCount": 5, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 1, - "N1": 2, - "N2": 2, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 2, - "effort": 12.679700005769249, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices": { - "line": 66, - "lineCount": 95, - "argCount": 0, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 5, - "N1": 58, - "N2": 32, - "programLength": 90, - "programVocabulary": 9, - "volume": 285.2932501298081, - "difficulty": 12.8, - "effort": 3651.7536016615436, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap": { - "line": 162, - "lineCount": 10, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 7, - "N2": 7, - "programLength": 14, - "programVocabulary": 2, - "volume": 14, - "difficulty": 3.5, - "effort": 49, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors": { - "line": 173, - "lineCount": 12, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 3, - "N2": 1, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0.5, - "effort": 2, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus": { - "line": 186, - "lineCount": 19, - "argCount": 0, - "returnCount": 0, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 9, - "N2": 13, - "programLength": 22, - "programVocabulary": 7, - "volume": 61.76180828526729, - "difficulty": 2.6, - "effort": 160.58070154169496, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService": { - "line": 206, - "lineCount": 9, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 3, - "N2": 1, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0.5, - "effort": 2, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade": { - "line": 216, - "lineCount": 13, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 3, - "N2": 1, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0.5, - "effort": 2, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands": { - "line": 230, - "lineCount": 21, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 6, - "N2": 2, - "programLength": 8, - "programVocabulary": 2, - "volume": 8, - "difficulty": 1, - "effort": 8, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication": { - "line": 252, - "lineCount": 11, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 5, - "N2": 4, - "programLength": 9, - "programVocabulary": 4, - "volume": 18, - "difficulty": 0.6666666666666666, - "effort": 12, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run": { - "line": 264, - "lineCount": 9, - "argCount": 0, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 5, - "N2": 5, - "programLength": 10, - "programVocabulary": 4, - "volume": 20, - "difficulty": 2.5, - "effort": 50, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get": { - "line": 274, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer": { - "line": 279, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator": { - "line": 289, - "lineCount": 16, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 7, - "programLength": 8, - "programVocabulary": 4, - "volume": 16, - "difficulty": 1.1666666666666667, - "effort": 18.666666666666668, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create": { - "line": 18, - "lineCount": 7, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 4, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile": { - "line": 17, - "lineCount": 17, - "argCount": 2, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 8, - "N1": 11, - "N2": 19, - "programLength": 30, - "programVocabulary": 11, - "volume": 103.78294855911892, - "difficulty": 3.5625, - "effort": 369.72675424186116, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode": { - "line": 42, - "lineCount": 8, - "argCount": 3, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 3, - "N2": 8, - "programLength": 11, - "programVocabulary": 8, - "volume": 33, - "difficulty": 2.4000000000000004, - "effort": 79.20000000000002, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate": { - "line": 22, - "lineCount": 10, - "argCount": 2, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 6, - "N2": 13, - "programLength": 19, - "programVocabulary": 6, - "volume": 49.11428751370197, - "difficulty": 3.25, - "effort": 159.6214344195314, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending": { - "line": 37, - "lineCount": 8, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 2, - "N2": 9, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 2.25, - "effort": 63.97782189284862, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn": { - "line": 51, - "lineCount": 24, - "argCount": 2, - "returnCount": 1, - "variableCount": 6, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 15, - "N1": 17, - "N2": 46, - "programLength": 63, - "programVocabulary": 20, - "volume": 272.28146997790384, - "difficulty": 7.666666666666667, - "effort": 2087.491269830596, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses": { - "line": 81, - "lineCount": 20, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 2, - "n2": 7, - "N1": 10, - "N2": 24, - "programLength": 34, - "programVocabulary": 9, - "volume": 107.7774500490386, - "difficulty": 3.4285714285714284, - "effort": 369.52268588241805, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass": { - "line": 109, - "lineCount": 9, - "argCount": 2, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 6, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 10, - "volume": 49.82892142331043, - "difficulty": 3.3333333333333335, - "effort": 166.09640474436813, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel": { - "line": 126, - "lineCount": 16, - "argCount": 2, - "returnCount": 4, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 12, - "N1": 9, - "N2": 18, - "programLength": 27, - "programVocabulary": 15, - "volume": 105.48604608143, - "difficulty": 2.25, - "effort": 237.3436036832175, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile": { - "line": 14, - "lineCount": 6, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 2, - "N2": 5, - "programLength": 7, - "programVocabulary": 4, - "volume": 14, - "difficulty": 2.5, - "effort": 35, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable": { - "line": 24, - "lineCount": 11, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 10, - "N2": 12, - "programLength": 22, - "programVocabulary": 8, - "volume": 66, - "difficulty": 6, - "effort": 396, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create": { - "line": 21, - "lineCount": 11, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 7, - "N1": 0, - "N2": 9, - "programLength": 9, - "programVocabulary": 7, - "volume": 25.26619429851844, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes": { - "line": 38, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 6, - "N1": 0, - "N2": 6, - "programLength": 6, - "programVocabulary": 6, - "volume": 15.509775004326936, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported": { - "line": 49, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 2, - "N2": 3, - "programLength": 5, - "programVocabulary": 4, - "volume": 10, - "difficulty": 1.5, - "effort": 15, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export": { - "line": 30, - "lineCount": 23, - "argCount": 2, - "returnCount": 0, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 16, - "N1": 10, - "N2": 33, - "programLength": 43, - "programVocabulary": 20, - "volume": 185.8429080801566, - "difficulty": 4.125, - "effort": 766.601995830646, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export": { - "line": 28, - "lineCount": 8, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 6, - "volume": 36.18947501009619, - "difficulty": 2.5, - "effort": 90.47368752524048, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape": { - "line": 37, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber": { - "line": 42, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml": { - "line": 52, - "lineCount": 50, - "argCount": 1, - "returnCount": 1, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 12, - "N1": 11, - "N2": 25, - "programLength": 36, - "programVocabulary": 17, - "volume": 147.14866228501222, - "difficulty": 5.208333333333334, - "effort": 766.3992827344388, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export": { - "line": 17, - "lineCount": 13, - "argCount": 2, - "returnCount": 0, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 4, - "n2": 8, - "N1": 7, - "N2": 14, - "programLength": 21, - "programVocabulary": 12, - "volume": 75.28421251514428, - "difficulty": 3.5, - "effort": 263.49474380300495, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export" - } - } - }, - "ignored_items": [], - "cached_at": 1759967600 -} \ No newline at end of file diff --git a/.phpcca.cache/fb/fbe5346959e557af293feca9db32e058.cache b/.phpcca.cache/fb/fbe5346959e557af293feca9db32e058.cache deleted file mode 100644 index 23cd459..0000000 --- a/.phpcca.cache/fb/fbe5346959e557af293feca9db32e058.cache +++ /dev/null @@ -1,1985 +0,0 @@ -{ - "version": "1.0", - "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/Business\/CodeCoverage\/MethodCoverage.php", - "file_mtime": 1759784766, - "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", - "analysis_result": { - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct": { - "line": 60, - "lineCount": 5, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 1, - "N1": 2, - "N2": 2, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 2, - "effort": 12.679700005769249, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices": { - "line": 66, - "lineCount": 95, - "argCount": 0, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 5, - "N1": 58, - "N2": 32, - "programLength": 90, - "programVocabulary": 9, - "volume": 285.2932501298081, - "difficulty": 12.8, - "effort": 3651.7536016615436, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap": { - "line": 162, - "lineCount": 10, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 7, - "N2": 7, - "programLength": 14, - "programVocabulary": 2, - "volume": 14, - "difficulty": 3.5, - "effort": 49, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors": { - "line": 173, - "lineCount": 12, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 3, - "N2": 1, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0.5, - "effort": 2, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus": { - "line": 186, - "lineCount": 19, - "argCount": 0, - "returnCount": 0, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 9, - "N2": 13, - "programLength": 22, - "programVocabulary": 7, - "volume": 61.76180828526729, - "difficulty": 2.6, - "effort": 160.58070154169496, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService": { - "line": 206, - "lineCount": 9, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 3, - "N2": 1, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0.5, - "effort": 2, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade": { - "line": 216, - "lineCount": 13, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 3, - "N2": 1, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0.5, - "effort": 2, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands": { - "line": 230, - "lineCount": 21, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 6, - "N2": 2, - "programLength": 8, - "programVocabulary": 2, - "volume": 8, - "difficulty": 1, - "effort": 8, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication": { - "line": 252, - "lineCount": 11, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 5, - "N2": 4, - "programLength": 9, - "programVocabulary": 4, - "volume": 18, - "difficulty": 0.6666666666666666, - "effort": 12, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run": { - "line": 264, - "lineCount": 9, - "argCount": 0, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 5, - "N2": 5, - "programLength": 10, - "programVocabulary": 4, - "volume": 20, - "difficulty": 2.5, - "effort": 50, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get": { - "line": 274, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer": { - "line": 279, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator": { - "line": 289, - "lineCount": 16, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 7, - "programLength": 8, - "programVocabulary": 4, - "volume": 16, - "difficulty": 1.1666666666666667, - "effort": 18.666666666666668, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create": { - "line": 18, - "lineCount": 7, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 4, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile": { - "line": 17, - "lineCount": 17, - "argCount": 2, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 8, - "N1": 11, - "N2": 19, - "programLength": 30, - "programVocabulary": 11, - "volume": 103.78294855911892, - "difficulty": 3.5625, - "effort": 369.72675424186116, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode": { - "line": 42, - "lineCount": 8, - "argCount": 3, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 3, - "N2": 8, - "programLength": 11, - "programVocabulary": 8, - "volume": 33, - "difficulty": 2.4000000000000004, - "effort": 79.20000000000002, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate": { - "line": 22, - "lineCount": 10, - "argCount": 2, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 6, - "N2": 13, - "programLength": 19, - "programVocabulary": 6, - "volume": 49.11428751370197, - "difficulty": 3.25, - "effort": 159.6214344195314, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending": { - "line": 37, - "lineCount": 8, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 2, - "N2": 9, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 2.25, - "effort": 63.97782189284862, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn": { - "line": 51, - "lineCount": 24, - "argCount": 2, - "returnCount": 1, - "variableCount": 6, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 15, - "N1": 17, - "N2": 46, - "programLength": 63, - "programVocabulary": 20, - "volume": 272.28146997790384, - "difficulty": 7.666666666666667, - "effort": 2087.491269830596, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses": { - "line": 81, - "lineCount": 20, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 2, - "n2": 7, - "N1": 10, - "N2": 24, - "programLength": 34, - "programVocabulary": 9, - "volume": 107.7774500490386, - "difficulty": 3.4285714285714284, - "effort": 369.52268588241805, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass": { - "line": 109, - "lineCount": 9, - "argCount": 2, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 6, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 10, - "volume": 49.82892142331043, - "difficulty": 3.3333333333333335, - "effort": 166.09640474436813, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel": { - "line": 126, - "lineCount": 16, - "argCount": 2, - "returnCount": 4, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 12, - "N1": 9, - "N2": 18, - "programLength": 27, - "programVocabulary": 15, - "volume": 105.48604608143, - "difficulty": 2.25, - "effort": 237.3436036832175, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile": { - "line": 14, - "lineCount": 6, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 2, - "N2": 5, - "programLength": 7, - "programVocabulary": 4, - "volume": 14, - "difficulty": 2.5, - "effort": 35, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable": { - "line": 24, - "lineCount": 11, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 10, - "N2": 12, - "programLength": 22, - "programVocabulary": 8, - "volume": 66, - "difficulty": 6, - "effort": 396, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create": { - "line": 21, - "lineCount": 11, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 7, - "N1": 0, - "N2": 9, - "programLength": 9, - "programVocabulary": 7, - "volume": 25.26619429851844, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes": { - "line": 38, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 6, - "N1": 0, - "N2": 6, - "programLength": 6, - "programVocabulary": 6, - "volume": 15.509775004326936, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported": { - "line": 49, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 2, - "N2": 3, - "programLength": 5, - "programVocabulary": 4, - "volume": 10, - "difficulty": 1.5, - "effort": 15, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export": { - "line": 30, - "lineCount": 23, - "argCount": 2, - "returnCount": 0, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 16, - "N1": 10, - "N2": 33, - "programLength": 43, - "programVocabulary": 20, - "volume": 185.8429080801566, - "difficulty": 4.125, - "effort": 766.601995830646, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export": { - "line": 28, - "lineCount": 8, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 6, - "volume": 36.18947501009619, - "difficulty": 2.5, - "effort": 90.47368752524048, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape": { - "line": 37, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber": { - "line": 42, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml": { - "line": 52, - "lineCount": 50, - "argCount": 1, - "returnCount": 1, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 12, - "N1": 11, - "N2": 25, - "programLength": 36, - "programVocabulary": 17, - "volume": 147.14866228501222, - "difficulty": 5.208333333333334, - "effort": 766.3992827344388, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export": { - "line": 17, - "lineCount": 13, - "argCount": 2, - "returnCount": 0, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 8, - "N1": 7, - "N2": 14, - "programLength": 21, - "programVocabulary": 12, - "volume": 75.28421251514428, - "difficulty": 3.5, - "effort": 263.49474380300495, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export": { - "line": 48, - "lineCount": 8, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 6, - "volume": 36.18947501009619, - "difficulty": 2.5, - "effort": 90.47368752524048, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown": { - "line": 61, - "lineCount": 24, - "argCount": 1, - "returnCount": 1, - "variableCount": 6, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 6, - "n2": 16, - "N1": 19, - "N2": 41, - "programLength": 60, - "programVocabulary": 22, - "volume": 267.56589711823784, - "difficulty": 7.6875, - "effort": 2056.9128340964535, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow": { - "line": 94, - "lineCount": 21, - "argCount": 3, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 7, - "n2": 18, - "N1": 16, - "N2": 39, - "programLength": 55, - "programVocabulary": 25, - "volume": 255.41209043760983, - "difficulty": 7.583333333333333, - "effort": 1936.8750191518745, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::__construct": { - "line": 26, - "lineCount": 4, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::export": { - "line": 36, - "lineCount": 10, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 8, - "volume": 45, - "difficulty": 5, - "effort": 225, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::generateSvgTreemap": { - "line": 53, - "lineCount": 20, - "argCount": 1, - "returnCount": 1, - "variableCount": 6, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 8, - "N1": 9, - "N2": 20, - "programLength": 29, - "programVocabulary": 10, - "volume": 96.3359147517335, - "difficulty": 2.5, - "effort": 240.83978687933376, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::generateSvgTreemap" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRects": { - "line": 82, - "lineCount": 10, - "argCount": 3, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 9, - "N1": 6, - "N2": 18, - "programLength": 24, - "programVocabulary": 12, - "volume": 86.03910001730775, - "difficulty": 3, - "effort": 258.1173000519232, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRects" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRect": { - "line": 100, - "lineCount": 29, - "argCount": 2, - "returnCount": 1, - "variableCount": 12, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 6, - "n2": 28, - "N1": 26, - "N2": 54, - "programLength": 80, - "programVocabulary": 34, - "volume": 406.9970273000271, - "difficulty": 5.785714285714286, - "effort": 2354.7685150930142, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRect" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::wrapSvg": { - "line": 136, - "lineCount": 21, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 2, - "N2": 8, - "programLength": 10, - "programVocabulary": 4, - "volume": 20, - "difficulty": 1.3333333333333333, - "effort": 26.666666666666664, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::wrapSvg" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::prepareItems": { - "line": 28, - "lineCount": 18, - "argCount": 1, - "returnCount": 1, - "variableCount": 7, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 12, - "N1": 9, - "N2": 30, - "programLength": 39, - "programVocabulary": 17, - "volume": 159.41105080876324, - "difficulty": 6.25, - "effort": 996.3190675547702, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::prepareItems" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findScoreRange": { - "line": 53, - "lineCount": 16, - "argCount": 1, - "returnCount": 3, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 7, - "N2": 13, - "programLength": 20, - "programVocabulary": 8, - "volume": 60, - "difficulty": 3.9000000000000004, - "effort": 234.00000000000003, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findScoreRange" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::normalizeScore": { - "line": 78, - "lineCount": 8, - "argCount": 3, - "returnCount": 2, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 8, - "volume": 45, - "difficulty": 5, - "effort": 225, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::normalizeScore" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::scoreToColor": { - "line": 93, - "lineCount": 9, - "argCount": 1, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 5, - "n2": 9, - "N1": 12, - "N2": 16, - "programLength": 28, - "programVocabulary": 14, - "volume": 106.60593781761291, - "difficulty": 4.444444444444445, - "effort": 473.80416807827964, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::scoreToColor" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::calculateTreemapLayout": { - "line": 115, - "lineCount": 23, - "argCount": 7, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 9, - "N1": 2, - "N2": 18, - "programLength": 20, - "programVocabulary": 11, - "volume": 69.18863237274594, - "difficulty": 2, - "effort": 138.37726474549189, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::calculateTreemapLayout" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::layoutTreemap": { - "line": 152, - "lineCount": 89, - "argCount": 8, - "returnCount": 3, - "variableCount": 11, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 8, - "n2": 28, - "N1": 32, - "N2": 98, - "programLength": 130, - "programVocabulary": 36, - "volume": 672.0902501875006, - "difficulty": 14, - "effort": 9409.263502625008, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::layoutTreemap" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findSplitIndex": { - "line": 249, - "lineCount": 13, - "argCount": 2, - "returnCount": 2, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 7, - "n2": 10, - "N1": 9, - "N2": 23, - "programLength": 32, - "programVocabulary": 17, - "volume": 130.79881092001085, - "difficulty": 8.049999999999999, - "effort": 1052.9304279060873, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findSplitIndex" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::__construct": { - "line": 23, - "lineCount": 18, - "argCount": 1, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 7, - "N2": 11, - "programLength": 18, - "programVocabulary": 6, - "volume": 46.529325012980806, - "difficulty": 5.5, - "effort": 255.91128757139444, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::getAllClasses": { - "line": 47, - "lineCount": 17, - "argCount": 0, - "returnCount": 2, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 6, - "N2": 12, - "programLength": 18, - "programVocabulary": 9, - "volume": 57.05865002596162, - "difficulty": 3, - "effort": 171.17595007788486, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::getAllClasses" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::withClassNode": { - "line": 73, - "lineCount": 8, - "argCount": 2, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 4, - "N2": 8, - "programLength": 12, - "programVocabulary": 8, - "volume": 36, - "difficulty": 4, - "effort": 144, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::withClassNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::findClassNode": { - "line": 85, - "lineCount": 25, - "argCount": 1, - "returnCount": 4, - "variableCount": 5, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 13, - "N2": 29, - "programLength": 42, - "programVocabulary": 11, - "volume": 145.29612798276648, - "difficulty": 8.285714285714286, - "effort": 1203.8822032857795, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::findClassNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::escapeXPathValue": { - "line": 114, - "lineCount": 16, - "argCount": 1, - "returnCount": 3, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 9, - "N1": 11, - "N2": 18, - "programLength": 29, - "programVocabulary": 13, - "volume": 107.31275182609167, - "difficulty": 4, - "effort": 429.2510073043667, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::escapeXPathValue" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getLineCoverage": { - "line": 22, - "lineCount": 18, - "argCount": 1, - "returnCount": 4, - "variableCount": 5, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 9, - "N1": 10, - "N2": 19, - "programLength": 29, - "programVocabulary": 13, - "volume": 107.31275182609167, - "difficulty": 4.222222222222222, - "effort": 453.09828548794263, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getLineCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getBranchCoverage": { - "line": 48, - "lineCount": 18, - "argCount": 1, - "returnCount": 4, - "variableCount": 5, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 9, - "N1": 10, - "N2": 19, - "programLength": 29, - "programVocabulary": 13, - "volume": 107.31275182609167, - "difficulty": 4.222222222222222, - "effort": 453.09828548794263, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getBranchCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getComplexity": { - "line": 73, - "lineCount": 13, - "argCount": 1, - "returnCount": 3, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 7, - "N2": 14, - "programLength": 21, - "programVocabulary": 11, - "volume": 72.64806399138324, - "difficulty": 4, - "effort": 290.59225596553296, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getComplexity" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getCoverageDetails": { - "line": 93, - "lineCount": 26, - "argCount": 1, - "returnCount": 3, - "variableCount": 9, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 17, - "N1": 22, - "N2": 42, - "programLength": 64, - "programVocabulary": 22, - "volume": 285.403623592787, - "difficulty": 6.176470588235294, - "effort": 1762.7870868966259, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getCoverageDetails" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getMetricsNode": { - "line": 123, - "lineCount": 12, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 6, - "N1": 7, - "N2": 13, - "programLength": 20, - "programVocabulary": 10, - "volume": 66.43856189774725, - "difficulty": 4.333333333333333, - "effort": 287.90043489023805, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getMetricsNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getFilenameForClass": { - "line": 139, - "lineCount": 9, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 5, - "N1": 4, - "N2": 9, - "programLength": 13, - "programVocabulary": 9, - "volume": 41.209025018750054, - "difficulty": 3.6, - "effort": 148.3524900675002, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getFilenameForClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodsCoverage": { - "line": 154, - "lineCount": 36, - "argCount": 1, - "returnCount": 3, - "variableCount": 8, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 13, - "N1": 12, - "N2": 30, - "programLength": 42, - "programVocabulary": 16, - "volume": 168, - "difficulty": 3.4615384615384612, - "effort": 581.5384615384614, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodsCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::calculateMethodCoverage": { - "line": 194, - "lineCount": 15, - "argCount": 2, - "returnCount": 2, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 11, - "N1": 9, - "N2": 23, - "programLength": 32, - "programVocabulary": 16, - "volume": 128, - "difficulty": 5.227272727272727, - "effort": 669.090909090909, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::calculateMethodCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodCoverageFromLines": { - "line": 215, - "lineCount": 36, - "argCount": 2, - "returnCount": 1, - "variableCount": 7, - "propertyCallCount": 0, - "ifNestingLevel": 2, - "elseCount": 0, - "ifCount": 5, - "halstead": { - "n1": 2, - "n2": 14, - "N1": 12, - "N2": 35, - "programLength": 47, - "programVocabulary": 16, - "volume": 188, - "difficulty": 2.5, - "effort": 470, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodCoverageFromLines" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStart": { - "line": 252, - "lineCount": 4, - "argCount": 3, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 3, - "N2": 7, - "programLength": 10, - "programVocabulary": 6, - "volume": 25.84962500721156, - "difficulty": 1.75, - "effort": 45.23684376262023, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStart" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodEnd": { - "line": 257, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 5, - "programLength": 7, - "programVocabulary": 5, - "volume": 16.253496664211536, - "difficulty": 1.6666666666666667, - "effort": 27.089161107019226, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodEnd" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStatement": { - "line": 262, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 5, - "programLength": 7, - "programVocabulary": 5, - "volume": 16.253496664211536, - "difficulty": 1.6666666666666667, - "effort": 27.089161107019226, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStatement" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isStatementCovered": { - "line": 267, - "lineCount": 5, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 4, - "N1": 3, - "N2": 6, - "programLength": 9, - "programVocabulary": 7, - "volume": 25.26619429851844, - "difficulty": 2.25, - "effort": 56.848937171666485, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isStatementCovered" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getLineCoverage": { - "line": 20, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 9, - "volume": 44.37895002019237, - "difficulty": 2.5, - "effort": 110.94737505048093, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getLineCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getBranchCoverage": { - "line": 34, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 9, - "volume": 44.37895002019237, - "difficulty": 2.5, - "effort": 110.94737505048093, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getBranchCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getComplexity": { - "line": 48, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 9, - "volume": 44.37895002019237, - "difficulty": 2.5, - "effort": 110.94737505048093, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getComplexity" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getCoverageDetails": { - "line": 62, - "lineCount": 13, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 8, - "N1": 7, - "N2": 16, - "programLength": 23, - "programVocabulary": 9, - "volume": 72.90827503317318, - "difficulty": 1, - "effort": 72.90827503317318, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getCoverageDetails" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::extractMethodsCoverage": { - "line": 81, - "lineCount": 23, - "argCount": 1, - "returnCount": 2, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 11, - "N1": 10, - "N2": 23, - "programLength": 33, - "programVocabulary": 14, - "volume": 125.64271242790093, - "difficulty": 3.1363636363636362, - "effort": 394.061234432962, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::extractMethodsCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CodeCoverageFactory::createFromName": { - "line": 14, - "lineCount": 8, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 4, - "N1": 1, - "N2": 8, - "programLength": 9, - "programVocabulary": 5, - "volume": 20.89735285398626, - "difficulty": 1, - "effort": 20.89735285398626, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CodeCoverageFactory::createFromName" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::__construct": { - "line": 28, - "lineCount": 15, - "argCount": 6, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 6, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 7, - "N1": 6, - "N2": 18, - "programLength": 24, - "programVocabulary": 8, - "volume": 72, - "difficulty": 1.2857142857142858, - "effort": 92.57142857142858, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getName": { - "line": 44, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getName" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getFilename": { - "line": 49, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getFilename" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getLineRate": { - "line": 54, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getLineRate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getBranchRate": { - "line": 59, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getBranchRate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getComplexity": { - "line": 64, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getComplexity" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getMethods": { - "line": 72, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getMethods" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::__construct": { - "line": 17, - "lineCount": 11, - "argCount": 4, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 4, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 1, - "n2": 5, - "N1": 4, - "N2": 12, - "programLength": 16, - "programVocabulary": 6, - "volume": 41.3594000115385, - "difficulty": 1.2, - "effort": 49.631280013846194, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getName": { - "line": 29, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getName" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getLineRate": { - "line": 34, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getLineRate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getBranchRate": { - "line": 39, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getBranchRate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getComplexity": { - "line": 44, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getComplexity" - } - } - }, - "ignored_items": [], - "cached_at": 1759967600 -} \ No newline at end of file diff --git a/.phpcca.cache/fd/fd5898ab05f5118beab265780b4b110f.cache b/.phpcca.cache/fd/fd5898ab05f5118beab265780b4b110f.cache deleted file mode 100644 index b4a946c..0000000 --- a/.phpcca.cache/fd/fd5898ab05f5118beab265780b4b110f.cache +++ /dev/null @@ -1,4131 +0,0 @@ -{ - "version": "1.0", - "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/Business\/Cognitive\/Events\/ParserFailed.php", - "file_mtime": 1752612112, - "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", - "analysis_result": { - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct": { - "line": 60, - "lineCount": 5, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 1, - "N1": 2, - "N2": 2, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 2, - "effort": 12.679700005769249, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices": { - "line": 66, - "lineCount": 95, - "argCount": 0, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 5, - "N1": 58, - "N2": 32, - "programLength": 90, - "programVocabulary": 9, - "volume": 285.2932501298081, - "difficulty": 12.8, - "effort": 3651.7536016615436, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap": { - "line": 162, - "lineCount": 10, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 7, - "N2": 7, - "programLength": 14, - "programVocabulary": 2, - "volume": 14, - "difficulty": 3.5, - "effort": 49, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors": { - "line": 173, - "lineCount": 12, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 3, - "N2": 1, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0.5, - "effort": 2, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus": { - "line": 186, - "lineCount": 19, - "argCount": 0, - "returnCount": 0, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 9, - "N2": 13, - "programLength": 22, - "programVocabulary": 7, - "volume": 61.76180828526729, - "difficulty": 2.6, - "effort": 160.58070154169496, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService": { - "line": 206, - "lineCount": 9, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 3, - "N2": 1, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0.5, - "effort": 2, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade": { - "line": 216, - "lineCount": 13, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 3, - "N2": 1, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0.5, - "effort": 2, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands": { - "line": 230, - "lineCount": 21, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 6, - "N2": 2, - "programLength": 8, - "programVocabulary": 2, - "volume": 8, - "difficulty": 1, - "effort": 8, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication": { - "line": 252, - "lineCount": 11, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 5, - "N2": 4, - "programLength": 9, - "programVocabulary": 4, - "volume": 18, - "difficulty": 0.6666666666666666, - "effort": 12, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run": { - "line": 264, - "lineCount": 9, - "argCount": 0, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 5, - "N2": 5, - "programLength": 10, - "programVocabulary": 4, - "volume": 20, - "difficulty": 2.5, - "effort": 50, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get": { - "line": 274, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer": { - "line": 279, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator": { - "line": 289, - "lineCount": 16, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 7, - "programLength": 8, - "programVocabulary": 4, - "volume": 16, - "difficulty": 1.1666666666666667, - "effort": 18.666666666666668, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create": { - "line": 18, - "lineCount": 7, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 4, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile": { - "line": 17, - "lineCount": 17, - "argCount": 2, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 8, - "N1": 11, - "N2": 19, - "programLength": 30, - "programVocabulary": 11, - "volume": 103.78294855911892, - "difficulty": 3.5625, - "effort": 369.72675424186116, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode": { - "line": 42, - "lineCount": 8, - "argCount": 3, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 3, - "N2": 8, - "programLength": 11, - "programVocabulary": 8, - "volume": 33, - "difficulty": 2.4000000000000004, - "effort": 79.20000000000002, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate": { - "line": 22, - "lineCount": 10, - "argCount": 2, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 6, - "N2": 13, - "programLength": 19, - "programVocabulary": 6, - "volume": 49.11428751370197, - "difficulty": 3.25, - "effort": 159.6214344195314, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending": { - "line": 37, - "lineCount": 8, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 2, - "N2": 9, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 2.25, - "effort": 63.97782189284862, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn": { - "line": 51, - "lineCount": 24, - "argCount": 2, - "returnCount": 1, - "variableCount": 6, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 15, - "N1": 17, - "N2": 46, - "programLength": 63, - "programVocabulary": 20, - "volume": 272.28146997790384, - "difficulty": 7.666666666666667, - "effort": 2087.491269830596, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses": { - "line": 81, - "lineCount": 20, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 2, - "n2": 7, - "N1": 10, - "N2": 24, - "programLength": 34, - "programVocabulary": 9, - "volume": 107.7774500490386, - "difficulty": 3.4285714285714284, - "effort": 369.52268588241805, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass": { - "line": 109, - "lineCount": 9, - "argCount": 2, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 6, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 10, - "volume": 49.82892142331043, - "difficulty": 3.3333333333333335, - "effort": 166.09640474436813, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel": { - "line": 126, - "lineCount": 16, - "argCount": 2, - "returnCount": 4, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 12, - "N1": 9, - "N2": 18, - "programLength": 27, - "programVocabulary": 15, - "volume": 105.48604608143, - "difficulty": 2.25, - "effort": 237.3436036832175, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile": { - "line": 14, - "lineCount": 6, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 2, - "N2": 5, - "programLength": 7, - "programVocabulary": 4, - "volume": 14, - "difficulty": 2.5, - "effort": 35, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable": { - "line": 24, - "lineCount": 11, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 10, - "N2": 12, - "programLength": 22, - "programVocabulary": 8, - "volume": 66, - "difficulty": 6, - "effort": 396, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create": { - "line": 21, - "lineCount": 11, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 7, - "N1": 0, - "N2": 9, - "programLength": 9, - "programVocabulary": 7, - "volume": 25.26619429851844, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes": { - "line": 38, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 6, - "N1": 0, - "N2": 6, - "programLength": 6, - "programVocabulary": 6, - "volume": 15.509775004326936, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported": { - "line": 49, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 2, - "N2": 3, - "programLength": 5, - "programVocabulary": 4, - "volume": 10, - "difficulty": 1.5, - "effort": 15, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export": { - "line": 30, - "lineCount": 23, - "argCount": 2, - "returnCount": 0, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 16, - "N1": 10, - "N2": 33, - "programLength": 43, - "programVocabulary": 20, - "volume": 185.8429080801566, - "difficulty": 4.125, - "effort": 766.601995830646, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export": { - "line": 28, - "lineCount": 8, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 6, - "volume": 36.18947501009619, - "difficulty": 2.5, - "effort": 90.47368752524048, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape": { - "line": 37, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber": { - "line": 42, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml": { - "line": 52, - "lineCount": 50, - "argCount": 1, - "returnCount": 1, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 12, - "N1": 11, - "N2": 25, - "programLength": 36, - "programVocabulary": 17, - "volume": 147.14866228501222, - "difficulty": 5.208333333333334, - "effort": 766.3992827344388, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export": { - "line": 17, - "lineCount": 13, - "argCount": 2, - "returnCount": 0, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 8, - "N1": 7, - "N2": 14, - "programLength": 21, - "programVocabulary": 12, - "volume": 75.28421251514428, - "difficulty": 3.5, - "effort": 263.49474380300495, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export": { - "line": 48, - "lineCount": 8, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 6, - "volume": 36.18947501009619, - "difficulty": 2.5, - "effort": 90.47368752524048, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown": { - "line": 61, - "lineCount": 24, - "argCount": 1, - "returnCount": 1, - "variableCount": 6, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 6, - "n2": 16, - "N1": 19, - "N2": 41, - "programLength": 60, - "programVocabulary": 22, - "volume": 267.56589711823784, - "difficulty": 7.6875, - "effort": 2056.9128340964535, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow": { - "line": 94, - "lineCount": 21, - "argCount": 3, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 7, - "n2": 18, - "N1": 16, - "N2": 39, - "programLength": 55, - "programVocabulary": 25, - "volume": 255.41209043760983, - "difficulty": 7.583333333333333, - "effort": 1936.8750191518745, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::__construct": { - "line": 26, - "lineCount": 4, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::export": { - "line": 36, - "lineCount": 10, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 8, - "volume": 45, - "difficulty": 5, - "effort": 225, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::generateSvgTreemap": { - "line": 53, - "lineCount": 20, - "argCount": 1, - "returnCount": 1, - "variableCount": 6, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 8, - "N1": 9, - "N2": 20, - "programLength": 29, - "programVocabulary": 10, - "volume": 96.3359147517335, - "difficulty": 2.5, - "effort": 240.83978687933376, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::generateSvgTreemap" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRects": { - "line": 82, - "lineCount": 10, - "argCount": 3, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 9, - "N1": 6, - "N2": 18, - "programLength": 24, - "programVocabulary": 12, - "volume": 86.03910001730775, - "difficulty": 3, - "effort": 258.1173000519232, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRects" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRect": { - "line": 100, - "lineCount": 29, - "argCount": 2, - "returnCount": 1, - "variableCount": 12, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 6, - "n2": 28, - "N1": 26, - "N2": 54, - "programLength": 80, - "programVocabulary": 34, - "volume": 406.9970273000271, - "difficulty": 5.785714285714286, - "effort": 2354.7685150930142, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRect" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::wrapSvg": { - "line": 136, - "lineCount": 21, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 2, - "N2": 8, - "programLength": 10, - "programVocabulary": 4, - "volume": 20, - "difficulty": 1.3333333333333333, - "effort": 26.666666666666664, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::wrapSvg" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::prepareItems": { - "line": 28, - "lineCount": 18, - "argCount": 1, - "returnCount": 1, - "variableCount": 7, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 12, - "N1": 9, - "N2": 30, - "programLength": 39, - "programVocabulary": 17, - "volume": 159.41105080876324, - "difficulty": 6.25, - "effort": 996.3190675547702, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::prepareItems" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findScoreRange": { - "line": 53, - "lineCount": 16, - "argCount": 1, - "returnCount": 3, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 7, - "N2": 13, - "programLength": 20, - "programVocabulary": 8, - "volume": 60, - "difficulty": 3.9000000000000004, - "effort": 234.00000000000003, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findScoreRange" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::normalizeScore": { - "line": 78, - "lineCount": 8, - "argCount": 3, - "returnCount": 2, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 8, - "volume": 45, - "difficulty": 5, - "effort": 225, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::normalizeScore" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::scoreToColor": { - "line": 93, - "lineCount": 9, - "argCount": 1, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 5, - "n2": 9, - "N1": 12, - "N2": 16, - "programLength": 28, - "programVocabulary": 14, - "volume": 106.60593781761291, - "difficulty": 4.444444444444445, - "effort": 473.80416807827964, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::scoreToColor" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::calculateTreemapLayout": { - "line": 115, - "lineCount": 23, - "argCount": 7, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 9, - "N1": 2, - "N2": 18, - "programLength": 20, - "programVocabulary": 11, - "volume": 69.18863237274594, - "difficulty": 2, - "effort": 138.37726474549189, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::calculateTreemapLayout" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::layoutTreemap": { - "line": 152, - "lineCount": 89, - "argCount": 8, - "returnCount": 3, - "variableCount": 11, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 8, - "n2": 28, - "N1": 32, - "N2": 98, - "programLength": 130, - "programVocabulary": 36, - "volume": 672.0902501875006, - "difficulty": 14, - "effort": 9409.263502625008, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::layoutTreemap" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findSplitIndex": { - "line": 249, - "lineCount": 13, - "argCount": 2, - "returnCount": 2, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 7, - "n2": 10, - "N1": 9, - "N2": 23, - "programLength": 32, - "programVocabulary": 17, - "volume": 130.79881092001085, - "difficulty": 8.049999999999999, - "effort": 1052.9304279060873, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findSplitIndex" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::__construct": { - "line": 23, - "lineCount": 18, - "argCount": 1, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 7, - "N2": 11, - "programLength": 18, - "programVocabulary": 6, - "volume": 46.529325012980806, - "difficulty": 5.5, - "effort": 255.91128757139444, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::getAllClasses": { - "line": 47, - "lineCount": 17, - "argCount": 0, - "returnCount": 2, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 6, - "N2": 12, - "programLength": 18, - "programVocabulary": 9, - "volume": 57.05865002596162, - "difficulty": 3, - "effort": 171.17595007788486, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::getAllClasses" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::withClassNode": { - "line": 73, - "lineCount": 8, - "argCount": 2, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 4, - "N2": 8, - "programLength": 12, - "programVocabulary": 8, - "volume": 36, - "difficulty": 4, - "effort": 144, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::withClassNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::findClassNode": { - "line": 85, - "lineCount": 25, - "argCount": 1, - "returnCount": 4, - "variableCount": 5, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 13, - "N2": 29, - "programLength": 42, - "programVocabulary": 11, - "volume": 145.29612798276648, - "difficulty": 8.285714285714286, - "effort": 1203.8822032857795, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::findClassNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::escapeXPathValue": { - "line": 114, - "lineCount": 16, - "argCount": 1, - "returnCount": 3, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 9, - "N1": 11, - "N2": 18, - "programLength": 29, - "programVocabulary": 13, - "volume": 107.31275182609167, - "difficulty": 4, - "effort": 429.2510073043667, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::escapeXPathValue" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getLineCoverage": { - "line": 22, - "lineCount": 18, - "argCount": 1, - "returnCount": 4, - "variableCount": 5, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 9, - "N1": 10, - "N2": 19, - "programLength": 29, - "programVocabulary": 13, - "volume": 107.31275182609167, - "difficulty": 4.222222222222222, - "effort": 453.09828548794263, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getLineCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getBranchCoverage": { - "line": 48, - "lineCount": 18, - "argCount": 1, - "returnCount": 4, - "variableCount": 5, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 9, - "N1": 10, - "N2": 19, - "programLength": 29, - "programVocabulary": 13, - "volume": 107.31275182609167, - "difficulty": 4.222222222222222, - "effort": 453.09828548794263, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getBranchCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getComplexity": { - "line": 73, - "lineCount": 13, - "argCount": 1, - "returnCount": 3, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 7, - "N2": 14, - "programLength": 21, - "programVocabulary": 11, - "volume": 72.64806399138324, - "difficulty": 4, - "effort": 290.59225596553296, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getComplexity" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getCoverageDetails": { - "line": 93, - "lineCount": 26, - "argCount": 1, - "returnCount": 3, - "variableCount": 9, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 17, - "N1": 22, - "N2": 42, - "programLength": 64, - "programVocabulary": 22, - "volume": 285.403623592787, - "difficulty": 6.176470588235294, - "effort": 1762.7870868966259, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getCoverageDetails" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getMetricsNode": { - "line": 123, - "lineCount": 12, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 6, - "N1": 7, - "N2": 13, - "programLength": 20, - "programVocabulary": 10, - "volume": 66.43856189774725, - "difficulty": 4.333333333333333, - "effort": 287.90043489023805, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getMetricsNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getFilenameForClass": { - "line": 139, - "lineCount": 9, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 5, - "N1": 4, - "N2": 9, - "programLength": 13, - "programVocabulary": 9, - "volume": 41.209025018750054, - "difficulty": 3.6, - "effort": 148.3524900675002, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getFilenameForClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodsCoverage": { - "line": 154, - "lineCount": 36, - "argCount": 1, - "returnCount": 3, - "variableCount": 8, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 13, - "N1": 12, - "N2": 30, - "programLength": 42, - "programVocabulary": 16, - "volume": 168, - "difficulty": 3.4615384615384612, - "effort": 581.5384615384614, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodsCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::calculateMethodCoverage": { - "line": 194, - "lineCount": 15, - "argCount": 2, - "returnCount": 2, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 11, - "N1": 9, - "N2": 23, - "programLength": 32, - "programVocabulary": 16, - "volume": 128, - "difficulty": 5.227272727272727, - "effort": 669.090909090909, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::calculateMethodCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodCoverageFromLines": { - "line": 215, - "lineCount": 36, - "argCount": 2, - "returnCount": 1, - "variableCount": 7, - "propertyCallCount": 0, - "ifNestingLevel": 2, - "elseCount": 0, - "ifCount": 5, - "halstead": { - "n1": 2, - "n2": 14, - "N1": 12, - "N2": 35, - "programLength": 47, - "programVocabulary": 16, - "volume": 188, - "difficulty": 2.5, - "effort": 470, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodCoverageFromLines" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStart": { - "line": 252, - "lineCount": 4, - "argCount": 3, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 3, - "N2": 7, - "programLength": 10, - "programVocabulary": 6, - "volume": 25.84962500721156, - "difficulty": 1.75, - "effort": 45.23684376262023, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStart" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodEnd": { - "line": 257, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 5, - "programLength": 7, - "programVocabulary": 5, - "volume": 16.253496664211536, - "difficulty": 1.6666666666666667, - "effort": 27.089161107019226, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodEnd" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStatement": { - "line": 262, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 5, - "programLength": 7, - "programVocabulary": 5, - "volume": 16.253496664211536, - "difficulty": 1.6666666666666667, - "effort": 27.089161107019226, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStatement" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isStatementCovered": { - "line": 267, - "lineCount": 5, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 4, - "N1": 3, - "N2": 6, - "programLength": 9, - "programVocabulary": 7, - "volume": 25.26619429851844, - "difficulty": 2.25, - "effort": 56.848937171666485, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isStatementCovered" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getLineCoverage": { - "line": 20, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 9, - "volume": 44.37895002019237, - "difficulty": 2.5, - "effort": 110.94737505048093, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getLineCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getBranchCoverage": { - "line": 34, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 9, - "volume": 44.37895002019237, - "difficulty": 2.5, - "effort": 110.94737505048093, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getBranchCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getComplexity": { - "line": 48, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 9, - "volume": 44.37895002019237, - "difficulty": 2.5, - "effort": 110.94737505048093, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getComplexity" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getCoverageDetails": { - "line": 62, - "lineCount": 13, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 8, - "N1": 7, - "N2": 16, - "programLength": 23, - "programVocabulary": 9, - "volume": 72.90827503317318, - "difficulty": 1, - "effort": 72.90827503317318, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getCoverageDetails" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::extractMethodsCoverage": { - "line": 81, - "lineCount": 23, - "argCount": 1, - "returnCount": 2, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 11, - "N1": 10, - "N2": 23, - "programLength": 33, - "programVocabulary": 14, - "volume": 125.64271242790093, - "difficulty": 3.1363636363636362, - "effort": 394.061234432962, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::extractMethodsCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CodeCoverageFactory::createFromName": { - "line": 14, - "lineCount": 8, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 4, - "N1": 1, - "N2": 8, - "programLength": 9, - "programVocabulary": 5, - "volume": 20.89735285398626, - "difficulty": 1, - "effort": 20.89735285398626, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CodeCoverageFactory::createFromName" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::__construct": { - "line": 28, - "lineCount": 15, - "argCount": 6, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 6, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 7, - "N1": 6, - "N2": 18, - "programLength": 24, - "programVocabulary": 8, - "volume": 72, - "difficulty": 1.2857142857142858, - "effort": 92.57142857142858, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getName": { - "line": 44, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getName" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getFilename": { - "line": 49, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getFilename" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getLineRate": { - "line": 54, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getLineRate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getBranchRate": { - "line": 59, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getBranchRate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getComplexity": { - "line": 64, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getComplexity" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getMethods": { - "line": 72, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getMethods" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::__construct": { - "line": 17, - "lineCount": 11, - "argCount": 4, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 4, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 5, - "N1": 4, - "N2": 12, - "programLength": 16, - "programVocabulary": 6, - "volume": 41.3594000115385, - "difficulty": 1.2, - "effort": 49.631280013846194, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getName": { - "line": 29, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getName" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getLineRate": { - "line": 34, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getLineRate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getBranchRate": { - "line": 39, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getBranchRate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getComplexity": { - "line": 44, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getComplexity" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::calculateDeltas": { - "line": 19, - "lineCount": 14, - "argCount": 2, - "returnCount": 0, - "variableCount": 6, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 9, - "N1": 4, - "N2": 18, - "programLength": 22, - "programVocabulary": 11, - "volume": 76.10749561002054, - "difficulty": 2, - "effort": 152.21499122004107, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::calculateDeltas" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::loadBaseline": { - "line": 41, - "lineCount": 13, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 5, - "N2": 9, - "programLength": 14, - "programVocabulary": 8, - "volume": 42, - "difficulty": 2.7, - "effort": 113.4, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::loadBaseline" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::__construct": { - "line": 72, - "lineCount": 21, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 6, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 9, - "N1": 12, - "N2": 34, - "programLength": 46, - "programVocabulary": 12, - "volume": 164.90827503317317, - "difficulty": 5.666666666666666, - "effort": 934.4802251879812, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setRequiredMetricProperties": { - "line": 98, - "lineCount": 30, - "argCount": 1, - "returnCount": 0, - "variableCount": 6, - "propertyCallCount": 9, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 21, - "N1": 21, - "N2": 51, - "programLength": 72, - "programVocabulary": 24, - "volume": 330.1173000519232, - "difficulty": 3.6428571428571423, - "effort": 1202.570164474863, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setRequiredMetricProperties" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setOptionalMetricProperties": { - "line": 133, - "lineCount": 12, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 8, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 11, - "N1": 16, - "N2": 33, - "programLength": 49, - "programVocabulary": 13, - "volume": 181.32154618891352, - "difficulty": 3, - "effort": 543.9646385667405, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setOptionalMetricProperties" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setTimesChanged": { - "line": 146, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setTimesChanged" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertSame": { - "line": 151, - "lineCount": 14, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 6, - "N2": 8, - "programLength": 14, - "programVocabulary": 5, - "volume": 32.50699332842307, - "difficulty": 2.6666666666666665, - "effort": 86.68531554246152, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertSame" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::calculateDeltas": { - "line": 169, - "lineCount": 13, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 16, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 17, - "N2": 27, - "programLength": 44, - "programVocabulary": 4, - "volume": 88, - "difficulty": 13.5, - "effort": 1188, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::calculateDeltas" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::fromArray": { - "line": 187, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::fromArray" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertArrayKeyIsPresent": { - "line": 197, - "lineCount": 6, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 5, - "programLength": 5, - "programVocabulary": 2, - "volume": 5, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertArrayKeyIsPresent" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getClass": { - "line": 204, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getMethod": { - "line": 209, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getMethod" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCount": { - "line": 214, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCount": { - "line": 219, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCount": { - "line": 224, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCount": { - "line": 229, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCount": { - "line": 234, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCount": { - "line": 239, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevel": { - "line": 244, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevel" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCount": { - "line": 249, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeight": { - "line": 254, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setLineCountWeight": { - "line": 259, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setLineCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeight": { - "line": 264, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setArgCountWeight": { - "line": 269, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setArgCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeight": { - "line": 274, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setReturnCountWeight": { - "line": 279, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setReturnCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeight": { - "line": 284, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setVariableCountWeight": { - "line": 289, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setVariableCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeight": { - "line": 294, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setPropertyCallCountWeight": { - "line": 299, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setPropertyCallCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeight": { - "line": 304, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfCountWeight": { - "line": 309, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeight": { - "line": 314, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfNestingLevelWeight": { - "line": 319, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfNestingLevelWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeight": { - "line": 324, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setElseCountWeight": { - "line": 329, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setElseCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setScore": { - "line": 334, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setScore" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getScore": { - "line": 339, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getScore" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setCoverage": { - "line": 344, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCoverage": { - "line": 349, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeightDelta": { - "line": 354, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeightDelta": { - "line": 359, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeightDelta": { - "line": 364, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeightDelta": { - "line": 369, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeightDelta": { - "line": 374, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeightDelta": { - "line": 379, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeightDelta": { - "line": 384, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeightDelta": { - "line": 389, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getTimesChanged": { - "line": 394, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 2, - "programLength": 3, - "programVocabulary": 3, - "volume": 4.754887502163468, - "difficulty": 0.5, - "effort": 2.377443751081734, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getTimesChanged" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getFileName": { - "line": 399, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getFileName" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLine": { - "line": 404, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLine" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::equals": { - "line": 409, - "lineCount": 5, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 2, - "N1": 5, - "N2": 5, - "programLength": 10, - "programVocabulary": 5, - "volume": 23.21928094887362, - "difficulty": 3.75, - "effort": 87.07230355827608, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::equals" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::toArray": { - "line": 418, - "lineCount": 34, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 29, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 30, - "N1": 0, - "N2": 58, - "programLength": 58, - "programVocabulary": 30, - "volume": 284.5996545452941, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::toArray" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::jsonSerialize": { - "line": 456, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::jsonSerialize" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getHalstead": { - "line": 464, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getHalstead" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCyclomatic": { - "line": 472, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCyclomatic" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::add": { - "line": 30, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 5, - "N2": 6, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 3, - "effort": 85.30376252379816, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::add" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filter": { - "line": 40, - "lineCount": 11, - "argCount": 1, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 8, - "volume": 42, - "difficulty": 3, - "effort": 126, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filter" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getIterator": { - "line": 57, - "lineCount": 5, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getIterator" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::count": { - "line": 66, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::count" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterWithScoreGreaterThan": { - "line": 71, - "lineCount": 6, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 3, - "N2": 6, - "programLength": 9, - "programVocabulary": 5, - "volume": 20.89735285398626, - "difficulty": 2, - "effort": 41.79470570797252, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterWithScoreGreaterThan" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::contains": { - "line": 78, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 4, - "N2": 5, - "programLength": 9, - "programVocabulary": 5, - "volume": 20.89735285398626, - "difficulty": 1.6666666666666667, - "effort": 34.82892142331043, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::contains" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getClassWithMethod": { - "line": 83, - "lineCount": 9, - "argCount": 2, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 3, - "N2": 10, - "programLength": 13, - "programVocabulary": 7, - "volume": 36.49561398674886, - "difficulty": 2, - "effort": 72.99122797349771, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getClassWithMethod" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterByClassName": { - "line": 93, - "lineCount": 6, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 3, - "N2": 6, - "programLength": 9, - "programVocabulary": 5, - "volume": 20.89735285398626, - "difficulty": 2, - "effort": 41.79470570797252, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterByClassName" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::assertMetricHasGetter": { - "line": 100, - "lineCount": 9, - "argCount": 3, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 6, - "programLength": 7, - "programVocabulary": 4, - "volume": 14, - "difficulty": 1, - "effort": 14, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::assertMetricHasGetter" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::groupBy": { - "line": 117, - "lineCount": 20, - "argCount": 1, - "returnCount": 1, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 10, - "N2": 23, - "programLength": 33, - "programVocabulary": 11, - "volume": 114.16124341503081, - "difficulty": 6.571428571428571, - "effort": 750.2024567273453, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::groupBy" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::jsonSerialize": { - "line": 141, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::jsonSerialize" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::__construct": { - "line": 32, - "lineCount": 8, - "argCount": 5, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 5, - "N1": 0, - "N2": 5, - "programLength": 5, - "programVocabulary": 5, - "volume": 11.60964047443681, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collect": { - "line": 49, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 5, - "programLength": 6, - "programVocabulary": 4, - "volume": 12, - "difficulty": 0.8333333333333334, - "effort": 10, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collect" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collectFromPaths": { - "line": 62, - "lineCount": 13, - "argCount": 2, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 8, - "N2": 16, - "programLength": 24, - "programVocabulary": 9, - "volume": 76.07820003461549, - "difficulty": 4, - "effort": 304.31280013846197, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collectFromPaths" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCodeFromFile": { - "line": 79, - "lineCount": 10, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 2, - "N1": 5, - "N2": 6, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 6, - "effort": 170.6075250475963, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCodeFromFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findMetrics": { - "line": 98, - "lineCount": 31, - "argCount": 1, - "returnCount": 1, - "variableCount": 9, - "propertyCallCount": 2, - "ifNestingLevel": 2, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 13, - "N1": 18, - "N2": 38, - "programLength": 56, - "programVocabulary": 16, - "volume": 224, - "difficulty": 4.384615384615384, - "effort": 982.1538461538461, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findMetrics" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processMethodMetrics": { - "line": 136, - "lineCount": 29, - "argCount": 3, - "returnCount": 1, - "variableCount": 7, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 14, - "N1": 8, - "N2": 27, - "programLength": 35, - "programVocabulary": 17, - "volume": 143.06119944376186, - "difficulty": 2.892857142857143, - "effort": 413.8556126765968, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processMethodMetrics" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::isExcluded": { - "line": 166, - "lineCount": 12, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 5, - "N1": 5, - "N2": 9, - "programLength": 14, - "programVocabulary": 9, - "volume": 44.37895002019237, - "difficulty": 3.6, - "effort": 159.76422007269252, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::isExcluded" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findSourceFiles": { - "line": 187, - "lineCount": 7, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 2, - "N2": 6, - "programLength": 8, - "programVocabulary": 6, - "volume": 20.67970000576925, - "difficulty": 1.5, - "effort": 31.019550008653873, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findSourceFiles" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getProjectRoot": { - "line": 202, - "lineCount": 13, - "argCount": 0, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 2, - "N1": 8, - "N2": 8, - "programLength": 16, - "programVocabulary": 6, - "volume": 41.3594000115385, - "difficulty": 8, - "effort": 330.875200092308, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getProjectRoot" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateCacheKey": { - "line": 219, - "lineCount": 7, - "argCount": 2, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 6, - "N1": 10, - "N2": 12, - "programLength": 22, - "programVocabulary": 10, - "volume": 73.08241808752197, - "difficulty": 4, - "effort": 292.3296723500879, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateCacheKey" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateConfigHash": { - "line": 230, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 1, - "N1": 3, - "N2": 2, - "programLength": 5, - "programVocabulary": 3, - "volume": 7.92481250360578, - "difficulty": 2, - "effort": 15.84962500721156, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateConfigHash" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::cacheResult": { - "line": 239, - "lineCount": 14, - "argCount": 4, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 13, - "N1": 5, - "N2": 20, - "programLength": 25, - "programVocabulary": 15, - "volume": 97.67226489021297, - "difficulty": 1.5384615384615385, - "effort": 150.26502290801997, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::cacheResult" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::clearCache": { - "line": 254, - "lineCount": 4, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::clearCache" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::normalizeFilename": { - "line": 264, - "lineCount": 15, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 6, - "n2": 7, - "N1": 12, - "N2": 16, - "programLength": 28, - "programVocabulary": 13, - "volume": 103.61231210795059, - "difficulty": 6.857142857142857, - "effort": 710.4844258830897, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::normalizeFilename" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCachedMetrics": { - "line": 286, - "lineCount": 19, - "argCount": 3, - "returnCount": 3, - "variableCount": 4, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 11, - "N1": 10, - "N2": 29, - "programLength": 39, - "programVocabulary": 14, - "volume": 148.48684196024655, - "difficulty": 3.954545454545454, - "effort": 587.1979659337022, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCachedMetrics" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processFile": { - "line": 312, - "lineCount": 37, - "argCount": 5, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 7, - "n2": 10, - "N1": 12, - "N2": 28, - "programLength": 40, - "programVocabulary": 17, - "volume": 163.49851365001356, - "difficulty": 9.799999999999999, - "effort": 1602.2854337701328, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::sort": { - "line": 51, - "lineCount": 41, - "argCount": 3, - "returnCount": 2, - "variableCount": 10, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 18, - "N1": 20, - "N2": 43, - "programLength": 63, - "programVocabulary": 22, - "volume": 280.9441919741497, - "difficulty": 4.777777777777778, - "effort": 1342.2889172098264, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::sort" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getFieldValue": { - "line": 100, - "lineCount": 28, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 25, - "N1": 24, - "N2": 50, - "programLength": 74, - "programVocabulary": 27, - "volume": 351.86167516009664, - "difficulty": 2, - "effort": 703.7233503201933, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getFieldValue" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::compareValues": { - "line": 136, - "lineCount": 13, - "argCount": 2, - "returnCount": 3, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 2, - "N1": 9, - "N2": 12, - "programLength": 21, - "programVocabulary": 5, - "volume": 48.760489992634604, - "difficulty": 9, - "effort": 438.8444099337114, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::compareValues" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getSortableFields": { - "line": 155, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 0, - "N1": 0, - "N2": 0, - "programLength": 0, - "programVocabulary": 0, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getSortableFields" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__construct": { - "line": 15, - "lineCount": 11, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 7, - "N2": 12, - "programLength": 19, - "programVocabulary": 6, - "volume": 49.11428751370197, - "difficulty": 6, - "effort": 294.6857250822118, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::getValue": { - "line": 27, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::getValue" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasIncreased": { - "line": 32, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasIncreased" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__toString": { - "line": 37, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__toString" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasNotChanged": { - "line": 42, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 2, - "programLength": 3, - "programVocabulary": 3, - "volume": 4.754887502163468, - "difficulty": 0.5, - "effort": 2.377443751081734, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasNotChanged" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\FileProcessed::__construct": { - "line": 14, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\FileProcessed::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\ParserFailed::__construct": { - "line": 15, - "lineCount": 5, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\ParserFailed::__construct" - } - } - }, - "ignored_items": [], - "cached_at": 1759967601 -} \ No newline at end of file diff --git a/.phpcca.cache/fe/feb65028938e641f74b73c5aa691ce83.cache b/.phpcca.cache/fe/feb65028938e641f74b73c5aa691ce83.cache deleted file mode 100644 index 285a682..0000000 --- a/.phpcca.cache/fe/feb65028938e641f74b73c5aa691ce83.cache +++ /dev/null @@ -1,5972 +0,0 @@ -{ - "version": "1.0", - "file_path": "\/home\/florian\/projects\/cognitive-code-checker\/src\/Business\/Utility\/DirectoryScanner.php", - "file_mtime": 1759964701, - "config_hash": "aa10a15461acf8d88ef4e0ae4cfc7340", - "analysis_result": { - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct": { - "line": 60, - "lineCount": 5, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 1, - "N1": 2, - "N2": 2, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 2, - "effort": 12.679700005769249, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices": { - "line": 66, - "lineCount": 95, - "argCount": 0, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 5, - "N1": 58, - "N2": 32, - "programLength": 90, - "programVocabulary": 9, - "volume": 285.2932501298081, - "difficulty": 12.8, - "effort": 3651.7536016615436, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerServices" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap": { - "line": 162, - "lineCount": 10, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 7, - "N2": 7, - "programLength": 14, - "programVocabulary": 2, - "volume": 14, - "difficulty": 3.5, - "effort": 49, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrap" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors": { - "line": 173, - "lineCount": 12, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 3, - "N2": 1, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0.5, - "effort": 2, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::bootstrapMetricsCollectors" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus": { - "line": 186, - "lineCount": 19, - "argCount": 0, - "returnCount": 0, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 9, - "N2": 13, - "programLength": 22, - "programVocabulary": 7, - "volume": 61.76180828526729, - "difficulty": 2.6, - "effort": 160.58070154169496, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureEventBus" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService": { - "line": 206, - "lineCount": 9, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 3, - "N2": 1, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0.5, - "effort": 2, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureConfigService" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade": { - "line": 216, - "lineCount": 13, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 3, - "N2": 1, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0.5, - "effort": 2, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerMetricsFacade" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands": { - "line": 230, - "lineCount": 21, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 6, - "N2": 2, - "programLength": 8, - "programVocabulary": 2, - "volume": 8, - "difficulty": 1, - "effort": 8, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::registerCommands" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication": { - "line": 252, - "lineCount": 11, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 5, - "N2": 4, - "programLength": 9, - "programVocabulary": 4, - "volume": 18, - "difficulty": 0.6666666666666666, - "effort": 12, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::configureApplication" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run": { - "line": 264, - "lineCount": 9, - "argCount": 0, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 5, - "N2": 5, - "programLength": 10, - "programVocabulary": 4, - "volume": 20, - "difficulty": 2.5, - "effort": 50, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::run" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get": { - "line": 274, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::get" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer": { - "line": 279, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::getContainer" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator": { - "line": 289, - "lineCount": 16, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 7, - "programLength": 8, - "programVocabulary": 4, - "volume": 16, - "difficulty": 1.1666666666666667, - "effort": 18.666666666666668, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Application::setUpEventHandlersLocator" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create": { - "line": 18, - "lineCount": 7, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 4, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\ChangeCounterFactory::create" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile": { - "line": 17, - "lineCount": 17, - "argCount": 2, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 8, - "N1": 11, - "N2": 19, - "programLength": 30, - "programVocabulary": 11, - "volume": 103.78294855911892, - "difficulty": 3.5625, - "effort": 369.72675424186116, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::getNumberOfChangesForFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode": { - "line": 42, - "lineCount": 8, - "argCount": 3, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 3, - "N2": 8, - "programLength": 11, - "programVocabulary": 8, - "volume": 33, - "difficulty": 2.4000000000000004, - "effort": 79.20000000000002, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChangeCounter\\GitChangeCounter::assertValidExitCode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate": { - "line": 22, - "lineCount": 10, - "argCount": 2, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 6, - "N2": 13, - "programLength": 19, - "programVocabulary": 6, - "volume": 49.11428751370197, - "difficulty": 3.25, - "effort": 159.6214344195314, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending": { - "line": 37, - "lineCount": 8, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 2, - "N2": 9, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 2.25, - "effort": 63.97782189284862, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::sortClassesByChurnDescending" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn": { - "line": 51, - "lineCount": 24, - "argCount": 2, - "returnCount": 1, - "variableCount": 6, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 15, - "N1": 17, - "N2": 46, - "programLength": 63, - "programVocabulary": 20, - "volume": 272.28146997790384, - "difficulty": 7.666666666666667, - "effort": 2087.491269830596, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateChurn" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses": { - "line": 81, - "lineCount": 20, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 2, - "n2": 7, - "N1": 10, - "N2": 24, - "programLength": 34, - "programVocabulary": 9, - "volume": 107.7774500490386, - "difficulty": 3.4285714285714284, - "effort": 369.52268588241805, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::groupByClasses" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass": { - "line": 109, - "lineCount": 9, - "argCount": 2, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 6, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 10, - "volume": 49.82892142331043, - "difficulty": 3.3333333333333335, - "effort": 166.09640474436813, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::getCoverageForClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel": { - "line": 126, - "lineCount": 16, - "argCount": 2, - "returnCount": 4, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 12, - "N1": 9, - "N2": 18, - "programLength": 27, - "programVocabulary": 15, - "volume": 105.48604608143, - "difficulty": 2.25, - "effort": 237.3436036832175, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\ChurnCalculator::calculateRiskLevel" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile": { - "line": 14, - "lineCount": 6, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 2, - "N2": 5, - "programLength": 7, - "programVocabulary": 4, - "volume": 14, - "difficulty": 2.5, - "effort": 35, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::writeFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable": { - "line": 24, - "lineCount": 11, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 10, - "N2": 12, - "programLength": 22, - "programVocabulary": 8, - "volume": 66, - "difficulty": 6, - "effort": 396, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\AbstractExporter::assertFileIsWritable" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create": { - "line": 21, - "lineCount": 11, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 7, - "N1": 0, - "N2": 9, - "programLength": 9, - "programVocabulary": 7, - "volume": 25.26619429851844, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::create" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes": { - "line": 38, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 6, - "N1": 0, - "N2": 6, - "programLength": 6, - "programVocabulary": 6, - "volume": 15.509775004326936, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::getSupportedTypes" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported": { - "line": 49, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 2, - "N2": 3, - "programLength": 5, - "programVocabulary": 4, - "volume": 10, - "difficulty": 1.5, - "effort": 15, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\ChurnExporterFactory::isSupported" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export": { - "line": 30, - "lineCount": 23, - "argCount": 2, - "returnCount": 0, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 16, - "N1": 10, - "N2": 33, - "programLength": 43, - "programVocabulary": 20, - "volume": 185.8429080801566, - "difficulty": 4.125, - "effort": 766.601995830646, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\CsvExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export": { - "line": 28, - "lineCount": 8, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 6, - "volume": 36.18947501009619, - "difficulty": 2.5, - "effort": 90.47368752524048, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape": { - "line": 37, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::escape" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber": { - "line": 42, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::formatNumber" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml": { - "line": 52, - "lineCount": 50, - "argCount": 1, - "returnCount": 1, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 12, - "N1": 11, - "N2": 25, - "programLength": 36, - "programVocabulary": 17, - "volume": 147.14866228501222, - "difficulty": 5.208333333333334, - "effort": 766.3992827344388, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\HtmlExporter::generateHtml" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export": { - "line": 17, - "lineCount": 13, - "argCount": 2, - "returnCount": 0, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 8, - "N1": 7, - "N2": 14, - "programLength": 21, - "programVocabulary": 12, - "volume": 75.28421251514428, - "difficulty": 3.5, - "effort": 263.49474380300495, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\JsonExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export": { - "line": 48, - "lineCount": 8, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 6, - "volume": 36.18947501009619, - "difficulty": 2.5, - "effort": 90.47368752524048, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown": { - "line": 61, - "lineCount": 24, - "argCount": 1, - "returnCount": 1, - "variableCount": 6, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 6, - "n2": 16, - "N1": 19, - "N2": 41, - "programLength": 60, - "programVocabulary": 22, - "volume": 267.56589711823784, - "difficulty": 7.6875, - "effort": 2056.9128340964535, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::generateMarkdown" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow": { - "line": 94, - "lineCount": 21, - "argCount": 3, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 7, - "n2": 18, - "N1": 16, - "N2": 39, - "programLength": 55, - "programVocabulary": 25, - "volume": 255.41209043760983, - "difficulty": 7.583333333333333, - "effort": 1936.8750191518745, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\MarkdownExporter::addRow" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::__construct": { - "line": 26, - "lineCount": 4, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::export": { - "line": 36, - "lineCount": 10, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 8, - "volume": 45, - "difficulty": 5, - "effort": 225, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::generateSvgTreemap": { - "line": 53, - "lineCount": 20, - "argCount": 1, - "returnCount": 1, - "variableCount": 6, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 8, - "N1": 9, - "N2": 20, - "programLength": 29, - "programVocabulary": 10, - "volume": 96.3359147517335, - "difficulty": 2.5, - "effort": 240.83978687933376, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::generateSvgTreemap" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRects": { - "line": 82, - "lineCount": 10, - "argCount": 3, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 9, - "N1": 6, - "N2": 18, - "programLength": 24, - "programVocabulary": 12, - "volume": 86.03910001730775, - "difficulty": 3, - "effort": 258.1173000519232, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRects" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRect": { - "line": 100, - "lineCount": 29, - "argCount": 2, - "returnCount": 1, - "variableCount": 12, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 6, - "n2": 28, - "N1": 26, - "N2": 54, - "programLength": 80, - "programVocabulary": 34, - "volume": 406.9970273000271, - "difficulty": 5.785714285714286, - "effort": 2354.7685150930142, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::renderSvgRect" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::wrapSvg": { - "line": 136, - "lineCount": 21, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 2, - "N2": 8, - "programLength": 10, - "programVocabulary": 4, - "volume": 20, - "difficulty": 1.3333333333333333, - "effort": 26.666666666666664, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\SvgTreemapExporter::wrapSvg" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::prepareItems": { - "line": 28, - "lineCount": 18, - "argCount": 1, - "returnCount": 1, - "variableCount": 7, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 12, - "N1": 9, - "N2": 30, - "programLength": 39, - "programVocabulary": 17, - "volume": 159.41105080876324, - "difficulty": 6.25, - "effort": 996.3190675547702, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::prepareItems" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findScoreRange": { - "line": 53, - "lineCount": 16, - "argCount": 1, - "returnCount": 3, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 7, - "N2": 13, - "programLength": 20, - "programVocabulary": 8, - "volume": 60, - "difficulty": 3.9000000000000004, - "effort": 234.00000000000003, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findScoreRange" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::normalizeScore": { - "line": 78, - "lineCount": 8, - "argCount": 3, - "returnCount": 2, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 8, - "volume": 45, - "difficulty": 5, - "effort": 225, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::normalizeScore" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::scoreToColor": { - "line": 93, - "lineCount": 9, - "argCount": 1, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 5, - "n2": 9, - "N1": 12, - "N2": 16, - "programLength": 28, - "programVocabulary": 14, - "volume": 106.60593781761291, - "difficulty": 4.444444444444445, - "effort": 473.80416807827964, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::scoreToColor" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::calculateTreemapLayout": { - "line": 115, - "lineCount": 23, - "argCount": 7, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 9, - "N1": 2, - "N2": 18, - "programLength": 20, - "programVocabulary": 11, - "volume": 69.18863237274594, - "difficulty": 2, - "effort": 138.37726474549189, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::calculateTreemapLayout" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::layoutTreemap": { - "line": 152, - "lineCount": 89, - "argCount": 8, - "returnCount": 3, - "variableCount": 11, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 8, - "n2": 28, - "N1": 32, - "N2": 98, - "programLength": 130, - "programVocabulary": 36, - "volume": 672.0902501875006, - "difficulty": 14, - "effort": 9409.263502625008, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::layoutTreemap" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findSplitIndex": { - "line": 249, - "lineCount": 13, - "argCount": 2, - "returnCount": 2, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 7, - "n2": 10, - "N1": 9, - "N2": 23, - "programLength": 32, - "programVocabulary": 17, - "volume": 130.79881092001085, - "difficulty": 8.049999999999999, - "effort": 1052.9304279060873, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Churn\\Exporter\\TreemapMath::findSplitIndex" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::__construct": { - "line": 23, - "lineCount": 18, - "argCount": 1, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 7, - "N2": 11, - "programLength": 18, - "programVocabulary": 6, - "volume": 46.529325012980806, - "difficulty": 5.5, - "effort": 255.91128757139444, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::getAllClasses": { - "line": 47, - "lineCount": 17, - "argCount": 0, - "returnCount": 2, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 6, - "N2": 12, - "programLength": 18, - "programVocabulary": 9, - "volume": 57.05865002596162, - "difficulty": 3, - "effort": 171.17595007788486, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::getAllClasses" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::withClassNode": { - "line": 73, - "lineCount": 8, - "argCount": 2, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 4, - "N1": 4, - "N2": 8, - "programLength": 12, - "programVocabulary": 8, - "volume": 36, - "difficulty": 4, - "effort": 144, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::withClassNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::findClassNode": { - "line": 85, - "lineCount": 25, - "argCount": 1, - "returnCount": 4, - "variableCount": 5, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 13, - "N2": 29, - "programLength": 42, - "programVocabulary": 11, - "volume": 145.29612798276648, - "difficulty": 8.285714285714286, - "effort": 1203.8822032857795, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::findClassNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::escapeXPathValue": { - "line": 114, - "lineCount": 16, - "argCount": 1, - "returnCount": 3, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 9, - "N1": 11, - "N2": 18, - "programLength": 29, - "programVocabulary": 13, - "volume": 107.31275182609167, - "difficulty": 4, - "effort": 429.2510073043667, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\AbstractXmlCoverageReader::escapeXPathValue" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getLineCoverage": { - "line": 22, - "lineCount": 18, - "argCount": 1, - "returnCount": 4, - "variableCount": 5, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 9, - "N1": 10, - "N2": 19, - "programLength": 29, - "programVocabulary": 13, - "volume": 107.31275182609167, - "difficulty": 4.222222222222222, - "effort": 453.09828548794263, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getLineCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getBranchCoverage": { - "line": 48, - "lineCount": 18, - "argCount": 1, - "returnCount": 4, - "variableCount": 5, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 9, - "N1": 10, - "N2": 19, - "programLength": 29, - "programVocabulary": 13, - "volume": 107.31275182609167, - "difficulty": 4.222222222222222, - "effort": 453.09828548794263, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getBranchCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getComplexity": { - "line": 73, - "lineCount": 13, - "argCount": 1, - "returnCount": 3, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 7, - "N2": 14, - "programLength": 21, - "programVocabulary": 11, - "volume": 72.64806399138324, - "difficulty": 4, - "effort": 290.59225596553296, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getComplexity" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getCoverageDetails": { - "line": 93, - "lineCount": 26, - "argCount": 1, - "returnCount": 3, - "variableCount": 9, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 17, - "N1": 22, - "N2": 42, - "programLength": 64, - "programVocabulary": 22, - "volume": 285.403623592787, - "difficulty": 6.176470588235294, - "effort": 1762.7870868966259, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getCoverageDetails" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getMetricsNode": { - "line": 123, - "lineCount": 12, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 6, - "N1": 7, - "N2": 13, - "programLength": 20, - "programVocabulary": 10, - "volume": 66.43856189774725, - "difficulty": 4.333333333333333, - "effort": 287.90043489023805, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getMetricsNode" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getFilenameForClass": { - "line": 139, - "lineCount": 9, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 5, - "N1": 4, - "N2": 9, - "programLength": 13, - "programVocabulary": 9, - "volume": 41.209025018750054, - "difficulty": 3.6, - "effort": 148.3524900675002, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::getFilenameForClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodsCoverage": { - "line": 154, - "lineCount": 36, - "argCount": 1, - "returnCount": 3, - "variableCount": 8, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 13, - "N1": 12, - "N2": 30, - "programLength": 42, - "programVocabulary": 16, - "volume": 168, - "difficulty": 3.4615384615384612, - "effort": 581.5384615384614, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodsCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::calculateMethodCoverage": { - "line": 194, - "lineCount": 15, - "argCount": 2, - "returnCount": 2, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 11, - "N1": 9, - "N2": 23, - "programLength": 32, - "programVocabulary": 16, - "volume": 128, - "difficulty": 5.227272727272727, - "effort": 669.090909090909, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::calculateMethodCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodCoverageFromLines": { - "line": 215, - "lineCount": 36, - "argCount": 2, - "returnCount": 1, - "variableCount": 7, - "propertyCallCount": 0, - "ifNestingLevel": 2, - "elseCount": 0, - "ifCount": 5, - "halstead": { - "n1": 2, - "n2": 14, - "N1": 12, - "N2": 35, - "programLength": 47, - "programVocabulary": 16, - "volume": 188, - "difficulty": 2.5, - "effort": 470, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::extractMethodCoverageFromLines" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStart": { - "line": 252, - "lineCount": 4, - "argCount": 3, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 3, - "N2": 7, - "programLength": 10, - "programVocabulary": 6, - "volume": 25.84962500721156, - "difficulty": 1.75, - "effort": 45.23684376262023, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStart" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodEnd": { - "line": 257, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 5, - "programLength": 7, - "programVocabulary": 5, - "volume": 16.253496664211536, - "difficulty": 1.6666666666666667, - "effort": 27.089161107019226, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodEnd" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStatement": { - "line": 262, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 5, - "programLength": 7, - "programVocabulary": 5, - "volume": 16.253496664211536, - "difficulty": 1.6666666666666667, - "effort": 27.089161107019226, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isMethodStatement" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isStatementCovered": { - "line": 267, - "lineCount": 5, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 4, - "N1": 3, - "N2": 6, - "programLength": 9, - "programVocabulary": 7, - "volume": 25.26619429851844, - "difficulty": 2.25, - "effort": 56.848937171666485, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CloverReader::isStatementCovered" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getLineCoverage": { - "line": 20, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 9, - "volume": 44.37895002019237, - "difficulty": 2.5, - "effort": 110.94737505048093, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getLineCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getBranchCoverage": { - "line": 34, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 9, - "volume": 44.37895002019237, - "difficulty": 2.5, - "effort": 110.94737505048093, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getBranchCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getComplexity": { - "line": 48, - "lineCount": 7, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 9, - "volume": 44.37895002019237, - "difficulty": 2.5, - "effort": 110.94737505048093, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getComplexity" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getCoverageDetails": { - "line": 62, - "lineCount": 13, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 8, - "N1": 7, - "N2": 16, - "programLength": 23, - "programVocabulary": 9, - "volume": 72.90827503317318, - "difficulty": 1, - "effort": 72.90827503317318, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::getCoverageDetails" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::extractMethodsCoverage": { - "line": 81, - "lineCount": 23, - "argCount": 1, - "returnCount": 2, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 11, - "N1": 10, - "N2": 23, - "programLength": 33, - "programVocabulary": 14, - "volume": 125.64271242790093, - "difficulty": 3.1363636363636362, - "effort": 394.061234432962, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoberturaReader::extractMethodsCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CodeCoverageFactory::createFromName": { - "line": 14, - "lineCount": 8, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 4, - "N1": 1, - "N2": 8, - "programLength": 9, - "programVocabulary": 5, - "volume": 20.89735285398626, - "difficulty": 1, - "effort": 20.89735285398626, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CodeCoverageFactory::createFromName" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::__construct": { - "line": 28, - "lineCount": 15, - "argCount": 6, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 6, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 7, - "N1": 6, - "N2": 18, - "programLength": 24, - "programVocabulary": 8, - "volume": 72, - "difficulty": 1.2857142857142858, - "effort": 92.57142857142858, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getName": { - "line": 44, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getName" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getFilename": { - "line": 49, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getFilename" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getLineRate": { - "line": 54, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getLineRate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getBranchRate": { - "line": 59, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getBranchRate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getComplexity": { - "line": 64, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getComplexity" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getMethods": { - "line": 72, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\CoverageDetails::getMethods" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::__construct": { - "line": 17, - "lineCount": 11, - "argCount": 4, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 4, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 5, - "N1": 4, - "N2": 12, - "programLength": 16, - "programVocabulary": 6, - "volume": 41.3594000115385, - "difficulty": 1.2, - "effort": 49.631280013846194, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getName": { - "line": 29, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getName" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getLineRate": { - "line": 34, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getLineRate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getBranchRate": { - "line": 39, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getBranchRate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getComplexity": { - "line": 44, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\CodeCoverage\\MethodCoverage::getComplexity" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::calculateDeltas": { - "line": 19, - "lineCount": 14, - "argCount": 2, - "returnCount": 0, - "variableCount": 6, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 9, - "N1": 4, - "N2": 18, - "programLength": 22, - "programVocabulary": 11, - "volume": 76.10749561002054, - "difficulty": 2, - "effort": 152.21499122004107, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::calculateDeltas" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::loadBaseline": { - "line": 41, - "lineCount": 13, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 5, - "N2": 9, - "programLength": 14, - "programVocabulary": 8, - "volume": 42, - "difficulty": 2.7, - "effort": 113.4, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Baseline::loadBaseline" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::__construct": { - "line": 72, - "lineCount": 21, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 6, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 9, - "N1": 12, - "N2": 34, - "programLength": 46, - "programVocabulary": 12, - "volume": 164.90827503317317, - "difficulty": 5.666666666666666, - "effort": 934.4802251879812, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setRequiredMetricProperties": { - "line": 98, - "lineCount": 30, - "argCount": 1, - "returnCount": 0, - "variableCount": 6, - "propertyCallCount": 9, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 21, - "N1": 21, - "N2": 51, - "programLength": 72, - "programVocabulary": 24, - "volume": 330.1173000519232, - "difficulty": 3.6428571428571423, - "effort": 1202.570164474863, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setRequiredMetricProperties" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setOptionalMetricProperties": { - "line": 133, - "lineCount": 12, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 8, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 11, - "N1": 16, - "N2": 33, - "programLength": 49, - "programVocabulary": 13, - "volume": 181.32154618891352, - "difficulty": 3, - "effort": 543.9646385667405, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setOptionalMetricProperties" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setTimesChanged": { - "line": 146, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setTimesChanged" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertSame": { - "line": 151, - "lineCount": 14, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 6, - "N2": 8, - "programLength": 14, - "programVocabulary": 5, - "volume": 32.50699332842307, - "difficulty": 2.6666666666666665, - "effort": 86.68531554246152, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertSame" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::calculateDeltas": { - "line": 169, - "lineCount": 13, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 16, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 17, - "N2": 27, - "programLength": 44, - "programVocabulary": 4, - "volume": 88, - "difficulty": 13.5, - "effort": 1188, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::calculateDeltas" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::fromArray": { - "line": 187, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::fromArray" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertArrayKeyIsPresent": { - "line": 197, - "lineCount": 6, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 5, - "programLength": 5, - "programVocabulary": 2, - "volume": 5, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::assertArrayKeyIsPresent" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getClass": { - "line": 204, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getMethod": { - "line": 209, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getMethod" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCount": { - "line": 214, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCount": { - "line": 219, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCount": { - "line": 224, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCount": { - "line": 229, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCount": { - "line": 234, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCount": { - "line": 239, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevel": { - "line": 244, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevel" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCount": { - "line": 249, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCount" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeight": { - "line": 254, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setLineCountWeight": { - "line": 259, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setLineCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeight": { - "line": 264, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setArgCountWeight": { - "line": 269, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setArgCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeight": { - "line": 274, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setReturnCountWeight": { - "line": 279, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setReturnCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeight": { - "line": 284, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setVariableCountWeight": { - "line": 289, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setVariableCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeight": { - "line": 294, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setPropertyCallCountWeight": { - "line": 299, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setPropertyCallCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeight": { - "line": 304, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfCountWeight": { - "line": 309, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeight": { - "line": 314, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfNestingLevelWeight": { - "line": 319, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setIfNestingLevelWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeight": { - "line": 324, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setElseCountWeight": { - "line": 329, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setElseCountWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setScore": { - "line": 334, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setScore" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getScore": { - "line": 339, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getScore" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setCoverage": { - "line": 344, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::setCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCoverage": { - "line": 349, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeightDelta": { - "line": 354, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLineCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeightDelta": { - "line": 359, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getArgCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeightDelta": { - "line": 364, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getReturnCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeightDelta": { - "line": 369, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getVariableCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeightDelta": { - "line": 374, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getPropertyCallCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeightDelta": { - "line": 379, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeightDelta": { - "line": 384, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getIfNestingLevelWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeightDelta": { - "line": 389, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getElseCountWeightDelta" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getTimesChanged": { - "line": 394, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 2, - "programLength": 3, - "programVocabulary": 3, - "volume": 4.754887502163468, - "difficulty": 0.5, - "effort": 2.377443751081734, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getTimesChanged" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getFileName": { - "line": 399, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getFileName" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLine": { - "line": 404, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getLine" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::equals": { - "line": 409, - "lineCount": 5, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 2, - "N1": 5, - "N2": 5, - "programLength": 10, - "programVocabulary": 5, - "volume": 23.21928094887362, - "difficulty": 3.75, - "effort": 87.07230355827608, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::equals" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::toArray": { - "line": 418, - "lineCount": 34, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 29, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 30, - "N1": 0, - "N2": 58, - "programLength": 58, - "programVocabulary": 30, - "volume": 284.5996545452941, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::toArray" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::jsonSerialize": { - "line": 456, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::jsonSerialize" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getHalstead": { - "line": 464, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getHalstead" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCyclomatic": { - "line": 472, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics::getCyclomatic" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::add": { - "line": 30, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 5, - "N2": 6, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 3, - "effort": 85.30376252379816, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::add" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filter": { - "line": 40, - "lineCount": 11, - "argCount": 1, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 4, - "N2": 10, - "programLength": 14, - "programVocabulary": 8, - "volume": 42, - "difficulty": 3, - "effort": 126, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filter" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getIterator": { - "line": 57, - "lineCount": 5, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getIterator" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::count": { - "line": 66, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::count" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterWithScoreGreaterThan": { - "line": 71, - "lineCount": 6, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 3, - "N2": 6, - "programLength": 9, - "programVocabulary": 5, - "volume": 20.89735285398626, - "difficulty": 2, - "effort": 41.79470570797252, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterWithScoreGreaterThan" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::contains": { - "line": 78, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 4, - "N2": 5, - "programLength": 9, - "programVocabulary": 5, - "volume": 20.89735285398626, - "difficulty": 1.6666666666666667, - "effort": 34.82892142331043, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::contains" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getClassWithMethod": { - "line": 83, - "lineCount": 9, - "argCount": 2, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 3, - "N2": 10, - "programLength": 13, - "programVocabulary": 7, - "volume": 36.49561398674886, - "difficulty": 2, - "effort": 72.99122797349771, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::getClassWithMethod" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterByClassName": { - "line": 93, - "lineCount": 6, - "argCount": 1, - "returnCount": 2, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 3, - "N2": 6, - "programLength": 9, - "programVocabulary": 5, - "volume": 20.89735285398626, - "difficulty": 2, - "effort": 41.79470570797252, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::filterByClassName" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::assertMetricHasGetter": { - "line": 100, - "lineCount": 9, - "argCount": 3, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 6, - "programLength": 7, - "programVocabulary": 4, - "volume": 14, - "difficulty": 1, - "effort": 14, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::assertMetricHasGetter" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::groupBy": { - "line": 117, - "lineCount": 20, - "argCount": 1, - "returnCount": 1, - "variableCount": 5, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 10, - "N2": 23, - "programLength": 33, - "programVocabulary": 11, - "volume": 114.16124341503081, - "difficulty": 6.571428571428571, - "effort": 750.2024567273453, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::groupBy" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::jsonSerialize": { - "line": 141, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollection::jsonSerialize" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::__construct": { - "line": 32, - "lineCount": 8, - "argCount": 5, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 5, - "N1": 0, - "N2": 5, - "programLength": 5, - "programVocabulary": 5, - "volume": 11.60964047443681, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collect": { - "line": 49, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 5, - "programLength": 6, - "programVocabulary": 4, - "volume": 12, - "difficulty": 0.8333333333333334, - "effort": 10, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collect" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collectFromPaths": { - "line": 62, - "lineCount": 13, - "argCount": 2, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 8, - "N2": 16, - "programLength": 24, - "programVocabulary": 9, - "volume": 76.07820003461549, - "difficulty": 4, - "effort": 304.31280013846197, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::collectFromPaths" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCodeFromFile": { - "line": 79, - "lineCount": 10, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 2, - "N1": 5, - "N2": 6, - "programLength": 11, - "programVocabulary": 6, - "volume": 28.43458750793272, - "difficulty": 6, - "effort": 170.6075250475963, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCodeFromFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findMetrics": { - "line": 98, - "lineCount": 31, - "argCount": 1, - "returnCount": 1, - "variableCount": 9, - "propertyCallCount": 2, - "ifNestingLevel": 2, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 13, - "N1": 18, - "N2": 38, - "programLength": 56, - "programVocabulary": 16, - "volume": 224, - "difficulty": 4.384615384615384, - "effort": 982.1538461538461, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findMetrics" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processMethodMetrics": { - "line": 136, - "lineCount": 29, - "argCount": 3, - "returnCount": 1, - "variableCount": 7, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 14, - "N1": 8, - "N2": 27, - "programLength": 35, - "programVocabulary": 17, - "volume": 143.06119944376186, - "difficulty": 2.892857142857143, - "effort": 413.8556126765968, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processMethodMetrics" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::isExcluded": { - "line": 166, - "lineCount": 12, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 5, - "N1": 5, - "N2": 9, - "programLength": 14, - "programVocabulary": 9, - "volume": 44.37895002019237, - "difficulty": 3.6, - "effort": 159.76422007269252, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::isExcluded" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findSourceFiles": { - "line": 187, - "lineCount": 7, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 2, - "N2": 6, - "programLength": 8, - "programVocabulary": 6, - "volume": 20.67970000576925, - "difficulty": 1.5, - "effort": 31.019550008653873, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::findSourceFiles" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getProjectRoot": { - "line": 202, - "lineCount": 13, - "argCount": 0, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 2, - "N1": 8, - "N2": 8, - "programLength": 16, - "programVocabulary": 6, - "volume": 41.3594000115385, - "difficulty": 8, - "effort": 330.875200092308, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getProjectRoot" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateCacheKey": { - "line": 219, - "lineCount": 7, - "argCount": 2, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 6, - "N1": 10, - "N2": 12, - "programLength": 22, - "programVocabulary": 10, - "volume": 73.08241808752197, - "difficulty": 4, - "effort": 292.3296723500879, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateCacheKey" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateConfigHash": { - "line": 230, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 1, - "N1": 3, - "N2": 2, - "programLength": 5, - "programVocabulary": 3, - "volume": 7.92481250360578, - "difficulty": 2, - "effort": 15.84962500721156, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::generateConfigHash" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::cacheResult": { - "line": 239, - "lineCount": 14, - "argCount": 4, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 13, - "N1": 5, - "N2": 20, - "programLength": 25, - "programVocabulary": 15, - "volume": 97.67226489021297, - "difficulty": 1.5384615384615385, - "effort": 150.26502290801997, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::cacheResult" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::clearCache": { - "line": 254, - "lineCount": 4, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::clearCache" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::normalizeFilename": { - "line": 264, - "lineCount": 15, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 6, - "n2": 7, - "N1": 12, - "N2": 16, - "programLength": 28, - "programVocabulary": 13, - "volume": 103.61231210795059, - "difficulty": 6.857142857142857, - "effort": 710.4844258830897, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::normalizeFilename" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCachedMetrics": { - "line": 286, - "lineCount": 19, - "argCount": 3, - "returnCount": 3, - "variableCount": 4, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 11, - "N1": 10, - "N2": 29, - "programLength": 39, - "programVocabulary": 14, - "volume": 148.48684196024655, - "difficulty": 3.954545454545454, - "effort": 587.1979659337022, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::getCachedMetrics" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processFile": { - "line": 312, - "lineCount": 37, - "argCount": 5, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 7, - "n2": 10, - "N1": 12, - "N2": 28, - "programLength": 40, - "programVocabulary": 17, - "volume": 163.49851365001356, - "difficulty": 9.799999999999999, - "effort": 1602.2854337701328, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsCollector::processFile" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::sort": { - "line": 51, - "lineCount": 41, - "argCount": 3, - "returnCount": 2, - "variableCount": 10, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 18, - "N1": 20, - "N2": 43, - "programLength": 63, - "programVocabulary": 22, - "volume": 280.9441919741497, - "difficulty": 4.777777777777778, - "effort": 1342.2889172098264, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::sort" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getFieldValue": { - "line": 100, - "lineCount": 28, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 25, - "N1": 24, - "N2": 50, - "programLength": 74, - "programVocabulary": 27, - "volume": 351.86167516009664, - "difficulty": 2, - "effort": 703.7233503201933, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getFieldValue" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::compareValues": { - "line": 136, - "lineCount": 13, - "argCount": 2, - "returnCount": 3, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 2, - "N1": 9, - "N2": 12, - "programLength": 21, - "programVocabulary": 5, - "volume": 48.760489992634604, - "difficulty": 9, - "effort": 438.8444099337114, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::compareValues" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getSortableFields": { - "line": 155, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 0, - "N1": 0, - "N2": 0, - "programLength": 0, - "programVocabulary": 0, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetricsSorter::getSortableFields" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__construct": { - "line": 15, - "lineCount": 11, - "argCount": 2, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 7, - "N2": 12, - "programLength": 19, - "programVocabulary": 6, - "volume": 49.11428751370197, - "difficulty": 6, - "effort": 294.6857250822118, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::getValue": { - "line": 27, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::getValue" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasIncreased": { - "line": 32, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasIncreased" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__toString": { - "line": 37, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::__toString" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasNotChanged": { - "line": 42, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 2, - "programLength": 3, - "programVocabulary": 3, - "volume": 4.754887502163468, - "difficulty": 0.5, - "effort": 2.377443751081734, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Delta::hasNotChanged" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\FileProcessed::__construct": { - "line": 14, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\FileProcessed::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\ParserFailed::__construct": { - "line": 15, - "lineCount": 5, - "argCount": 2, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 2, - "N1": 0, - "N2": 2, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\ParserFailed::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\SourceFilesFound::__construct": { - "line": 17, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Events\\SourceFilesFound::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::__construct": { - "line": 15, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::create": { - "line": 27, - "lineCount": 10, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 6, - "N1": 0, - "N2": 8, - "programLength": 8, - "programVocabulary": 6, - "volume": 20.67970000576925, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::create" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::getSupportedTypes": { - "line": 43, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 4, - "N1": 0, - "N2": 4, - "programLength": 4, - "programVocabulary": 4, - "volume": 8, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::getSupportedTypes" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::isSupported": { - "line": 54, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 2, - "N1": 2, - "N2": 3, - "programLength": 5, - "programVocabulary": 4, - "volume": 10, - "difficulty": 1.5, - "effort": 15, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CognitiveExporterFactory::isSupported" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CsvExporter::export": { - "line": 46, - "lineCount": 57, - "argCount": 2, - "returnCount": 0, - "variableCount": 6, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 15, - "N1": 37, - "N2": 54, - "programLength": 91, - "programVocabulary": 19, - "volume": 386.56140372336625, - "difficulty": 7.2, - "effort": 2783.242106808237, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\CsvExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::export": { - "line": 40, - "lineCount": 8, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 5, - "N1": 4, - "N2": 8, - "programLength": 12, - "programVocabulary": 9, - "volume": 38.039100017307746, - "difficulty": 3.2, - "effort": 121.72512005538479, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::escape": { - "line": 49, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::escape" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::formatNumber": { - "line": 54, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::formatNumber" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::generateMetricRow": { - "line": 59, - "lineCount": 12, - "argCount": 3, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 16, - "N1": 19, - "N2": 27, - "programLength": 46, - "programVocabulary": 21, - "volume": 202.04660144782298, - "difficulty": 4.21875, - "effort": 852.3840998580032, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::generateMetricRow" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::generateHtml": { - "line": 78, - "lineCount": 64, - "argCount": 1, - "returnCount": 1, - "variableCount": 7, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 11, - "N1": 46, - "N2": 57, - "programLength": 103, - "programVocabulary": 15, - "volume": 402.40973134767745, - "difficulty": 10.363636363636363, - "effort": 4170.42812487593, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\HtmlExporter::generateHtml" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\JsonExporter::export": { - "line": 19, - "lineCount": 38, - "argCount": 2, - "returnCount": 0, - "variableCount": 5, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 27, - "N1": 29, - "N2": 58, - "programLength": 87, - "programVocabulary": 32, - "volume": 435, - "difficulty": 5.370370370370371, - "effort": 2336.1111111111113, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\JsonExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::__construct": { - "line": 24, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::export": { - "line": 36, - "lineCount": 8, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 5, - "N1": 4, - "N2": 8, - "programLength": 12, - "programVocabulary": 9, - "volume": 38.039100017307746, - "difficulty": 3.2, - "effort": 121.72512005538479, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::export" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::escape": { - "line": 48, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::escape" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateMetricCell": { - "line": 56, - "lineCount": 12, - "argCount": 3, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 12, - "N1": 16, - "N2": 24, - "programLength": 40, - "programVocabulary": 17, - "volume": 163.49851365001356, - "difficulty": 5, - "effort": 817.4925682500678, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateMetricCell" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::filterMetrics": { - "line": 75, - "lineCount": 15, - "argCount": 1, - "returnCount": 2, - "variableCount": 3, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 4, - "N1": 4, - "N2": 11, - "programLength": 15, - "programVocabulary": 7, - "volume": 42.11032383086406, - "difficulty": 4.125, - "effort": 173.70508580231424, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::filterMetrics" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableHeader": { - "line": 94, - "lineCount": 33, - "argCount": 0, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 4, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 19, - "N1": 10, - "N2": 28, - "programLength": 38, - "programVocabulary": 22, - "volume": 169.4584015082173, - "difficulty": 2.2105263157894735, - "effort": 374.5922559655329, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableHeader" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableHeaderWithClass": { - "line": 131, - "lineCount": 33, - "argCount": 0, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 4, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 20, - "N1": 10, - "N2": 29, - "programLength": 39, - "programVocabulary": 23, - "volume": 176.41891628622352, - "difficulty": 2.175, - "effort": 383.7111429225361, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableHeaderWithClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableSeparator": { - "line": 168, - "lineCount": 20, - "argCount": 0, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 4, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 7, - "N1": 3, - "N2": 16, - "programLength": 19, - "programVocabulary": 10, - "volume": 63.11663380285988, - "difficulty": 3.4285714285714284, - "effort": 216.399887324091, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableSeparator" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableSeparatorWithClass": { - "line": 192, - "lineCount": 20, - "argCount": 0, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 4, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 3, - "n2": 8, - "N1": 3, - "N2": 16, - "programLength": 19, - "programVocabulary": 11, - "volume": 65.72920075410865, - "difficulty": 3, - "effort": 197.18760226232592, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableSeparatorWithClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableRow": { - "line": 216, - "lineCount": 22, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 6, - "N1": 53, - "N2": 60, - "programLength": 113, - "programVocabulary": 10, - "volume": 375.37787472227194, - "difficulty": 20, - "effort": 7507.557494445438, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableRow" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableRowWithClass": { - "line": 242, - "lineCount": 25, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 4, - "n2": 6, - "N1": 55, - "N2": 62, - "programLength": 117, - "programVocabulary": 10, - "volume": 388.66558710182136, - "difficulty": 20.666666666666668, - "effort": 8032.422133437642, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::buildTableRowWithClass" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::addHalsteadCells": { - "line": 274, - "lineCount": 20, - "argCount": 2, - "returnCount": 3, - "variableCount": 2, - "propertyCallCount": 5, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 12, - "N2": 24, - "programLength": 36, - "programVocabulary": 8, - "volume": 108, - "difficulty": 7.199999999999999, - "effort": 777.5999999999999, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::addHalsteadCells" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::addCyclomaticCell": { - "line": 301, - "lineCount": 16, - "argCount": 2, - "returnCount": 3, - "variableCount": 2, - "propertyCallCount": 4, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 8, - "N2": 16, - "programLength": 24, - "programVocabulary": 11, - "volume": 83.02635884729514, - "difficulty": 4.571428571428571, - "effort": 379.5490690162063, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::addCyclomaticCell" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateMarkdown": { - "line": 325, - "lineCount": 8, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 2, - "N2": 6, - "programLength": 8, - "programVocabulary": 3, - "volume": 12.679700005769249, - "difficulty": 1.5, - "effort": 19.019550008653873, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateMarkdown" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateGroupedMarkdown": { - "line": 337, - "lineCount": 49, - "argCount": 1, - "returnCount": 1, - "variableCount": 10, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 3, - "halstead": { - "n1": 8, - "n2": 23, - "N1": 33, - "N2": 65, - "programLength": 98, - "programVocabulary": 31, - "volume": 485.5112384179137, - "difficulty": 11.304347826086957, - "effort": 5488.387912550329, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateGroupedMarkdown" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateSingleTableMarkdown": { - "line": 390, - "lineCount": 28, - "argCount": 1, - "returnCount": 1, - "variableCount": 6, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 6, - "n2": 13, - "N1": 19, - "N2": 37, - "programLength": 56, - "programVocabulary": 19, - "volume": 237.88394075284077, - "difficulty": 8.538461538461538, - "effort": 2031.1628787357943, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Exporter\\MarkdownExporter::generateSingleTableMarkdown" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::__construct": { - "line": 32, - "lineCount": 26, - "argCount": 2, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 7, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 14, - "N2": 22, - "programLength": 36, - "programVocabulary": 5, - "volume": 83.58941141594504, - "difficulty": 7.333333333333333, - "effort": 612.9890170502636, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::parse": { - "line": 63, - "lineCount": 37, - "argCount": 1, - "returnCount": 1, - "variableCount": 9, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 3, - "n2": 14, - "N1": 16, - "N2": 43, - "programLength": 59, - "programVocabulary": 17, - "volume": 241.16030763377, - "difficulty": 4.607142857142858, - "effort": 1111.0599887412977, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::parse" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::scanForAnnotations": { - "line": 104, - "lineCount": 20, - "argCount": 1, - "returnCount": 0, - "variableCount": 4, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 7, - "N1": 8, - "N2": 16, - "programLength": 24, - "programVocabulary": 10, - "volume": 79.7262742772967, - "difficulty": 3.4285714285714284, - "effort": 273.34722609358863, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::scanForAnnotations" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::traverseAbstractSyntaxTreeWithCombinedVisitor": { - "line": 129, - "lineCount": 17, - "argCount": 1, - "returnCount": 0, - "variableCount": 4, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 7, - "N1": 7, - "N2": 15, - "programLength": 22, - "programVocabulary": 10, - "volume": 73.08241808752197, - "difficulty": 3.2142857142857144, - "effort": 234.90777242417778, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::traverseAbstractSyntaxTreeWithCombinedVisitor" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getIgnored": { - "line": 153, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getIgnored" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getIgnoredClasses": { - "line": 163, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getIgnoredClasses" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getIgnoredMethods": { - "line": 173, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getIgnoredMethods" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::clearStaticCaches": { - "line": 181, - "lineCount": 15, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 9, - "N1": 7, - "N2": 19, - "programLength": 26, - "programVocabulary": 10, - "volume": 86.37013046707142, - "difficulty": 1.0555555555555556, - "effort": 91.16847104857538, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::clearStaticCaches" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::clearStaticProperty": { - "line": 200, - "lineCount": 14, - "argCount": 2, - "returnCount": 0, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 6, - "N2": 12, - "programLength": 18, - "programVocabulary": 7, - "volume": 50.53238859703688, - "difficulty": 2.4, - "effort": 121.2777326328885, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::clearStaticProperty" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getRiskLevel": { - "line": 218, - "lineCount": 9, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 8, - "N1": 3, - "N2": 11, - "programLength": 14, - "programVocabulary": 9, - "volume": 44.37895002019237, - "difficulty": 0.6875, - "effort": 30.510528138882254, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\Parser::getRiskLevel" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculate": { - "line": 47, - "lineCount": 5, - "argCount": 2, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 2, - "N2": 8, - "programLength": 10, - "programVocabulary": 4, - "volume": 20, - "difficulty": 1.3333333333333333, - "effort": 26.666666666666664, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculate" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculateScore": { - "line": 53, - "lineCount": 10, - "argCount": 1, - "returnCount": 0, - "variableCount": 4, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 4, - "n2": 9, - "N1": 7, - "N2": 15, - "programLength": 22, - "programVocabulary": 13, - "volume": 81.40967379910403, - "difficulty": 3.3333333333333335, - "effort": 271.36557933034675, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculateScore" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculateMetricWeights": { - "line": 70, - "lineCount": 17, - "argCount": 3, - "returnCount": 0, - "variableCount": 6, - "propertyCallCount": 3, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 3, - "n2": 12, - "N1": 9, - "N2": 24, - "programLength": 33, - "programVocabulary": 15, - "volume": 128.92738965508113, - "difficulty": 3, - "effort": 386.7821689652434, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculateMetricWeights" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculateLogWeight": { - "line": 132, - "lineCount": 8, - "argCount": 3, - "returnCount": 2, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 5, - "n2": 5, - "N1": 5, - "N2": 11, - "programLength": 16, - "programVocabulary": 10, - "volume": 53.150849518197795, - "difficulty": 5.5, - "effort": 292.3296723500879, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\ScoreCalculator::calculateLogWeight" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cyclomatic\\CyclomaticMetrics::__construct": { - "line": 129, - "lineCount": 23, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 19, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 43, - "N1": 56, - "N2": 130, - "programLength": 186, - "programVocabulary": 45, - "volume": 1021.4846759173195, - "difficulty": 3.0232558139534884, - "effort": 3088.209485331431, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Cyclomatic\\CyclomaticMetrics::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::escapeMarkdown": { - "line": 18, - "lineCount": 6, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 5, - "N1": 1, - "N2": 6, - "programLength": 7, - "programVocabulary": 6, - "volume": 18.094737505048094, - "difficulty": 0.6, - "effort": 10.856842503028856, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::escapeMarkdown" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::formatNumber": { - "line": 32, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 5, - "programLength": 6, - "programVocabulary": 4, - "volume": 12, - "difficulty": 0.8333333333333334, - "effort": 10, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::formatNumber" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::buildTableHeader": { - "line": 43, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 3, - "N2": 5, - "programLength": 8, - "programVocabulary": 6, - "volume": 20.67970000576925, - "difficulty": 1.25, - "effort": 25.84962500721156, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::buildTableHeader" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::buildTableSeparator": { - "line": 54, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 4, - "programLength": 6, - "programVocabulary": 5, - "volume": 13.931568569324174, - "difficulty": 1.3333333333333333, - "effort": 18.575424759098897, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::buildTableSeparator" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::buildTableRow": { - "line": 65, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 3, - "N2": 5, - "programLength": 8, - "programVocabulary": 6, - "volume": 20.67970000576925, - "difficulty": 1.25, - "effort": 25.84962500721156, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::buildTableRow" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::formatPercentage": { - "line": 77, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 2, - "N2": 6, - "programLength": 8, - "programVocabulary": 6, - "volume": 20.67970000576925, - "difficulty": 1.5, - "effort": 31.019550008653873, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\AbstractMarkdownExporter::formatPercentage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::escapeMarkdown": { - "line": 18, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 5, - "N1": 1, - "N2": 6, - "programLength": 7, - "programVocabulary": 6, - "volume": 18.094737505048094, - "difficulty": 0.6, - "effort": 10.856842503028856, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::escapeMarkdown" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::formatNumber": { - "line": 30, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 3, - "N1": 1, - "N2": 5, - "programLength": 6, - "programVocabulary": 4, - "volume": 12, - "difficulty": 0.8333333333333334, - "effort": 10, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::formatNumber" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::buildMarkdownTableHeader": { - "line": 41, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 3, - "N2": 5, - "programLength": 8, - "programVocabulary": 6, - "volume": 20.67970000576925, - "difficulty": 1.25, - "effort": 25.84962500721156, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::buildMarkdownTableHeader" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::buildMarkdownTableSeparator": { - "line": 52, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 2, - "N2": 4, - "programLength": 6, - "programVocabulary": 5, - "volume": 13.931568569324174, - "difficulty": 1.3333333333333333, - "effort": 18.575424759098897, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::buildMarkdownTableSeparator" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::buildMarkdownTableRow": { - "line": 63, - "lineCount": 4, - "argCount": 1, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 3, - "N2": 5, - "programLength": 8, - "programVocabulary": 6, - "volume": 20.67970000576925, - "difficulty": 1.25, - "effort": 25.84962500721156, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::buildMarkdownTableRow" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::formatMarkdownPercentage": { - "line": 75, - "lineCount": 4, - "argCount": 2, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 2, - "N2": 6, - "programLength": 8, - "programVocabulary": 6, - "volume": 20.67970000576925, - "difficulty": 1.5, - "effort": 31.019550008653873, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Exporter\\MarkdownFormatterTrait::formatMarkdownPercentage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Halstead\\HalsteadMetrics::__construct": { - "line": 33, - "lineCount": 13, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 10, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 12, - "N1": 10, - "N2": 31, - "programLength": 41, - "programVocabulary": 13, - "volume": 151.7180284437848, - "difficulty": 1.2916666666666667, - "effort": 195.96912007322203, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Halstead\\HalsteadMetrics::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Halstead\\HalsteadMetrics::getVolume": { - "line": 47, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 0, - "n2": 1, - "N1": 0, - "N2": 1, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Halstead\\HalsteadMetrics::getVolume" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::__construct": { - "line": 32, - "lineCount": 9, - "argCount": 5, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 7, - "N1": 2, - "N2": 7, - "programLength": 9, - "programVocabulary": 9, - "volume": 28.52932501298081, - "difficulty": 1, - "effort": 28.52932501298081, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::getChurnExporterFactory": { - "line": 45, - "lineCount": 7, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 1, - "N1": 2, - "N2": 3, - "programLength": 5, - "programVocabulary": 3, - "volume": 7.92481250360578, - "difficulty": 3, - "effort": 23.774437510817343, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::getChurnExporterFactory" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::getCognitiveExporterFactory": { - "line": 56, - "lineCount": 7, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 2, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 1, - "N1": 3, - "N2": 4, - "programLength": 7, - "programVocabulary": 4, - "volume": 14, - "difficulty": 6, - "effort": 84, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::getCognitiveExporterFactory" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::getCognitiveMetrics": { - "line": 72, - "lineCount": 10, - "argCount": 1, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 3, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 5, - "N2": 11, - "programLength": 16, - "programVocabulary": 6, - "volume": 41.3594000115385, - "difficulty": 2.75, - "effort": 113.73835003173087, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::getCognitiveMetrics" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::getCognitiveMetricsFromPaths": { - "line": 92, - "lineCount": 16, - "argCount": 2, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 3, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 6, - "N1": 8, - "N2": 18, - "programLength": 26, - "programVocabulary": 9, - "volume": 82.41805003750011, - "difficulty": 4.5, - "effort": 370.88122516875046, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::getCognitiveMetricsFromPaths" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::calculateChurn": { - "line": 118, - "lineCount": 18, - "argCount": 4, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 2, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 10, - "N1": 8, - "N2": 21, - "programLength": 29, - "programVocabulary": 12, - "volume": 103.96391252091352, - "difficulty": 2.1, - "effort": 218.3242162939184, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::calculateChurn" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::loadConfig": { - "line": 143, - "lineCount": 4, - "argCount": 1, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 2, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 3, - "volume": 6.339850002884624, - "difficulty": 0.75, - "effort": 4.754887502163468, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::loadConfig" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::getConfig": { - "line": 148, - "lineCount": 4, - "argCount": 0, - "returnCount": 1, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::getConfig" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::exportChurnReport": { - "line": 156, - "lineCount": 9, - "argCount": 3, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 4, - "N1": 3, - "N2": 7, - "programLength": 10, - "programVocabulary": 5, - "volume": 23.21928094887362, - "difficulty": 0.875, - "effort": 20.316870830264417, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::exportChurnReport" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::exportMetricsReport": { - "line": 168, - "lineCount": 8, - "argCount": 3, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 4, - "N2": 9, - "programLength": 13, - "programVocabulary": 7, - "volume": 36.49561398674886, - "difficulty": 1.8, - "effort": 65.69210517614795, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::exportMetricsReport" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::clearCache": { - "line": 177, - "lineCount": 4, - "argCount": 0, - "returnCount": 0, - "variableCount": 1, - "propertyCallCount": 1, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 1, - "programLength": 2, - "programVocabulary": 2, - "volume": 2, - "difficulty": 0.5, - "effort": 1, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::clearCache" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::addCoverageToMetric": { - "line": 185, - "lineCount": 20, - "argCount": 2, - "returnCount": 1, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "halstead": { - "n1": 4, - "n2": 7, - "N1": 11, - "N2": 18, - "programLength": 29, - "programVocabulary": 11, - "volume": 100.32351694048162, - "difficulty": 5.142857142857143, - "effort": 515.9495156939055, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::addCoverageToMetric" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::addMethodLevelCoverage": { - "line": 209, - "lineCount": 16, - "argCount": 2, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 2, - "n2": 5, - "N1": 9, - "N2": 15, - "programLength": 24, - "programVocabulary": 7, - "volume": 67.3765181293825, - "difficulty": 3, - "effort": 202.1295543881475, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade::addMethodLevelCoverage" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Traits\\CoverageDataDetector::hasCoverageData": { - "line": 18, - "lineCount": 10, - "argCount": 1, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 3, - "n2": 3, - "N1": 3, - "N2": 7, - "programLength": 10, - "programVocabulary": 6, - "volume": 25.84962500721156, - "difficulty": 3.5, - "effort": 90.47368752524046, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Traits\\CoverageDataDetector::hasCoverageData" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Utility\\Datetime::__construct": { - "line": 19, - "lineCount": 9, - "argCount": 0, - "returnCount": 1, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "halstead": { - "n1": 1, - "n2": 0, - "N1": 1, - "N2": 0, - "programLength": 1, - "programVocabulary": 1, - "volume": 0, - "difficulty": 0, - "effort": 0, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Utility\\Datetime::__construct" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Utility\\DirectoryScanner::scan": { - "line": 29, - "lineCount": 14, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 2, - "cyclomatic_complexity": { - "complexity": 4, - "risk_level": "low" - }, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 5, - "N2": 14, - "programLength": 19, - "programVocabulary": 6, - "volume": 49.11428751370197, - "difficulty": 3.5, - "effort": 171.90000629795688, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Utility\\DirectoryScanner::scan" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Utility\\DirectoryScanner::assertValidPath": { - "line": 47, - "lineCount": 6, - "argCount": 1, - "returnCount": 0, - "variableCount": 0, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "cyclomatic_complexity": { - "complexity": 2, - "risk_level": "low" - }, - "halstead": { - "n1": 1, - "n2": 1, - "N1": 1, - "N2": 3, - "programLength": 4, - "programVocabulary": 2, - "volume": 4, - "difficulty": 1.5, - "effort": 6, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Utility\\DirectoryScanner::assertValidPath" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Utility\\DirectoryScanner::yieldFileIfNotExcluded": { - "line": 59, - "lineCount": 8, - "argCount": 2, - "returnCount": 0, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "cyclomatic_complexity": { - "complexity": 2, - "risk_level": "low" - }, - "halstead": { - "n1": 2, - "n2": 4, - "N1": 2, - "N2": 8, - "programLength": 10, - "programVocabulary": 6, - "volume": 25.84962500721156, - "difficulty": 2, - "effort": 51.69925001442312, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Utility\\DirectoryScanner::yieldFileIfNotExcluded" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Utility\\DirectoryScanner::traverseDirectory": { - "line": 76, - "lineCount": 15, - "argCount": 2, - "returnCount": 0, - "variableCount": 4, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 2, - "risk_level": "low" - }, - "halstead": { - "n1": 2, - "n2": 6, - "N1": 4, - "N2": 13, - "programLength": 17, - "programVocabulary": 8, - "volume": 51, - "difficulty": 2.1666666666666665, - "effort": 110.49999999999999, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Utility\\DirectoryScanner::traverseDirectory" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Utility\\DirectoryScanner::sortFilesByPathname": { - "line": 97, - "lineCount": 6, - "argCount": 1, - "returnCount": 1, - "variableCount": 2, - "propertyCallCount": 0, - "ifNestingLevel": 0, - "elseCount": 0, - "ifCount": 0, - "cyclomatic_complexity": { - "complexity": 1, - "risk_level": "low" - }, - "halstead": { - "n1": 2, - "n2": 3, - "N1": 4, - "N2": 6, - "programLength": 10, - "programVocabulary": 5, - "volume": 23.21928094887362, - "difficulty": 2, - "effort": 46.43856189774724, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Utility\\DirectoryScanner::sortFilesByPathname" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Utility\\DirectoryScanner::getFilesFromIterator": { - "line": 111, - "lineCount": 11, - "argCount": 2, - "returnCount": 1, - "variableCount": 3, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "cyclomatic_complexity": { - "complexity": 3, - "risk_level": "low" - }, - "halstead": { - "n1": 3, - "n2": 5, - "N1": 5, - "N2": 12, - "programLength": 17, - "programVocabulary": 8, - "volume": 51, - "difficulty": 3.5999999999999996, - "effort": 183.6, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Utility\\DirectoryScanner::getFilesFromIterator" - } - }, - "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Utility\\DirectoryScanner::isExcluded": { - "line": 130, - "lineCount": 12, - "argCount": 2, - "returnCount": 2, - "variableCount": 1, - "propertyCallCount": 0, - "ifNestingLevel": 1, - "elseCount": 0, - "ifCount": 1, - "cyclomatic_complexity": { - "complexity": 3, - "risk_level": "low" - }, - "halstead": { - "n1": 4, - "n2": 5, - "N1": 5, - "N2": 10, - "programLength": 15, - "programVocabulary": 9, - "volume": 47.548875021634686, - "difficulty": 4, - "effort": 190.19550008653874, - "fqName": "\\Phauthentic\\CognitiveCodeAnalysis\\Business\\Utility\\DirectoryScanner::isExcluded" - } - } - }, - "ignored_items": [], - "cached_at": 1759967601 -} \ No newline at end of file From 5f5183ea4f2115ea6c2a6a5faff8423098601902 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20Kr=C3=A4mer?= Date: Sun, 12 Oct 2025 00:35:58 +0200 Subject: [PATCH 03/21] Renaming exporters to report --- docs/Creating-Custom-Reporters.md | 252 ++++++++++++++++++ .../AbstractReport.php} | 4 +- .../ChurnReportFactory.php} | 32 +-- .../CsvExporter.php => Report/CsvReport.php} | 6 +- .../HtmlReport.php} | 6 +- .../JsonReport.php} | 4 +- .../MarkdownReport.php} | 8 +- .../ReportGeneratorInterface.php} | 4 +- .../SvgTreemapReport.php} | 4 +- .../{Exporter => Report}/TreemapMath.php | 2 +- .../CognitiveReportFactory.php} | 31 ++- .../CsvExporter.php => Report/CsvReport.php} | 4 +- .../HtmlReport.php} | 6 +- .../JsonReport.php} | 4 +- .../MarkdownReport.php} | 6 +- .../ReportGeneratorInterface.php} | 4 +- src/Business/MetricsFacade.php | 16 +- .../AbstractMarkdownReporter.php} | 4 +- .../MarkdownFormatterTrait.php | 2 +- .../ReporterRegistry.php} | 4 +- src/Command/Handler/ChurnReportHandler.php | 6 +- .../Handler/CognitiveMetricsReportHandler.php | 4 +- .../Fixtures/custom-churn-exporter-config.yml | 2 +- .../custom-cognitive-exporter-config.yml | 2 +- .../ChurnExporterFactoryCustomTest.php | 40 +-- .../Business/Churn/Exporter/CsvExportTest.php | 4 +- .../Churn/Exporter/HtmlExporterTest.php | 4 +- .../Churn/Exporter/JsonExporterTest.php | 4 +- .../Churn/Exporter/MarkdownExporterTest.php | 4 +- .../Churn/Exporter/SvgTreemapExporterTest.php | 4 +- .../CognitiveExporterFactoryCustomTest.php | 62 ++--- .../Cognitive/Exporter/CsvExporterTest.php | 6 +- .../Cognitive/Exporter/HtmlExporterTest.php | 6 +- .../Cognitive/Exporter/JsonExporterTest.php | 8 +- .../Exporter/MarkdownExporterTest.php | 4 +- .../Exporter/ExporterRegistryTest.php | 26 +- .../MetricsFacadeCustomExportersTest.php | 4 +- 37 files changed, 422 insertions(+), 171 deletions(-) create mode 100644 docs/Creating-Custom-Reporters.md rename src/Business/Churn/{Exporter/AbstractExporter.php => Report/AbstractReport.php} (87%) rename src/Business/Churn/{Exporter/ChurnExporterFactory.php => Report/ChurnReportFactory.php} (71%) rename src/Business/Churn/{Exporter/CsvExporter.php => Report/CsvReport.php} (88%) rename src/Business/Churn/{Exporter/HtmlExporter.php => Report/HtmlReport.php} (95%) rename src/Business/Churn/{Exporter/JsonExporter.php => Report/JsonReport.php} (86%) rename src/Business/Churn/{Exporter/MarkdownExporter.php => Report/MarkdownReport.php} (93%) rename src/Business/Churn/{Exporter/DataExporterInterface.php => Report/ReportGeneratorInterface.php} (65%) rename src/Business/Churn/{Exporter/SvgTreemapExporter.php => Report/SvgTreemapReport.php} (97%) rename src/Business/Churn/{Exporter => Report}/TreemapMath.php (99%) rename src/Business/Cognitive/{Exporter/CognitiveExporterFactory.php => Report/CognitiveReportFactory.php} (72%) rename src/Business/Cognitive/{Exporter/CsvExporter.php => Report/CsvReport.php} (96%) rename src/Business/Cognitive/{Exporter/HtmlExporter.php => Report/HtmlReport.php} (96%) rename src/Business/Cognitive/{Exporter/JsonExporter.php => Report/JsonReport.php} (94%) rename src/Business/Cognitive/{Exporter/MarkdownExporter.php => Report/MarkdownReport.php} (98%) rename src/Business/Cognitive/{Exporter/DataExporterInterface.php => Report/ReportGeneratorInterface.php} (67%) rename src/Business/{Exporter/AbstractMarkdownExporter.php => Reporter/AbstractMarkdownReporter.php} (95%) rename src/Business/{Exporter => Reporter}/MarkdownFormatterTrait.php (96%) rename src/Business/{Exporter/ExporterRegistry.php => Reporter/ReporterRegistry.php} (96%) diff --git a/docs/Creating-Custom-Reporters.md b/docs/Creating-Custom-Reporters.md new file mode 100644 index 0000000..04bb396 --- /dev/null +++ b/docs/Creating-Custom-Reporters.md @@ -0,0 +1,252 @@ +# Creating Custom Reporters + +This guide explains how to create custom reporters for the Cognitive Code Checker to output metrics in your preferred format. + +## Overview + +The Cognitive Code Checker supports two types of reporters: +- **Cognitive Reporters**: Export cognitive complexity metrics +- **Churn Reporters**: Export code churn metrics + +Both types follow similar patterns but have different interfaces and data structures. + +## Reporter Types + +### Cognitive Reporters + +Cognitive reporters handle cognitive complexity metrics data and implement the `ReportGeneratorInterface` from the `Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\Report` namespace. + +**Interface:** +```php +interface ReportGeneratorInterface +{ + public function export(CognitiveMetricsCollection $metrics, string $filename): void; +} +``` + +**Data Structure:** `CognitiveMetricsCollection` contains individual `CognitiveMetrics` objects with methods like: +- `getClass()` - Class name +- `getMethod()` - Method name +- `getLineCount()` - Number of lines +- `getScore()` - Combined cognitive complexity score +- `getLineCountWeight()`, `getArgCountWeight()`, etc. - Individual metric weights +- `getLineCountWeightDelta()`, etc. - Delta values for comparison + +### Churn Reporters + +Churn reporters handle code churn metrics data and implement the `ReportGeneratorInterface` from the `Phauthentic\CognitiveCodeAnalysis\Business\Churn\Report` namespace. + +**Interface:** +```php +interface ReportGeneratorInterface +{ + /** + * @param array> $classes + */ + public function export(array $classes, string $filename): void; +} +``` + +**Data Structure:** Array with class names as keys and arrays containing: +- `file` - File path +- `score` - Churn score +- `churn` - Churn value +- `timesChanged` - Number of times changed +- `coverage` - Test coverage (optional) +- `riskLevel` - Risk level (optional) + +## Configuration + +Add your custom reporters to the `config.yml` file under the `customExporters` section: + +```yaml +cognitive: + # ... other cognitive settings ... + customExporters: + cognitive: + pdf: # Custom reporter name + class: 'My\Custom\PdfReporter' + file: '/path/to/PdfReporter.php' + requiresConfig: true + churn: + xml: # Custom reporter name + class: 'My\Custom\XmlChurnReporter' + file: null # null if class is autoloaded +``` + +### Configuration Parameters + +- **`class`** (required): Fully qualified class name of your reporter +- **`file`** (optional): Path to the PHP file containing your reporter class. Set to `null` if using autoloading +- **`requiresConfig`** (cognitive only): Whether your reporter needs the `CognitiveConfig` object in its constructor + +## Creating a Custom Cognitive Reporter + +Here's a complete example of a custom PDF reporter for cognitive metrics: + +```php +config = $config; + } + + public function export(CognitiveMetricsCollection $metrics, string $filename): void + { + // Ensure directory exists + $directory = dirname($filename); + if (!is_dir($directory)) { + throw new CognitiveAnalysisException("Directory {$directory} does not exist"); + } + + // Create PDF content + $pdfContent = $this->generatePdfContent($metrics); + + // Write to file + if (file_put_contents($filename, $pdfContent) === false) { + throw new CognitiveAnalysisException("Could not write to file: {$filename}"); + } + } + + private function generatePdfContent(CognitiveMetricsCollection $metrics): string + { + $content = "%PDF-1.4\n"; + $content .= "1 0 obj\n"; + $content .= "<< /Type /Catalog /Pages 2 0 R >>\n"; + $content .= "endobj\n"; + + // Add your PDF generation logic here + $groupedByClass = $metrics->groupBy('class'); + + foreach ($groupedByClass as $class => $methods) { + $content .= "% Class: {$class}\n"; + foreach ($methods as $metric) { + $content .= "Method: {$metric->getMethod()}, Score: {$metric->getScore()}\n"; + } + } + + return $content; + } +} +``` + +## Creating a Custom Churn Reporter + +Here's an example of a custom XML reporter for churn metrics: + +```php +generateXmlContent($classes); + + // Write to file + if (file_put_contents($filename, $xmlContent) === false) { + throw new CognitiveAnalysisException("Could not write to file: {$filename}"); + } + } + + private function generateXmlContent(array $classes): string + { + $xml = '' . "\n"; + $xml .= '' . "\n"; + + foreach ($classes as $className => $data) { + $xml .= " \n"; + $xml .= " {$data['file']}\n"; + $xml .= " {$data['score']}\n"; + $xml .= " {$data['churn']}\n"; + $xml .= " {$data['timesChanged']}\n"; + $xml .= " \n"; + } + + $xml .= ''; + + return $xml; + } +} +``` + +## Using Your Custom Reporter + +Once configured, you can use your custom reporter by specifying its name when generating reports: + +```bash +# For cognitive metrics +php bin/cognitive-report --format=pdf --output=report.pdf + +# For churn metrics +php bin/churn-report --format=xml --output=churn.xml +``` + +## Best Practices + +1. **Error Handling**: Always throw `CognitiveAnalysisException` for errors +2. **File Validation**: Check that directories exist and files are writable +3. **Data Access**: Use the provided methods to access metric data +4. **Configuration**: Use `CognitiveConfig` if you need access to settings +5. **Testing**: Test your reporter with real data to ensure proper formatting + +## Built-in Reporters Reference + +For inspiration, examine the built-in reporters: + +**Cognitive Reporters:** +- `JsonReport` - JSON format +- `CsvReport` - CSV format +- `HtmlReport` - HTML with Bootstrap styling +- `MarkdownReport` - Markdown tables + +**Churn Reporters:** +- `JsonReport` - JSON format +- `CsvReport` - CSV format +- `HtmlReport` - HTML with Bootstrap styling +- `MarkdownReport` - Markdown tables +- `SvgTreemapReport` - SVG treemap visualization + +## Troubleshooting + +**Common Issues:** + +1. **Class not found**: Ensure the `class` parameter uses the full namespace +2. **File not found**: Check the `file` path is correct and accessible +3. **Interface not implemented**: Ensure your class implements the correct `ReportGeneratorInterface` +4. **Constructor issues**: Set `requiresConfig: true` if your reporter needs `CognitiveConfig` + +**Debug Tips:** + +- Check the configuration syntax in `config.yml` +- Verify file paths are absolute or relative to the project root +- Test with simple reporters first before complex implementations +- Use the built-in reporters as templates for your custom ones diff --git a/src/Business/Churn/Exporter/AbstractExporter.php b/src/Business/Churn/Report/AbstractReport.php similarity index 87% rename from src/Business/Churn/Exporter/AbstractExporter.php rename to src/Business/Churn/Report/AbstractReport.php index b080e3f..6f8219b 100644 --- a/src/Business/Churn/Exporter/AbstractExporter.php +++ b/src/Business/Churn/Report/AbstractReport.php @@ -2,11 +2,11 @@ declare(strict_types=1); -namespace Phauthentic\CognitiveCodeAnalysis\Business\Churn\Exporter; +namespace Phauthentic\CognitiveCodeAnalysis\Business\Churn\Report; use Phauthentic\CognitiveCodeAnalysis\CognitiveAnalysisException; -abstract class AbstractExporter implements DataExporterInterface +abstract class AbstractReport implements ReportGeneratorInterface { /** * @throws CognitiveAnalysisException diff --git a/src/Business/Churn/Exporter/ChurnExporterFactory.php b/src/Business/Churn/Report/ChurnReportFactory.php similarity index 71% rename from src/Business/Churn/Exporter/ChurnExporterFactory.php rename to src/Business/Churn/Report/ChurnReportFactory.php index 5139da9..6f7d118 100644 --- a/src/Business/Churn/Exporter/ChurnExporterFactory.php +++ b/src/Business/Churn/Report/ChurnReportFactory.php @@ -2,19 +2,19 @@ declare(strict_types=1); -namespace Phauthentic\CognitiveCodeAnalysis\Business\Churn\Exporter; +namespace Phauthentic\CognitiveCodeAnalysis\Business\Churn\Report; use InvalidArgumentException; -use Phauthentic\CognitiveCodeAnalysis\Business\Exporter\ExporterRegistry; +use Phauthentic\CognitiveCodeAnalysis\Business\Reporter\ReporterRegistry; /** * Factory for creating churn data exporters. */ -class ChurnExporterFactory +class ChurnReportFactory { /** @var array> */ private array $customExporters = []; - private ExporterRegistry $registry; + private ReporterRegistry $registry; /** * @param array> $customExporters @@ -22,25 +22,25 @@ class ChurnExporterFactory public function __construct(array $customExporters = []) { $this->customExporters = $customExporters; - $this->registry = new ExporterRegistry(); + $this->registry = new ReporterRegistry(); } /** * Create an exporter instance based on the report type. * * @param string $type The type of exporter to create (json, csv, html, markdown, svg-treemap) - * @return DataExporterInterface + * @return ReportGeneratorInterface * @throws InvalidArgumentException If the type is not supported */ - public function create(string $type): DataExporterInterface + public function create(string $type): ReportGeneratorInterface { // Check built-in exporters first $builtIn = match ($type) { - 'json' => new JsonExporter(), - 'csv' => new CsvExporter(), - 'html' => new HtmlExporter(), - 'markdown' => new MarkdownExporter(), - 'svg-treemap', 'svg' => new SvgTreemapExporter(), + 'json' => new JsonReport(), + 'csv' => new CsvReport(), + 'html' => new HtmlReport(), + 'markdown' => new MarkdownReport(), + 'svg-treemap', 'svg' => new SvgTreemapReport(), default => null, }; @@ -60,9 +60,9 @@ public function create(string $type): DataExporterInterface * Create a custom exporter instance. * * @param array $config - * @return DataExporterInterface + * @return ReportGeneratorInterface */ - private function createCustomExporter(array $config): DataExporterInterface + private function createCustomExporter(array $config): ReportGeneratorInterface { $this->registry->loadExporter($config['class'], $config['file'] ?? null); $exporter = $this->registry->instantiate( @@ -70,10 +70,10 @@ private function createCustomExporter(array $config): DataExporterInterface false, // Churn exporters don't need config null ); - $this->registry->validateInterface($exporter, DataExporterInterface::class); + $this->registry->validateInterface($exporter, ReportGeneratorInterface::class); // PHPStan needs explicit type assertion since instantiate returns object - assert($exporter instanceof DataExporterInterface); + assert($exporter instanceof ReportGeneratorInterface); return $exporter; } diff --git a/src/Business/Churn/Exporter/CsvExporter.php b/src/Business/Churn/Report/CsvReport.php similarity index 88% rename from src/Business/Churn/Exporter/CsvExporter.php rename to src/Business/Churn/Report/CsvReport.php index 0a52774..f38178f 100644 --- a/src/Business/Churn/Exporter/CsvExporter.php +++ b/src/Business/Churn/Report/CsvReport.php @@ -2,14 +2,14 @@ declare(strict_types=1); -namespace Phauthentic\CognitiveCodeAnalysis\Business\Churn\Exporter; +namespace Phauthentic\CognitiveCodeAnalysis\Business\Churn\Report; use Phauthentic\CognitiveCodeAnalysis\CognitiveAnalysisException; /** - * CsvExporter for Churn metrics. + * CsvReport for Churn metrics. */ -class CsvExporter extends AbstractExporter +class CsvReport extends AbstractReport { /** * @var array diff --git a/src/Business/Churn/Exporter/HtmlExporter.php b/src/Business/Churn/Report/HtmlReport.php similarity index 95% rename from src/Business/Churn/Exporter/HtmlExporter.php rename to src/Business/Churn/Report/HtmlReport.php index 395ca20..38e680e 100644 --- a/src/Business/Churn/Exporter/HtmlExporter.php +++ b/src/Business/Churn/Report/HtmlReport.php @@ -2,14 +2,14 @@ declare(strict_types=1); -namespace Phauthentic\CognitiveCodeAnalysis\Business\Churn\Exporter; +namespace Phauthentic\CognitiveCodeAnalysis\Business\Churn\Report; use Phauthentic\CognitiveCodeAnalysis\CognitiveAnalysisException; /** - * HtmlExporter for Churn metrics. + * HtmlReport for Churn metrics. */ -class HtmlExporter extends AbstractExporter +class HtmlReport extends AbstractReport { /** * @var array diff --git a/src/Business/Churn/Exporter/JsonExporter.php b/src/Business/Churn/Report/JsonReport.php similarity index 86% rename from src/Business/Churn/Exporter/JsonExporter.php rename to src/Business/Churn/Report/JsonReport.php index b4667f3..8026e63 100644 --- a/src/Business/Churn/Exporter/JsonExporter.php +++ b/src/Business/Churn/Report/JsonReport.php @@ -2,13 +2,13 @@ declare(strict_types=1); -namespace Phauthentic\CognitiveCodeAnalysis\Business\Churn\Exporter; +namespace Phauthentic\CognitiveCodeAnalysis\Business\Churn\Report; use JsonException; use Phauthentic\CognitiveCodeAnalysis\Business\Utility\Datetime; use Phauthentic\CognitiveCodeAnalysis\CognitiveAnalysisException; -class JsonExporter extends AbstractExporter +class JsonReport extends AbstractReport { /** * @param array> $classes diff --git a/src/Business/Churn/Exporter/MarkdownExporter.php b/src/Business/Churn/Report/MarkdownReport.php similarity index 93% rename from src/Business/Churn/Exporter/MarkdownExporter.php rename to src/Business/Churn/Report/MarkdownReport.php index 27e1a4c..eab3ccd 100644 --- a/src/Business/Churn/Exporter/MarkdownExporter.php +++ b/src/Business/Churn/Report/MarkdownReport.php @@ -2,17 +2,17 @@ declare(strict_types=1); -namespace Phauthentic\CognitiveCodeAnalysis\Business\Churn\Exporter; +namespace Phauthentic\CognitiveCodeAnalysis\Business\Churn\Report; -use Phauthentic\CognitiveCodeAnalysis\Business\Exporter\MarkdownFormatterTrait; +use Phauthentic\CognitiveCodeAnalysis\Business\Reporter\MarkdownFormatterTrait; use Phauthentic\CognitiveCodeAnalysis\Business\Traits\CoverageDataDetector; use Phauthentic\CognitiveCodeAnalysis\Business\Utility\Datetime; use Phauthentic\CognitiveCodeAnalysis\CognitiveAnalysisException; /** - * MarkdownExporter for Churn metrics. + * MarkdownReport for Churn metrics. */ -class MarkdownExporter extends AbstractExporter +class MarkdownReport extends AbstractReport { use MarkdownFormatterTrait; use CoverageDataDetector; diff --git a/src/Business/Churn/Exporter/DataExporterInterface.php b/src/Business/Churn/Report/ReportGeneratorInterface.php similarity index 65% rename from src/Business/Churn/Exporter/DataExporterInterface.php rename to src/Business/Churn/Report/ReportGeneratorInterface.php index 9008996..ca48e7b 100644 --- a/src/Business/Churn/Exporter/DataExporterInterface.php +++ b/src/Business/Churn/Report/ReportGeneratorInterface.php @@ -2,12 +2,12 @@ declare(strict_types=1); -namespace Phauthentic\CognitiveCodeAnalysis\Business\Churn\Exporter; +namespace Phauthentic\CognitiveCodeAnalysis\Business\Churn\Report; /** * */ -interface DataExporterInterface +interface ReportGeneratorInterface { /** * @param array> $classes diff --git a/src/Business/Churn/Exporter/SvgTreemapExporter.php b/src/Business/Churn/Report/SvgTreemapReport.php similarity index 97% rename from src/Business/Churn/Exporter/SvgTreemapExporter.php rename to src/Business/Churn/Report/SvgTreemapReport.php index 3a38dce..dc7e729 100644 --- a/src/Business/Churn/Exporter/SvgTreemapExporter.php +++ b/src/Business/Churn/Report/SvgTreemapReport.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Phauthentic\CognitiveCodeAnalysis\Business\Churn\Exporter; +namespace Phauthentic\CognitiveCodeAnalysis\Business\Churn\Report; use Phauthentic\CognitiveCodeAnalysis\CognitiveAnalysisException; @@ -15,7 +15,7 @@ * * @SuppressWarnings("PHPMD.ShortVariable") */ -class SvgTreemapExporter extends AbstractExporter +class SvgTreemapReport extends AbstractReport { private const SVG_WIDTH = 1200; private const SVG_HEIGHT = 800; diff --git a/src/Business/Churn/Exporter/TreemapMath.php b/src/Business/Churn/Report/TreemapMath.php similarity index 99% rename from src/Business/Churn/Exporter/TreemapMath.php rename to src/Business/Churn/Report/TreemapMath.php index 23e61bb..41b72e2 100644 --- a/src/Business/Churn/Exporter/TreemapMath.php +++ b/src/Business/Churn/Report/TreemapMath.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Phauthentic\CognitiveCodeAnalysis\Business\Churn\Exporter; +namespace Phauthentic\CognitiveCodeAnalysis\Business\Churn\Report; /** * Handles mathematical operations for treemap generation. diff --git a/src/Business/Cognitive/Exporter/CognitiveExporterFactory.php b/src/Business/Cognitive/Report/CognitiveReportFactory.php similarity index 72% rename from src/Business/Cognitive/Exporter/CognitiveExporterFactory.php rename to src/Business/Cognitive/Report/CognitiveReportFactory.php index 2e07227..e60a7e4 100644 --- a/src/Business/Cognitive/Exporter/CognitiveExporterFactory.php +++ b/src/Business/Cognitive/Report/CognitiveReportFactory.php @@ -2,20 +2,20 @@ declare(strict_types=1); -namespace Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\Exporter; +namespace Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\Report; use InvalidArgumentException; -use Phauthentic\CognitiveCodeAnalysis\Business\Exporter\ExporterRegistry; +use Phauthentic\CognitiveCodeAnalysis\Business\Reporter\ReporterRegistry; use Phauthentic\CognitiveCodeAnalysis\Config\CognitiveConfig; /** * Factory for creating cognitive metrics exporters. */ -class CognitiveExporterFactory +class CognitiveReportFactory { /** @var array> */ private array $customExporters = []; - private ExporterRegistry $registry; + private ReporterRegistry $registry; /** * @param array> $customExporters @@ -25,24 +25,24 @@ public function __construct( array $customExporters = [] ) { $this->customExporters = $customExporters; - $this->registry = new ExporterRegistry(); + $this->registry = new ReporterRegistry(); } /** * Create an exporter instance based on the report type. * * @param string $type The type of exporter to create (json, csv, html, markdown) - * @return DataExporterInterface + * @return ReportGeneratorInterface * @throws InvalidArgumentException If the type is not supported */ - public function create(string $type): DataExporterInterface + public function create(string $type): ReportGeneratorInterface { // Check built-in exporters first $builtIn = match ($type) { - 'json' => new JsonExporter(), - 'csv' => new CsvExporter(), - 'html' => new HtmlExporter(), - 'markdown' => new MarkdownExporter($this->config), + 'json' => new JsonReport(), + 'csv' => new CsvReport(), + 'html' => new HtmlReport(), + 'markdown' => new MarkdownReport($this->config), default => null, }; @@ -50,7 +50,6 @@ public function create(string $type): DataExporterInterface return $builtIn; } - // Check custom exporters if (isset($this->customExporters[$type])) { return $this->createCustomExporter($this->customExporters[$type]); } @@ -62,9 +61,9 @@ public function create(string $type): DataExporterInterface * Create a custom exporter instance. * * @param array $config - * @return DataExporterInterface + * @return ReportGeneratorInterface */ - private function createCustomExporter(array $config): DataExporterInterface + private function createCustomExporter(array $config): ReportGeneratorInterface { $this->registry->loadExporter($config['class'], $config['file'] ?? null); $exporter = $this->registry->instantiate( @@ -72,10 +71,10 @@ private function createCustomExporter(array $config): DataExporterInterface $config['requiresConfig'] ?? false, $this->config ); - $this->registry->validateInterface($exporter, DataExporterInterface::class); + $this->registry->validateInterface($exporter, ReportGeneratorInterface::class); // PHPStan needs explicit type assertion since instantiate returns object - assert($exporter instanceof DataExporterInterface); + assert($exporter instanceof ReportGeneratorInterface); return $exporter; } diff --git a/src/Business/Cognitive/Exporter/CsvExporter.php b/src/Business/Cognitive/Report/CsvReport.php similarity index 96% rename from src/Business/Cognitive/Exporter/CsvExporter.php rename to src/Business/Cognitive/Report/CsvReport.php index 1548969..8e85498 100644 --- a/src/Business/Cognitive/Exporter/CsvExporter.php +++ b/src/Business/Cognitive/Report/CsvReport.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\Exporter; +namespace Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\Report; use Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\CognitiveMetricsCollection; use Phauthentic\CognitiveCodeAnalysis\CognitiveAnalysisException; @@ -10,7 +10,7 @@ /** * */ -class CsvExporter implements DataExporterInterface +class CsvReport implements ReportGeneratorInterface { /** * @var array diff --git a/src/Business/Cognitive/Exporter/HtmlExporter.php b/src/Business/Cognitive/Report/HtmlReport.php similarity index 96% rename from src/Business/Cognitive/Exporter/HtmlExporter.php rename to src/Business/Cognitive/Report/HtmlReport.php index 89d48c3..199a64b 100644 --- a/src/Business/Cognitive/Exporter/HtmlExporter.php +++ b/src/Business/Cognitive/Report/HtmlReport.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\Exporter; +namespace Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\Report; use Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\CognitiveMetricsCollection; use Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\Delta; @@ -10,9 +10,9 @@ use Phauthentic\CognitiveCodeAnalysis\CognitiveAnalysisException; /** - * HtmlExporter class for exporting metrics as an HTML file. + * HtmlReport class for exporting metrics as an HTML file. */ -class HtmlExporter implements DataExporterInterface +class HtmlReport implements ReportGeneratorInterface { /** * @var array diff --git a/src/Business/Cognitive/Exporter/JsonExporter.php b/src/Business/Cognitive/Report/JsonReport.php similarity index 94% rename from src/Business/Cognitive/Exporter/JsonExporter.php rename to src/Business/Cognitive/Report/JsonReport.php index 9173851..298b22c 100644 --- a/src/Business/Cognitive/Exporter/JsonExporter.php +++ b/src/Business/Cognitive/Report/JsonReport.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\Exporter; +namespace Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\Report; use JsonException; use Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\CognitiveMetricsCollection; @@ -11,7 +11,7 @@ /** * */ -class JsonExporter implements DataExporterInterface +class JsonReport implements ReportGeneratorInterface { /** * @throws JsonException|CognitiveAnalysisException diff --git a/src/Business/Cognitive/Exporter/MarkdownExporter.php b/src/Business/Cognitive/Report/MarkdownReport.php similarity index 98% rename from src/Business/Cognitive/Exporter/MarkdownExporter.php rename to src/Business/Cognitive/Report/MarkdownReport.php index 9917e85..a098fef 100644 --- a/src/Business/Cognitive/Exporter/MarkdownExporter.php +++ b/src/Business/Cognitive/Report/MarkdownReport.php @@ -2,12 +2,12 @@ declare(strict_types=1); -namespace Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\Exporter; +namespace Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\Report; use Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\CognitiveMetrics; use Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\CognitiveMetricsCollection; use Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\Delta; -use Phauthentic\CognitiveCodeAnalysis\Business\Exporter\MarkdownFormatterTrait; +use Phauthentic\CognitiveCodeAnalysis\Business\Reporter\MarkdownFormatterTrait; use Phauthentic\CognitiveCodeAnalysis\Business\Utility\Datetime; use Phauthentic\CognitiveCodeAnalysis\CognitiveAnalysisException; use Phauthentic\CognitiveCodeAnalysis\Config\CognitiveConfig; @@ -15,7 +15,7 @@ /** * @SuppressWarnings("PHPMD.ExcessiveClassComplexity") */ -class MarkdownExporter implements DataExporterInterface +class MarkdownReport implements ReportGeneratorInterface { use MarkdownFormatterTrait; diff --git a/src/Business/Cognitive/Exporter/DataExporterInterface.php b/src/Business/Cognitive/Report/ReportGeneratorInterface.php similarity index 67% rename from src/Business/Cognitive/Exporter/DataExporterInterface.php rename to src/Business/Cognitive/Report/ReportGeneratorInterface.php index 727f000..139c3d4 100644 --- a/src/Business/Cognitive/Exporter/DataExporterInterface.php +++ b/src/Business/Cognitive/Report/ReportGeneratorInterface.php @@ -2,14 +2,14 @@ declare(strict_types=1); -namespace Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\Exporter; +namespace Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\Report; use Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\CognitiveMetricsCollection; /** * */ -interface DataExporterInterface +interface ReportGeneratorInterface { public function export(CognitiveMetricsCollection $metrics, string $filename): void; } diff --git a/src/Business/MetricsFacade.php b/src/Business/MetricsFacade.php index 0d37303..4db88d6 100644 --- a/src/Business/MetricsFacade.php +++ b/src/Business/MetricsFacade.php @@ -6,12 +6,12 @@ use Phauthentic\CognitiveCodeAnalysis\Business\Churn\ChangeCounter\ChangeCounterFactory; use Phauthentic\CognitiveCodeAnalysis\Business\Churn\ChurnCalculator; -use Phauthentic\CognitiveCodeAnalysis\Business\Churn\Exporter\ChurnExporterFactory; +use Phauthentic\CognitiveCodeAnalysis\Business\Churn\Report\ChurnReportFactory; use Phauthentic\CognitiveCodeAnalysis\Business\CodeCoverage\CoverageReportReaderInterface; use Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\CognitiveMetrics; use Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\CognitiveMetricsCollection; use Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\CognitiveMetricsCollector; -use Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\Exporter\CognitiveExporterFactory; +use Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\Report\CognitiveReportFactory; use Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\ScoreCalculator; use Phauthentic\CognitiveCodeAnalysis\Config\CognitiveConfig; use Phauthentic\CognitiveCodeAnalysis\Config\ConfigService; @@ -21,8 +21,8 @@ */ class MetricsFacade { - private ?ChurnExporterFactory $churnExporterFactory = null; - private ?CognitiveExporterFactory $cognitiveExporterFactory = null; + private ?ChurnReportFactory $churnExporterFactory = null; + private ?CognitiveReportFactory $cognitiveExporterFactory = null; /** * Constructor initializes the metrics collectors, score calculator, and config service. @@ -40,12 +40,12 @@ public function __construct( /** * Get or create the churn exporter factory. */ - private function getChurnExporterFactory(): ChurnExporterFactory + private function getChurnExporterFactory(): ChurnReportFactory { if ($this->churnExporterFactory === null) { $config = $this->configService->getConfig(); $customExporters = $config->customExporters['churn'] ?? []; - $this->churnExporterFactory = new ChurnExporterFactory($customExporters); + $this->churnExporterFactory = new ChurnReportFactory($customExporters); } return $this->churnExporterFactory; } @@ -53,12 +53,12 @@ private function getChurnExporterFactory(): ChurnExporterFactory /** * Get or create the cognitive exporter factory. */ - private function getCognitiveExporterFactory(): CognitiveExporterFactory + private function getCognitiveExporterFactory(): CognitiveReportFactory { if ($this->cognitiveExporterFactory === null) { $config = $this->configService->getConfig(); $customExporters = $config->customExporters['cognitive'] ?? []; - $this->cognitiveExporterFactory = new CognitiveExporterFactory( + $this->cognitiveExporterFactory = new CognitiveReportFactory( $config, $customExporters ); diff --git a/src/Business/Exporter/AbstractMarkdownExporter.php b/src/Business/Reporter/AbstractMarkdownReporter.php similarity index 95% rename from src/Business/Exporter/AbstractMarkdownExporter.php rename to src/Business/Reporter/AbstractMarkdownReporter.php index f3fab4e..4ab5b93 100644 --- a/src/Business/Exporter/AbstractMarkdownExporter.php +++ b/src/Business/Reporter/AbstractMarkdownReporter.php @@ -2,12 +2,12 @@ declare(strict_types=1); -namespace Phauthentic\CognitiveCodeAnalysis\Business\Exporter; +namespace Phauthentic\CognitiveCodeAnalysis\Business\Reporter; /** * Abstract base class for Markdown exporters providing common formatting utilities. */ -abstract class AbstractMarkdownExporter +abstract class AbstractMarkdownReporter { /** * Escape special markdown characters in strings. diff --git a/src/Business/Exporter/MarkdownFormatterTrait.php b/src/Business/Reporter/MarkdownFormatterTrait.php similarity index 96% rename from src/Business/Exporter/MarkdownFormatterTrait.php rename to src/Business/Reporter/MarkdownFormatterTrait.php index e055e13..8a7dab9 100644 --- a/src/Business/Exporter/MarkdownFormatterTrait.php +++ b/src/Business/Reporter/MarkdownFormatterTrait.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Phauthentic\CognitiveCodeAnalysis\Business\Exporter; +namespace Phauthentic\CognitiveCodeAnalysis\Business\Reporter; /** * Trait providing common markdown formatting utilities. diff --git a/src/Business/Exporter/ExporterRegistry.php b/src/Business/Reporter/ReporterRegistry.php similarity index 96% rename from src/Business/Exporter/ExporterRegistry.php rename to src/Business/Reporter/ReporterRegistry.php index cacce2b..0479f77 100644 --- a/src/Business/Exporter/ExporterRegistry.php +++ b/src/Business/Reporter/ReporterRegistry.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Phauthentic\CognitiveCodeAnalysis\Business\Exporter; +namespace Phauthentic\CognitiveCodeAnalysis\Business\Reporter; use Phauthentic\CognitiveCodeAnalysis\Config\CognitiveConfig; use Phauthentic\CognitiveCodeAnalysis\CognitiveAnalysisException; @@ -10,7 +10,7 @@ /** * Registry for managing dynamic exporter loading and instantiation. */ -class ExporterRegistry +class ReporterRegistry { /** @var array */ private array $loadedFiles = []; diff --git a/src/Command/Handler/ChurnReportHandler.php b/src/Command/Handler/ChurnReportHandler.php index e303561..ff78a6c 100644 --- a/src/Command/Handler/ChurnReportHandler.php +++ b/src/Command/Handler/ChurnReportHandler.php @@ -5,7 +5,7 @@ namespace Phauthentic\CognitiveCodeAnalysis\Command\Handler; use Exception; -use Phauthentic\CognitiveCodeAnalysis\Business\Churn\Exporter\ChurnExporterFactory; +use Phauthentic\CognitiveCodeAnalysis\Business\Churn\Report\ChurnReportFactory; use Phauthentic\CognitiveCodeAnalysis\Business\MetricsFacade; use Symfony\Component\Console\Command\Command; use Symfony\Component\Console\Output\OutputInterface; @@ -15,7 +15,7 @@ */ class ChurnReportHandler { - private ChurnExporterFactory $exporterFactory; + private ChurnReportFactory $exporterFactory; public function __construct( private MetricsFacade $metricsFacade, @@ -23,7 +23,7 @@ public function __construct( ) { $config = $this->metricsFacade->getConfig(); $customExporters = $config->customExporters['churn'] ?? []; - $this->exporterFactory = new ChurnExporterFactory($customExporters); + $this->exporterFactory = new ChurnReportFactory($customExporters); } /** diff --git a/src/Command/Handler/CognitiveMetricsReportHandler.php b/src/Command/Handler/CognitiveMetricsReportHandler.php index 02525f1..3bdf7c3 100644 --- a/src/Command/Handler/CognitiveMetricsReportHandler.php +++ b/src/Command/Handler/CognitiveMetricsReportHandler.php @@ -6,7 +6,7 @@ use Exception; use Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\CognitiveMetricsCollection; -use Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\Exporter\CognitiveExporterFactory; +use Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\Report\CognitiveReportFactory; use Phauthentic\CognitiveCodeAnalysis\Business\MetricsFacade; use Symfony\Component\Console\Command\Command; use Symfony\Component\Console\Output\OutputInterface; @@ -60,7 +60,7 @@ private function isValidReportType(?string $reportType): bool if ($reportType === null) { return false; } - $factory = new CognitiveExporterFactory($this->metricsFacade->getConfig()); + $factory = new CognitiveReportFactory($this->metricsFacade->getConfig()); return $factory->isSupported($reportType); } diff --git a/tests/Fixtures/custom-churn-exporter-config.yml b/tests/Fixtures/custom-churn-exporter-config.yml index 40cb918..3e3982d 100644 --- a/tests/Fixtures/custom-churn-exporter-config.yml +++ b/tests/Fixtures/custom-churn-exporter-config.yml @@ -15,5 +15,5 @@ cognitive: customExporters: churn: custom: - class: 'Phauthentic\CognitiveCodeAnalysis\Business\Churn\Exporter\JsonExporter' + class: 'Phauthentic\CognitiveCodeAnalysis\Business\Churn\Report\JsonReport' file: null diff --git a/tests/Fixtures/custom-cognitive-exporter-config.yml b/tests/Fixtures/custom-cognitive-exporter-config.yml index 1801eb6..62685dd 100644 --- a/tests/Fixtures/custom-cognitive-exporter-config.yml +++ b/tests/Fixtures/custom-cognitive-exporter-config.yml @@ -15,6 +15,6 @@ cognitive: customExporters: cognitive: custom: - class: 'Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\Exporter\JsonExporter' + class: 'Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\Report\JsonReport' file: null requiresConfig: false diff --git a/tests/Unit/Business/Churn/Exporter/ChurnExporterFactoryCustomTest.php b/tests/Unit/Business/Churn/Exporter/ChurnExporterFactoryCustomTest.php index 78af22f..dfe86aa 100644 --- a/tests/Unit/Business/Churn/Exporter/ChurnExporterFactoryCustomTest.php +++ b/tests/Unit/Business/Churn/Exporter/ChurnExporterFactoryCustomTest.php @@ -5,25 +5,25 @@ namespace Phauthentic\CognitiveCodeAnalysis\Tests\Unit\Business\Churn\Exporter; use InvalidArgumentException; -use Phauthentic\CognitiveCodeAnalysis\Business\Churn\Exporter\ChurnExporterFactory; -use Phauthentic\CognitiveCodeAnalysis\Business\Churn\Exporter\DataExporterInterface; +use Phauthentic\CognitiveCodeAnalysis\Business\Churn\Report\ChurnReportFactory; +use Phauthentic\CognitiveCodeAnalysis\Business\Churn\Report\ReportGeneratorInterface; use PHPUnit\Framework\Attributes\Test; use PHPUnit\Framework\TestCase; /** - * Test case for ChurnExporterFactory with custom exporters. + * Test case for ChurnReportFactory with custom exporters. */ class ChurnExporterFactoryCustomTest extends TestCase { #[Test] public function testCreateBuiltInExporter(): void { - $factory = new ChurnExporterFactory(); + $factory = new ChurnReportFactory(); $exporter = $factory->create('json'); - $this->assertInstanceOf(DataExporterInterface::class, $exporter); - $this->assertInstanceOf('Phauthentic\CognitiveCodeAnalysis\Business\Churn\Exporter\JsonExporter', $exporter); + $this->assertInstanceOf(ReportGeneratorInterface::class, $exporter); + $this->assertInstanceOf('Phauthentic\CognitiveCodeAnalysis\Business\Churn\Report\JsonReport', $exporter); } #[Test] @@ -34,9 +34,9 @@ public function testCreateCustomExporterWithFile(): void $classContent = <<<'PHP' create('custom'); - $this->assertInstanceOf(DataExporterInterface::class, $exporter); + $this->assertInstanceOf(ReportGeneratorInterface::class, $exporter); $this->assertInstanceOf('TestCustomChurn\CustomChurnExporter', $exporter); } finally { unlink($tempFile); @@ -70,9 +70,9 @@ public function testCreateCustomExporterWithoutFile(): void $classContent = <<<'PHP' create('autoloaded'); - $this->assertInstanceOf(DataExporterInterface::class, $exporter); + $this->assertInstanceOf(ReportGeneratorInterface::class, $exporter); $this->assertInstanceOf('TestAutoloadedChurn\AutoloadedChurnExporter', $exporter); } finally { unlink($tempFile); @@ -102,7 +102,7 @@ public function export(array $classes, string $filename): void { #[Test] public function testCreateUnsupportedExporter(): void { - $factory = new ChurnExporterFactory(); + $factory = new ChurnReportFactory(); $this->expectException(InvalidArgumentException::class); $this->expectExceptionMessage('Unsupported exporter type: unsupported'); @@ -124,7 +124,7 @@ public function testGetSupportedTypesIncludesCustomExporters(): void ] ]; - $factory = new ChurnExporterFactory($customExporters); + $factory = new ChurnReportFactory($customExporters); $supportedTypes = $factory->getSupportedTypes(); $expectedBuiltInTypes = ['json', 'csv', 'html', 'markdown', 'svg-treemap', 'svg']; @@ -149,7 +149,7 @@ public function testIsSupportedWithCustomExporters(): void ] ]; - $factory = new ChurnExporterFactory($customExporters); + $factory = new ChurnReportFactory($customExporters); $this->assertTrue($factory->isSupported('json')); $this->assertTrue($factory->isSupported('custom')); @@ -181,10 +181,10 @@ public function export(array $classes, string $filename): void { ] ]; - $factory = new ChurnExporterFactory($customExporters); + $factory = new ChurnReportFactory($customExporters); $this->expectException(\Phauthentic\CognitiveCodeAnalysis\CognitiveAnalysisException::class); - $this->expectExceptionMessage('Exporter must implement Phauthentic\CognitiveCodeAnalysis\Business\Churn\Exporter\DataExporterInterface'); + $this->expectExceptionMessage('Exporter must implement Phauthentic\CognitiveCodeAnalysis\Business\Churn\Report\ReportGeneratorInterface'); $factory->create('invalid'); } finally { @@ -202,7 +202,7 @@ public function testCustomExporterWithNonExistentFile(): void ] ]; - $factory = new ChurnExporterFactory($customExporters); + $factory = new ChurnReportFactory($customExporters); $this->expectException(\Phauthentic\CognitiveCodeAnalysis\CognitiveAnalysisException::class); $this->expectExceptionMessage('Exporter file not found: /non/existent/file.php'); diff --git a/tests/Unit/Business/Churn/Exporter/CsvExportTest.php b/tests/Unit/Business/Churn/Exporter/CsvExportTest.php index 68b002e..b89cb35 100644 --- a/tests/Unit/Business/Churn/Exporter/CsvExportTest.php +++ b/tests/Unit/Business/Churn/Exporter/CsvExportTest.php @@ -4,7 +4,7 @@ namespace Phauthentic\CognitiveCodeAnalysis\Tests\Unit\Business\Churn\Exporter; -use Phauthentic\CognitiveCodeAnalysis\Business\Churn\Exporter\CsvExporter; +use Phauthentic\CognitiveCodeAnalysis\Business\Churn\Report\CsvReport; use Phauthentic\CognitiveCodeAnalysis\CognitiveAnalysisException; use PHPUnit\Framework\Attributes\Test; @@ -16,7 +16,7 @@ class CsvExportTest extends AbstractExporterTestCase protected function setUp(): void { parent::setUp(); - $this->exporter = new CsvExporter(); + $this->exporter = new CsvReport(); $this->filename = sys_get_temp_dir() . '/test_metrics.csv'; } diff --git a/tests/Unit/Business/Churn/Exporter/HtmlExporterTest.php b/tests/Unit/Business/Churn/Exporter/HtmlExporterTest.php index b0c8798..d65523d 100644 --- a/tests/Unit/Business/Churn/Exporter/HtmlExporterTest.php +++ b/tests/Unit/Business/Churn/Exporter/HtmlExporterTest.php @@ -4,7 +4,7 @@ namespace Phauthentic\CognitiveCodeAnalysis\Tests\Unit\Business\Churn\Exporter; -use Phauthentic\CognitiveCodeAnalysis\Business\Churn\Exporter\CsvExporter; +use Phauthentic\CognitiveCodeAnalysis\Business\Churn\Report\CsvReport; use PHPUnit\Framework\Attributes\Test; /** @@ -15,7 +15,7 @@ class HtmlExporterTest extends AbstractExporterTestCase protected function setUp(): void { parent::setUp(); - $this->exporter = new CsvExporter(); + $this->exporter = new CsvReport(); $this->filename = sys_get_temp_dir() . '/test_metrics.html'; } diff --git a/tests/Unit/Business/Churn/Exporter/JsonExporterTest.php b/tests/Unit/Business/Churn/Exporter/JsonExporterTest.php index e996bed..a50888c 100644 --- a/tests/Unit/Business/Churn/Exporter/JsonExporterTest.php +++ b/tests/Unit/Business/Churn/Exporter/JsonExporterTest.php @@ -4,7 +4,7 @@ namespace Phauthentic\CognitiveCodeAnalysis\Tests\Unit\Business\Churn\Exporter; -use Phauthentic\CognitiveCodeAnalysis\Business\Churn\Exporter\JsonExporter; +use Phauthentic\CognitiveCodeAnalysis\Business\Churn\Report\JsonReport; use PHPUnit\Framework\Attributes\Test; /** @@ -16,7 +16,7 @@ protected function setUp(): void { parent::setUp(); - $this->exporter = new JsonExporter(); + $this->exporter = new JsonReport(); $this->filename = sys_get_temp_dir() . '/test_metrics.json'; } diff --git a/tests/Unit/Business/Churn/Exporter/MarkdownExporterTest.php b/tests/Unit/Business/Churn/Exporter/MarkdownExporterTest.php index 23568f1..0b5b811 100644 --- a/tests/Unit/Business/Churn/Exporter/MarkdownExporterTest.php +++ b/tests/Unit/Business/Churn/Exporter/MarkdownExporterTest.php @@ -4,7 +4,7 @@ namespace Phauthentic\CognitiveCodeAnalysis\Tests\Unit\Business\Churn\Exporter; -use Phauthentic\CognitiveCodeAnalysis\Business\Churn\Exporter\MarkdownExporter; +use Phauthentic\CognitiveCodeAnalysis\Business\Churn\Report\MarkdownReport; use PHPUnit\Framework\Attributes\Test; /** @@ -16,7 +16,7 @@ protected function setUp(): void { parent::setUp(); - $this->exporter = new MarkdownExporter(); + $this->exporter = new MarkdownReport(); $this->filename = sys_get_temp_dir() . '/test_metrics.md'; } diff --git a/tests/Unit/Business/Churn/Exporter/SvgTreemapExporterTest.php b/tests/Unit/Business/Churn/Exporter/SvgTreemapExporterTest.php index 0d532cd..8cc58a9 100644 --- a/tests/Unit/Business/Churn/Exporter/SvgTreemapExporterTest.php +++ b/tests/Unit/Business/Churn/Exporter/SvgTreemapExporterTest.php @@ -4,7 +4,7 @@ namespace Phauthentic\CognitiveCodeAnalysis\Tests\Unit\Business\Churn\Exporter; -use Phauthentic\CognitiveCodeAnalysis\Business\Churn\Exporter\SvgTreemapExporter; +use Phauthentic\CognitiveCodeAnalysis\Business\Churn\Report\SvgTreemapReport; use PHPUnit\Framework\Attributes\Test; /** @@ -16,7 +16,7 @@ protected function setUp(): void { parent::setUp(); - $this->exporter = new SvgTreemapExporter(); + $this->exporter = new SvgTreemapReport(); $this->filename = sys_get_temp_dir() . '/test_metrics.json'; } diff --git a/tests/Unit/Business/Cognitive/Exporter/CognitiveExporterFactoryCustomTest.php b/tests/Unit/Business/Cognitive/Exporter/CognitiveExporterFactoryCustomTest.php index eaa046f..5a1dee1 100644 --- a/tests/Unit/Business/Cognitive/Exporter/CognitiveExporterFactoryCustomTest.php +++ b/tests/Unit/Business/Cognitive/Exporter/CognitiveExporterFactoryCustomTest.php @@ -5,14 +5,14 @@ namespace Phauthentic\CognitiveCodeAnalysis\Tests\Unit\Business\Cognitive\Exporter; use InvalidArgumentException; -use Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\Exporter\CognitiveExporterFactory; -use Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\Exporter\DataExporterInterface; +use Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\Report\CognitiveReportFactory; +use Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\Report\ReportGeneratorInterface; use Phauthentic\CognitiveCodeAnalysis\Config\CognitiveConfig; use PHPUnit\Framework\Attributes\Test; use PHPUnit\Framework\TestCase; /** - * Test case for CognitiveExporterFactory with custom exporters. + * Test case for CognitiveReportFactory with custom exporters. */ class CognitiveExporterFactoryCustomTest extends TestCase { @@ -33,23 +33,23 @@ protected function setUp(): void #[Test] public function testCreateBuiltInExporter(): void { - $factory = new CognitiveExporterFactory($this->config); + $factory = new CognitiveReportFactory($this->config); $exporter = $factory->create('json'); - $this->assertInstanceOf(DataExporterInterface::class, $exporter); - $this->assertInstanceOf('Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\Exporter\JsonExporter', $exporter); + $this->assertInstanceOf(ReportGeneratorInterface::class, $exporter); + $this->assertInstanceOf('Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\Report\JsonReport', $exporter); } #[Test] public function testCreateBuiltInExporterWithConfig(): void { - $factory = new CognitiveExporterFactory($this->config); + $factory = new CognitiveReportFactory($this->config); $exporter = $factory->create('markdown'); - $this->assertInstanceOf(DataExporterInterface::class, $exporter); - $this->assertInstanceOf('Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\Exporter\MarkdownExporter', $exporter); + $this->assertInstanceOf(ReportGeneratorInterface::class, $exporter); + $this->assertInstanceOf('Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\Report\MarkdownReport', $exporter); } #[Test] @@ -60,10 +60,10 @@ public function testCreateCustomExporterWithFile(): void $classContent = <<<'PHP' config, $customExporters); + $factory = new CognitiveReportFactory($this->config, $customExporters); $exporter = $factory->create('custom'); - $this->assertInstanceOf(DataExporterInterface::class, $exporter); + $this->assertInstanceOf(ReportGeneratorInterface::class, $exporter); $this->assertInstanceOf('TestCustomCognitive\CustomCognitiveExporter', $exporter); } finally { unlink($tempFile); @@ -98,11 +98,11 @@ public function testCreateCustomExporterWithConfig(): void $classContent = <<<'PHP' config, $customExporters); + $factory = new CognitiveReportFactory($this->config, $customExporters); $exporter = $factory->create('config'); - $this->assertInstanceOf(DataExporterInterface::class, $exporter); + $this->assertInstanceOf(ReportGeneratorInterface::class, $exporter); $this->assertInstanceOf('TestConfigCognitive\ConfigCognitiveExporter', $exporter); } finally { unlink($tempFile); @@ -143,10 +143,10 @@ public function testCreateCustomExporterWithoutFile(): void $classContent = <<<'PHP' config, $customExporters); + $factory = new CognitiveReportFactory($this->config, $customExporters); $exporter = $factory->create('autoloaded'); - $this->assertInstanceOf(DataExporterInterface::class, $exporter); + $this->assertInstanceOf(ReportGeneratorInterface::class, $exporter); $this->assertInstanceOf('TestAutoloadedCognitive\AutoloadedCognitiveExporter', $exporter); } finally { unlink($tempFile); @@ -177,7 +177,7 @@ public function export(CognitiveMetricsCollection $metrics, string $filename): v #[Test] public function testCreateUnsupportedExporter(): void { - $factory = new CognitiveExporterFactory($this->config); + $factory = new CognitiveReportFactory($this->config); $this->expectException(InvalidArgumentException::class); $this->expectExceptionMessage('Unsupported exporter type: unsupported'); @@ -201,7 +201,7 @@ public function testGetSupportedTypesIncludesCustomExporters(): void ] ]; - $factory = new CognitiveExporterFactory($this->config, $customExporters); + $factory = new CognitiveReportFactory($this->config, $customExporters); $supportedTypes = $factory->getSupportedTypes(); $expectedBuiltInTypes = ['json', 'csv', 'html', 'markdown']; @@ -227,7 +227,7 @@ public function testIsSupportedWithCustomExporters(): void ] ]; - $factory = new CognitiveExporterFactory($this->config, $customExporters); + $factory = new CognitiveReportFactory($this->config, $customExporters); $this->assertTrue($factory->isSupported('json')); $this->assertTrue($factory->isSupported('custom')); @@ -260,10 +260,10 @@ public function export($metrics, $filename): void { ] ]; - $factory = new CognitiveExporterFactory($this->config, $customExporters); + $factory = new CognitiveReportFactory($this->config, $customExporters); $this->expectException(\Phauthentic\CognitiveCodeAnalysis\CognitiveAnalysisException::class); - $this->expectExceptionMessage('Exporter must implement Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\Exporter\DataExporterInterface'); + $this->expectExceptionMessage('Exporter must implement Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\Report\ReportGeneratorInterface'); $factory->create('invalid'); } finally { @@ -282,7 +282,7 @@ public function testCustomExporterWithNonExistentFile(): void ] ]; - $factory = new CognitiveExporterFactory($this->config, $customExporters); + $factory = new CognitiveReportFactory($this->config, $customExporters); $this->expectException(\Phauthentic\CognitiveCodeAnalysis\CognitiveAnalysisException::class); $this->expectExceptionMessage('Exporter file not found: /non/existent/file.php'); @@ -298,11 +298,11 @@ public function testCustomExporterRequiresConfigButConfigIsNull(): void $classContent = <<<'PHP' config, $customExporters); + $factory = new CognitiveReportFactory($this->config, $customExporters); $exporter = $factory->create('nullconfig'); - $this->assertInstanceOf(DataExporterInterface::class, $exporter); + $this->assertInstanceOf(ReportGeneratorInterface::class, $exporter); $this->assertInstanceOf('TestNullConfigCognitive\NullConfigCognitiveExporter', $exporter); } finally { unlink($tempFile); diff --git a/tests/Unit/Business/Cognitive/Exporter/CsvExporterTest.php b/tests/Unit/Business/Cognitive/Exporter/CsvExporterTest.php index 246ab55..fc2cc16 100644 --- a/tests/Unit/Business/Cognitive/Exporter/CsvExporterTest.php +++ b/tests/Unit/Business/Cognitive/Exporter/CsvExporterTest.php @@ -6,7 +6,7 @@ use Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\CognitiveMetrics; use Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\CognitiveMetricsCollection; -use Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\Exporter\CsvExporter; +use Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\Report\CsvReport; use Phauthentic\CognitiveCodeAnalysis\CognitiveAnalysisException; use PHPUnit\Framework\Attributes\Test; use PHPUnit\Framework\TestCase; @@ -16,13 +16,13 @@ */ class CsvExporterTest extends TestCase { - private CsvExporter $csvExporter; + private CsvReport $csvExporter; private string $filename; protected function setUp(): void { parent::setUp(); - $this->csvExporter = new CsvExporter(); + $this->csvExporter = new CsvReport(); $this->filename = sys_get_temp_dir() . '/test_metrics.csv'; } diff --git a/tests/Unit/Business/Cognitive/Exporter/HtmlExporterTest.php b/tests/Unit/Business/Cognitive/Exporter/HtmlExporterTest.php index b2efaac..d5440ad 100644 --- a/tests/Unit/Business/Cognitive/Exporter/HtmlExporterTest.php +++ b/tests/Unit/Business/Cognitive/Exporter/HtmlExporterTest.php @@ -6,7 +6,7 @@ use Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\CognitiveMetrics; use Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\CognitiveMetricsCollection; -use Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\Exporter\HtmlExporter; +use Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\Report\HtmlReport; use Phauthentic\CognitiveCodeAnalysis\Business\Utility\Datetime; use PHPUnit\Framework\Attributes\Test; use PHPUnit\Framework\TestCase; @@ -16,13 +16,13 @@ */ class HtmlExporterTest extends TestCase { - private HtmlExporter $csvExporter; + private HtmlReport $csvExporter; private string $filename; protected function setUp(): void { parent::setUp(); - $this->csvExporter = new HtmlExporter(); + $this->csvExporter = new HtmlReport(); $this->filename = sys_get_temp_dir() . '/test_metrics.csv'; Datetime::$fixedDate = '2023-10-01 12:00:00'; } diff --git a/tests/Unit/Business/Cognitive/Exporter/JsonExporterTest.php b/tests/Unit/Business/Cognitive/Exporter/JsonExporterTest.php index 2248bfe..9b417f1 100644 --- a/tests/Unit/Business/Cognitive/Exporter/JsonExporterTest.php +++ b/tests/Unit/Business/Cognitive/Exporter/JsonExporterTest.php @@ -6,12 +6,12 @@ use Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\CognitiveMetrics; use Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\CognitiveMetricsCollection; -use Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\Exporter\JsonExporter; +use Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\Report\JsonReport; use PHPUnit\Framework\Attributes\Test; use PHPUnit\Framework\TestCase; /** - * Test case for JsonExporter class. + * Test case for JsonReport class. */ class JsonExporterTest extends TestCase { @@ -53,8 +53,8 @@ public function testExport(): void $metricsCollection->add($metrics1); $metricsCollection->add($metrics2); - // Create an instance of JsonExporter and export the metrics. - $jsonExporter = new JsonExporter(); + // Create an instance of JsonReport and export the metrics. + $jsonExporter = new JsonReport(); $jsonExporter->export($metricsCollection, $filename); // Read the contents of the file and decode the JSON. diff --git a/tests/Unit/Business/Cognitive/Exporter/MarkdownExporterTest.php b/tests/Unit/Business/Cognitive/Exporter/MarkdownExporterTest.php index a97f9f5..2cfc971 100644 --- a/tests/Unit/Business/Cognitive/Exporter/MarkdownExporterTest.php +++ b/tests/Unit/Business/Cognitive/Exporter/MarkdownExporterTest.php @@ -6,7 +6,7 @@ use Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\CognitiveMetrics; use Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\CognitiveMetricsCollection; -use Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\Exporter\MarkdownExporter; +use Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\Report\MarkdownReport; use Phauthentic\CognitiveCodeAnalysis\Business\Utility\Datetime; use Phauthentic\CognitiveCodeAnalysis\Config\ConfigLoader; use Phauthentic\CognitiveCodeAnalysis\Config\ConfigService; @@ -63,7 +63,7 @@ public function testExportWithConfiguration(string $configFile, string $expected $config = $configService->getConfig(); $metricsCollection = $this->createTestMetricsCollection(); - $exporter = new MarkdownExporter($config); + $exporter = new MarkdownReport($config); $exporter->export($metricsCollection, $this->filename); $this->assertFileEquals( diff --git a/tests/Unit/Business/Exporter/ExporterRegistryTest.php b/tests/Unit/Business/Exporter/ExporterRegistryTest.php index 993a325..c77ff26 100644 --- a/tests/Unit/Business/Exporter/ExporterRegistryTest.php +++ b/tests/Unit/Business/Exporter/ExporterRegistryTest.php @@ -4,31 +4,31 @@ namespace Phauthentic\CognitiveCodeAnalysis\Tests\Unit\Business\Exporter; -use Phauthentic\CognitiveCodeAnalysis\Business\Exporter\ExporterRegistry; +use Phauthentic\CognitiveCodeAnalysis\Business\Reporter\ReporterRegistry; use Phauthentic\CognitiveCodeAnalysis\Config\CognitiveConfig; use Phauthentic\CognitiveCodeAnalysis\CognitiveAnalysisException; use PHPUnit\Framework\Attributes\Test; use PHPUnit\Framework\TestCase; /** - * Test case for ExporterRegistry class. + * Test case for ReporterRegistry class. */ class ExporterRegistryTest extends TestCase { - private ExporterRegistry $registry; + private ReporterRegistry $registry; protected function setUp(): void { parent::setUp(); - $this->registry = new ExporterRegistry(); + $this->registry = new ReporterRegistry(); } #[Test] public function testLoadExporterWithExistingClass(): void { - // Test loading a class that already exists (JsonExporter) + // Test loading a class that already exists (JsonReport) $this->registry->loadExporter( - 'Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\Exporter\JsonExporter', + 'Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\Report\JsonReport', null ); @@ -80,12 +80,12 @@ public function testLoadExporterWithNonExistentClass(): void public function testInstantiateWithoutConfig(): void { $exporter = $this->registry->instantiate( - 'Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\Exporter\JsonExporter', + 'Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\Report\JsonReport', false, null ); - $this->assertInstanceOf('Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\Exporter\JsonExporter', $exporter); + $this->assertInstanceOf('Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\Report\JsonReport', $exporter); } #[Test] @@ -100,22 +100,22 @@ public function testInstantiateWithConfig(): void ); $exporter = $this->registry->instantiate( - 'Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\Exporter\MarkdownExporter', + 'Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\Report\MarkdownReport', true, $config ); - $this->assertInstanceOf('Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\Exporter\MarkdownExporter', $exporter); + $this->assertInstanceOf('Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\Report\MarkdownReport', $exporter); } #[Test] public function testValidateInterfaceWithValidExporter(): void { - $exporter = new \Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\Exporter\JsonExporter(); + $exporter = new \Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\Report\JsonReport(); $this->registry->validateInterface( $exporter, - 'Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\Exporter\DataExporterInterface' + 'Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\Report\ReportGeneratorInterface' ); // Should not throw an exception @@ -128,7 +128,7 @@ public function testValidateInterfaceWithInvalidExporter(): void $this->expectException(CognitiveAnalysisException::class); $this->expectExceptionMessage('Exporter must implement InvalidInterface'); - $exporter = new \Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\Exporter\JsonExporter(); + $exporter = new \Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\Report\JsonReport(); $this->registry->validateInterface($exporter, 'InvalidInterface'); } diff --git a/tests/Unit/Business/MetricsFacadeCustomExportersTest.php b/tests/Unit/Business/MetricsFacadeCustomExportersTest.php index 44ea35d..0d7b4b2 100644 --- a/tests/Unit/Business/MetricsFacadeCustomExportersTest.php +++ b/tests/Unit/Business/MetricsFacadeCustomExportersTest.php @@ -124,11 +124,11 @@ public function testExportWithCustomExporterRequiringConfig(): void $exporterContent = <<<'PHP' Date: Sun, 12 Oct 2025 00:38:42 +0200 Subject: [PATCH 04/21] Formatting docs --- docs/Creating-Custom-Reporters.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/Creating-Custom-Reporters.md b/docs/Creating-Custom-Reporters.md index 04bb396..aba0493 100644 --- a/docs/Creating-Custom-Reporters.md +++ b/docs/Creating-Custom-Reporters.md @@ -5,6 +5,7 @@ This guide explains how to create custom reporters for the Cognitive Code Checke ## Overview The Cognitive Code Checker supports two types of reporters: + - **Cognitive Reporters**: Export cognitive complexity metrics - **Churn Reporters**: Export code churn metrics @@ -17,6 +18,7 @@ Both types follow similar patterns but have different interfaces and data struct Cognitive reporters handle cognitive complexity metrics data and implement the `ReportGeneratorInterface` from the `Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\Report` namespace. **Interface:** + ```php interface ReportGeneratorInterface { @@ -25,6 +27,7 @@ interface ReportGeneratorInterface ``` **Data Structure:** `CognitiveMetricsCollection` contains individual `CognitiveMetrics` objects with methods like: + - `getClass()` - Class name - `getMethod()` - Method name - `getLineCount()` - Number of lines @@ -37,6 +40,7 @@ interface ReportGeneratorInterface Churn reporters handle code churn metrics data and implement the `ReportGeneratorInterface` from the `Phauthentic\CognitiveCodeAnalysis\Business\Churn\Report` namespace. **Interface:** + ```php interface ReportGeneratorInterface { @@ -223,12 +227,14 @@ php bin/churn-report --format=xml --output=churn.xml For inspiration, examine the built-in reporters: **Cognitive Reporters:** +- - `JsonReport` - JSON format - `CsvReport` - CSV format - `HtmlReport` - HTML with Bootstrap styling - `MarkdownReport` - Markdown tables **Churn Reporters:** + - `JsonReport` - JSON format - `CsvReport` - CSV format - `HtmlReport` - HTML with Bootstrap styling From a77d89c72cfeb082a7006018b11271539a3b897d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20Kr=C3=A4mer?= Date: Sun, 12 Oct 2025 00:45:33 +0200 Subject: [PATCH 05/21] Re-Organizing some classes into Utils --- src/Application.php | 2 +- src/Business/Churn/Report/MarkdownReport.php | 2 +- src/Business/Cognitive/CognitiveMetricsCollector.php | 2 +- src/Business/Cognitive/Parser.php | 8 ++++---- src/Business/{Traits => Utility}/CoverageDataDetector.php | 2 +- src/Business/{ => Utility}/DirectoryScanner.php | 2 +- src/Command/Presentation/ChurnTextRenderer.php | 3 +-- src/Command/Presentation/CognitiveMetricTextRenderer.php | 2 +- tests/Fixtures/Coverage/coverage-clover.xml | 4 ++-- tests/Fixtures/Coverage/coverage.xml | 4 ++-- .../Business/Cognitive/CognitiveMetricsCollectorTest.php | 2 +- tests/Unit/Business/DirectoryScannerTest.php | 3 +-- tests/Unit/Command/CognitiveMetricsCommandTest.php | 4 ++-- 13 files changed, 19 insertions(+), 21 deletions(-) rename src/Business/{Traits => Utility}/CoverageDataDetector.php (89%) rename src/Business/{ => Utility}/DirectoryScanner.php (98%) diff --git a/src/Application.php b/src/Application.php index ee1d0d4..313e246 100644 --- a/src/Application.php +++ b/src/Application.php @@ -15,8 +15,8 @@ use Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\Events\SourceFilesFound; use Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\Parser; use Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\ScoreCalculator; -use Phauthentic\CognitiveCodeAnalysis\Business\DirectoryScanner; use Phauthentic\CognitiveCodeAnalysis\Business\MetricsFacade; +use Phauthentic\CognitiveCodeAnalysis\Business\Utility\DirectoryScanner; use Phauthentic\CognitiveCodeAnalysis\Command\ChurnCommand; use Phauthentic\CognitiveCodeAnalysis\Command\CognitiveMetricsCommand; use Phauthentic\CognitiveCodeAnalysis\Command\EventHandler\ParserErrorHandler; diff --git a/src/Business/Churn/Report/MarkdownReport.php b/src/Business/Churn/Report/MarkdownReport.php index eab3ccd..d3f77fc 100644 --- a/src/Business/Churn/Report/MarkdownReport.php +++ b/src/Business/Churn/Report/MarkdownReport.php @@ -5,7 +5,7 @@ namespace Phauthentic\CognitiveCodeAnalysis\Business\Churn\Report; use Phauthentic\CognitiveCodeAnalysis\Business\Reporter\MarkdownFormatterTrait; -use Phauthentic\CognitiveCodeAnalysis\Business\Traits\CoverageDataDetector; +use Phauthentic\CognitiveCodeAnalysis\Business\Utility\CoverageDataDetector; use Phauthentic\CognitiveCodeAnalysis\Business\Utility\Datetime; use Phauthentic\CognitiveCodeAnalysis\CognitiveAnalysisException; diff --git a/src/Business/Cognitive/CognitiveMetricsCollector.php b/src/Business/Cognitive/CognitiveMetricsCollector.php index eda366c..db39af6 100644 --- a/src/Business/Cognitive/CognitiveMetricsCollector.php +++ b/src/Business/Cognitive/CognitiveMetricsCollector.php @@ -7,7 +7,7 @@ use Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\Events\FileProcessed; use Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\Events\ParserFailed; use Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\Events\SourceFilesFound; -use Phauthentic\CognitiveCodeAnalysis\Business\DirectoryScanner; +use Phauthentic\CognitiveCodeAnalysis\Business\Utility\DirectoryScanner; use Phauthentic\CognitiveCodeAnalysis\CognitiveAnalysisException; use Phauthentic\CognitiveCodeAnalysis\Config\CognitiveConfig; use Phauthentic\CognitiveCodeAnalysis\Config\ConfigService; diff --git a/src/Business/Cognitive/Parser.php b/src/Business/Cognitive/Parser.php index c2b8540..a365adf 100644 --- a/src/Business/Cognitive/Parser.php +++ b/src/Business/Cognitive/Parser.php @@ -7,13 +7,13 @@ use Phauthentic\CognitiveCodeAnalysis\CognitiveAnalysisException; use Phauthentic\CognitiveCodeAnalysis\PhpParser\AnnotationVisitor; use Phauthentic\CognitiveCodeAnalysis\PhpParser\CognitiveMetricsVisitor; +use Phauthentic\CognitiveCodeAnalysis\PhpParser\CombinedMetricsVisitor; use Phauthentic\CognitiveCodeAnalysis\PhpParser\CyclomaticComplexityVisitor; use Phauthentic\CognitiveCodeAnalysis\PhpParser\HalsteadMetricsVisitor; -use Phauthentic\CognitiveCodeAnalysis\PhpParser\CombinedMetricsVisitor; +use PhpParser\Error; +use PhpParser\NodeTraverser; use PhpParser\NodeTraverserInterface; use PhpParser\Parser as PhpParser; -use PhpParser\NodeTraverser; -use PhpParser\Error; use PhpParser\ParserFactory; use ReflectionClass; @@ -187,7 +187,7 @@ public function clearStaticCaches(): void $this->clearStaticProperty('Phauthentic\CognitiveCodeAnalysis\PhpParser\AnnotationVisitor', 'fqcnCache'); // Clear regex pattern caches - $this->clearStaticProperty('Phauthentic\CognitiveCodeAnalysis\Business\DirectoryScanner', 'compiledPatterns'); + $this->clearStaticProperty('Phauthentic\CognitiveCodeAnalysis\Business\Utility\DirectoryScanner', 'compiledPatterns'); $this->clearStaticProperty('Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\CognitiveMetricsCollector', 'compiledPatterns'); // Clear accumulated data in visitors diff --git a/src/Business/Traits/CoverageDataDetector.php b/src/Business/Utility/CoverageDataDetector.php similarity index 89% rename from src/Business/Traits/CoverageDataDetector.php rename to src/Business/Utility/CoverageDataDetector.php index 85e0fad..d4ca520 100644 --- a/src/Business/Traits/CoverageDataDetector.php +++ b/src/Business/Utility/CoverageDataDetector.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Phauthentic\CognitiveCodeAnalysis\Business\Traits; +namespace Phauthentic\CognitiveCodeAnalysis\Business\Utility; /** * Trait for detecting if coverage data is present in class data arrays. diff --git a/src/Business/DirectoryScanner.php b/src/Business/Utility/DirectoryScanner.php similarity index 98% rename from src/Business/DirectoryScanner.php rename to src/Business/Utility/DirectoryScanner.php index 207d304..9f7f97b 100644 --- a/src/Business/DirectoryScanner.php +++ b/src/Business/Utility/DirectoryScanner.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Phauthentic\CognitiveCodeAnalysis\Business; +namespace Phauthentic\CognitiveCodeAnalysis\Business\Utility; use FilesystemIterator; use Generator; diff --git a/src/Command/Presentation/ChurnTextRenderer.php b/src/Command/Presentation/ChurnTextRenderer.php index c93588d..1f50c93 100644 --- a/src/Command/Presentation/ChurnTextRenderer.php +++ b/src/Command/Presentation/ChurnTextRenderer.php @@ -4,8 +4,7 @@ namespace Phauthentic\CognitiveCodeAnalysis\Command\Presentation; -use Phauthentic\CognitiveCodeAnalysis\Business\CodeCoverage\CoberturaReader; -use Phauthentic\CognitiveCodeAnalysis\Business\Traits\CoverageDataDetector; +use Phauthentic\CognitiveCodeAnalysis\Business\Utility\CoverageDataDetector; use Symfony\Component\Console\Helper\Table; use Symfony\Component\Console\Output\OutputInterface; diff --git a/src/Command/Presentation/CognitiveMetricTextRenderer.php b/src/Command/Presentation/CognitiveMetricTextRenderer.php index 8aee736..78d16b8 100644 --- a/src/Command/Presentation/CognitiveMetricTextRenderer.php +++ b/src/Command/Presentation/CognitiveMetricTextRenderer.php @@ -6,7 +6,7 @@ use Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\CognitiveMetrics; use Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\CognitiveMetricsCollection; -use Phauthentic\CognitiveCodeAnalysis\Business\Traits\CoverageDataDetector; +use Phauthentic\CognitiveCodeAnalysis\Business\Utility\CoverageDataDetector; use Phauthentic\CognitiveCodeAnalysis\Config\CognitiveConfig; use Phauthentic\CognitiveCodeAnalysis\Config\ConfigService; use Symfony\Component\Console\Helper\Table; diff --git a/tests/Fixtures/Coverage/coverage-clover.xml b/tests/Fixtures/Coverage/coverage-clover.xml index a6cc46f..62bbb77 100644 --- a/tests/Fixtures/Coverage/coverage-clover.xml +++ b/tests/Fixtures/Coverage/coverage-clover.xml @@ -1886,7 +1886,7 @@ - + @@ -2043,7 +2043,7 @@ - + diff --git a/tests/Fixtures/Coverage/coverage.xml b/tests/Fixtures/Coverage/coverage.xml index fda4c47..35fbfa7 100644 --- a/tests/Fixtures/Coverage/coverage.xml +++ b/tests/Fixtures/Coverage/coverage.xml @@ -1755,7 +1755,7 @@ - + @@ -2788,7 +2788,7 @@ - + diff --git a/tests/Unit/Business/Cognitive/CognitiveMetricsCollectorTest.php b/tests/Unit/Business/Cognitive/CognitiveMetricsCollectorTest.php index 2637e8d..75825b6 100644 --- a/tests/Unit/Business/Cognitive/CognitiveMetricsCollectorTest.php +++ b/tests/Unit/Business/Cognitive/CognitiveMetricsCollectorTest.php @@ -7,7 +7,7 @@ use Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\CognitiveMetricsCollection; use Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\CognitiveMetricsCollector; use Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\Parser; -use Phauthentic\CognitiveCodeAnalysis\Business\DirectoryScanner; +use Phauthentic\CognitiveCodeAnalysis\Business\Utility\DirectoryScanner; use Phauthentic\CognitiveCodeAnalysis\CognitiveAnalysisException; use Phauthentic\CognitiveCodeAnalysis\Config\CognitiveConfig; use Phauthentic\CognitiveCodeAnalysis\Config\ConfigLoader; diff --git a/tests/Unit/Business/DirectoryScannerTest.php b/tests/Unit/Business/DirectoryScannerTest.php index 6c4c350..1202e9b 100644 --- a/tests/Unit/Business/DirectoryScannerTest.php +++ b/tests/Unit/Business/DirectoryScannerTest.php @@ -5,7 +5,6 @@ namespace Phauthentic\CognitiveCodeAnalysis\Tests\Unit\Business; use FilesystemIterator; -use Phauthentic\CognitiveCodeAnalysis\Business\DirectoryScanner; use PHPUnit\Framework\Attributes\Test; use PHPUnit\Framework\TestCase; use RecursiveDirectoryIterator; @@ -74,7 +73,7 @@ private function deleteDirectory(string $dir): void #[Test] public function testScan(): void { - $scanner = new DirectoryScanner(); + $scanner = new \Phauthentic\CognitiveCodeAnalysis\Business\Utility\DirectoryScanner(); $excludePatterns = ['exclude_me', 'exclude_me_too']; $files = []; diff --git a/tests/Unit/Command/CognitiveMetricsCommandTest.php b/tests/Unit/Command/CognitiveMetricsCommandTest.php index 832cb9a..5df3108 100644 --- a/tests/Unit/Command/CognitiveMetricsCommandTest.php +++ b/tests/Unit/Command/CognitiveMetricsCommandTest.php @@ -267,7 +267,7 @@ public static function multiplePathsDataProvider(): array 'Command should succeed with multiple files' ], 'multiple files with spaces' => [ - __DIR__ . '/../../../src/Command/CognitiveMetricsCommand.php, ' . __DIR__ . '/../../../src/Business/MetricsFacade.php, ' . __DIR__ . '/../../../src/Business/DirectoryScanner.php', + __DIR__ . '/../../../src/Command/CognitiveMetricsCommand.php, ' . __DIR__ . '/../../../src/Business/MetricsFacade.php, ' . __DIR__ . '/../../../src/Business/Utility/DirectoryScanner.php', 'Command should succeed with multiple files and spaces' ], 'multiple directories' => [ @@ -279,7 +279,7 @@ public static function multiplePathsDataProvider(): array 'Command should succeed with mixed directories and files' ], 'mixed paths with spaces' => [ - __DIR__ . '/../../../src/Command, ' . __DIR__ . '/../../../src/Business/MetricsFacade.php, ' . __DIR__ . '/../../../src/Business/DirectoryScanner.php', + __DIR__ . '/../../../src/Command, ' . __DIR__ . '/../../../src/Business/MetricsFacade.php, ' . __DIR__ . '/../../../src/Business/Utility/DirectoryScanner.php', 'Command should succeed with mixed paths and spaces' ], ]; From 51d23a585f3d2189b7d0584c992395f64070cabf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20Kr=C3=A4mer?= Date: Sun, 12 Oct 2025 01:39:06 +0200 Subject: [PATCH 06/21] Adding tests --- src/Application.php | 59 +++++++++-- .../Churn/Report/ChurnReportFactory.php | 26 ++--- .../Report/ChurnReportFactoryInterface.php | 35 ++++++ .../Report/CognitiveReportFactory.php | 31 +++--- .../CognitiveReportFactoryInterface.php | 35 ++++++ src/Business/MetricsFacade.php | 44 ++------ src/Command/Handler/ChurnReportHandler.php | 10 +- .../Handler/CognitiveMetricsReportHandler.php | 15 +-- .../ConfigAwareTextReporter.php | 94 ++++++++++++++++ .../CustomReporters/CustomTextReporter.php | 61 +++++++++++ .../config-aware-text-reporter-config.yml | 20 ++++ .../Fixtures/custom-text-reporter-config.yml | 20 ++++ .../ChurnExporterFactoryCustomTest.php | 38 +++++-- .../Churn/Exporter/TestCognitiveConfig.php | 18 ++++ .../CognitiveExporterFactoryCustomTest.php | 42 ++++++-- .../Command/CognitiveMetricsCommandTest.php | 100 ++++++++++++++++++ 16 files changed, 543 insertions(+), 105 deletions(-) create mode 100644 src/Business/Churn/Report/ChurnReportFactoryInterface.php create mode 100644 src/Business/Cognitive/Report/CognitiveReportFactoryInterface.php create mode 100644 tests/Fixtures/CustomReporters/ConfigAwareTextReporter.php create mode 100644 tests/Fixtures/CustomReporters/CustomTextReporter.php create mode 100644 tests/Fixtures/config-aware-text-reporter-config.yml create mode 100644 tests/Fixtures/custom-text-reporter-config.yml create mode 100644 tests/Unit/Business/Churn/Exporter/TestCognitiveConfig.php diff --git a/src/Application.php b/src/Application.php index 313e246..8e74005 100644 --- a/src/Application.php +++ b/src/Application.php @@ -6,6 +6,8 @@ use Phauthentic\CognitiveCodeAnalysis\Business\Churn\ChangeCounter\ChangeCounterFactory; use Phauthentic\CognitiveCodeAnalysis\Business\Churn\ChurnCalculator; +use Phauthentic\CognitiveCodeAnalysis\Business\Churn\Report\ChurnReportFactory; +use Phauthentic\CognitiveCodeAnalysis\Business\Churn\Report\ChurnReportFactoryInterface; use Phauthentic\CognitiveCodeAnalysis\Business\CodeCoverage\CodeCoverageFactory; use Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\Baseline; use Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\CognitiveMetricsCollector; @@ -14,6 +16,8 @@ use Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\Events\ParserFailed; use Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\Events\SourceFilesFound; use Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\Parser; +use Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\Report\CognitiveReportFactory; +use Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\Report\CognitiveReportFactoryInterface; use Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\ScoreCalculator; use Phauthentic\CognitiveCodeAnalysis\Business\MetricsFacade; use Phauthentic\CognitiveCodeAnalysis\Business\Utility\DirectoryScanner; @@ -62,6 +66,15 @@ public function __construct() } private function registerServices(): void + { + $this->registerCoreServices(); + $this->registerReportFactories(); + $this->registerPresentationServices(); + $this->registerUtilityServices(); + $this->registerCommandHandlers(); + } + + private function registerCoreServices(): void { $outputClass = getenv('APP_ENV') === 'test' ? NullOutput::class : ConsoleOutput::class; @@ -83,27 +96,48 @@ private function registerServices(): void $this->containerBuilder->register(ConfigService::class, ConfigService::class) ->setPublic(true); - $this->containerBuilder->register(ChurnTextRenderer::class, ChurnTextRenderer::class) - ->setArguments([ - new Reference(OutputInterface::class) - ]) + $this->containerBuilder->register(Baseline::class, Baseline::class) ->setPublic(true); - $this->containerBuilder->register(CognitiveMetricTextRendererInterface::class, CognitiveMetricTextRenderer::class) + $this->containerBuilder->register(CognitiveMetricsSorter::class, CognitiveMetricsSorter::class) + ->setPublic(true); + + $this->containerBuilder->register(CodeCoverageFactory::class, CodeCoverageFactory::class) + ->setPublic(true); + } + + private function registerReportFactories(): void + { + $this->containerBuilder->register(ChurnReportFactoryInterface::class, ChurnReportFactory::class) ->setArguments([ - new Reference(ConfigService::class) + new Reference(ConfigService::class), ]) ->setPublic(true); - $this->containerBuilder->register(Baseline::class, Baseline::class) + $this->containerBuilder->register(CognitiveReportFactoryInterface::class, CognitiveReportFactory::class) + ->setArguments([ + new Reference(ConfigService::class), + ]) ->setPublic(true); + } - $this->containerBuilder->register(CognitiveMetricsSorter::class, CognitiveMetricsSorter::class) + private function registerPresentationServices(): void + { + $this->containerBuilder->register(ChurnTextRenderer::class, ChurnTextRenderer::class) + ->setArguments([ + new Reference(OutputInterface::class) + ]) ->setPublic(true); - $this->containerBuilder->register(CodeCoverageFactory::class, CodeCoverageFactory::class) + $this->containerBuilder->register(CognitiveMetricTextRendererInterface::class, CognitiveMetricTextRenderer::class) + ->setArguments([ + new Reference(ConfigService::class) + ]) ->setPublic(true); + } + private function registerUtilityServices(): void + { $this->containerBuilder->register(Processor::class, Processor::class) ->setPublic(true); @@ -135,11 +169,15 @@ private function registerServices(): void new Reference(NodeTraverserInterface::class), ]) ->setPublic(true); + } + private function registerCommandHandlers(): void + { $this->containerBuilder->register(ChurnReportHandler::class, ChurnReportHandler::class) ->setArguments([ new Reference(MetricsFacade::class), new Reference(OutputInterface::class), + new Reference(ChurnReportFactoryInterface::class), ]) ->setPublic(true); @@ -147,6 +185,7 @@ private function registerServices(): void ->setArguments([ new Reference(MetricsFacade::class), new Reference(OutputInterface::class), + new Reference(CognitiveReportFactoryInterface::class), ]) ->setPublic(true); } @@ -213,6 +252,8 @@ private function registerMetricsFacade(): void new Reference(ConfigService::class), new Reference(ChurnCalculator::class), new Reference(ChangeCounterFactory::class), + new Reference(ChurnReportFactoryInterface::class), + new Reference(CognitiveReportFactoryInterface::class), ]) ->setPublic(true); } diff --git a/src/Business/Churn/Report/ChurnReportFactory.php b/src/Business/Churn/Report/ChurnReportFactory.php index 6f7d118..a50413d 100644 --- a/src/Business/Churn/Report/ChurnReportFactory.php +++ b/src/Business/Churn/Report/ChurnReportFactory.php @@ -6,22 +6,18 @@ use InvalidArgumentException; use Phauthentic\CognitiveCodeAnalysis\Business\Reporter\ReporterRegistry; +use Phauthentic\CognitiveCodeAnalysis\Config\ConfigService; /** * Factory for creating churn data exporters. */ -class ChurnReportFactory +class ChurnReportFactory implements ChurnReportFactoryInterface { - /** @var array> */ - private array $customExporters = []; private ReporterRegistry $registry; - /** - * @param array> $customExporters - */ - public function __construct(array $customExporters = []) - { - $this->customExporters = $customExporters; + public function __construct( + private readonly ConfigService $configService + ) { $this->registry = new ReporterRegistry(); } @@ -34,6 +30,9 @@ public function __construct(array $customExporters = []) */ public function create(string $type): ReportGeneratorInterface { + $config = $this->configService->getConfig(); + $customExporters = $config->customExporters['churn'] ?? []; + // Check built-in exporters first $builtIn = match ($type) { 'json' => new JsonReport(), @@ -49,8 +48,8 @@ public function create(string $type): ReportGeneratorInterface } // Check custom exporters - if (isset($this->customExporters[$type])) { - return $this->createCustomExporter($this->customExporters[$type]); + if (isset($customExporters[$type])) { + return $this->createCustomExporter($customExporters[$type]); } throw new InvalidArgumentException("Unsupported exporter type: {$type}"); @@ -84,9 +83,12 @@ private function createCustomExporter(array $config): ReportGeneratorInterface */ public function getSupportedTypes(): array { + $config = $this->configService->getConfig(); + $customExporters = $config->customExporters['churn'] ?? []; + return array_merge( ['json', 'csv', 'html', 'markdown', 'svg-treemap', 'svg'], - array_keys($this->customExporters) + array_keys($customExporters) ); } diff --git a/src/Business/Churn/Report/ChurnReportFactoryInterface.php b/src/Business/Churn/Report/ChurnReportFactoryInterface.php new file mode 100644 index 0000000..19a06aa --- /dev/null +++ b/src/Business/Churn/Report/ChurnReportFactoryInterface.php @@ -0,0 +1,35 @@ + + */ + public function getSupportedTypes(): array; + + /** + * Check if a type is supported. + * + * @param string $type + * @return bool + */ + public function isSupported(string $type): bool; +} diff --git a/src/Business/Cognitive/Report/CognitiveReportFactory.php b/src/Business/Cognitive/Report/CognitiveReportFactory.php index e60a7e4..3d02c83 100644 --- a/src/Business/Cognitive/Report/CognitiveReportFactory.php +++ b/src/Business/Cognitive/Report/CognitiveReportFactory.php @@ -6,25 +6,18 @@ use InvalidArgumentException; use Phauthentic\CognitiveCodeAnalysis\Business\Reporter\ReporterRegistry; -use Phauthentic\CognitiveCodeAnalysis\Config\CognitiveConfig; +use Phauthentic\CognitiveCodeAnalysis\Config\ConfigService; /** * Factory for creating cognitive metrics exporters. */ -class CognitiveReportFactory +class CognitiveReportFactory implements CognitiveReportFactoryInterface { - /** @var array> */ - private array $customExporters = []; private ReporterRegistry $registry; - /** - * @param array> $customExporters - */ public function __construct( - private readonly CognitiveConfig $config, - array $customExporters = [] + private readonly ConfigService $configService ) { - $this->customExporters = $customExporters; $this->registry = new ReporterRegistry(); } @@ -37,12 +30,15 @@ public function __construct( */ public function create(string $type): ReportGeneratorInterface { + $config = $this->configService->getConfig(); + $customExporters = $config->customExporters['cognitive'] ?? []; + // Check built-in exporters first $builtIn = match ($type) { 'json' => new JsonReport(), 'csv' => new CsvReport(), 'html' => new HtmlReport(), - 'markdown' => new MarkdownReport($this->config), + 'markdown' => new MarkdownReport($config), default => null, }; @@ -50,8 +46,8 @@ public function create(string $type): ReportGeneratorInterface return $builtIn; } - if (isset($this->customExporters[$type])) { - return $this->createCustomExporter($this->customExporters[$type]); + if (isset($customExporters[$type])) { + return $this->createCustomExporter($customExporters[$type]); } throw new InvalidArgumentException("Unsupported exporter type: {$type}"); @@ -65,11 +61,13 @@ public function create(string $type): ReportGeneratorInterface */ private function createCustomExporter(array $config): ReportGeneratorInterface { + $cognitiveConfig = $this->configService->getConfig(); + $this->registry->loadExporter($config['class'], $config['file'] ?? null); $exporter = $this->registry->instantiate( $config['class'], $config['requiresConfig'] ?? false, - $this->config + $cognitiveConfig ); $this->registry->validateInterface($exporter, ReportGeneratorInterface::class); @@ -85,9 +83,12 @@ private function createCustomExporter(array $config): ReportGeneratorInterface */ public function getSupportedTypes(): array { + $config = $this->configService->getConfig(); + $customExporters = $config->customExporters['cognitive'] ?? []; + return array_merge( ['json', 'csv', 'html', 'markdown'], - array_keys($this->customExporters) + array_keys($customExporters) ); } diff --git a/src/Business/Cognitive/Report/CognitiveReportFactoryInterface.php b/src/Business/Cognitive/Report/CognitiveReportFactoryInterface.php new file mode 100644 index 0000000..ac73a6a --- /dev/null +++ b/src/Business/Cognitive/Report/CognitiveReportFactoryInterface.php @@ -0,0 +1,35 @@ + + */ + public function getSupportedTypes(): array; + + /** + * Check if a type is supported. + * + * @param string $type + * @return bool + */ + public function isSupported(string $type): bool; +} diff --git a/src/Business/MetricsFacade.php b/src/Business/MetricsFacade.php index 4db88d6..bbeed57 100644 --- a/src/Business/MetricsFacade.php +++ b/src/Business/MetricsFacade.php @@ -6,12 +6,12 @@ use Phauthentic\CognitiveCodeAnalysis\Business\Churn\ChangeCounter\ChangeCounterFactory; use Phauthentic\CognitiveCodeAnalysis\Business\Churn\ChurnCalculator; -use Phauthentic\CognitiveCodeAnalysis\Business\Churn\Report\ChurnReportFactory; +use Phauthentic\CognitiveCodeAnalysis\Business\Churn\Report\ChurnReportFactoryInterface; use Phauthentic\CognitiveCodeAnalysis\Business\CodeCoverage\CoverageReportReaderInterface; use Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\CognitiveMetrics; use Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\CognitiveMetricsCollection; use Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\CognitiveMetricsCollector; -use Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\Report\CognitiveReportFactory; +use Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\Report\CognitiveReportFactoryInterface; use Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\ScoreCalculator; use Phauthentic\CognitiveCodeAnalysis\Config\CognitiveConfig; use Phauthentic\CognitiveCodeAnalysis\Config\ConfigService; @@ -21,9 +21,6 @@ */ class MetricsFacade { - private ?ChurnReportFactory $churnExporterFactory = null; - private ?CognitiveReportFactory $cognitiveExporterFactory = null; - /** * Constructor initializes the metrics collectors, score calculator, and config service. */ @@ -32,40 +29,13 @@ public function __construct( private readonly ScoreCalculator $scoreCalculator, private readonly ConfigService $configService, private readonly ChurnCalculator $churnCalculator, - private readonly ChangeCounterFactory $changeCounterFactory + private readonly ChangeCounterFactory $changeCounterFactory, + private readonly ChurnReportFactoryInterface $churnReportFactory, + private readonly CognitiveReportFactoryInterface $cognitiveReportFactory ) { $this->loadConfig(__DIR__ . '/../../config.yml'); } - /** - * Get or create the churn exporter factory. - */ - private function getChurnExporterFactory(): ChurnReportFactory - { - if ($this->churnExporterFactory === null) { - $config = $this->configService->getConfig(); - $customExporters = $config->customExporters['churn'] ?? []; - $this->churnExporterFactory = new ChurnReportFactory($customExporters); - } - return $this->churnExporterFactory; - } - - /** - * Get or create the cognitive exporter factory. - */ - private function getCognitiveExporterFactory(): CognitiveReportFactory - { - if ($this->cognitiveExporterFactory === null) { - $config = $this->configService->getConfig(); - $customExporters = $config->customExporters['cognitive'] ?? []; - $this->cognitiveExporterFactory = new CognitiveReportFactory( - $config, - $customExporters - ); - } - return $this->cognitiveExporterFactory; - } - /** * Collects and returns cognitive metrics for the given path. * @@ -156,7 +126,7 @@ public function exportChurnReport( string $reportType, string $filename ): void { - $exporter = $this->getChurnExporterFactory()->create($reportType); + $exporter = $this->churnReportFactory->create($reportType); $exporter->export($classes, $filename); } @@ -167,7 +137,7 @@ public function exportMetricsReport( string $reportType, string $filename ): void { - $exporter = $this->getCognitiveExporterFactory()->create($reportType); + $exporter = $this->cognitiveReportFactory->create($reportType); $exporter->export($metricsCollection, $filename); } diff --git a/src/Command/Handler/ChurnReportHandler.php b/src/Command/Handler/ChurnReportHandler.php index ff78a6c..4e3e156 100644 --- a/src/Command/Handler/ChurnReportHandler.php +++ b/src/Command/Handler/ChurnReportHandler.php @@ -5,7 +5,7 @@ namespace Phauthentic\CognitiveCodeAnalysis\Command\Handler; use Exception; -use Phauthentic\CognitiveCodeAnalysis\Business\Churn\Report\ChurnReportFactory; +use Phauthentic\CognitiveCodeAnalysis\Business\Churn\Report\ChurnReportFactoryInterface; use Phauthentic\CognitiveCodeAnalysis\Business\MetricsFacade; use Symfony\Component\Console\Command\Command; use Symfony\Component\Console\Output\OutputInterface; @@ -15,15 +15,11 @@ */ class ChurnReportHandler { - private ChurnReportFactory $exporterFactory; - public function __construct( private MetricsFacade $metricsFacade, - private OutputInterface $output + private OutputInterface $output, + private ChurnReportFactoryInterface $exporterFactory ) { - $config = $this->metricsFacade->getConfig(); - $customExporters = $config->customExporters['churn'] ?? []; - $this->exporterFactory = new ChurnReportFactory($customExporters); } /** diff --git a/src/Command/Handler/CognitiveMetricsReportHandler.php b/src/Command/Handler/CognitiveMetricsReportHandler.php index 3bdf7c3..bfa8ca2 100644 --- a/src/Command/Handler/CognitiveMetricsReportHandler.php +++ b/src/Command/Handler/CognitiveMetricsReportHandler.php @@ -6,7 +6,7 @@ use Exception; use Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\CognitiveMetricsCollection; -use Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\Report\CognitiveReportFactory; +use Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\Report\CognitiveReportFactoryInterface; use Phauthentic\CognitiveCodeAnalysis\Business\MetricsFacade; use Symfony\Component\Console\Command\Command; use Symfony\Component\Console\Output\OutputInterface; @@ -15,7 +15,8 @@ class CognitiveMetricsReportHandler { public function __construct( private MetricsFacade $metricsFacade, - private OutputInterface $output + private OutputInterface $output, + private CognitiveReportFactoryInterface $reportFactory ) { } @@ -60,8 +61,7 @@ private function isValidReportType(?string $reportType): bool if ($reportType === null) { return false; } - $factory = new CognitiveReportFactory($this->metricsFacade->getConfig()); - return $factory->isSupported($reportType); + return $this->reportFactory->isSupported($reportType); } /** @@ -84,9 +84,12 @@ private function handleExceptions(Exception $exception): int */ public function handleInvalidReporType(?string $reportType): int { + $supportedTypes = $this->reportFactory->getSupportedTypes(); + $this->output->writeln(sprintf( - 'Invalid report type `%s` provided. Only `json`, `csv`, `html`, and `markdown` are accepted.', - $reportType + 'Invalid report type `%s` provided. Supported types: %s', + $reportType, + implode(', ', $supportedTypes) )); return Command::FAILURE; diff --git a/tests/Fixtures/CustomReporters/ConfigAwareTextReporter.php b/tests/Fixtures/CustomReporters/ConfigAwareTextReporter.php new file mode 100644 index 0000000..f3ca01d --- /dev/null +++ b/tests/Fixtures/CustomReporters/ConfigAwareTextReporter.php @@ -0,0 +1,94 @@ +config = $config; + } + + public function export(CognitiveMetricsCollection $metrics, string $filename): void + { + // Ensure directory exists + $directory = dirname($filename); + if (!is_dir($directory)) { + throw new CognitiveAnalysisException("Directory {$directory} does not exist"); + } + + // Generate text content with config information + $content = $this->generateTextContent($metrics); + + // Write to file + if (file_put_contents($filename, $content) === false) { + throw new CognitiveAnalysisException("Could not write to file: {$filename}"); + } + } + + private function generateTextContent(CognitiveMetricsCollection $metrics): string + { + $content = "=== Config-Aware Cognitive Complexity Report ===\n"; + $content .= "Generated by ConfigAwareTextReporter\n"; + $content .= "===============================================\n\n"; + + // Include config information + $content .= "Configuration:\n"; + $content .= sprintf("- Score Threshold: %.2f\n", $this->config->scoreThreshold); + $content .= sprintf("- Group By Class: %s\n", $this->config->groupByClass ? 'Yes' : 'No'); + $content .= sprintf( + "- Show Only Methods Exceeding Threshold: %s\n", + $this->config->showOnlyMethodsExceedingThreshold ? 'Yes' : 'No' + ); + $content .= "\n"; + + $totalMethods = 0; + $totalScore = 0.0; + $methodsAboveThreshold = 0; + + foreach ($metrics as $metric) { + $isAboveThreshold = $metric->getScore() > $this->config->scoreThreshold; + $thresholdIndicator = $isAboveThreshold ? ' [ABOVE THRESHOLD]' : ''; + + $content .= sprintf( + "Class: %s, Method: %s, Score: %.2f%s\n", + $metric->getClass(), + $metric->getMethod(), + $metric->getScore(), + $thresholdIndicator + ); + + $totalMethods++; + $totalScore += $metric->getScore(); + + if ($isAboveThreshold) { + $methodsAboveThreshold++; + } + } + + $content .= "\n===============================================\n"; + $content .= sprintf("Total Methods: %d\n", $totalMethods); + $content .= sprintf("Average Score: %.2f\n", $totalMethods > 0 ? $totalScore / $totalMethods : 0); + $content .= sprintf( + "Methods Above Threshold (%.2f): %d\n", + $this->config->scoreThreshold, + $methodsAboveThreshold + ); + $content .= "===============================================\n"; + + return $content; + } +} diff --git a/tests/Fixtures/CustomReporters/CustomTextReporter.php b/tests/Fixtures/CustomReporters/CustomTextReporter.php new file mode 100644 index 0000000..9032408 --- /dev/null +++ b/tests/Fixtures/CustomReporters/CustomTextReporter.php @@ -0,0 +1,61 @@ +generateTextContent($metrics); + + // Write to file + if (file_put_contents($filename, $content) === false) { + throw new CognitiveAnalysisException("Could not write to file: {$filename}"); + } + } + + private function generateTextContent(CognitiveMetricsCollection $metrics): string + { + $content = "=== Cognitive Complexity Report ===\n"; + $content .= "Generated by CustomTextReporter\n"; + $content .= "=====================================\n\n"; + + $totalMethods = 0; + $totalScore = 0.0; + + foreach ($metrics as $metric) { + $content .= sprintf( + "Class: %s, Method: %s, Score: %.2f\n", + $metric->getClass(), + $metric->getMethod(), + $metric->getScore() + ); + $totalMethods++; + $totalScore += $metric->getScore(); + } + + $content .= "\n=====================================\n"; + $content .= sprintf("Total Methods: %d\n", $totalMethods); + $content .= sprintf("Average Score: %.2f\n", $totalMethods > 0 ? $totalScore / $totalMethods : 0); + $content .= "=====================================\n"; + + return $content; + } +} diff --git a/tests/Fixtures/config-aware-text-reporter-config.yml b/tests/Fixtures/config-aware-text-reporter-config.yml new file mode 100644 index 0000000..b5794da --- /dev/null +++ b/tests/Fixtures/config-aware-text-reporter-config.yml @@ -0,0 +1,20 @@ +cognitive: + excludeFilePatterns: [] + excludePatterns: [] + scoreThreshold: 0.8 + showOnlyMethodsExceedingThreshold: true + showHalsteadComplexity: false + showCyclomaticComplexity: false + showDetailedCognitiveMetrics: true + groupByClass: false + metrics: + lineCount: + threshold: 60 + scale: 25.0 + enabled: true + customExporters: + cognitive: + configtext: + class: 'Tests\Fixtures\CustomReporters\ConfigAwareTextReporter' + file: 'tests/Fixtures/CustomReporters/ConfigAwareTextReporter.php' + requiresConfig: true diff --git a/tests/Fixtures/custom-text-reporter-config.yml b/tests/Fixtures/custom-text-reporter-config.yml new file mode 100644 index 0000000..9f64add --- /dev/null +++ b/tests/Fixtures/custom-text-reporter-config.yml @@ -0,0 +1,20 @@ +cognitive: + excludeFilePatterns: [] + excludePatterns: [] + scoreThreshold: 0.5 + showOnlyMethodsExceedingThreshold: false + showHalsteadComplexity: false + showCyclomaticComplexity: false + showDetailedCognitiveMetrics: true + groupByClass: true + metrics: + lineCount: + threshold: 60 + scale: 25.0 + enabled: true + customExporters: + cognitive: + customtext: + class: 'Tests\Fixtures\CustomReporters\CustomTextReporter' + file: 'tests/Fixtures/CustomReporters/CustomTextReporter.php' + requiresConfig: false diff --git a/tests/Unit/Business/Churn/Exporter/ChurnExporterFactoryCustomTest.php b/tests/Unit/Business/Churn/Exporter/ChurnExporterFactoryCustomTest.php index dfe86aa..4d687e7 100644 --- a/tests/Unit/Business/Churn/Exporter/ChurnExporterFactoryCustomTest.php +++ b/tests/Unit/Business/Churn/Exporter/ChurnExporterFactoryCustomTest.php @@ -7,18 +7,40 @@ use InvalidArgumentException; use Phauthentic\CognitiveCodeAnalysis\Business\Churn\Report\ChurnReportFactory; use Phauthentic\CognitiveCodeAnalysis\Business\Churn\Report\ReportGeneratorInterface; +use Phauthentic\CognitiveCodeAnalysis\Config\CognitiveConfig; +use Phauthentic\CognitiveCodeAnalysis\Config\ConfigService; use PHPUnit\Framework\Attributes\Test; use PHPUnit\Framework\TestCase; +use PHPUnit\Framework\MockObject\MockObject; +use ReflectionClass; +use Phauthentic\CognitiveCodeAnalysis\Tests\Unit\Business\Churn\Exporter\TestCognitiveConfig; /** * Test case for ChurnReportFactory with custom exporters. */ class ChurnExporterFactoryCustomTest extends TestCase { + private function createMockConfigService(array $customExporters = []): ConfigService&MockObject + { + // Create a mock that allows property access by using reflection + $config = $this->createMock(CognitiveConfig::class); + + // Use reflection to set the readonly property + $reflection = new ReflectionClass($config); + $property = $reflection->getProperty('customExporters'); + $property->setAccessible(true); + $property->setValue($config, ['churn' => $customExporters]); + + $configService = $this->createMock(ConfigService::class); + $configService->method('getConfig')->willReturn($config); + + return $configService; + } #[Test] public function testCreateBuiltInExporter(): void { - $factory = new ChurnReportFactory(); + $configService = $this->createMockConfigService(); + $factory = new ChurnReportFactory($configService); $exporter = $factory->create('json'); @@ -52,7 +74,7 @@ public function export(array $classes, string $filename): void { ] ]; - $factory = new ChurnReportFactory($customExporters); + $factory = new ChurnReportFactory($this->createMockConfigService($customExporters)); $exporter = $factory->create('custom'); $this->assertInstanceOf(ReportGeneratorInterface::class, $exporter); @@ -89,7 +111,7 @@ public function export(array $classes, string $filename): void { ] ]; - $factory = new ChurnReportFactory($customExporters); + $factory = new ChurnReportFactory($this->createMockConfigService($customExporters)); $exporter = $factory->create('autoloaded'); $this->assertInstanceOf(ReportGeneratorInterface::class, $exporter); @@ -102,7 +124,7 @@ public function export(array $classes, string $filename): void { #[Test] public function testCreateUnsupportedExporter(): void { - $factory = new ChurnReportFactory(); + $factory = new ChurnReportFactory($this->createMockConfigService()); $this->expectException(InvalidArgumentException::class); $this->expectExceptionMessage('Unsupported exporter type: unsupported'); @@ -124,7 +146,7 @@ public function testGetSupportedTypesIncludesCustomExporters(): void ] ]; - $factory = new ChurnReportFactory($customExporters); + $factory = new ChurnReportFactory($this->createMockConfigService($customExporters)); $supportedTypes = $factory->getSupportedTypes(); $expectedBuiltInTypes = ['json', 'csv', 'html', 'markdown', 'svg-treemap', 'svg']; @@ -149,7 +171,7 @@ public function testIsSupportedWithCustomExporters(): void ] ]; - $factory = new ChurnReportFactory($customExporters); + $factory = new ChurnReportFactory($this->createMockConfigService($customExporters)); $this->assertTrue($factory->isSupported('json')); $this->assertTrue($factory->isSupported('custom')); @@ -181,7 +203,7 @@ public function export(array $classes, string $filename): void { ] ]; - $factory = new ChurnReportFactory($customExporters); + $factory = new ChurnReportFactory($this->createMockConfigService($customExporters)); $this->expectException(\Phauthentic\CognitiveCodeAnalysis\CognitiveAnalysisException::class); $this->expectExceptionMessage('Exporter must implement Phauthentic\CognitiveCodeAnalysis\Business\Churn\Report\ReportGeneratorInterface'); @@ -202,7 +224,7 @@ public function testCustomExporterWithNonExistentFile(): void ] ]; - $factory = new ChurnReportFactory($customExporters); + $factory = new ChurnReportFactory($this->createMockConfigService($customExporters)); $this->expectException(\Phauthentic\CognitiveCodeAnalysis\CognitiveAnalysisException::class); $this->expectExceptionMessage('Exporter file not found: /non/existent/file.php'); diff --git a/tests/Unit/Business/Churn/Exporter/TestCognitiveConfig.php b/tests/Unit/Business/Churn/Exporter/TestCognitiveConfig.php new file mode 100644 index 0000000..b3bdedd --- /dev/null +++ b/tests/Unit/Business/Churn/Exporter/TestCognitiveConfig.php @@ -0,0 +1,18 @@ +customExporters = []; + } +} diff --git a/tests/Unit/Business/Cognitive/Exporter/CognitiveExporterFactoryCustomTest.php b/tests/Unit/Business/Cognitive/Exporter/CognitiveExporterFactoryCustomTest.php index 5a1dee1..26d58a7 100644 --- a/tests/Unit/Business/Cognitive/Exporter/CognitiveExporterFactoryCustomTest.php +++ b/tests/Unit/Business/Cognitive/Exporter/CognitiveExporterFactoryCustomTest.php @@ -8,11 +8,14 @@ use Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\Report\CognitiveReportFactory; use Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\Report\ReportGeneratorInterface; use Phauthentic\CognitiveCodeAnalysis\Config\CognitiveConfig; +use Phauthentic\CognitiveCodeAnalysis\Config\ConfigService; use PHPUnit\Framework\Attributes\Test; use PHPUnit\Framework\TestCase; +use PHPUnit\Framework\MockObject\MockObject; /** * Test case for CognitiveReportFactory with custom exporters. + * @SuppressWarnings(PHPMD.TooManyPublicMethods) */ class CognitiveExporterFactoryCustomTest extends TestCase { @@ -30,10 +33,27 @@ protected function setUp(): void ); } + private function createMockConfigService(array $customExporters = []): ConfigService&MockObject + { + $config = new CognitiveConfig( + excludeFilePatterns: [], + excludePatterns: [], + metrics: [], + showOnlyMethodsExceedingThreshold: false, + scoreThreshold: 0.5, + customExporters: ['cognitive' => $customExporters] + ); + + $configService = $this->createMock(ConfigService::class); + $configService->method('getConfig')->willReturn($config); + + return $configService; + } + #[Test] public function testCreateBuiltInExporter(): void { - $factory = new CognitiveReportFactory($this->config); + $factory = new CognitiveReportFactory($this->createMockConfigService()); $exporter = $factory->create('json'); @@ -44,7 +64,7 @@ public function testCreateBuiltInExporter(): void #[Test] public function testCreateBuiltInExporterWithConfig(): void { - $factory = new CognitiveReportFactory($this->config); + $factory = new CognitiveReportFactory($this->createMockConfigService()); $exporter = $factory->create('markdown'); @@ -80,7 +100,7 @@ public function export(CognitiveMetricsCollection $metrics, string $filename): v ] ]; - $factory = new CognitiveReportFactory($this->config, $customExporters); + $factory = new CognitiveReportFactory($this->createMockConfigService($customExporters)); $exporter = $factory->create('custom'); $this->assertInstanceOf(ReportGeneratorInterface::class, $exporter); @@ -125,7 +145,7 @@ public function export(CognitiveMetricsCollection $metrics, string $filename): v ] ]; - $factory = new CognitiveReportFactory($this->config, $customExporters); + $factory = new CognitiveReportFactory($this->createMockConfigService($customExporters)); $exporter = $factory->create('config'); $this->assertInstanceOf(ReportGeneratorInterface::class, $exporter); @@ -164,7 +184,7 @@ public function export(CognitiveMetricsCollection $metrics, string $filename): v ] ]; - $factory = new CognitiveReportFactory($this->config, $customExporters); + $factory = new CognitiveReportFactory($this->createMockConfigService($customExporters)); $exporter = $factory->create('autoloaded'); $this->assertInstanceOf(ReportGeneratorInterface::class, $exporter); @@ -177,7 +197,7 @@ public function export(CognitiveMetricsCollection $metrics, string $filename): v #[Test] public function testCreateUnsupportedExporter(): void { - $factory = new CognitiveReportFactory($this->config); + $factory = new CognitiveReportFactory($this->createMockConfigService()); $this->expectException(InvalidArgumentException::class); $this->expectExceptionMessage('Unsupported exporter type: unsupported'); @@ -201,7 +221,7 @@ public function testGetSupportedTypesIncludesCustomExporters(): void ] ]; - $factory = new CognitiveReportFactory($this->config, $customExporters); + $factory = new CognitiveReportFactory($this->createMockConfigService($customExporters)); $supportedTypes = $factory->getSupportedTypes(); $expectedBuiltInTypes = ['json', 'csv', 'html', 'markdown']; @@ -227,7 +247,7 @@ public function testIsSupportedWithCustomExporters(): void ] ]; - $factory = new CognitiveReportFactory($this->config, $customExporters); + $factory = new CognitiveReportFactory($this->createMockConfigService($customExporters)); $this->assertTrue($factory->isSupported('json')); $this->assertTrue($factory->isSupported('custom')); @@ -260,7 +280,7 @@ public function export($metrics, $filename): void { ] ]; - $factory = new CognitiveReportFactory($this->config, $customExporters); + $factory = new CognitiveReportFactory($this->createMockConfigService($customExporters)); $this->expectException(\Phauthentic\CognitiveCodeAnalysis\CognitiveAnalysisException::class); $this->expectExceptionMessage('Exporter must implement Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\Report\ReportGeneratorInterface'); @@ -282,7 +302,7 @@ public function testCustomExporterWithNonExistentFile(): void ] ]; - $factory = new CognitiveReportFactory($this->config, $customExporters); + $factory = new CognitiveReportFactory($this->createMockConfigService($customExporters)); $this->expectException(\Phauthentic\CognitiveCodeAnalysis\CognitiveAnalysisException::class); $this->expectExceptionMessage('Exporter file not found: /non/existent/file.php'); @@ -325,7 +345,7 @@ public function export(CognitiveMetricsCollection $metrics, string $filename): v ] ]; - $factory = new CognitiveReportFactory($this->config, $customExporters); + $factory = new CognitiveReportFactory($this->createMockConfigService($customExporters)); $exporter = $factory->create('nullconfig'); $this->assertInstanceOf(ReportGeneratorInterface::class, $exporter); diff --git a/tests/Unit/Command/CognitiveMetricsCommandTest.php b/tests/Unit/Command/CognitiveMetricsCommandTest.php index 5df3108..fd2e746 100644 --- a/tests/Unit/Command/CognitiveMetricsCommandTest.php +++ b/tests/Unit/Command/CognitiveMetricsCommandTest.php @@ -284,4 +284,104 @@ public static function multiplePathsDataProvider(): array ], ]; } + + #[Test] + public function testAnalyseWithCustomTextReporter(): void + { + $application = new Application(); + $command = $application->getContainer()->get(CognitiveMetricsCommand::class); + $tester = new CommandTester($command); + + $tempOutputFile = tempnam(sys_get_temp_dir(), 'custom_text_report_') . '.txt'; + + $tester->execute([ + 'path' => __DIR__ . '/../../../tests/TestCode', + '--config' => __DIR__ . '/../../../tests/Fixtures/custom-text-reporter-config.yml', + '--report-type' => 'customtext', + '--report-file' => $tempOutputFile, + ]); + + // Debug: Show the actual output and status + if ($tester->getStatusCode() !== Command::SUCCESS) { + echo "Command failed with status: " . $tester->getStatusCode() . "\n"; + echo "Output: " . $tester->getDisplay() . "\n"; + } + + $this->assertEquals(Command::SUCCESS, $tester->getStatusCode(), 'Command should succeed with custom text reporter'); + $this->assertFileExists($tempOutputFile, 'Custom report file should be created'); + + $content = file_get_contents($tempOutputFile); + $this->assertNotEmpty($content, 'Report file should not be empty'); + $this->assertStringContainsString('=== Cognitive Complexity Report ===', $content, 'Should contain report header'); + $this->assertStringContainsString('Generated by CustomTextReporter', $content, 'Should contain reporter identification'); + $this->assertStringContainsString('Total Methods:', $content, 'Should contain summary'); + $this->assertStringContainsString('Average Score:', $content, 'Should contain average score'); + + // Verify that actual metrics data is present + $this->assertStringContainsString('Class:', $content, 'Should contain class information'); + $this->assertStringContainsString('Method:', $content, 'Should contain method information'); + $this->assertStringContainsString('Score:', $content, 'Should contain score information'); + + unlink($tempOutputFile); + } + + #[Test] + public function testAnalyseWithConfigAwareCustomReporter(): void + { + $application = new Application(); + $command = $application->getContainer()->get(CognitiveMetricsCommand::class); + $tester = new CommandTester($command); + + $tempOutputFile = tempnam(sys_get_temp_dir(), 'config_aware_report_') . '.txt'; + + $tester->execute([ + 'path' => __DIR__ . '/../../../tests/TestCode', + '--config' => __DIR__ . '/../../../tests/Fixtures/config-aware-text-reporter-config.yml', + '--report-type' => 'configtext', + '--report-file' => $tempOutputFile, + ]); + + $this->assertEquals(Command::SUCCESS, $tester->getStatusCode(), 'Command should succeed with config-aware custom reporter'); + $this->assertFileExists($tempOutputFile, 'Config-aware report file should be created'); + + $content = file_get_contents($tempOutputFile); + $this->assertNotEmpty($content, 'Config-aware report file should not be empty'); + $this->assertStringContainsString('=== Config-Aware Cognitive Complexity Report ===', $content, 'Should contain config-aware report header'); + $this->assertStringContainsString('Generated by ConfigAwareTextReporter', $content, 'Should contain reporter identification'); + + // Verify config information is included + $this->assertStringContainsString('Configuration:', $content, 'Should contain configuration section'); + $this->assertStringContainsString('Score Threshold: 0.80', $content, 'Should contain score threshold from config'); + $this->assertStringContainsString('Group By Class: No', $content, 'Should contain group by class setting'); + $this->assertStringContainsString('Show Only Methods Exceeding Threshold: Yes', $content, 'Should contain threshold filtering setting'); + + // Verify threshold-based analysis + $this->assertStringContainsString('[ABOVE THRESHOLD]', $content, 'Should mark methods above threshold'); + $this->assertStringContainsString('Methods Above Threshold (0.80):', $content, 'Should count methods above threshold'); + + unlink($tempOutputFile); + } + + #[Test] + public function testAnalyseWithInvalidCustomReporter(): void + { + $application = new Application(); + $command = $application->getContainer()->get(CognitiveMetricsCommand::class); + $tester = new CommandTester($command); + + $tempOutputFile = tempnam(sys_get_temp_dir(), 'invalid_custom_report_') . '.txt'; + + $tester->execute([ + 'path' => __DIR__ . '/../../../tests/TestCode', + '--config' => __DIR__ . '/../../../tests/Fixtures/custom-text-reporter-config.yml', + '--report-type' => 'nonexistent', + '--report-file' => $tempOutputFile, + ]); + + $this->assertEquals(Command::FAILURE, $tester->getStatusCode(), 'Command should fail with invalid custom reporter'); + $this->assertFileDoesNotExist($tempOutputFile, 'Report file should not be created for invalid reporter'); + + // Note: Error messages are written to stderr, which CommandTester doesn't capture by default + // The important thing is that the command fails with the correct status code + } } From 0d35bdc0986807d386d2e6a89a28aa4a1949a141 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20Kr=C3=A4mer?= Date: Sun, 12 Oct 2025 02:18:21 +0200 Subject: [PATCH 07/21] Refactoring --- docs/SpecificationPattern-Implementation.md | 167 ++++++++++++++ .../Churn/Report/ChurnReportFactory.php | 6 +- src/Command/ChurnCommand.php | 107 +++++---- .../ChurnCommandContext.php | 91 ++++++++ .../ChurnCommandValidationSpecification.php | 14 ++ .../CompositeChurnValidationSpecification.php | 58 +++++ .../CoverageFileExistsSpecification.php | 24 ++ ...CoverageFormatExclusivitySpecification.php | 18 ++ .../CoverageFormatSupportedSpecification.php | 24 ++ .../ReportOptionsCompleteSpecification.php | 23 ++ src/Command/CognitiveMetricsCommand.php | 146 +++++------- .../CognitiveMetricsCommandContext.php | 115 ++++++++++ ...eMetricsCommandValidationSpecification.php | 14 ++ ...ognitiveMetricsValidationSpecification.php | 58 +++++ .../CoverageFileExistsSpecification.php | 24 ++ ...CoverageFormatExclusivitySpecification.php | 18 ++ .../CoverageFormatSupportedSpecification.php | 24 ++ .../SortFieldValidSpecification.php | 61 +++++ .../SortOrderValidSpecification.php | 29 +++ src/Config/ConfigLoader.php | 7 + .../ChurnSpecificationPatternTest.php | 110 +++++++++ ...gnitiveMetricsSpecificationPatternTest.php | 210 ++++++++++++++++++ .../ConfigAwareChurnTextReporter.php | 89 ++++++++ .../CustomChurnTextReporter.php | 65 ++++++ .../config-aware-churn-reporter-config.yml | 20 ++ .../custom-churn-text-reporter-config.yml | 20 ++ tests/TestCode/FileWithTwoClasses.php | 1 + tests/TestCode/Paginator.php | 1 + tests/Unit/Command/ChurnCommandTest.php | 100 +++++++++ .../Command/CognitiveMetricsCommandTest.php | 4 +- 30 files changed, 1514 insertions(+), 134 deletions(-) create mode 100644 docs/SpecificationPattern-Implementation.md create mode 100644 src/Command/ChurnSpecifications/ChurnCommandContext.php create mode 100644 src/Command/ChurnSpecifications/ChurnCommandValidationSpecification.php create mode 100644 src/Command/ChurnSpecifications/CompositeChurnValidationSpecification.php create mode 100644 src/Command/ChurnSpecifications/CoverageFileExistsSpecification.php create mode 100644 src/Command/ChurnSpecifications/CoverageFormatExclusivitySpecification.php create mode 100644 src/Command/ChurnSpecifications/CoverageFormatSupportedSpecification.php create mode 100644 src/Command/ChurnSpecifications/ReportOptionsCompleteSpecification.php create mode 100644 src/Command/CognitiveMetricsSpecifications/CognitiveMetricsCommandContext.php create mode 100644 src/Command/CognitiveMetricsSpecifications/CognitiveMetricsCommandValidationSpecification.php create mode 100644 src/Command/CognitiveMetricsSpecifications/CompositeCognitiveMetricsValidationSpecification.php create mode 100644 src/Command/CognitiveMetricsSpecifications/CoverageFileExistsSpecification.php create mode 100644 src/Command/CognitiveMetricsSpecifications/CoverageFormatExclusivitySpecification.php create mode 100644 src/Command/CognitiveMetricsSpecifications/CoverageFormatSupportedSpecification.php create mode 100644 src/Command/CognitiveMetricsSpecifications/SortFieldValidSpecification.php create mode 100644 src/Command/CognitiveMetricsSpecifications/SortOrderValidSpecification.php create mode 100644 tests/Command/ChurnSpecifications/ChurnSpecificationPatternTest.php create mode 100644 tests/Command/CognitiveMetricsSpecifications/CognitiveMetricsSpecificationPatternTest.php create mode 100644 tests/Fixtures/CustomReporters/ConfigAwareChurnTextReporter.php create mode 100644 tests/Fixtures/CustomReporters/CustomChurnTextReporter.php create mode 100644 tests/Fixtures/config-aware-churn-reporter-config.yml create mode 100644 tests/Fixtures/custom-churn-text-reporter-config.yml diff --git a/docs/SpecificationPattern-Implementation.md b/docs/SpecificationPattern-Implementation.md new file mode 100644 index 0000000..89028c8 --- /dev/null +++ b/docs/SpecificationPattern-Implementation.md @@ -0,0 +1,167 @@ +# Specification Pattern Implementation for ChurnCommand + +## Overview + +The Specification pattern has been successfully implemented in the `ChurnCommand` to reduce conditional complexity and improve maintainability. This refactoring separates validation logic from business logic and makes the code more testable and extensible. + +## Files Created + +### Core Pattern Files +- `src/Command/ChurnSpecifications/ChurnCommandContext.php` - Context object holding command input data +- `src/Command/ChurnSpecifications/ChurnCommandValidationSpecification.php` - Base interface for specifications +- `src/Command/ChurnSpecifications/CompositeChurnValidationSpecification.php` - Composite pattern for combining specifications + +### Individual Specifications +- `src/Command/ChurnSpecifications/CoverageFormatExclusivitySpecification.php` - Validates only one coverage format is specified +- `src/Command/ChurnSpecifications/CoverageFileExistsSpecification.php` - Validates coverage file exists +- `src/Command/ChurnSpecifications/CoverageFormatSupportedSpecification.php` - Validates coverage format is supported +- `src/Command/ChurnSpecifications/ReportOptionsCompleteSpecification.php` - Validates report options are complete + +### Test File +- `tests/Command/ChurnSpecifications/ChurnSpecificationPatternTest.php` - Unit tests demonstrating the pattern + +## Key Changes + +### Before (Original ChurnCommand.execute method) +```php +protected function execute(InputInterface $input, OutputInterface $output): int +{ + // Load configuration if provided + $configFile = $input->getOption(self::OPTION_CONFIG_FILE); + if ($configFile !== null) { + if (!$this->loadConfiguration($configFile, $output)) { + return self::FAILURE; + } + } + + $coberturaFile = $input->getOption(self::OPTION_COVERAGE_COBERTURA); + $cloverFile = $input->getOption(self::OPTION_COVERAGE_CLOVER); + + // Validate that only one coverage option is specified + if ($coberturaFile !== null && $cloverFile !== null) { + $output->writeln('Only one coverage format can be specified at a time.'); + return self::FAILURE; + } + + $coverageFile = $coberturaFile ?? $cloverFile; + $coverageFormat = $coberturaFile !== null ? 'cobertura' : ($cloverFile !== null ? 'clover' : null); + + if (!$this->coverageFileExists($coverageFile, $output)) { + return self::FAILURE; + } + + $coverageReader = $this->loadCoverageReader($coverageFile, $coverageFormat, $output); + if ($coverageReader === false) { + return self::FAILURE; + } + + // ... rest of method +} +``` + +### After (Refactored with Specifications) +```php +protected function execute(InputInterface $input, OutputInterface $output): int +{ + $context = new CommandContext($input); + + // Validate all specifications + if (!$this->validationSpecification->isSatisfiedBy($context)) { + $failedSpec = $this->validationSpecification->getFirstFailedSpecification($context); + $output->writeln('' . $failedSpec->getErrorMessage() . ''); + return self::FAILURE; + } + + // Load configuration if provided + if ($context->hasConfigFile()) { + if (!$this->loadConfiguration($context->getConfigFile(), $output)) { + return self::FAILURE; + } + } + + // Load coverage reader + $coverageReader = $this->loadCoverageReader($context, $output); + if ($coverageReader === false) { + return self::FAILURE; + } + + // ... rest of method +} +``` + +## Benefits Achieved + +### 1. **Reduced Conditional Complexity** +- Eliminated multiple nested if statements +- Single validation point with clear error handling +- Cleaner, more readable execute method + +### 2. **Separation of Concerns** +- Validation logic separated from business logic +- Each validation rule is isolated and focused +- Easy to understand what each specification validates + +### 3. **Improved Testability** +- Each specification can be unit tested independently +- Mock CommandContext for testing different scenarios +- Clear test cases for each validation rule + +### 4. **Enhanced Maintainability** +- Adding new validation rules requires only creating a new specification +- No need to modify existing code +- Easy to reorder or remove validation rules + +### 5. **Better Reusability** +- Specifications can be reused across different commands +- Composite specifications can be combined in different ways +- Easy to create command-specific validation sets + +### 6. **Consistent Error Handling** +- Standardized error message format +- First failure stops validation chain (fail-fast) +- Clear, specific error messages for each validation failure + +## Usage Example + +```php +// Adding a new validation rule is now trivial +class ConfigFileExistsSpecification implements CommandValidationSpecification +{ + public function isSatisfiedBy(CommandContext $context): bool + { + $configFile = $context->getConfigFile(); + return $configFile === null || file_exists($configFile); + } + + public function getErrorMessage(): string + { + return sprintf('Configuration file not found: %s', $context->getConfigFile()); + } +} + +// Just add it to the composite specification +$this->validationSpecification = new CompositeValidationSpecification([ + new CoverageFormatExclusivitySpecification(), + new CoverageFileExistsSpecification(), + new CoverageFormatSupportedSpecification(), + new ReportOptionsCompleteSpecification(), + new ConfigFileExistsSpecification(), // <- New validation rule +]); +``` + +## Testing + +The implementation includes comprehensive unit tests demonstrating: +- Individual specification validation +- Composite specification behavior +- Error message generation +- Context object functionality + +Run tests with: +```bash +phpunit tests/Command/ChurnSpecifications/ChurnSpecificationPatternTest.php +``` + +## Conclusion + +The Specification pattern implementation successfully reduces conditional complexity while improving code maintainability, testability, and extensibility. The refactored code is cleaner, more focused, and easier to extend with new validation rules. diff --git a/src/Business/Churn/Report/ChurnReportFactory.php b/src/Business/Churn/Report/ChurnReportFactory.php index a50413d..8fcf969 100644 --- a/src/Business/Churn/Report/ChurnReportFactory.php +++ b/src/Business/Churn/Report/ChurnReportFactory.php @@ -63,11 +63,13 @@ public function create(string $type): ReportGeneratorInterface */ private function createCustomExporter(array $config): ReportGeneratorInterface { + $cognitiveConfig = $this->configService->getConfig(); + $this->registry->loadExporter($config['class'], $config['file'] ?? null); $exporter = $this->registry->instantiate( $config['class'], - false, // Churn exporters don't need config - null + $config['requiresConfig'] ?? false, + $cognitiveConfig ); $this->registry->validateInterface($exporter, ReportGeneratorInterface::class); diff --git a/src/Command/ChurnCommand.php b/src/Command/ChurnCommand.php index bf57e4e..920e0c1 100644 --- a/src/Command/ChurnCommand.php +++ b/src/Command/ChurnCommand.php @@ -4,6 +4,7 @@ namespace Phauthentic\CognitiveCodeAnalysis\Command; +use Exception; use Phauthentic\CognitiveCodeAnalysis\Business\CodeCoverage\CloverReader; use Phauthentic\CognitiveCodeAnalysis\Business\CodeCoverage\CoberturaReader; use Phauthentic\CognitiveCodeAnalysis\Business\CodeCoverage\CoverageReportReaderInterface; @@ -11,6 +12,12 @@ use Phauthentic\CognitiveCodeAnalysis\CognitiveAnalysisException; use Phauthentic\CognitiveCodeAnalysis\Command\Handler\ChurnReportHandler; use Phauthentic\CognitiveCodeAnalysis\Command\Presentation\ChurnTextRenderer; +use Phauthentic\CognitiveCodeAnalysis\Command\ChurnSpecifications\ChurnCommandContext; +use Phauthentic\CognitiveCodeAnalysis\Command\ChurnSpecifications\CompositeChurnValidationSpecification; +use Phauthentic\CognitiveCodeAnalysis\Command\ChurnSpecifications\CoverageFileExistsSpecification; +use Phauthentic\CognitiveCodeAnalysis\Command\ChurnSpecifications\CoverageFormatExclusivitySpecification; +use Phauthentic\CognitiveCodeAnalysis\Command\ChurnSpecifications\CoverageFormatSupportedSpecification; +use Phauthentic\CognitiveCodeAnalysis\Command\ChurnSpecifications\ReportOptionsCompleteSpecification; use Symfony\Component\Console\Attribute\AsCommand; use Symfony\Component\Console\Command\Command; use Symfony\Component\Console\Input\InputArgument; @@ -36,6 +43,8 @@ class ChurnCommand extends Command public const OPTION_COVERAGE_COBERTURA = 'coverage-cobertura'; public const OPTION_COVERAGE_CLOVER = 'coverage-clover'; + private CompositeChurnValidationSpecification $validationSpecification; + /** * Constructor to initialize dependencies. */ @@ -45,6 +54,17 @@ public function __construct( readonly private ChurnReportHandler $report ) { parent::__construct(); + $this->initializeValidationSpecification(); + } + + private function initializeValidationSpecification(): void + { + $this->validationSpecification = new CompositeChurnValidationSpecification([ + new CoverageFormatExclusivitySpecification(), + new CoverageFileExistsSpecification(), + new CoverageFormatSupportedSpecification(), + new ReportOptionsCompleteSpecification(), + ]); } /** @@ -118,61 +138,64 @@ protected function configure(): void */ protected function execute(InputInterface $input, OutputInterface $output): int { - $coberturaFile = $input->getOption(self::OPTION_COVERAGE_COBERTURA); - $cloverFile = $input->getOption(self::OPTION_COVERAGE_CLOVER); + $context = new ChurnCommandContext($input); - // Validate that only one coverage option is specified - if ($coberturaFile !== null && $cloverFile !== null) { - $output->writeln('Only one coverage format can be specified at a time.'); + // Validate all specifications + if (!$this->validationSpecification->isSatisfiedBy($context)) { + $errorMessage = $this->validationSpecification->getDetailedErrorMessage($context); + $output->writeln('' . $errorMessage . ''); return self::FAILURE; } - $coverageFile = $coberturaFile ?? $cloverFile; - $coverageFormat = $coberturaFile !== null ? 'cobertura' : ($cloverFile !== null ? 'clover' : null); - - if (!$this->coverageFileExists($coverageFile, $output)) { - return self::FAILURE; + // Load configuration if provided + if ($context->hasConfigFile()) { + $configFile = $context->getConfigFile(); + if ($configFile !== null && !$this->loadConfiguration($configFile, $output)) { + return self::FAILURE; + } } - $coverageReader = $this->loadCoverageReader($coverageFile, $coverageFormat, $output); + // Load coverage reader + $coverageReader = $this->loadCoverageReader($context, $output); if ($coverageReader === false) { return self::FAILURE; } + // Calculate churn metrics $classes = $this->metricsFacade->calculateChurn( - path: $input->getArgument(self::ARGUMENT_PATH), - vcsType: $input->getOption(self::OPTION_VCS), - since: $input->getOption(self::OPTION_SINCE), + path: $context->getPath(), + vcsType: $context->getVcsType(), + since: $context->getSince(), coverageReader: $coverageReader ); - $reportType = $input->getOption(self::OPTION_REPORT_TYPE); - $reportFile = $input->getOption(self::OPTION_REPORT_FILE); - - if ($reportType !== null || $reportFile !== null) { - return $this->report->exportToFile($classes, $reportType, $reportFile); + // Handle report generation or display + if ($context->hasReportOptions()) { + return $this->report->exportToFile( + $classes, + $context->getReportType(), + $context->getReportFile() + ); } - $this->renderer->renderChurnTable( - classes: $classes - ); - + $this->renderer->renderChurnTable(classes: $classes); return self::SUCCESS; } /** * Load coverage reader from file * - * @param string|null $coverageFile Path to coverage file or null - * @param string|null $format Coverage format ('cobertura', 'clover') or null for auto-detect + * @param ChurnCommandContext $context Command context containing coverage file information * @param OutputInterface $output Output interface for error messages * @return CoverageReportReaderInterface|null|false Returns reader instance, null if no file provided, or false on error */ private function loadCoverageReader( - ?string $coverageFile, - ?string $format, + ChurnCommandContext $context, OutputInterface $output ): CoverageReportReaderInterface|null|false { + $coverageFile = $context->getCoverageFile(); + $format = $context->getCoverageFormat(); + if ($coverageFile === null) { return null; } @@ -224,24 +247,22 @@ private function detectCoverageFormat(string $coverageFile): ?string return null; } - private function coverageFileExists(?string $coverageFile, OutputInterface $output): bool - { - // If no coverage file is provided, validation passes (backward compatibility) - if ($coverageFile === null) { - return true; - } - // If coverage file is provided, check if it exists - if (file_exists($coverageFile)) { + /** + * Loads configuration and handles errors. + * + * @param string $configFile + * @param OutputInterface $output + * @return bool Success or failure. + */ + private function loadConfiguration(string $configFile, OutputInterface $output): bool + { + try { + $this->metricsFacade->loadConfig($configFile); return true; + } catch (Exception $e) { + $output->writeln('Failed to load configuration: ' . $e->getMessage() . ''); + return false; } - - // Coverage file was provided but doesn't exist - show error - $output->writeln(sprintf( - 'Coverage file not found: %s', - $coverageFile - )); - - return false; } } diff --git a/src/Command/ChurnSpecifications/ChurnCommandContext.php b/src/Command/ChurnSpecifications/ChurnCommandContext.php new file mode 100644 index 0000000..431d413 --- /dev/null +++ b/src/Command/ChurnSpecifications/ChurnCommandContext.php @@ -0,0 +1,91 @@ +input->getOption('config'); + } + + public function hasConfigFile(): bool + { + return $this->getConfigFile() !== null; + } + + public function getCoberturaFile(): ?string + { + return $this->input->getOption('coverage-cobertura'); + } + + public function getCloverFile(): ?string + { + return $this->input->getOption('coverage-clover'); + } + + public function hasCoberturaFile(): bool + { + return $this->getCoberturaFile() !== null; + } + + public function hasCloverFile(): bool + { + return $this->getCloverFile() !== null; + } + + public function getCoverageFile(): ?string + { + return $this->getCoberturaFile() ?? $this->getCloverFile(); + } + + public function getCoverageFormat(): ?string + { + if ($this->hasCoberturaFile()) { + return 'cobertura'; + } + if ($this->hasCloverFile()) { + return 'clover'; + } + return null; + } + + public function getReportType(): ?string + { + return $this->input->getOption('report-type'); + } + + public function getReportFile(): ?string + { + return $this->input->getOption('report-file'); + } + + public function hasReportOptions(): bool + { + return $this->getReportType() !== null || $this->getReportFile() !== null; + } + + public function getPath(): string + { + return $this->input->getArgument('path'); + } + + public function getVcsType(): string + { + return $this->input->getOption('vcs') ?? 'git'; + } + + public function getSince(): string + { + return $this->input->getOption('since') ?? '2000-01-01'; + } +} diff --git a/src/Command/ChurnSpecifications/ChurnCommandValidationSpecification.php b/src/Command/ChurnSpecifications/ChurnCommandValidationSpecification.php new file mode 100644 index 0000000..9f95e54 --- /dev/null +++ b/src/Command/ChurnSpecifications/ChurnCommandValidationSpecification.php @@ -0,0 +1,14 @@ +specifications as $specification) { + if (!$specification->isSatisfiedBy($context)) { + return false; + } + } + return true; + } + + public function getErrorMessage(): string + { + return 'Validation failed'; + } + + public function getDetailedErrorMessage(ChurnCommandContext $context): string + { + foreach ($this->specifications as $specification) { + if (!$specification->isSatisfiedBy($context)) { + // Use context-specific error message if available + if (method_exists($specification, 'getErrorMessageWithContext')) { + return $specification->getErrorMessageWithContext($context); + } + return $specification->getErrorMessage(); + } + } + return ''; + } + + public function getFirstFailedSpecification(ChurnCommandContext $context): ?ChurnCommandValidationSpecification + { + foreach ($this->specifications as $specification) { + if (!$specification->isSatisfiedBy($context)) { + return $specification; + } + } + return null; + } +} diff --git a/src/Command/ChurnSpecifications/CoverageFileExistsSpecification.php b/src/Command/ChurnSpecifications/CoverageFileExistsSpecification.php new file mode 100644 index 0000000..e03ddb5 --- /dev/null +++ b/src/Command/ChurnSpecifications/CoverageFileExistsSpecification.php @@ -0,0 +1,24 @@ +getCoverageFile(); + return $coverageFile === null || file_exists($coverageFile); + } + + public function getErrorMessage(): string + { + return 'Coverage file not found'; + } + + public function getErrorMessageWithContext(ChurnCommandContext $context): string + { + return sprintf('Coverage file not found: %s', $context->getCoverageFile()); + } +} diff --git a/src/Command/ChurnSpecifications/CoverageFormatExclusivitySpecification.php b/src/Command/ChurnSpecifications/CoverageFormatExclusivitySpecification.php new file mode 100644 index 0000000..2b38821 --- /dev/null +++ b/src/Command/ChurnSpecifications/CoverageFormatExclusivitySpecification.php @@ -0,0 +1,18 @@ +hasCoberturaFile() && $context->hasCloverFile()); + } + + public function getErrorMessage(): string + { + return 'Only one coverage format can be specified at a time.'; + } +} diff --git a/src/Command/ChurnSpecifications/CoverageFormatSupportedSpecification.php b/src/Command/ChurnSpecifications/CoverageFormatSupportedSpecification.php new file mode 100644 index 0000000..57e4d38 --- /dev/null +++ b/src/Command/ChurnSpecifications/CoverageFormatSupportedSpecification.php @@ -0,0 +1,24 @@ +getCoverageFormat(); + return $format === null || in_array($format, ['cobertura', 'clover'], true); + } + + public function getErrorMessage(): string + { + return 'Unsupported coverage format'; + } + + public function getErrorMessageWithContext(ChurnCommandContext $context): string + { + return sprintf('Unsupported coverage format: %s', $context->getCoverageFormat()); + } +} diff --git a/src/Command/ChurnSpecifications/ReportOptionsCompleteSpecification.php b/src/Command/ChurnSpecifications/ReportOptionsCompleteSpecification.php new file mode 100644 index 0000000..8421d95 --- /dev/null +++ b/src/Command/ChurnSpecifications/ReportOptionsCompleteSpecification.php @@ -0,0 +1,23 @@ +getReportType(); + $reportFile = $context->getReportFile(); + + // Either both are provided or neither + return ($reportType !== null && $reportFile !== null) || + ($reportType === null && $reportFile === null); + } + + public function getErrorMessage(): string + { + return 'Both report type and file must be provided.'; + } +} diff --git a/src/Command/CognitiveMetricsCommand.php b/src/Command/CognitiveMetricsCommand.php index 8ac124b..9757889 100644 --- a/src/Command/CognitiveMetricsCommand.php +++ b/src/Command/CognitiveMetricsCommand.php @@ -14,6 +14,13 @@ use Phauthentic\CognitiveCodeAnalysis\CognitiveAnalysisException; use Phauthentic\CognitiveCodeAnalysis\Command\Handler\CognitiveMetricsReportHandler; use Phauthentic\CognitiveCodeAnalysis\Command\Presentation\CognitiveMetricTextRendererInterface; +use Phauthentic\CognitiveCodeAnalysis\Command\CognitiveMetricsSpecifications\CognitiveMetricsCommandContext; +use Phauthentic\CognitiveCodeAnalysis\Command\CognitiveMetricsSpecifications\CompositeCognitiveMetricsValidationSpecification; +use Phauthentic\CognitiveCodeAnalysis\Command\CognitiveMetricsSpecifications\CoverageFileExistsSpecification; +use Phauthentic\CognitiveCodeAnalysis\Command\CognitiveMetricsSpecifications\CoverageFormatExclusivitySpecification; +use Phauthentic\CognitiveCodeAnalysis\Command\CognitiveMetricsSpecifications\CoverageFormatSupportedSpecification; +use Phauthentic\CognitiveCodeAnalysis\Command\CognitiveMetricsSpecifications\SortFieldValidSpecification; +use Phauthentic\CognitiveCodeAnalysis\Command\CognitiveMetricsSpecifications\SortOrderValidSpecification; use Symfony\Component\Console\Attribute\AsCommand; use Symfony\Component\Console\Command\Command; use Symfony\Component\Console\Input\InputArgument; @@ -40,6 +47,8 @@ class CognitiveMetricsCommand extends Command public const OPTION_COVERAGE_CLOVER = 'coverage-clover'; private const ARGUMENT_PATH = 'path'; + private CompositeCognitiveMetricsValidationSpecification $validationSpecification; + public function __construct( readonly private MetricsFacade $metricsFacade, readonly private CognitiveMetricTextRendererInterface $renderer, @@ -49,6 +58,18 @@ public function __construct( readonly private CodeCoverageFactory $coverageFactory ) { parent::__construct(); + $this->initializeValidationSpecification(); + } + + private function initializeValidationSpecification(): void + { + $this->validationSpecification = new CompositeCognitiveMetricsValidationSpecification([ + new CoverageFormatExclusivitySpecification(), + new CoverageFileExistsSpecification(), + new CoverageFormatSupportedSpecification(), + new SortFieldValidSpecification(), + new SortOrderValidSpecification(), + ]); } /** @@ -126,95 +147,66 @@ protected function configure(): void */ protected function execute(InputInterface $input, OutputInterface $output): int { - $pathInput = $input->getArgument(self::ARGUMENT_PATH); - $paths = $this->parsePaths($pathInput); + $context = new CognitiveMetricsCommandContext($input); - $configFile = $input->getOption(self::OPTION_CONFIG_FILE); - if ($configFile && !$this->loadConfiguration($configFile, $output)) { + // Validate all specifications + if (!$this->validationSpecification->isSatisfiedBy($context)) { + $errorMessage = $this->validationSpecification->getDetailedErrorMessage($context); + $output->writeln('' . $errorMessage . ''); return Command::FAILURE; } - $coverageReader = $this->handleCoverageOptions($input, $output); + $paths = $context->getPaths(); + + // Load configuration if provided + if ($context->hasConfigFile()) { + $configFile = $context->getConfigFile(); + if ($configFile !== null && !$this->loadConfiguration($configFile, $output)) { + return Command::FAILURE; + } + } + + // Load coverage reader + $coverageReader = $this->loadCoverageReader($context, $output); if ($coverageReader === false) { return Command::FAILURE; } $metricsCollection = $this->metricsFacade->getCognitiveMetricsFromPaths($paths, $coverageReader); - $this->handleBaseLine($input, $metricsCollection); + $this->handleBaseLine($context, $metricsCollection); - $sortResult = $this->applySorting($input, $output, $metricsCollection); + $sortResult = $this->applySorting($context, $output, $metricsCollection); if ($sortResult['status'] === Command::FAILURE) { return Command::FAILURE; } $metricsCollection = $sortResult['collection']; - $reportType = $input->getOption(self::OPTION_REPORT_TYPE); - $reportFile = $input->getOption(self::OPTION_REPORT_FILE); - - if ($reportType !== null || $reportFile !== null) { - return $this->reportHandler->handle($metricsCollection, $reportType, $reportFile); + // Handle report generation or display + if ($context->hasReportOptions()) { + return $this->reportHandler->handle($metricsCollection, $context->getReportType(), $context->getReportFile()); } $this->renderer->render($metricsCollection, $output); - return Command::SUCCESS; } - /** - * Parses the path input to handle both single paths and comma-separated multiple paths. - * - * @param string $pathInput The input path(s) from the command argument - * @return array Array of paths to process - */ - private function parsePaths(string $pathInput): array - { - $paths = array_map('trim', explode(',', $pathInput)); - return array_filter($paths, function ($path) { - return !empty($path); - }); - } - /** * Handles the baseline option and loads the baseline file if provided. * - * @param InputInterface $input + * @param CognitiveMetricsCommandContext $context * @param CognitiveMetricsCollection $metricsCollection * @throws Exception */ - private function handleBaseLine(InputInterface $input, CognitiveMetricsCollection $metricsCollection): void - { - $baselineFile = $input->getOption(self::OPTION_BASELINE); - if ($baselineFile) { - $baseline = $this->baselineService->loadBaseline($baselineFile); - $this->baselineService->calculateDeltas($metricsCollection, $baseline); - } - } - - /** - * Handle coverage options and return coverage reader - * - * @return CoverageReportReaderInterface|null|false Returns reader, null if no coverage, or false on error - */ - private function handleCoverageOptions(InputInterface $input, OutputInterface $output): CoverageReportReaderInterface|null|false + private function handleBaseLine(CognitiveMetricsCommandContext $context, CognitiveMetricsCollection $metricsCollection): void { - $coberturaFile = $input->getOption(self::OPTION_COVERAGE_COBERTURA); - $cloverFile = $input->getOption(self::OPTION_COVERAGE_CLOVER); - - // Validate that only one coverage option is specified - if ($coberturaFile !== null && $cloverFile !== null) { - $output->writeln('Only one coverage format can be specified at a time.'); - return false; - } - - $coverageFile = $coberturaFile ?? $cloverFile; - $coverageFormat = $coberturaFile !== null ? 'cobertura' : ($cloverFile !== null ? 'clover' : null); - - if (!$this->coverageFileExists($coverageFile, $output)) { - return false; + if ($context->hasBaselineFile()) { + $baselineFile = $context->getBaselineFile(); + if ($baselineFile !== null) { + $baseline = $this->baselineService->loadBaseline($baselineFile); + $this->baselineService->calculateDeltas($metricsCollection, $baseline); + } } - - return $this->loadCoverageReader($coverageFile, $coverageFormat, $output); } /** @@ -223,12 +215,12 @@ private function handleCoverageOptions(InputInterface $input, OutputInterface $o * @return array{status: int, collection: CognitiveMetricsCollection} */ private function applySorting( - InputInterface $input, + CognitiveMetricsCommandContext $context, OutputInterface $output, CognitiveMetricsCollection $metricsCollection ): array { - $sortBy = $input->getOption(self::OPTION_SORT_BY); - $sortOrder = $input->getOption(self::OPTION_SORT_ORDER); + $sortBy = $context->getSortBy(); + $sortOrder = $context->getSortOrder(); if ($sortBy === null) { return ['status' => Command::SUCCESS, 'collection' => $metricsCollection]; @@ -265,16 +257,17 @@ private function loadConfiguration(string $configFile, OutputInterface $output): /** * Load coverage reader from file * - * @param string|null $coverageFile Path to coverage file or null - * @param string|null $format Coverage format ('cobertura', 'clover') or null for auto-detect + * @param CognitiveMetricsCommandContext $context Command context containing coverage file information * @param OutputInterface $output Output interface for error messages * @return CoverageReportReaderInterface|null|false Returns reader instance, null if no file provided, or false on error */ private function loadCoverageReader( - ?string $coverageFile, - ?string $format, + CognitiveMetricsCommandContext $context, OutputInterface $output ): CoverageReportReaderInterface|null|false { + $coverageFile = $context->getCoverageFile(); + $format = $context->getCoverageFormat(); + if ($coverageFile === null) { return null; } @@ -321,25 +314,4 @@ private function detectCoverageFormat(string $coverageFile): ?string return null; } - - private function coverageFileExists(?string $coverageFile, OutputInterface $output): bool - { - // If no coverage file is provided, validation passes (backward compatibility) - if ($coverageFile === null) { - return true; - } - - // If coverage file is provided, check if it exists - if (file_exists($coverageFile)) { - return true; - } - - // Coverage file was provided but doesn't exist - show error - $output->writeln(sprintf( - 'Coverage file not found: %s', - $coverageFile - )); - - return false; - } } diff --git a/src/Command/CognitiveMetricsSpecifications/CognitiveMetricsCommandContext.php b/src/Command/CognitiveMetricsSpecifications/CognitiveMetricsCommandContext.php new file mode 100644 index 0000000..d59962c --- /dev/null +++ b/src/Command/CognitiveMetricsSpecifications/CognitiveMetricsCommandContext.php @@ -0,0 +1,115 @@ +input->getOption('config'); + } + + public function hasConfigFile(): bool + { + return $this->getConfigFile() !== null; + } + + public function getCoberturaFile(): ?string + { + return $this->input->getOption('coverage-cobertura'); + } + + public function getCloverFile(): ?string + { + return $this->input->getOption('coverage-clover'); + } + + public function hasCoberturaFile(): bool + { + return $this->getCoberturaFile() !== null; + } + + public function hasCloverFile(): bool + { + return $this->getCloverFile() !== null; + } + + public function getCoverageFile(): ?string + { + return $this->getCoberturaFile() ?? $this->getCloverFile(); + } + + public function getCoverageFormat(): ?string + { + if ($this->hasCoberturaFile()) { + return 'cobertura'; + } + if ($this->hasCloverFile()) { + return 'clover'; + } + return null; + } + + public function getReportType(): ?string + { + return $this->input->getOption('report-type'); + } + + public function getReportFile(): ?string + { + return $this->input->getOption('report-file'); + } + + public function hasReportOptions(): bool + { + return $this->getReportType() !== null || $this->getReportFile() !== null; + } + + public function getSortBy(): ?string + { + return $this->input->getOption('sort-by'); + } + + public function getSortOrder(): string + { + return $this->input->getOption('sort-order') ?? 'asc'; + } + + public function hasSortingOptions(): bool + { + return $this->getSortBy() !== null; + } + + public function getBaselineFile(): ?string + { + return $this->input->getOption('baseline'); + } + + public function hasBaselineFile(): bool + { + return $this->getBaselineFile() !== null; + } + + /** + * @return array + */ + public function getPaths(): array + { + $pathInput = $this->input->getArgument('path'); + return array_map('trim', explode(',', $pathInput)); + } + + public function getDebug(): bool + { + return (bool) $this->input->getOption('debug'); + } +} diff --git a/src/Command/CognitiveMetricsSpecifications/CognitiveMetricsCommandValidationSpecification.php b/src/Command/CognitiveMetricsSpecifications/CognitiveMetricsCommandValidationSpecification.php new file mode 100644 index 0000000..c84e9e9 --- /dev/null +++ b/src/Command/CognitiveMetricsSpecifications/CognitiveMetricsCommandValidationSpecification.php @@ -0,0 +1,14 @@ +specifications as $specification) { + if (!$specification->isSatisfiedBy($context)) { + return false; + } + } + return true; + } + + public function getErrorMessage(): string + { + return 'Validation failed'; + } + + public function getFirstFailedSpecification(CognitiveMetricsCommandContext $context): ?CognitiveMetricsCommandValidationSpecification + { + foreach ($this->specifications as $specification) { + if (!$specification->isSatisfiedBy($context)) { + return $specification; + } + } + return null; + } + + public function getDetailedErrorMessage(CognitiveMetricsCommandContext $context): string + { + foreach ($this->specifications as $specification) { + if (!$specification->isSatisfiedBy($context)) { + // Use context-specific error message if available + if (method_exists($specification, 'getErrorMessageWithContext')) { + return $specification->getErrorMessageWithContext($context); + } + return $specification->getErrorMessage(); + } + } + return ''; + } +} diff --git a/src/Command/CognitiveMetricsSpecifications/CoverageFileExistsSpecification.php b/src/Command/CognitiveMetricsSpecifications/CoverageFileExistsSpecification.php new file mode 100644 index 0000000..4555b9d --- /dev/null +++ b/src/Command/CognitiveMetricsSpecifications/CoverageFileExistsSpecification.php @@ -0,0 +1,24 @@ +getCoverageFile(); + return $coverageFile === null || file_exists($coverageFile); + } + + public function getErrorMessage(): string + { + return 'Coverage file not found'; + } + + public function getErrorMessageWithContext(CognitiveMetricsCommandContext $context): string + { + return sprintf('Coverage file not found: %s', $context->getCoverageFile()); + } +} diff --git a/src/Command/CognitiveMetricsSpecifications/CoverageFormatExclusivitySpecification.php b/src/Command/CognitiveMetricsSpecifications/CoverageFormatExclusivitySpecification.php new file mode 100644 index 0000000..5ab7637 --- /dev/null +++ b/src/Command/CognitiveMetricsSpecifications/CoverageFormatExclusivitySpecification.php @@ -0,0 +1,18 @@ +hasCoberturaFile() && $context->hasCloverFile()); + } + + public function getErrorMessage(): string + { + return 'Only one coverage format can be specified at a time.'; + } +} diff --git a/src/Command/CognitiveMetricsSpecifications/CoverageFormatSupportedSpecification.php b/src/Command/CognitiveMetricsSpecifications/CoverageFormatSupportedSpecification.php new file mode 100644 index 0000000..7db1ca6 --- /dev/null +++ b/src/Command/CognitiveMetricsSpecifications/CoverageFormatSupportedSpecification.php @@ -0,0 +1,24 @@ +getCoverageFormat(); + return $format === null || in_array($format, ['cobertura', 'clover'], true); + } + + public function getErrorMessage(): string + { + return 'Unsupported coverage format'; + } + + public function getErrorMessageWithContext(CognitiveMetricsCommandContext $context): string + { + return sprintf('Unsupported coverage format: %s', $context->getCoverageFormat()); + } +} diff --git a/src/Command/CognitiveMetricsSpecifications/SortFieldValidSpecification.php b/src/Command/CognitiveMetricsSpecifications/SortFieldValidSpecification.php new file mode 100644 index 0000000..a0fbd6c --- /dev/null +++ b/src/Command/CognitiveMetricsSpecifications/SortFieldValidSpecification.php @@ -0,0 +1,61 @@ +getSortBy(); + + // If no sort field is specified, validation passes + if ($sortBy === null) { + return true; + } + + return in_array($sortBy, self::SORTABLE_FIELDS, true); + } + + public function getErrorMessage(): string + { + return 'Invalid sort field provided.'; + } + + public function getErrorMessageWithContext(CognitiveMetricsCommandContext $context): string + { + return sprintf( + 'Invalid sort field "%s". Available fields: %s', + $context->getSortBy(), + implode(', ', self::SORTABLE_FIELDS) + ); + } +} diff --git a/src/Command/CognitiveMetricsSpecifications/SortOrderValidSpecification.php b/src/Command/CognitiveMetricsSpecifications/SortOrderValidSpecification.php new file mode 100644 index 0000000..fb83e5d --- /dev/null +++ b/src/Command/CognitiveMetricsSpecifications/SortOrderValidSpecification.php @@ -0,0 +1,29 @@ +getSortOrder(); + return in_array(strtolower($sortOrder), self::VALID_SORT_ORDERS, true); + } + + public function getErrorMessage(): string + { + return 'Sort order must be "asc" or "desc"'; + } + + public function getErrorMessageWithContext(CognitiveMetricsCommandContext $context): string + { + return sprintf( + 'Sort order must be "asc" or "desc", got "%s"', + $context->getSortOrder() + ); + } +} diff --git a/src/Config/ConfigLoader.php b/src/Config/ConfigLoader.php index f7e5d5a..45f435b 100644 --- a/src/Config/ConfigLoader.php +++ b/src/Config/ConfigLoader.php @@ -5,6 +5,7 @@ namespace Phauthentic\CognitiveCodeAnalysis\Config; use Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\MetricNames; +use PhpBench\Benchmark\Metadata\Annotations\Subject; use Symfony\Component\Config\Definition\Builder\TreeBuilder; use Symfony\Component\Config\Definition\ConfigurationInterface; @@ -70,6 +71,9 @@ public function getCognitiveMetricDefaults(): array ]; } + /** + * @SuppressWarnings("ExcessiveMethodLength") + */ public function getConfigTreeBuilder(): TreeBuilder { $treeBuilder = new TreeBuilder('config'); @@ -157,6 +161,9 @@ public function getConfigTreeBuilder(): TreeBuilder ->scalarNode('file') ->defaultValue(null) ->end() + ->booleanNode('requiresConfig') + ->defaultValue(false) + ->end() ->end() ->end() ->end() diff --git a/tests/Command/ChurnSpecifications/ChurnSpecificationPatternTest.php b/tests/Command/ChurnSpecifications/ChurnSpecificationPatternTest.php new file mode 100644 index 0000000..d8d22f7 --- /dev/null +++ b/tests/Command/ChurnSpecifications/ChurnSpecificationPatternTest.php @@ -0,0 +1,110 @@ +createInput([ + 'path' => '/test', + '--coverage-cobertura' => 'coverage.xml' + ]); + $context1 = new ChurnCommandContext($input1); + $this->assertTrue($spec->isSatisfiedBy($context1)); + + // Test valid case - only clover + $input2 = $this->createInput([ + 'path' => '/test', + '--coverage-clover' => 'coverage.xml' + ]); + $context2 = new ChurnCommandContext($input2); + $this->assertTrue($spec->isSatisfiedBy($context2)); + + // Test invalid case - both formats + $input3 = $this->createInput([ + 'path' => '/test', + '--coverage-cobertura' => 'cobertura.xml', + '--coverage-clover' => 'clover.xml' + ]); + $context3 = new ChurnCommandContext($input3); + $this->assertFalse($spec->isSatisfiedBy($context3)); + $this->assertEquals('Only one coverage format can be specified at a time.', $spec->getErrorMessage()); + } + + public function testCoverageFileExistsSpecification(): void + { + $spec = new CoverageFileExistsSpecification(); + + // Test valid case - no coverage file + $input1 = $this->createInput(['path' => '/test']); + $context1 = new ChurnCommandContext($input1); + $this->assertTrue($spec->isSatisfiedBy($context1)); + + // Test invalid case - non-existent file + $input2 = $this->createInput([ + 'path' => '/test', + '--coverage-cobertura' => '/non/existent/file.xml' + ]); + $context2 = new ChurnCommandContext($input2); + $this->assertFalse($spec->isSatisfiedBy($context2)); + $this->assertStringContainsString('Coverage file not found', $spec->getErrorMessage()); + } + + public function testCompositeValidationSpecification(): void + { + $spec = new CompositeChurnValidationSpecification([ + new CoverageFormatExclusivitySpecification(), + new CoverageFileExistsSpecification(), + ]); + + // Test valid case + $input1 = $this->createInput(['path' => '/test']); + $context1 = new ChurnCommandContext($input1); + $this->assertTrue($spec->isSatisfiedBy($context1)); + + // Test invalid case - both coverage formats + $input2 = $this->createInput([ + 'path' => '/test', + '--coverage-cobertura' => 'cobertura.xml', + '--coverage-clover' => 'clover.xml' + ]); + $context2 = new ChurnCommandContext($input2); + $this->assertFalse($spec->isSatisfiedBy($context2)); + + $failedSpec = $spec->getFirstFailedSpecification($context2); + $this->assertInstanceOf(CoverageFormatExclusivitySpecification::class, $failedSpec); + $this->assertEquals('Only one coverage format can be specified at a time.', $failedSpec->getErrorMessage()); + } +} diff --git a/tests/Command/CognitiveMetricsSpecifications/CognitiveMetricsSpecificationPatternTest.php b/tests/Command/CognitiveMetricsSpecifications/CognitiveMetricsSpecificationPatternTest.php new file mode 100644 index 0000000..c221877 --- /dev/null +++ b/tests/Command/CognitiveMetricsSpecifications/CognitiveMetricsSpecificationPatternTest.php @@ -0,0 +1,210 @@ +createInput([ + 'path' => '/test', + '--coverage-cobertura' => 'coverage.xml' + ]); + $context1 = new CognitiveMetricsCommandContext($input1); + $this->assertTrue($spec->isSatisfiedBy($context1)); + + // Test valid case - only clover + $input2 = $this->createInput([ + 'path' => '/test', + '--coverage-clover' => 'coverage.xml' + ]); + $context2 = new CognitiveMetricsCommandContext($input2); + $this->assertTrue($spec->isSatisfiedBy($context2)); + + // Test invalid case - both formats + $input3 = $this->createInput([ + 'path' => '/test', + '--coverage-cobertura' => 'cobertura.xml', + '--coverage-clover' => 'clover.xml' + ]); + $context3 = new CognitiveMetricsCommandContext($input3); + $this->assertFalse($spec->isSatisfiedBy($context3)); + $this->assertEquals('Only one coverage format can be specified at a time.', $spec->getErrorMessage()); + } + + public function testCoverageFileExistsSpecification(): void + { + $spec = new CoverageFileExistsSpecification(); + + // Test valid case - no coverage file + $input1 = $this->createInput(['path' => '/test']); + $context1 = new CognitiveMetricsCommandContext($input1); + $this->assertTrue($spec->isSatisfiedBy($context1)); + + // Test invalid case - non-existent file + $input2 = $this->createInput([ + 'path' => '/test', + '--coverage-cobertura' => '/non/existent/file.xml' + ]); + $context2 = new CognitiveMetricsCommandContext($input2); + $this->assertFalse($spec->isSatisfiedBy($context2)); + $this->assertStringContainsString('Coverage file not found', $spec->getErrorMessage()); + } + + public function testSortFieldValidSpecification(): void + { + $spec = new SortFieldValidSpecification(); + + // Test valid case - no sort field + $input1 = $this->createInput(['path' => '/test']); + $context1 = new CognitiveMetricsCommandContext($input1); + $this->assertTrue($spec->isSatisfiedBy($context1)); + + // Test valid case - valid sort field + $input2 = $this->createInput([ + 'path' => '/test', + '--sort-by' => 'score' + ]); + $context2 = new CognitiveMetricsCommandContext($input2); + $this->assertTrue($spec->isSatisfiedBy($context2)); + + // Test invalid case - invalid sort field + $input3 = $this->createInput([ + 'path' => '/test', + '--sort-by' => 'invalid_field' + ]); + $context3 = new CognitiveMetricsCommandContext($input3); + $this->assertFalse($spec->isSatisfiedBy($context3)); + $this->assertEquals('Invalid sort field provided.', $spec->getErrorMessage()); + + // Test detailed error message + $this->assertStringContainsString('Invalid sort field "invalid_field"', $spec->getErrorMessageWithContext($context3)); + $this->assertStringContainsString('Available fields:', $spec->getErrorMessageWithContext($context3)); + } + + public function testSortOrderValidSpecification(): void + { + $spec = new SortOrderValidSpecification(); + + // Test valid case - asc + $input1 = $this->createInput([ + 'path' => '/test', + '--sort-order' => 'asc' + ]); + $context1 = new CognitiveMetricsCommandContext($input1); + $this->assertTrue($spec->isSatisfiedBy($context1)); + + // Test valid case - desc + $input2 = $this->createInput([ + 'path' => '/test', + '--sort-order' => 'desc' + ]); + $context2 = new CognitiveMetricsCommandContext($input2); + $this->assertTrue($spec->isSatisfiedBy($context2)); + + // Test invalid case - invalid sort order + $input3 = $this->createInput([ + 'path' => '/test', + '--sort-order' => 'invalid' + ]); + $context3 = new CognitiveMetricsCommandContext($input3); + $this->assertFalse($spec->isSatisfiedBy($context3)); + $this->assertEquals('Sort order must be "asc" or "desc"', $spec->getErrorMessage()); + + // Test detailed error message + $this->assertStringContainsString('Sort order must be "asc" or "desc", got "invalid"', $spec->getErrorMessageWithContext($context3)); + } + + public function testCompositeValidationSpecification(): void + { + $spec = new CompositeCognitiveMetricsValidationSpecification([ + new CoverageFormatExclusivitySpecification(), + new CoverageFileExistsSpecification(), + new SortFieldValidSpecification(), + ]); + + // Test valid case + $input1 = $this->createInput(['path' => '/test']); + $context1 = new CognitiveMetricsCommandContext($input1); + $this->assertTrue($spec->isSatisfiedBy($context1)); + + // Test invalid case - both coverage formats + $input2 = $this->createInput([ + 'path' => '/test', + '--coverage-cobertura' => 'cobertura.xml', + '--coverage-clover' => 'clover.xml' + ]); + $context2 = new CognitiveMetricsCommandContext($input2); + $this->assertFalse($spec->isSatisfiedBy($context2)); + + $failedSpec = $spec->getFirstFailedSpecification($context2); + $this->assertInstanceOf(CoverageFormatExclusivitySpecification::class, $failedSpec); + $this->assertEquals('Only one coverage format can be specified at a time.', $failedSpec->getErrorMessage()); + + // Test detailed error message + $detailedError = $spec->getDetailedErrorMessage($context2); + $this->assertEquals('Only one coverage format can be specified at a time.', $detailedError); + } + + public function testCognitiveMetricsCommandContext(): void + { + $input = $this->createInput([ + 'path' => '/test/path', + '--config' => 'config.yml', + '--coverage-cobertura' => 'coverage.xml', + '--sort-by' => 'score', + '--sort-order' => 'desc', + '--baseline' => 'baseline.json', + '--debug' => true + ]); + + $context = new CognitiveMetricsCommandContext($input); + + $this->assertEquals('/test/path', $context->getPaths()[0]); + $this->assertTrue($context->hasConfigFile()); + $this->assertEquals('config.yml', $context->getConfigFile()); + $this->assertTrue($context->hasCoberturaFile()); + $this->assertEquals('coverage.xml', $context->getCoberturaFile()); + $this->assertEquals('cobertura', $context->getCoverageFormat()); + $this->assertEquals('score', $context->getSortBy()); + $this->assertEquals('desc', $context->getSortOrder()); + $this->assertTrue($context->hasBaselineFile()); + $this->assertEquals('baseline.json', $context->getBaselineFile()); + $this->assertTrue($context->getDebug()); + } +} diff --git a/tests/Fixtures/CustomReporters/ConfigAwareChurnTextReporter.php b/tests/Fixtures/CustomReporters/ConfigAwareChurnTextReporter.php new file mode 100644 index 0000000..99a9126 --- /dev/null +++ b/tests/Fixtures/CustomReporters/ConfigAwareChurnTextReporter.php @@ -0,0 +1,89 @@ +> $classes + */ + public function export(array $classes, string $filename): void + { + $content = $this->generateReport($classes); + file_put_contents($filename, $content); + } + + /** + * @param array> $classes + */ + private function generateReport(array $classes): string + { + $output = "=== Config-Aware Churn Analysis Report ===\n"; + $output .= "Generated by ConfigAwareChurnTextReporter\n\n"; + + $output .= "Configuration:\n"; + $output .= "Score Threshold: " . $this->config->scoreThreshold . "\n"; + $output .= "Group By Class: " . ($this->config->groupByClass ? 'Yes' : 'No') . "\n"; + $output .= "Show Only Methods Exceeding Threshold: " . ($this->config->showOnlyMethodsExceedingThreshold ? 'Yes' : 'No') . "\n\n"; + + $output .= "Analysis Summary:\n"; + $output .= "Total Classes: " . count($classes) . "\n"; + + $totalMethods = 0; + foreach ($classes as $classData) { + if (isset($classData['methods'])) { + $totalMethods += count($classData['methods']); + } + } + $output .= "Total Methods: " . $totalMethods . "\n\n"; + + $output .= "Churn Analysis Results:\n"; + $output .= str_repeat("-", 50) . "\n"; + + $aboveThresholdCount = 0; + + foreach ($classes as $className => $classData) { + $score = $classData['score'] ?? 0; + $isAboveThreshold = $score > $this->config->scoreThreshold; + + if ($isAboveThreshold) { + $aboveThresholdCount++; + $output .= "Class: " . $className . " [ABOVE THRESHOLD]\n"; + } else { + $output .= "Class: " . $className . "\n"; + } + + $output .= "File: " . ($classData['file'] ?? 'Unknown') . "\n"; + $output .= "Score: " . ($classData['score'] ?? 'N/A') . "\n"; + $output .= "Churn: " . ($classData['churn'] ?? 'N/A') . "\n"; + $output .= "Times Changed: " . ($classData['timesChanged'] ?? 'N/A') . "\n"; + + if (isset($classData['coverage'])) { + $output .= "Coverage: " . ($classData['coverage'] ?? 'N/A') . "%\n"; + } + + if (isset($classData['riskLevel'])) { + $output .= "Risk Level: " . ($classData['riskLevel'] ?? 'N/A') . "\n"; + } + + $output .= "\n"; + } + + $output .= "Classes Above Threshold (" . $this->config->scoreThreshold . "): " . $aboveThresholdCount . "\n"; + + return $output; + } +} diff --git a/tests/Fixtures/CustomReporters/CustomChurnTextReporter.php b/tests/Fixtures/CustomReporters/CustomChurnTextReporter.php new file mode 100644 index 0000000..804cd32 --- /dev/null +++ b/tests/Fixtures/CustomReporters/CustomChurnTextReporter.php @@ -0,0 +1,65 @@ +> $classes + */ + public function export(array $classes, string $filename): void + { + $content = $this->generateReport($classes); + file_put_contents($filename, $content); + } + + /** + * @param array> $classes + */ + private function generateReport(array $classes): string + { + $output = "=== Custom Churn Analysis Report ===\n"; + $output .= "Generated by CustomChurnTextReporter\n\n"; + + $output .= "Analysis Summary:\n"; + $output .= "Total Classes: " . count($classes) . "\n"; + + $totalMethods = 0; + foreach ($classes as $classData) { + if (isset($classData['methods'])) { + $totalMethods += count($classData['methods']); + } + } + $output .= "Total Methods: " . $totalMethods . "\n\n"; + + $output .= "Churn Analysis Results:\n"; + $output .= str_repeat("-", 50) . "\n"; + + foreach ($classes as $className => $classData) { + $output .= "Class: " . $className . "\n"; + $output .= "File: " . ($classData['file'] ?? 'Unknown') . "\n"; + $output .= "Score: " . ($classData['score'] ?? 'N/A') . "\n"; + $output .= "Churn: " . ($classData['churn'] ?? 'N/A') . "\n"; + $output .= "Times Changed: " . ($classData['timesChanged'] ?? 'N/A') . "\n"; + + if (isset($classData['coverage'])) { + $output .= "Coverage: " . ($classData['coverage'] ?? 'N/A') . "%\n"; + } + + if (isset($classData['riskLevel'])) { + $output .= "Risk Level: " . ($classData['riskLevel'] ?? 'N/A') . "\n"; + } + + $output .= "\n"; + } + + return $output; + } +} diff --git a/tests/Fixtures/config-aware-churn-reporter-config.yml b/tests/Fixtures/config-aware-churn-reporter-config.yml new file mode 100644 index 0000000..9a75655 --- /dev/null +++ b/tests/Fixtures/config-aware-churn-reporter-config.yml @@ -0,0 +1,20 @@ +cognitive: + excludeFilePatterns: [] + excludePatterns: [] + scoreThreshold: 0.80 + showOnlyMethodsExceedingThreshold: true + showHalsteadComplexity: false + showCyclomaticComplexity: false + showDetailedCognitiveMetrics: true + groupByClass: true + metrics: + lineCount: + threshold: 60 + scale: 25.0 + enabled: true + customExporters: + churn: + configchurn: + class: 'Phauthentic\CognitiveCodeAnalysis\Tests\Fixtures\CustomReporters\ConfigAwareChurnTextReporter' + file: 'tests/Fixtures/CustomReporters/ConfigAwareChurnTextReporter.php' + requiresConfig: true diff --git a/tests/Fixtures/custom-churn-text-reporter-config.yml b/tests/Fixtures/custom-churn-text-reporter-config.yml new file mode 100644 index 0000000..d29ad85 --- /dev/null +++ b/tests/Fixtures/custom-churn-text-reporter-config.yml @@ -0,0 +1,20 @@ +cognitive: + excludeFilePatterns: [] + excludePatterns: [] + scoreThreshold: 0.5 + showOnlyMethodsExceedingThreshold: false + showHalsteadComplexity: false + showCyclomaticComplexity: false + showDetailedCognitiveMetrics: true + groupByClass: true + metrics: + lineCount: + threshold: 60 + scale: 25.0 + enabled: true + customExporters: + churn: + customchurn: + class: 'Phauthentic\CognitiveCodeAnalysis\Tests\Fixtures\CustomReporters\CustomChurnTextReporter' + file: 'tests/Fixtures/CustomReporters/CustomChurnTextReporter.php' + requiresConfig: false diff --git a/tests/TestCode/FileWithTwoClasses.php b/tests/TestCode/FileWithTwoClasses.php index 0d1ee49..e231923 100644 --- a/tests/TestCode/FileWithTwoClasses.php +++ b/tests/TestCode/FileWithTwoClasses.php @@ -21,3 +21,4 @@ public function add(int $one, int $two): int return $one + $two; } } +// Another test change diff --git a/tests/TestCode/Paginator.php b/tests/TestCode/Paginator.php index db1b34d..34016b6 100644 --- a/tests/TestCode/Paginator.php +++ b/tests/TestCode/Paginator.php @@ -261,3 +261,4 @@ private function convertWhereInIdentifiersToDatabaseValues(array $identifiers): return array_map(static fn ($id): mixed => $connection->convertToDatabaseValue($id, $type), $identifiers); } } +// Test change diff --git a/tests/Unit/Command/ChurnCommandTest.php b/tests/Unit/Command/ChurnCommandTest.php index 78f215c..7c635ff 100644 --- a/tests/Unit/Command/ChurnCommandTest.php +++ b/tests/Unit/Command/ChurnCommandTest.php @@ -110,4 +110,104 @@ public static function reportDataProvider(): array ] ]; } + + #[Test] + public function testAnalyseWithCustomChurnTextReporter(): void + { + $application = new Application(); + $command = $application->getContainer()->get(ChurnCommand::class); + $tester = new CommandTester($command); + + $tempOutputFile = tempnam(sys_get_temp_dir(), 'custom_churn_report_') . '.txt'; + + $tester->execute([ + 'path' => __DIR__ . '/../../../tests/TestCode', + '--config' => __DIR__ . '/../../../tests/Fixtures/custom-churn-text-reporter-config.yml', + '--report-type' => 'customchurn', + '--report-file' => $tempOutputFile, + ]); + + // Debug: Show the actual output and status + if ($tester->getStatusCode() !== Command::SUCCESS) { + echo "Command failed with status: " . $tester->getStatusCode() . "\n"; + echo "Output: " . $tester->getDisplay() . "\n"; + } + + $this->assertEquals(Command::SUCCESS, $tester->getStatusCode(), 'Command should succeed with custom churn text reporter'); + $this->assertFileExists($tempOutputFile, 'Custom churn report file should be created'); + + $content = file_get_contents($tempOutputFile); + $this->assertNotEmpty($content, 'Report file should not be empty'); + $this->assertStringContainsString('=== Custom Churn Analysis Report ===', $content, 'Should contain report header'); + $this->assertStringContainsString('Generated by CustomChurnTextReporter', $content, 'Should contain reporter identification'); + $this->assertStringContainsString('Total Classes:', $content, 'Should contain summary'); + $this->assertStringContainsString('Total Methods:', $content, 'Should contain method count'); + + // Verify that actual churn data is present + $this->assertStringContainsString('Class:', $content, 'Should contain class information'); + $this->assertStringContainsString('File:', $content, 'Should contain file information'); + $this->assertStringContainsString('Times Changed:', $content, 'Should contain times changed information'); + $this->assertStringContainsString('Churn:', $content, 'Should contain churn information'); + + unlink($tempOutputFile); + } + + #[Test] + public function testAnalyseWithConfigAwareChurnReporter(): void + { + $application = new Application(); + $command = $application->getContainer()->get(ChurnCommand::class); + $tester = new CommandTester($command); + + $tempOutputFile = tempnam(sys_get_temp_dir(), 'config_aware_churn_report_') . '.txt'; + + $tester->execute([ + 'path' => __DIR__ . '/../../../tests/TestCode', + '--config' => __DIR__ . '/../../../tests/Fixtures/config-aware-churn-reporter-config.yml', + '--report-type' => 'configchurn', + '--report-file' => $tempOutputFile, + ]); + + $this->assertEquals(Command::SUCCESS, $tester->getStatusCode(), 'Command should succeed with config-aware churn reporter'); + $this->assertFileExists($tempOutputFile, 'Config-aware churn report file should be created'); + + $content = file_get_contents($tempOutputFile); + $this->assertNotEmpty($content, 'Config-aware churn report file should not be empty'); + $this->assertStringContainsString('=== Config-Aware Churn Analysis Report ===', $content, 'Should contain config-aware report header'); + $this->assertStringContainsString('Generated by ConfigAwareChurnTextReporter', $content, 'Should contain reporter identification'); + + // Verify config information is included + $this->assertStringContainsString('Configuration:', $content, 'Should contain configuration section'); + $this->assertStringContainsString('Score Threshold: 0.8', $content, 'Should contain score threshold from config'); + $this->assertStringContainsString('Group By Class: Yes', $content, 'Should contain group by class setting'); + $this->assertStringContainsString('Show Only Methods Exceeding Threshold: Yes', $content, 'Should contain threshold filtering setting'); + + // Verify threshold-based analysis + $this->assertStringContainsString('[ABOVE THRESHOLD]', $content, 'Should mark classes above threshold'); + $this->assertStringContainsString('Classes Above Threshold (0.8):', $content, 'Should count classes above threshold'); + + unlink($tempOutputFile); + } + + #[Test] + public function testAnalyseWithInvalidCustomChurnReporter(): void + { + $application = new Application(); + $command = $application->getContainer()->get(ChurnCommand::class); + $tester = new CommandTester($command); + + $tempOutputFile = tempnam(sys_get_temp_dir(), 'invalid_custom_churn_report_') . '.txt'; + + $tester->execute([ + 'path' => __DIR__ . '/../../../tests/TestCode', + '--config' => __DIR__ . '/../../../tests/Fixtures/custom-churn-text-reporter-config.yml', + '--report-type' => 'nonexistent', + '--report-file' => $tempOutputFile, + ]); + + $this->assertEquals(Command::FAILURE, $tester->getStatusCode(), 'Command should fail with invalid custom churn reporter'); + $this->assertFileDoesNotExist($tempOutputFile, 'Report file should not be created for invalid reporter'); + + // Note: Error messages are written to stderr, which CommandTester doesn't capture by default + } } diff --git a/tests/Unit/Command/CognitiveMetricsCommandTest.php b/tests/Unit/Command/CognitiveMetricsCommandTest.php index fd2e746..b2756fd 100644 --- a/tests/Unit/Command/CognitiveMetricsCommandTest.php +++ b/tests/Unit/Command/CognitiveMetricsCommandTest.php @@ -156,7 +156,7 @@ public function testAnalyseWithInvalidSortField(): void ]); $this->assertEquals(Command::FAILURE, $tester->getStatusCode(), 'Command should fail with invalid sort field'); - $this->assertStringContainsString('Sorting error', $tester->getDisplay()); + $this->assertStringContainsString('Invalid sort field "invalid-field"', $tester->getDisplay()); } #[Test] @@ -173,7 +173,7 @@ public function testAnalyseWithInvalidSortOrder(): void ]); $this->assertEquals(Command::FAILURE, $tester->getStatusCode(), 'Command should fail with invalid sort order'); - $this->assertStringContainsString('Sorting error', $tester->getDisplay()); + $this->assertStringContainsString('Sort order must be "asc" or "desc", got "invalid"', $tester->getDisplay()); } public function testOutputWithoutOptions(): void From ddfb749092382a2a0f0f0a2849271c98994b370c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20Kr=C3=A4mer?= Date: Sun, 12 Oct 2025 02:23:31 +0200 Subject: [PATCH 08/21] Refactoring --- src/Application.php | 10 +++++++++ src/Command/ChurnCommand.php | 19 ++++------------ .../ChurnValidationSpecificationFactory.php | 21 ++++++++++++++++++ src/Command/CognitiveMetricsCommand.php | 21 ++++-------------- ...eMetricsValidationSpecificationFactory.php | 22 +++++++++++++++++++ 5 files changed, 61 insertions(+), 32 deletions(-) create mode 100644 src/Command/ChurnSpecifications/ChurnValidationSpecificationFactory.php create mode 100644 src/Command/CognitiveMetricsSpecifications/CognitiveMetricsValidationSpecificationFactory.php diff --git a/src/Application.php b/src/Application.php index 8e74005..918bdaf 100644 --- a/src/Application.php +++ b/src/Application.php @@ -22,7 +22,9 @@ use Phauthentic\CognitiveCodeAnalysis\Business\MetricsFacade; use Phauthentic\CognitiveCodeAnalysis\Business\Utility\DirectoryScanner; 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\EventHandler\ParserErrorHandler; use Phauthentic\CognitiveCodeAnalysis\Command\EventHandler\ProgressBarHandler; use Phauthentic\CognitiveCodeAnalysis\Command\EventHandler\VerboseHandler; @@ -104,6 +106,12 @@ private function registerCoreServices(): void $this->containerBuilder->register(CodeCoverageFactory::class, CodeCoverageFactory::class) ->setPublic(true); + + $this->containerBuilder->register(CognitiveMetricsValidationSpecificationFactory::class, CognitiveMetricsValidationSpecificationFactory::class) + ->setPublic(true); + + $this->containerBuilder->register(ChurnValidationSpecificationFactory::class, ChurnValidationSpecificationFactory::class) + ->setPublic(true); } private function registerReportFactories(): void @@ -268,6 +276,7 @@ private function registerCommands(): void new Reference(CognitiveMetricsReportHandler::class), new Reference(CognitiveMetricsSorter::class), new Reference(CodeCoverageFactory::class), + new Reference(CognitiveMetricsValidationSpecificationFactory::class), ]) ->setPublic(true); @@ -276,6 +285,7 @@ private function registerCommands(): void new Reference(MetricsFacade::class), new Reference(ChurnTextRenderer::class), new Reference(ChurnReportHandler::class), + new Reference(ChurnValidationSpecificationFactory::class), ]) ->setPublic(true); } diff --git a/src/Command/ChurnCommand.php b/src/Command/ChurnCommand.php index 920e0c1..9742620 100644 --- a/src/Command/ChurnCommand.php +++ b/src/Command/ChurnCommand.php @@ -14,10 +14,7 @@ use Phauthentic\CognitiveCodeAnalysis\Command\Presentation\ChurnTextRenderer; use Phauthentic\CognitiveCodeAnalysis\Command\ChurnSpecifications\ChurnCommandContext; use Phauthentic\CognitiveCodeAnalysis\Command\ChurnSpecifications\CompositeChurnValidationSpecification; -use Phauthentic\CognitiveCodeAnalysis\Command\ChurnSpecifications\CoverageFileExistsSpecification; -use Phauthentic\CognitiveCodeAnalysis\Command\ChurnSpecifications\CoverageFormatExclusivitySpecification; -use Phauthentic\CognitiveCodeAnalysis\Command\ChurnSpecifications\CoverageFormatSupportedSpecification; -use Phauthentic\CognitiveCodeAnalysis\Command\ChurnSpecifications\ReportOptionsCompleteSpecification; +use Phauthentic\CognitiveCodeAnalysis\Command\ChurnSpecifications\ChurnValidationSpecificationFactory; use Symfony\Component\Console\Attribute\AsCommand; use Symfony\Component\Console\Command\Command; use Symfony\Component\Console\Input\InputArgument; @@ -51,21 +48,13 @@ class ChurnCommand extends Command public function __construct( readonly private MetricsFacade $metricsFacade, readonly private ChurnTextRenderer $renderer, - readonly private ChurnReportHandler $report + readonly private ChurnReportHandler $report, + readonly private ChurnValidationSpecificationFactory $validationSpecificationFactory ) { parent::__construct(); - $this->initializeValidationSpecification(); + $this->validationSpecification = $this->validationSpecificationFactory->create(); } - private function initializeValidationSpecification(): void - { - $this->validationSpecification = new CompositeChurnValidationSpecification([ - new CoverageFormatExclusivitySpecification(), - new CoverageFileExistsSpecification(), - new CoverageFormatSupportedSpecification(), - new ReportOptionsCompleteSpecification(), - ]); - } /** * Configures the command options and arguments. diff --git a/src/Command/ChurnSpecifications/ChurnValidationSpecificationFactory.php b/src/Command/ChurnSpecifications/ChurnValidationSpecificationFactory.php new file mode 100644 index 0000000..3147f64 --- /dev/null +++ b/src/Command/ChurnSpecifications/ChurnValidationSpecificationFactory.php @@ -0,0 +1,21 @@ +initializeValidationSpecification(); + $this->validationSpecification = $this->validationSpecificationFactory->create(); } - private function initializeValidationSpecification(): void - { - $this->validationSpecification = new CompositeCognitiveMetricsValidationSpecification([ - new CoverageFormatExclusivitySpecification(), - new CoverageFileExistsSpecification(), - new CoverageFormatSupportedSpecification(), - new SortFieldValidSpecification(), - new SortOrderValidSpecification(), - ]); - } /** * Configures the command options and arguments. diff --git a/src/Command/CognitiveMetricsSpecifications/CognitiveMetricsValidationSpecificationFactory.php b/src/Command/CognitiveMetricsSpecifications/CognitiveMetricsValidationSpecificationFactory.php new file mode 100644 index 0000000..e122727 --- /dev/null +++ b/src/Command/CognitiveMetricsSpecifications/CognitiveMetricsValidationSpecificationFactory.php @@ -0,0 +1,22 @@ + Date: Sun, 12 Oct 2025 02:44:15 +0200 Subject: [PATCH 09/21] Refactoring --- config.yml | 2 - docs/Creating-Custom-Reporters.md | 38 +++++++++++++++++-- .../Churn/Report/ChurnReportFactory.php | 1 - .../Report/CognitiveReportFactory.php | 1 - src/Business/Reporter/ReporterRegistry.php | 17 ++++++--- ...eMetricsValidationSpecificationFactory.php | 2 +- src/Config/ConfigLoader.php | 6 --- .../config-aware-churn-reporter-config.yml | 1 - .../config-aware-text-reporter-config.yml | 1 - tests/Fixtures/config-exporter-config.yml | 1 - .../custom-churn-text-reporter-config.yml | 1 - .../custom-cognitive-exporter-config.yml | 1 - tests/Fixtures/custom-exporters-config.yml | 1 - .../Fixtures/custom-text-reporter-config.yml | 1 - .../invalid-custom-exporter-config.yml | 1 - .../CognitiveExporterFactoryCustomTest.php | 7 +--- .../Exporter/ExporterRegistryTest.php | 2 - .../Unit/Config/CustomExportersConfigTest.php | 10 +---- 18 files changed, 48 insertions(+), 46 deletions(-) diff --git a/config.yml b/config.yml index e8b4302..7859b57 100644 --- a/config.yml +++ b/config.yml @@ -46,9 +46,7 @@ cognitive: # pdf: # class: 'My\Custom\PdfExporter' # file: '/path/to/PdfExporter.php' - # requiresConfig: true # churn: # xml: # class: 'My\Custom\XmlChurnExporter' # file: null - # requiresConfig: false diff --git a/docs/Creating-Custom-Reporters.md b/docs/Creating-Custom-Reporters.md index aba0493..43e10a5 100644 --- a/docs/Creating-Custom-Reporters.md +++ b/docs/Creating-Custom-Reporters.md @@ -71,7 +71,6 @@ cognitive: pdf: # Custom reporter name class: 'My\Custom\PdfReporter' file: '/path/to/PdfReporter.php' - requiresConfig: true churn: xml: # Custom reporter name class: 'My\Custom\XmlChurnReporter' @@ -82,9 +81,40 @@ cognitive: - **`class`** (required): Fully qualified class name of your reporter - **`file`** (optional): Path to the PHP file containing your reporter class. Set to `null` if using autoloading -- **`requiresConfig`** (cognitive only): Whether your reporter needs the `CognitiveConfig` object in its constructor -## Creating a Custom Cognitive Reporter +## Constructor Patterns + +The system automatically detects whether your reporter needs the `CognitiveConfig` object: + +### Reporter with Config Access + +```php +class PdfReporter implements ReportGeneratorInterface +{ + private CognitiveConfig $config; + + public function __construct(CognitiveConfig $config) + { + $this->config = $config; + } + // ... rest of implementation +} +``` + +### Reporter without Config + +```php +class SimpleReporter implements ReportGeneratorInterface +{ + public function __construct() + { + // No config needed + } + // ... rest of implementation +} +``` + +The system will automatically try to pass the config to your constructor. If your constructor doesn't accept it, the system will fall back to calling the constructor without arguments. Here's a complete example of a custom PDF reporter for cognitive metrics: @@ -248,7 +278,7 @@ For inspiration, examine the built-in reporters: 1. **Class not found**: Ensure the `class` parameter uses the full namespace 2. **File not found**: Check the `file` path is correct and accessible 3. **Interface not implemented**: Ensure your class implements the correct `ReportGeneratorInterface` -4. **Constructor issues**: Set `requiresConfig: true` if your reporter needs `CognitiveConfig` +4. **Constructor issues**: Your reporter can optionally accept `CognitiveConfig` in its constructor - the system will automatically detect this **Debug Tips:** diff --git a/src/Business/Churn/Report/ChurnReportFactory.php b/src/Business/Churn/Report/ChurnReportFactory.php index 8fcf969..ea7e470 100644 --- a/src/Business/Churn/Report/ChurnReportFactory.php +++ b/src/Business/Churn/Report/ChurnReportFactory.php @@ -68,7 +68,6 @@ private function createCustomExporter(array $config): ReportGeneratorInterface $this->registry->loadExporter($config['class'], $config['file'] ?? null); $exporter = $this->registry->instantiate( $config['class'], - $config['requiresConfig'] ?? false, $cognitiveConfig ); $this->registry->validateInterface($exporter, ReportGeneratorInterface::class); diff --git a/src/Business/Cognitive/Report/CognitiveReportFactory.php b/src/Business/Cognitive/Report/CognitiveReportFactory.php index 3d02c83..446b098 100644 --- a/src/Business/Cognitive/Report/CognitiveReportFactory.php +++ b/src/Business/Cognitive/Report/CognitiveReportFactory.php @@ -66,7 +66,6 @@ private function createCustomExporter(array $config): ReportGeneratorInterface $this->registry->loadExporter($config['class'], $config['file'] ?? null); $exporter = $this->registry->instantiate( $config['class'], - $config['requiresConfig'] ?? false, $cognitiveConfig ); $this->registry->validateInterface($exporter, ReportGeneratorInterface::class); diff --git a/src/Business/Reporter/ReporterRegistry.php b/src/Business/Reporter/ReporterRegistry.php index 0479f77..4ad0fa5 100644 --- a/src/Business/Reporter/ReporterRegistry.php +++ b/src/Business/Reporter/ReporterRegistry.php @@ -41,16 +41,21 @@ public function loadExporter(string $class, ?string $file): void * Instantiate an exporter class with optional CognitiveConfig dependency. * * @param string $class The fully qualified class name - * @param bool $requiresConfig Whether the exporter needs CognitiveConfig - * @param CognitiveConfig|null $config The config to pass if required + * @param CognitiveConfig|null $config The config to pass if available * @return object The instantiated exporter */ - public function instantiate(string $class, bool $requiresConfig, ?CognitiveConfig $config): object + public function instantiate(string $class, ?CognitiveConfig $config): object { - if ($requiresConfig && $config !== null) { - return new $class($config); + // Always try to pass config first, fallback to no-arg constructor if it fails + try { + if ($config !== null) { + return new $class($config); + } + return new $class(); + } catch (\ArgumentCountError $e) { + // Constructor doesn't accept config parameter, try without it + return new $class(); } - return new $class(); } /** diff --git a/src/Command/CognitiveMetricsSpecifications/CognitiveMetricsValidationSpecificationFactory.php b/src/Command/CognitiveMetricsSpecifications/CognitiveMetricsValidationSpecificationFactory.php index e122727..1ff5e91 100644 --- a/src/Command/CognitiveMetricsSpecifications/CognitiveMetricsValidationSpecificationFactory.php +++ b/src/Command/CognitiveMetricsSpecifications/CognitiveMetricsValidationSpecificationFactory.php @@ -5,7 +5,7 @@ namespace Phauthentic\CognitiveCodeAnalysis\Command\CognitiveMetricsSpecifications; /** - * Factory for creating the composite validation specification. + * @SuppressWarnings("LongClassName") */ class CognitiveMetricsValidationSpecificationFactory { diff --git a/src/Config/ConfigLoader.php b/src/Config/ConfigLoader.php index 45f435b..1ff65fb 100644 --- a/src/Config/ConfigLoader.php +++ b/src/Config/ConfigLoader.php @@ -145,9 +145,6 @@ public function getConfigTreeBuilder(): TreeBuilder ->scalarNode('file') ->defaultValue(null) ->end() - ->booleanNode('requiresConfig') - ->defaultValue(false) - ->end() ->end() ->end() ->end() @@ -161,9 +158,6 @@ public function getConfigTreeBuilder(): TreeBuilder ->scalarNode('file') ->defaultValue(null) ->end() - ->booleanNode('requiresConfig') - ->defaultValue(false) - ->end() ->end() ->end() ->end() diff --git a/tests/Fixtures/config-aware-churn-reporter-config.yml b/tests/Fixtures/config-aware-churn-reporter-config.yml index 9a75655..0e467c2 100644 --- a/tests/Fixtures/config-aware-churn-reporter-config.yml +++ b/tests/Fixtures/config-aware-churn-reporter-config.yml @@ -17,4 +17,3 @@ cognitive: configchurn: class: 'Phauthentic\CognitiveCodeAnalysis\Tests\Fixtures\CustomReporters\ConfigAwareChurnTextReporter' file: 'tests/Fixtures/CustomReporters/ConfigAwareChurnTextReporter.php' - requiresConfig: true diff --git a/tests/Fixtures/config-aware-text-reporter-config.yml b/tests/Fixtures/config-aware-text-reporter-config.yml index b5794da..1c62927 100644 --- a/tests/Fixtures/config-aware-text-reporter-config.yml +++ b/tests/Fixtures/config-aware-text-reporter-config.yml @@ -17,4 +17,3 @@ cognitive: configtext: class: 'Tests\Fixtures\CustomReporters\ConfigAwareTextReporter' file: 'tests/Fixtures/CustomReporters/ConfigAwareTextReporter.php' - requiresConfig: true diff --git a/tests/Fixtures/config-exporter-config.yml b/tests/Fixtures/config-exporter-config.yml index de672a0..86a561e 100644 --- a/tests/Fixtures/config-exporter-config.yml +++ b/tests/Fixtures/config-exporter-config.yml @@ -17,4 +17,3 @@ cognitive: config: class: 'TestConfigExporter\ConfigExporter' file: null - requiresConfig: true diff --git a/tests/Fixtures/custom-churn-text-reporter-config.yml b/tests/Fixtures/custom-churn-text-reporter-config.yml index d29ad85..956fa40 100644 --- a/tests/Fixtures/custom-churn-text-reporter-config.yml +++ b/tests/Fixtures/custom-churn-text-reporter-config.yml @@ -17,4 +17,3 @@ cognitive: customchurn: class: 'Phauthentic\CognitiveCodeAnalysis\Tests\Fixtures\CustomReporters\CustomChurnTextReporter' file: 'tests/Fixtures/CustomReporters/CustomChurnTextReporter.php' - requiresConfig: false diff --git a/tests/Fixtures/custom-cognitive-exporter-config.yml b/tests/Fixtures/custom-cognitive-exporter-config.yml index 62685dd..30f9065 100644 --- a/tests/Fixtures/custom-cognitive-exporter-config.yml +++ b/tests/Fixtures/custom-cognitive-exporter-config.yml @@ -17,4 +17,3 @@ cognitive: custom: class: 'Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\Report\JsonReport' file: null - requiresConfig: false diff --git a/tests/Fixtures/custom-exporters-config.yml b/tests/Fixtures/custom-exporters-config.yml index b344fc9..2fee2bd 100644 --- a/tests/Fixtures/custom-exporters-config.yml +++ b/tests/Fixtures/custom-exporters-config.yml @@ -17,7 +17,6 @@ cognitive: test: class: 'Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\Exporter\JsonExporter' file: null - requiresConfig: false churn: test: class: 'Phauthentic\CognitiveCodeAnalysis\Business\Churn\Exporter\JsonExporter' diff --git a/tests/Fixtures/custom-text-reporter-config.yml b/tests/Fixtures/custom-text-reporter-config.yml index 9f64add..b4ad6ba 100644 --- a/tests/Fixtures/custom-text-reporter-config.yml +++ b/tests/Fixtures/custom-text-reporter-config.yml @@ -17,4 +17,3 @@ cognitive: customtext: class: 'Tests\Fixtures\CustomReporters\CustomTextReporter' file: 'tests/Fixtures/CustomReporters/CustomTextReporter.php' - requiresConfig: false diff --git a/tests/Fixtures/invalid-custom-exporter-config.yml b/tests/Fixtures/invalid-custom-exporter-config.yml index f0616e5..78bf899 100644 --- a/tests/Fixtures/invalid-custom-exporter-config.yml +++ b/tests/Fixtures/invalid-custom-exporter-config.yml @@ -17,4 +17,3 @@ cognitive: invalid: class: 'NonExistent\Exporter' file: null - requiresConfig: false diff --git a/tests/Unit/Business/Cognitive/Exporter/CognitiveExporterFactoryCustomTest.php b/tests/Unit/Business/Cognitive/Exporter/CognitiveExporterFactoryCustomTest.php index 26d58a7..aa41507 100644 --- a/tests/Unit/Business/Cognitive/Exporter/CognitiveExporterFactoryCustomTest.php +++ b/tests/Unit/Business/Cognitive/Exporter/CognitiveExporterFactoryCustomTest.php @@ -96,7 +96,6 @@ public function export(CognitiveMetricsCollection $metrics, string $filename): v 'custom' => [ 'class' => 'TestCustomCognitive\CustomCognitiveExporter', 'file' => $tempFile, - 'requiresConfig' => false ] ]; @@ -141,7 +140,6 @@ public function export(CognitiveMetricsCollection $metrics, string $filename): v 'config' => [ 'class' => 'TestConfigCognitive\ConfigCognitiveExporter', 'file' => $tempFile, - 'requiresConfig' => true ] ]; @@ -180,7 +178,6 @@ public function export(CognitiveMetricsCollection $metrics, string $filename): v 'autoloaded' => [ 'class' => 'TestAutoloadedCognitive\AutoloadedCognitiveExporter', 'file' => null, - 'requiresConfig' => false ] ]; @@ -217,7 +214,6 @@ public function testGetSupportedTypesIncludesCustomExporters(): void 'custom2' => [ 'class' => 'TestCustom2\Exporter', 'file' => null, - 'requiresConfig' => true ] ]; @@ -276,7 +272,6 @@ public function export($metrics, $filename): void { 'invalid' => [ 'class' => 'TestInvalidCognitive\InvalidCognitiveExporter', 'file' => $tempFile, - 'requiresConfig' => false ] ]; @@ -341,7 +336,7 @@ public function export(CognitiveMetricsCollection $metrics, string $filename): v 'nullconfig' => [ 'class' => 'TestNullConfigCognitive\NullConfigCognitiveExporter', 'file' => $tempFile, - 'requiresConfig' => false // This should create without config + // This should create without config ] ]; diff --git a/tests/Unit/Business/Exporter/ExporterRegistryTest.php b/tests/Unit/Business/Exporter/ExporterRegistryTest.php index c77ff26..2f13fff 100644 --- a/tests/Unit/Business/Exporter/ExporterRegistryTest.php +++ b/tests/Unit/Business/Exporter/ExporterRegistryTest.php @@ -81,7 +81,6 @@ public function testInstantiateWithoutConfig(): void { $exporter = $this->registry->instantiate( 'Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\Report\JsonReport', - false, null ); @@ -101,7 +100,6 @@ public function testInstantiateWithConfig(): void $exporter = $this->registry->instantiate( 'Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\Report\MarkdownReport', - true, $config ); diff --git a/tests/Unit/Config/CustomExportersConfigTest.php b/tests/Unit/Config/CustomExportersConfigTest.php index a8b4f42..7b83cf6 100644 --- a/tests/Unit/Config/CustomExportersConfigTest.php +++ b/tests/Unit/Config/CustomExportersConfigTest.php @@ -46,12 +46,10 @@ public function testCustomExportersConfiguration(): void 'pdf' => [ 'class' => 'My\Custom\PdfExporter', 'file' => '/path/to/PdfExporter.php', - 'requiresConfig' => true ], 'xml' => [ 'class' => 'My\Custom\XmlExporter', 'file' => null, - 'requiresConfig' => false ] ], 'churn' => [ @@ -78,11 +76,9 @@ public function testCustomExportersConfiguration(): void $this->assertEquals('My\Custom\PdfExporter', $cognitiveExporters['pdf']['class']); $this->assertEquals('/path/to/PdfExporter.php', $cognitiveExporters['pdf']['file']); - $this->assertTrue($cognitiveExporters['pdf']['requiresConfig']); $this->assertEquals('My\Custom\XmlExporter', $cognitiveExporters['xml']['class']); $this->assertNull($cognitiveExporters['xml']['file']); - $this->assertFalse($cognitiveExporters['xml']['requiresConfig']); // Test churn exporters $churnExporters = $processedConfig['cognitive']['customExporters']['churn']; @@ -120,7 +116,7 @@ public function testCustomExportersWithDefaults(): void 'cognitive' => [ 'minimal' => [ 'class' => 'My\Custom\MinimalExporter' - // file and requiresConfig should default to null and false + // file should default to null ] ] ] @@ -133,7 +129,6 @@ public function testCustomExportersWithDefaults(): void $this->assertArrayHasKey('minimal', $cognitiveExporters); $this->assertEquals('My\Custom\MinimalExporter', $cognitiveExporters['minimal']['class']); $this->assertNull($cognitiveExporters['minimal']['file']); - $this->assertFalse($cognitiveExporters['minimal']['requiresConfig']); } #[Test] @@ -203,7 +198,6 @@ public function testConfigFactoryWithCustomExporters(): void 'test' => [ 'class' => 'Test\Exporter', 'file' => '/test/file.php', - 'requiresConfig' => true ] ], 'churn' => [ @@ -227,7 +221,6 @@ public function testConfigFactoryWithCustomExporters(): void $this->assertArrayHasKey('test', $cognitiveExporters); $this->assertEquals('Test\Exporter', $cognitiveExporters['test']['class']); $this->assertEquals('/test/file.php', $cognitiveExporters['test']['file']); - $this->assertTrue($cognitiveExporters['test']['requiresConfig']); $churnExporters = $cognitiveConfig->customExporters['churn']; $this->assertArrayHasKey('test', $churnExporters); @@ -296,7 +289,6 @@ public function testInvalidCustomExporterConfiguration(): void 'invalid' => [ // Missing required 'class' field 'file' => '/test/file.php', - 'requiresConfig' => true ] ] ] From ca39f5b946476d6da546075c69ea4739081d94b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20Kr=C3=A4mer?= Date: Sun, 12 Oct 2025 02:47:14 +0200 Subject: [PATCH 10/21] Refactoring --- .../ChurnExporterFactoryCustomTest.php | 12 ++----- .../Churn/Exporter/TestCognitiveConfig.php | 33 +++++++++++++++---- 2 files changed, 29 insertions(+), 16 deletions(-) diff --git a/tests/Unit/Business/Churn/Exporter/ChurnExporterFactoryCustomTest.php b/tests/Unit/Business/Churn/Exporter/ChurnExporterFactoryCustomTest.php index 4d687e7..37f34f3 100644 --- a/tests/Unit/Business/Churn/Exporter/ChurnExporterFactoryCustomTest.php +++ b/tests/Unit/Business/Churn/Exporter/ChurnExporterFactoryCustomTest.php @@ -7,12 +7,10 @@ use InvalidArgumentException; use Phauthentic\CognitiveCodeAnalysis\Business\Churn\Report\ChurnReportFactory; use Phauthentic\CognitiveCodeAnalysis\Business\Churn\Report\ReportGeneratorInterface; -use Phauthentic\CognitiveCodeAnalysis\Config\CognitiveConfig; use Phauthentic\CognitiveCodeAnalysis\Config\ConfigService; use PHPUnit\Framework\Attributes\Test; use PHPUnit\Framework\TestCase; use PHPUnit\Framework\MockObject\MockObject; -use ReflectionClass; use Phauthentic\CognitiveCodeAnalysis\Tests\Unit\Business\Churn\Exporter\TestCognitiveConfig; /** @@ -22,14 +20,8 @@ class ChurnExporterFactoryCustomTest extends TestCase { private function createMockConfigService(array $customExporters = []): ConfigService&MockObject { - // Create a mock that allows property access by using reflection - $config = $this->createMock(CognitiveConfig::class); - - // Use reflection to set the readonly property - $reflection = new ReflectionClass($config); - $property = $reflection->getProperty('customExporters'); - $property->setAccessible(true); - $property->setValue($config, ['churn' => $customExporters]); + // Create TestCognitiveConfig with the custom exporters + $config = new TestCognitiveConfig(customExporters: ['churn' => $customExporters]); $configService = $this->createMock(ConfigService::class); $configService->method('getConfig')->willReturn($config); diff --git a/tests/Unit/Business/Churn/Exporter/TestCognitiveConfig.php b/tests/Unit/Business/Churn/Exporter/TestCognitiveConfig.php index b3bdedd..67bd133 100644 --- a/tests/Unit/Business/Churn/Exporter/TestCognitiveConfig.php +++ b/tests/Unit/Business/Churn/Exporter/TestCognitiveConfig.php @@ -4,15 +4,36 @@ namespace Phauthentic\CognitiveCodeAnalysis\Tests\Unit\Business\Churn\Exporter; +use Phauthentic\CognitiveCodeAnalysis\Config\CognitiveConfig; + /** * Test-specific config class for testing */ -class TestCognitiveConfig +class TestCognitiveConfig extends CognitiveConfig { - public array $customExporters = []; - - public function __construct() - { - $this->customExporters = []; + public function __construct( + array $excludeFilePatterns = [], + array $excludePatterns = [], + array $metrics = [], + bool $showOnlyMethodsExceedingThreshold = false, + float $scoreThreshold = 0.5, + bool $showHalsteadComplexity = false, + bool $showCyclomaticComplexity = false, + bool $groupByClass = false, + bool $showDetailedCognitiveMetrics = true, + array $customExporters = [] + ) { + parent::__construct( + excludeFilePatterns: $excludeFilePatterns, + excludePatterns: $excludePatterns, + metrics: $metrics, + showOnlyMethodsExceedingThreshold: $showOnlyMethodsExceedingThreshold, + scoreThreshold: $scoreThreshold, + showHalsteadComplexity: $showHalsteadComplexity, + showCyclomaticComplexity: $showCyclomaticComplexity, + groupByClass: $groupByClass, + showDetailedCognitiveMetrics: $showDetailedCognitiveMetrics, + customExporters: $customExporters + ); } } From b4024a8f7eb5901eb496b9c1c0ecfccb6f577f3e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20Kr=C3=A4mer?= Date: Sun, 12 Oct 2025 14:41:58 +0200 Subject: [PATCH 11/21] Improve test imports and exception handling --- .../Churn/Exporter/ChurnExporterFactoryCustomTest.php | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/tests/Unit/Business/Churn/Exporter/ChurnExporterFactoryCustomTest.php b/tests/Unit/Business/Churn/Exporter/ChurnExporterFactoryCustomTest.php index 37f34f3..f0538c3 100644 --- a/tests/Unit/Business/Churn/Exporter/ChurnExporterFactoryCustomTest.php +++ b/tests/Unit/Business/Churn/Exporter/ChurnExporterFactoryCustomTest.php @@ -7,8 +7,10 @@ use InvalidArgumentException; use Phauthentic\CognitiveCodeAnalysis\Business\Churn\Report\ChurnReportFactory; use Phauthentic\CognitiveCodeAnalysis\Business\Churn\Report\ReportGeneratorInterface; +use Phauthentic\CognitiveCodeAnalysis\CognitiveAnalysisException; use Phauthentic\CognitiveCodeAnalysis\Config\ConfigService; use PHPUnit\Framework\Attributes\Test; +use PHPUnit\Framework\MockObject\Exception; use PHPUnit\Framework\TestCase; use PHPUnit\Framework\MockObject\MockObject; use Phauthentic\CognitiveCodeAnalysis\Tests\Unit\Business\Churn\Exporter\TestCognitiveConfig; @@ -18,6 +20,9 @@ */ class ChurnExporterFactoryCustomTest extends TestCase { + /** + * @throws Exception + */ private function createMockConfigService(array $customExporters = []): ConfigService&MockObject { // Create TestCognitiveConfig with the custom exporters @@ -28,6 +33,7 @@ private function createMockConfigService(array $customExporters = []): ConfigSer return $configService; } + #[Test] public function testCreateBuiltInExporter(): void { @@ -197,7 +203,7 @@ public function export(array $classes, string $filename): void { $factory = new ChurnReportFactory($this->createMockConfigService($customExporters)); - $this->expectException(\Phauthentic\CognitiveCodeAnalysis\CognitiveAnalysisException::class); + $this->expectException(CognitiveAnalysisException::class); $this->expectExceptionMessage('Exporter must implement Phauthentic\CognitiveCodeAnalysis\Business\Churn\Report\ReportGeneratorInterface'); $factory->create('invalid'); @@ -218,7 +224,7 @@ public function testCustomExporterWithNonExistentFile(): void $factory = new ChurnReportFactory($this->createMockConfigService($customExporters)); - $this->expectException(\Phauthentic\CognitiveCodeAnalysis\CognitiveAnalysisException::class); + $this->expectException(CognitiveAnalysisException::class); $this->expectExceptionMessage('Exporter file not found: /non/existent/file.php'); $factory->create('missing'); From e5ccf177068a9fd7eee2b1da14931f86414bee90 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20Kr=C3=A4mer?= Date: Sun, 12 Oct 2025 15:25:15 +0200 Subject: [PATCH 12/21] Renaming test files --- tests/Fixtures/custom-exporters-config.yml | 4 ++-- .../AbstractReporterTestCase.php} | 4 ++-- .../ChurnReporterFactoryCustomTest.php} | 6 +++--- .../{Exporter => Report}/CsvExportTest.php | 6 +++--- .../CsvReporterContent.csv} | 0 .../HtmlReporterContent.html} | 0 .../HtmlReporterTest.php} | 6 +++--- .../JsonReporterContent.json} | 0 .../JsonReporterTest.php} | 6 +++--- .../MarkdownReporterContent.md} | 0 .../MarkdownReporterContentWithCoverage.md} | 0 .../MarkdownReporterTest.php} | 8 ++++---- .../SvgTreemapReporterTest.php} | 6 +++--- .../SvgTreemapReporterTest.svg} | 0 .../TestCognitiveConfig.php | 2 +- .../CognitiveReporterFactoryCustomTest.php} | 4 ++-- .../CsvReporterTest.php} | 4 ++-- .../HtmlReporterContent.html} | 0 .../HtmlReporterTest.php} | 6 +++--- .../JsonReporterTest.php} | 4 ++-- .../MarkdownReporterContent_AllMetrics.md} | 0 .../MarkdownReporterContent_CyclomaticOnly.md} | 0 .../MarkdownReporterContent_HalsteadOnly.md} | 0 .../MarkdownReporterContent_Minimal.md} | 0 ...rkdownReporterContent_NoDetailedMetrics.md} | 0 .../MarkdownReporterContent_SingleTable.md} | 0 .../MarkdownReporterContent_Threshold.md} | 0 .../MarkdownReporterTest.php} | 18 +++++++++--------- 28 files changed, 42 insertions(+), 42 deletions(-) rename tests/Unit/Business/Churn/{Exporter/AbstractExporterTestCase.php => Report/AbstractReporterTestCase.php} (97%) rename tests/Unit/Business/Churn/{Exporter/ChurnExporterFactoryCustomTest.php => Report/ChurnReporterFactoryCustomTest.php} (98%) rename tests/Unit/Business/Churn/{Exporter => Report}/CsvExportTest.php (89%) rename tests/Unit/Business/Churn/{Exporter/CsvExporterContent.csv => Report/CsvReporterContent.csv} (100%) rename tests/Unit/Business/Churn/{Exporter/HtmlExporterContent.html => Report/HtmlReporterContent.html} (100%) rename tests/Unit/Business/Churn/{Exporter/HtmlExporterTest.php => Report/HtmlReporterTest.php} (83%) rename tests/Unit/Business/Churn/{Exporter/JsonExporterContent.json => Report/JsonReporterContent.json} (100%) rename tests/Unit/Business/Churn/{Exporter/JsonExporterTest.php => Report/JsonReporterTest.php} (83%) rename tests/Unit/Business/Churn/{Exporter/MarkdownExporterContent.md => Report/MarkdownReporterContent.md} (100%) rename tests/Unit/Business/Churn/{Exporter/MarkdownExporterContentWithCoverage.md => Report/MarkdownReporterContentWithCoverage.md} (100%) rename tests/Unit/Business/Churn/{Exporter/MarkdownExporterTest.php => Report/MarkdownReporterTest.php} (82%) rename tests/Unit/Business/Churn/{Exporter/SvgTreemapExporterTest.php => Report/SvgTreemapReporterTest.php} (82%) rename tests/Unit/Business/Churn/{Exporter/SvgTreemapExporterTest.svg => Report/SvgTreemapReporterTest.svg} (100%) rename tests/Unit/Business/Churn/{Exporter => Report}/TestCognitiveConfig.php (98%) rename tests/Unit/Business/Cognitive/{Exporter/CognitiveExporterFactoryCustomTest.php => Report/CognitiveReporterFactoryCustomTest.php} (99%) rename tests/Unit/Business/Cognitive/{Exporter/CsvExporterTest.php => Report/CsvReporterTest.php} (98%) rename tests/Unit/Business/Cognitive/{Exporter/HtmlExporterContent.html => Report/HtmlReporterContent.html} (100%) rename tests/Unit/Business/Cognitive/{Exporter/HtmlExporterTest.php => Report/HtmlReporterTest.php} (94%) rename tests/Unit/Business/Cognitive/{Exporter/JsonExporterTest.php => Report/JsonReporterTest.php} (98%) rename tests/Unit/Business/Cognitive/{Exporter/MarkdownExporterContent_AllMetrics.md => Report/MarkdownReporterContent_AllMetrics.md} (100%) rename tests/Unit/Business/Cognitive/{Exporter/MarkdownExporterContent_CyclomaticOnly.md => Report/MarkdownReporterContent_CyclomaticOnly.md} (100%) rename tests/Unit/Business/Cognitive/{Exporter/MarkdownExporterContent_HalsteadOnly.md => Report/MarkdownReporterContent_HalsteadOnly.md} (100%) rename tests/Unit/Business/Cognitive/{Exporter/MarkdownExporterContent_Minimal.md => Report/MarkdownReporterContent_Minimal.md} (100%) rename tests/Unit/Business/Cognitive/{Exporter/MarkdownExporterContent_NoDetailedMetrics.md => Report/MarkdownReporterContent_NoDetailedMetrics.md} (100%) rename tests/Unit/Business/Cognitive/{Exporter/MarkdownExporterContent_SingleTable.md => Report/MarkdownReporterContent_SingleTable.md} (100%) rename tests/Unit/Business/Cognitive/{Exporter/MarkdownExporterContent_Threshold.md => Report/MarkdownReporterContent_Threshold.md} (100%) rename tests/Unit/Business/Cognitive/{Exporter/MarkdownExporterTest.php => Report/MarkdownReporterTest.php} (95%) diff --git a/tests/Fixtures/custom-exporters-config.yml b/tests/Fixtures/custom-exporters-config.yml index 2fee2bd..cfac2c6 100644 --- a/tests/Fixtures/custom-exporters-config.yml +++ b/tests/Fixtures/custom-exporters-config.yml @@ -15,9 +15,9 @@ cognitive: customExporters: cognitive: test: - class: 'Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\Exporter\JsonExporter' + class: 'Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\Report\JsonReport' file: null churn: test: - class: 'Phauthentic\CognitiveCodeAnalysis\Business\Churn\Exporter\JsonExporter' + class: 'Phauthentic\CognitiveCodeAnalysis\Business\Churn\Report\JsonReport' file: null diff --git a/tests/Unit/Business/Churn/Exporter/AbstractExporterTestCase.php b/tests/Unit/Business/Churn/Report/AbstractReporterTestCase.php similarity index 97% rename from tests/Unit/Business/Churn/Exporter/AbstractExporterTestCase.php rename to tests/Unit/Business/Churn/Report/AbstractReporterTestCase.php index 09932d9..fc30e3c 100644 --- a/tests/Unit/Business/Churn/Exporter/AbstractExporterTestCase.php +++ b/tests/Unit/Business/Churn/Report/AbstractReporterTestCase.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Phauthentic\CognitiveCodeAnalysis\Tests\Unit\Business\Churn\Exporter; +namespace Phauthentic\CognitiveCodeAnalysis\Tests\Unit\Business\Churn\Report; use Phauthentic\CognitiveCodeAnalysis\Business\Utility\Datetime; use PHPUnit\Framework\TestCase; @@ -10,7 +10,7 @@ /** * */ -class AbstractExporterTestCase extends TestCase +class AbstractReporterTestCase extends TestCase { protected string $filename; diff --git a/tests/Unit/Business/Churn/Exporter/ChurnExporterFactoryCustomTest.php b/tests/Unit/Business/Churn/Report/ChurnReporterFactoryCustomTest.php similarity index 98% rename from tests/Unit/Business/Churn/Exporter/ChurnExporterFactoryCustomTest.php rename to tests/Unit/Business/Churn/Report/ChurnReporterFactoryCustomTest.php index f0538c3..08e404c 100644 --- a/tests/Unit/Business/Churn/Exporter/ChurnExporterFactoryCustomTest.php +++ b/tests/Unit/Business/Churn/Report/ChurnReporterFactoryCustomTest.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Phauthentic\CognitiveCodeAnalysis\Tests\Unit\Business\Churn\Exporter; +namespace Phauthentic\CognitiveCodeAnalysis\Tests\Unit\Business\Churn\Report; use InvalidArgumentException; use Phauthentic\CognitiveCodeAnalysis\Business\Churn\Report\ChurnReportFactory; @@ -13,12 +13,12 @@ use PHPUnit\Framework\MockObject\Exception; use PHPUnit\Framework\TestCase; use PHPUnit\Framework\MockObject\MockObject; -use Phauthentic\CognitiveCodeAnalysis\Tests\Unit\Business\Churn\Exporter\TestCognitiveConfig; +use Phauthentic\CognitiveCodeAnalysis\Tests\Unit\Business\Churn\Report\TestCognitiveConfig; /** * Test case for ChurnReportFactory with custom exporters. */ -class ChurnExporterFactoryCustomTest extends TestCase +class ChurnReporterFactoryCustomTest extends TestCase { /** * @throws Exception diff --git a/tests/Unit/Business/Churn/Exporter/CsvExportTest.php b/tests/Unit/Business/Churn/Report/CsvExportTest.php similarity index 89% rename from tests/Unit/Business/Churn/Exporter/CsvExportTest.php rename to tests/Unit/Business/Churn/Report/CsvExportTest.php index b89cb35..cf0474a 100644 --- a/tests/Unit/Business/Churn/Exporter/CsvExportTest.php +++ b/tests/Unit/Business/Churn/Report/CsvExportTest.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Phauthentic\CognitiveCodeAnalysis\Tests\Unit\Business\Churn\Exporter; +namespace Phauthentic\CognitiveCodeAnalysis\Tests\Unit\Business\Churn\Report; use Phauthentic\CognitiveCodeAnalysis\Business\Churn\Report\CsvReport; use Phauthentic\CognitiveCodeAnalysis\CognitiveAnalysisException; @@ -11,7 +11,7 @@ /** * */ -class CsvExportTest extends AbstractExporterTestCase +class CsvExportTest extends AbstractReporterTestCase { protected function setUp(): void { @@ -28,7 +28,7 @@ public function testExport(): void $this->exporter->export($classes, $this->filename); $this->assertFileEquals( - expected: __DIR__ . '/CsvExporterContent.csv', + expected: __DIR__ . '/CsvReporterContent.csv', actual: $this->filename ); } diff --git a/tests/Unit/Business/Churn/Exporter/CsvExporterContent.csv b/tests/Unit/Business/Churn/Report/CsvReporterContent.csv similarity index 100% rename from tests/Unit/Business/Churn/Exporter/CsvExporterContent.csv rename to tests/Unit/Business/Churn/Report/CsvReporterContent.csv diff --git a/tests/Unit/Business/Churn/Exporter/HtmlExporterContent.html b/tests/Unit/Business/Churn/Report/HtmlReporterContent.html similarity index 100% rename from tests/Unit/Business/Churn/Exporter/HtmlExporterContent.html rename to tests/Unit/Business/Churn/Report/HtmlReporterContent.html diff --git a/tests/Unit/Business/Churn/Exporter/HtmlExporterTest.php b/tests/Unit/Business/Churn/Report/HtmlReporterTest.php similarity index 83% rename from tests/Unit/Business/Churn/Exporter/HtmlExporterTest.php rename to tests/Unit/Business/Churn/Report/HtmlReporterTest.php index d65523d..2c33ccd 100644 --- a/tests/Unit/Business/Churn/Exporter/HtmlExporterTest.php +++ b/tests/Unit/Business/Churn/Report/HtmlReporterTest.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Phauthentic\CognitiveCodeAnalysis\Tests\Unit\Business\Churn\Exporter; +namespace Phauthentic\CognitiveCodeAnalysis\Tests\Unit\Business\Churn\Report; use Phauthentic\CognitiveCodeAnalysis\Business\Churn\Report\CsvReport; use PHPUnit\Framework\Attributes\Test; @@ -10,7 +10,7 @@ /** * */ -class HtmlExporterTest extends AbstractExporterTestCase +class HtmlReporterTest extends AbstractReporterTestCase { protected function setUp(): void { @@ -27,7 +27,7 @@ public function testExport(): void $this->exporter->export($classes, $this->filename); $this->assertFileEquals( - expected: __DIR__ . '/HtmlExporterContent.html', + expected: __DIR__ . '/HtmlReporterContent.html', actual: $this->filename ); } diff --git a/tests/Unit/Business/Churn/Exporter/JsonExporterContent.json b/tests/Unit/Business/Churn/Report/JsonReporterContent.json similarity index 100% rename from tests/Unit/Business/Churn/Exporter/JsonExporterContent.json rename to tests/Unit/Business/Churn/Report/JsonReporterContent.json diff --git a/tests/Unit/Business/Churn/Exporter/JsonExporterTest.php b/tests/Unit/Business/Churn/Report/JsonReporterTest.php similarity index 83% rename from tests/Unit/Business/Churn/Exporter/JsonExporterTest.php rename to tests/Unit/Business/Churn/Report/JsonReporterTest.php index a50888c..40c331d 100644 --- a/tests/Unit/Business/Churn/Exporter/JsonExporterTest.php +++ b/tests/Unit/Business/Churn/Report/JsonReporterTest.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Phauthentic\CognitiveCodeAnalysis\Tests\Unit\Business\Churn\Exporter; +namespace Phauthentic\CognitiveCodeAnalysis\Tests\Unit\Business\Churn\Report; use Phauthentic\CognitiveCodeAnalysis\Business\Churn\Report\JsonReport; use PHPUnit\Framework\Attributes\Test; @@ -10,7 +10,7 @@ /** * */ -class JsonExporterTest extends AbstractExporterTestCase +class JsonReporterTest extends AbstractReporterTestCase { protected function setUp(): void { @@ -28,7 +28,7 @@ public function testExport(): void $this->exporter->export($classes, $this->filename); $this->assertFileEquals( - expected: __DIR__ . '/JsonExporterContent.json', + expected: __DIR__ . '/JsonReporterContent.json', actual: $this->filename ); } diff --git a/tests/Unit/Business/Churn/Exporter/MarkdownExporterContent.md b/tests/Unit/Business/Churn/Report/MarkdownReporterContent.md similarity index 100% rename from tests/Unit/Business/Churn/Exporter/MarkdownExporterContent.md rename to tests/Unit/Business/Churn/Report/MarkdownReporterContent.md diff --git a/tests/Unit/Business/Churn/Exporter/MarkdownExporterContentWithCoverage.md b/tests/Unit/Business/Churn/Report/MarkdownReporterContentWithCoverage.md similarity index 100% rename from tests/Unit/Business/Churn/Exporter/MarkdownExporterContentWithCoverage.md rename to tests/Unit/Business/Churn/Report/MarkdownReporterContentWithCoverage.md diff --git a/tests/Unit/Business/Churn/Exporter/MarkdownExporterTest.php b/tests/Unit/Business/Churn/Report/MarkdownReporterTest.php similarity index 82% rename from tests/Unit/Business/Churn/Exporter/MarkdownExporterTest.php rename to tests/Unit/Business/Churn/Report/MarkdownReporterTest.php index 0b5b811..5b54afa 100644 --- a/tests/Unit/Business/Churn/Exporter/MarkdownExporterTest.php +++ b/tests/Unit/Business/Churn/Report/MarkdownReporterTest.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Phauthentic\CognitiveCodeAnalysis\Tests\Unit\Business\Churn\Exporter; +namespace Phauthentic\CognitiveCodeAnalysis\Tests\Unit\Business\Churn\Report; use Phauthentic\CognitiveCodeAnalysis\Business\Churn\Report\MarkdownReport; use PHPUnit\Framework\Attributes\Test; @@ -10,7 +10,7 @@ /** * */ -class MarkdownExporterTest extends AbstractExporterTestCase +class MarkdownReporterTest extends AbstractReporterTestCase { protected function setUp(): void { @@ -28,7 +28,7 @@ public function testExport(): void $this->exporter->export($classes, $this->filename); $this->assertFileEquals( - expected: __DIR__ . '/MarkdownExporterContent.md', + expected: __DIR__ . '/MarkdownReporterContent.md', actual: $this->filename ); } @@ -41,7 +41,7 @@ public function testExportWithCoverage(): void $this->exporter->export($classes, $this->filename); $this->assertFileEquals( - expected: __DIR__ . '/MarkdownExporterContentWithCoverage.md', + expected: __DIR__ . '/MarkdownReporterContentWithCoverage.md', actual: $this->filename ); } diff --git a/tests/Unit/Business/Churn/Exporter/SvgTreemapExporterTest.php b/tests/Unit/Business/Churn/Report/SvgTreemapReporterTest.php similarity index 82% rename from tests/Unit/Business/Churn/Exporter/SvgTreemapExporterTest.php rename to tests/Unit/Business/Churn/Report/SvgTreemapReporterTest.php index 8cc58a9..f2cfadd 100644 --- a/tests/Unit/Business/Churn/Exporter/SvgTreemapExporterTest.php +++ b/tests/Unit/Business/Churn/Report/SvgTreemapReporterTest.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Phauthentic\CognitiveCodeAnalysis\Tests\Unit\Business\Churn\Exporter; +namespace Phauthentic\CognitiveCodeAnalysis\Tests\Unit\Business\Churn\Report; use Phauthentic\CognitiveCodeAnalysis\Business\Churn\Report\SvgTreemapReport; use PHPUnit\Framework\Attributes\Test; @@ -10,7 +10,7 @@ /** * */ -class SvgTreemapExporterTest extends AbstractExporterTestCase +class SvgTreemapReporterTest extends AbstractReporterTestCase { protected function setUp(): void { @@ -28,7 +28,7 @@ public function testExport(): void $this->exporter->export($classes, $this->filename); $this->assertFileEquals( - expected: __DIR__ . '/SvgTreemapExporterTest.svg', + expected: __DIR__ . '/SvgTreemapReporterTest.svg', actual: $this->filename ); } diff --git a/tests/Unit/Business/Churn/Exporter/SvgTreemapExporterTest.svg b/tests/Unit/Business/Churn/Report/SvgTreemapReporterTest.svg similarity index 100% rename from tests/Unit/Business/Churn/Exporter/SvgTreemapExporterTest.svg rename to tests/Unit/Business/Churn/Report/SvgTreemapReporterTest.svg diff --git a/tests/Unit/Business/Churn/Exporter/TestCognitiveConfig.php b/tests/Unit/Business/Churn/Report/TestCognitiveConfig.php similarity index 98% rename from tests/Unit/Business/Churn/Exporter/TestCognitiveConfig.php rename to tests/Unit/Business/Churn/Report/TestCognitiveConfig.php index 67bd133..3a9a8a1 100644 --- a/tests/Unit/Business/Churn/Exporter/TestCognitiveConfig.php +++ b/tests/Unit/Business/Churn/Report/TestCognitiveConfig.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Phauthentic\CognitiveCodeAnalysis\Tests\Unit\Business\Churn\Exporter; +namespace Phauthentic\CognitiveCodeAnalysis\Tests\Unit\Business\Churn\Report; use Phauthentic\CognitiveCodeAnalysis\Config\CognitiveConfig; diff --git a/tests/Unit/Business/Cognitive/Exporter/CognitiveExporterFactoryCustomTest.php b/tests/Unit/Business/Cognitive/Report/CognitiveReporterFactoryCustomTest.php similarity index 99% rename from tests/Unit/Business/Cognitive/Exporter/CognitiveExporterFactoryCustomTest.php rename to tests/Unit/Business/Cognitive/Report/CognitiveReporterFactoryCustomTest.php index aa41507..a0c9e4e 100644 --- a/tests/Unit/Business/Cognitive/Exporter/CognitiveExporterFactoryCustomTest.php +++ b/tests/Unit/Business/Cognitive/Report/CognitiveReporterFactoryCustomTest.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Phauthentic\CognitiveCodeAnalysis\Tests\Unit\Business\Cognitive\Exporter; +namespace Phauthentic\CognitiveCodeAnalysis\Tests\Unit\Business\Cognitive\Report; use InvalidArgumentException; use Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\Report\CognitiveReportFactory; @@ -17,7 +17,7 @@ * Test case for CognitiveReportFactory with custom exporters. * @SuppressWarnings(PHPMD.TooManyPublicMethods) */ -class CognitiveExporterFactoryCustomTest extends TestCase +class CognitiveReporterFactoryCustomTest extends TestCase { private CognitiveConfig $config; diff --git a/tests/Unit/Business/Cognitive/Exporter/CsvExporterTest.php b/tests/Unit/Business/Cognitive/Report/CsvReporterTest.php similarity index 98% rename from tests/Unit/Business/Cognitive/Exporter/CsvExporterTest.php rename to tests/Unit/Business/Cognitive/Report/CsvReporterTest.php index fc2cc16..9697f46 100644 --- a/tests/Unit/Business/Cognitive/Exporter/CsvExporterTest.php +++ b/tests/Unit/Business/Cognitive/Report/CsvReporterTest.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Phauthentic\CognitiveCodeAnalysis\Tests\Unit\Business\Cognitive\Exporter; +namespace Phauthentic\CognitiveCodeAnalysis\Tests\Unit\Business\Cognitive\Report; use Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\CognitiveMetrics; use Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\CognitiveMetricsCollection; @@ -14,7 +14,7 @@ /** * */ -class CsvExporterTest extends TestCase +class CsvReporterTest extends TestCase { private CsvReport $csvExporter; private string $filename; diff --git a/tests/Unit/Business/Cognitive/Exporter/HtmlExporterContent.html b/tests/Unit/Business/Cognitive/Report/HtmlReporterContent.html similarity index 100% rename from tests/Unit/Business/Cognitive/Exporter/HtmlExporterContent.html rename to tests/Unit/Business/Cognitive/Report/HtmlReporterContent.html diff --git a/tests/Unit/Business/Cognitive/Exporter/HtmlExporterTest.php b/tests/Unit/Business/Cognitive/Report/HtmlReporterTest.php similarity index 94% rename from tests/Unit/Business/Cognitive/Exporter/HtmlExporterTest.php rename to tests/Unit/Business/Cognitive/Report/HtmlReporterTest.php index d5440ad..d327570 100644 --- a/tests/Unit/Business/Cognitive/Exporter/HtmlExporterTest.php +++ b/tests/Unit/Business/Cognitive/Report/HtmlReporterTest.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Phauthentic\CognitiveCodeAnalysis\Tests\Unit\Business\Cognitive\Exporter; +namespace Phauthentic\CognitiveCodeAnalysis\Tests\Unit\Business\Cognitive\Report; use Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\CognitiveMetrics; use Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\CognitiveMetricsCollection; @@ -14,7 +14,7 @@ /** * */ -class HtmlExporterTest extends TestCase +class HtmlReporterTest extends TestCase { private HtmlReport $csvExporter; private string $filename; @@ -67,7 +67,7 @@ public function testExportCreatesFile(): void $this->csvExporter->export($metricsCollection, $this->filename); $this->assertFileEquals( - __DIR__ . '/HtmlExporterContent.html', + __DIR__ . '/HtmlReporterContent.html', $this->filename ); } diff --git a/tests/Unit/Business/Cognitive/Exporter/JsonExporterTest.php b/tests/Unit/Business/Cognitive/Report/JsonReporterTest.php similarity index 98% rename from tests/Unit/Business/Cognitive/Exporter/JsonExporterTest.php rename to tests/Unit/Business/Cognitive/Report/JsonReporterTest.php index 9b417f1..490f601 100644 --- a/tests/Unit/Business/Cognitive/Exporter/JsonExporterTest.php +++ b/tests/Unit/Business/Cognitive/Report/JsonReporterTest.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Phauthentic\CognitiveCodeAnalysis\Tests\Unit\Business\Cognitive\Exporter; +namespace Phauthentic\CognitiveCodeAnalysis\Tests\Unit\Business\Cognitive\Report; use Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\CognitiveMetrics; use Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\CognitiveMetricsCollection; @@ -13,7 +13,7 @@ /** * Test case for JsonReport class. */ -class JsonExporterTest extends TestCase +class JsonReporterTest extends TestCase { #[Test] public function testExport(): void diff --git a/tests/Unit/Business/Cognitive/Exporter/MarkdownExporterContent_AllMetrics.md b/tests/Unit/Business/Cognitive/Report/MarkdownReporterContent_AllMetrics.md similarity index 100% rename from tests/Unit/Business/Cognitive/Exporter/MarkdownExporterContent_AllMetrics.md rename to tests/Unit/Business/Cognitive/Report/MarkdownReporterContent_AllMetrics.md diff --git a/tests/Unit/Business/Cognitive/Exporter/MarkdownExporterContent_CyclomaticOnly.md b/tests/Unit/Business/Cognitive/Report/MarkdownReporterContent_CyclomaticOnly.md similarity index 100% rename from tests/Unit/Business/Cognitive/Exporter/MarkdownExporterContent_CyclomaticOnly.md rename to tests/Unit/Business/Cognitive/Report/MarkdownReporterContent_CyclomaticOnly.md diff --git a/tests/Unit/Business/Cognitive/Exporter/MarkdownExporterContent_HalsteadOnly.md b/tests/Unit/Business/Cognitive/Report/MarkdownReporterContent_HalsteadOnly.md similarity index 100% rename from tests/Unit/Business/Cognitive/Exporter/MarkdownExporterContent_HalsteadOnly.md rename to tests/Unit/Business/Cognitive/Report/MarkdownReporterContent_HalsteadOnly.md diff --git a/tests/Unit/Business/Cognitive/Exporter/MarkdownExporterContent_Minimal.md b/tests/Unit/Business/Cognitive/Report/MarkdownReporterContent_Minimal.md similarity index 100% rename from tests/Unit/Business/Cognitive/Exporter/MarkdownExporterContent_Minimal.md rename to tests/Unit/Business/Cognitive/Report/MarkdownReporterContent_Minimal.md diff --git a/tests/Unit/Business/Cognitive/Exporter/MarkdownExporterContent_NoDetailedMetrics.md b/tests/Unit/Business/Cognitive/Report/MarkdownReporterContent_NoDetailedMetrics.md similarity index 100% rename from tests/Unit/Business/Cognitive/Exporter/MarkdownExporterContent_NoDetailedMetrics.md rename to tests/Unit/Business/Cognitive/Report/MarkdownReporterContent_NoDetailedMetrics.md diff --git a/tests/Unit/Business/Cognitive/Exporter/MarkdownExporterContent_SingleTable.md b/tests/Unit/Business/Cognitive/Report/MarkdownReporterContent_SingleTable.md similarity index 100% rename from tests/Unit/Business/Cognitive/Exporter/MarkdownExporterContent_SingleTable.md rename to tests/Unit/Business/Cognitive/Report/MarkdownReporterContent_SingleTable.md diff --git a/tests/Unit/Business/Cognitive/Exporter/MarkdownExporterContent_Threshold.md b/tests/Unit/Business/Cognitive/Report/MarkdownReporterContent_Threshold.md similarity index 100% rename from tests/Unit/Business/Cognitive/Exporter/MarkdownExporterContent_Threshold.md rename to tests/Unit/Business/Cognitive/Report/MarkdownReporterContent_Threshold.md diff --git a/tests/Unit/Business/Cognitive/Exporter/MarkdownExporterTest.php b/tests/Unit/Business/Cognitive/Report/MarkdownReporterTest.php similarity index 95% rename from tests/Unit/Business/Cognitive/Exporter/MarkdownExporterTest.php rename to tests/Unit/Business/Cognitive/Report/MarkdownReporterTest.php index 2cfc971..263d49c 100644 --- a/tests/Unit/Business/Cognitive/Exporter/MarkdownExporterTest.php +++ b/tests/Unit/Business/Cognitive/Report/MarkdownReporterTest.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Phauthentic\CognitiveCodeAnalysis\Tests\Unit\Business\Cognitive\Exporter; +namespace Phauthentic\CognitiveCodeAnalysis\Tests\Unit\Business\Cognitive\Report; use Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\CognitiveMetrics; use Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\CognitiveMetricsCollection; @@ -15,7 +15,7 @@ use PHPUnit\Framework\TestCase; use Symfony\Component\Config\Definition\Processor; -class MarkdownExporterTest extends TestCase +class MarkdownReporterTest extends TestCase { private string $filename; @@ -41,13 +41,13 @@ protected function tearDown(): void public static function configurationProvider(): array { return [ - 'All metrics' => ['all-metrics-config.yml', 'MarkdownExporterContent_AllMetrics.md'], - 'Minimal' => ['minimal-config.yml', 'MarkdownExporterContent_Minimal.md'], - 'Single table' => ['single-table-config.yml', 'MarkdownExporterContent_SingleTable.md'], - 'Halstead only' => ['halstead-only-config.yml', 'MarkdownExporterContent_HalsteadOnly.md'], - 'Cyclomatic only' => ['cyclomatic-only-config.yml', 'MarkdownExporterContent_CyclomaticOnly.md'], - 'No detailed metrics' => ['no-detailed-metrics-config.yml', 'MarkdownExporterContent_NoDetailedMetrics.md'], - 'Threshold' => ['threshold-config.yml', 'MarkdownExporterContent_Threshold.md'], + 'All metrics' => ['all-metrics-config.yml', 'MarkdownReporterContent_AllMetrics.md'], + 'Minimal' => ['minimal-config.yml', 'MarkdownReporterContent_Minimal.md'], + 'Single table' => ['single-table-config.yml', 'MarkdownReporterContent_SingleTable.md'], + 'Halstead only' => ['halstead-only-config.yml', 'MarkdownReporterContent_HalsteadOnly.md'], + 'Cyclomatic only' => ['cyclomatic-only-config.yml', 'MarkdownReporterContent_CyclomaticOnly.md'], + 'No detailed metrics' => ['no-detailed-metrics-config.yml', 'MarkdownReporterContent_NoDetailedMetrics.md'], + 'Threshold' => ['threshold-config.yml', 'MarkdownReporterContent_Threshold.md'], ]; } From be5c947d3dc58821538e990ad2c94b4c174346f5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20Kr=C3=A4mer?= Date: Sun, 12 Oct 2025 19:53:08 +0200 Subject: [PATCH 13/21] Merged master --- .../Churn/Report/ReportGeneratorInterface.php | 3 --- src/Business/Cognitive/Report/CsvReport.php | 3 --- src/Business/Cognitive/Report/JsonReport.php | 3 --- .../Report/ReportGeneratorInterface.php | 3 --- src/Command/CognitiveMetricsCommand.php | 22 ++++++++++++------- ...ognitiveMetricsValidationSpecification.php | 5 +++-- .../SortFieldValidSpecification.php | 2 -- src/Config/ConfigLoader.php | 1 - .../ChurnSpecificationPatternTest.php | 1 - ...gnitiveMetricsSpecificationPatternTest.php | 1 - .../ConfigAwareChurnTextReporter.php | 6 +++-- .../ConfigAwareTextReporter.php | 6 +++-- .../CustomChurnTextReporter.php | 6 +++-- .../Churn/Report/AbstractReporterTestCase.php | 3 --- .../Report/ChurnReporterFactoryCustomTest.php | 1 - .../Business/Churn/Report/CsvExportTest.php | 3 --- .../Churn/Report/HtmlReporterTest.php | 3 --- .../Churn/Report/JsonReporterTest.php | 3 --- .../Churn/Report/MarkdownReporterTest.php | 3 --- .../Churn/Report/SvgTreemapReporterTest.php | 3 --- .../Cognitive/Report/CsvReporterTest.php | 3 --- .../Cognitive/Report/HtmlReporterTest.php | 3 --- .../Unit/Config/CustomExportersConfigTest.php | 12 +++++----- 23 files changed, 36 insertions(+), 63 deletions(-) diff --git a/src/Business/Churn/Report/ReportGeneratorInterface.php b/src/Business/Churn/Report/ReportGeneratorInterface.php index ca48e7b..54e20a3 100644 --- a/src/Business/Churn/Report/ReportGeneratorInterface.php +++ b/src/Business/Churn/Report/ReportGeneratorInterface.php @@ -4,9 +4,6 @@ namespace Phauthentic\CognitiveCodeAnalysis\Business\Churn\Report; -/** - * - */ interface ReportGeneratorInterface { /** diff --git a/src/Business/Cognitive/Report/CsvReport.php b/src/Business/Cognitive/Report/CsvReport.php index 8e85498..64dc0ac 100644 --- a/src/Business/Cognitive/Report/CsvReport.php +++ b/src/Business/Cognitive/Report/CsvReport.php @@ -7,9 +7,6 @@ use Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\CognitiveMetricsCollection; use Phauthentic\CognitiveCodeAnalysis\CognitiveAnalysisException; -/** - * - */ class CsvReport implements ReportGeneratorInterface { /** diff --git a/src/Business/Cognitive/Report/JsonReport.php b/src/Business/Cognitive/Report/JsonReport.php index f9dee4d..231a369 100644 --- a/src/Business/Cognitive/Report/JsonReport.php +++ b/src/Business/Cognitive/Report/JsonReport.php @@ -7,9 +7,6 @@ use Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\CognitiveMetricsCollection; use Phauthentic\CognitiveCodeAnalysis\CognitiveAnalysisException; -/** - * - */ class JsonReport implements ReportGeneratorInterface { /** diff --git a/src/Business/Cognitive/Report/ReportGeneratorInterface.php b/src/Business/Cognitive/Report/ReportGeneratorInterface.php index 139c3d4..22e7391 100644 --- a/src/Business/Cognitive/Report/ReportGeneratorInterface.php +++ b/src/Business/Cognitive/Report/ReportGeneratorInterface.php @@ -6,9 +6,6 @@ use Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\CognitiveMetricsCollection; -/** - * - */ interface ReportGeneratorInterface { public function export(CognitiveMetricsCollection $metrics, string $filename): void; diff --git a/src/Command/CognitiveMetricsCommand.php b/src/Command/CognitiveMetricsCommand.php index 1af4697..fe83426 100644 --- a/src/Command/CognitiveMetricsCommand.php +++ b/src/Command/CognitiveMetricsCommand.php @@ -185,15 +185,21 @@ protected function execute(InputInterface $input, OutputInterface $output): int * @param CognitiveMetricsCollection $metricsCollection * @throws Exception */ - private function handleBaseLine(CognitiveMetricsCommandContext $context, CognitiveMetricsCollection $metricsCollection): void - { - if ($context->hasBaselineFile()) { - $baselineFile = $context->getBaselineFile(); - if ($baselineFile !== null) { - $baseline = $this->baselineService->loadBaseline($baselineFile); - $this->baselineService->calculateDeltas($metricsCollection, $baseline); - } + private function handleBaseLine( + CognitiveMetricsCommandContext $context, + CognitiveMetricsCollection $metricsCollection + ): void { + if (!$context->hasBaselineFile()) { + return; } + + $baselineFile = $context->getBaselineFile(); + if ($baselineFile === null) { + return; + } + + $baseline = $this->baselineService->loadBaseline($baselineFile); + $this->baselineService->calculateDeltas($metricsCollection, $baseline); } /** diff --git a/src/Command/CognitiveMetricsSpecifications/CompositeCognitiveMetricsValidationSpecification.php b/src/Command/CognitiveMetricsSpecifications/CompositeCognitiveMetricsValidationSpecification.php index 670d376..c3aba4d 100644 --- a/src/Command/CognitiveMetricsSpecifications/CompositeCognitiveMetricsValidationSpecification.php +++ b/src/Command/CognitiveMetricsSpecifications/CompositeCognitiveMetricsValidationSpecification.php @@ -32,8 +32,9 @@ public function getErrorMessage(): string return 'Validation failed'; } - public function getFirstFailedSpecification(CognitiveMetricsCommandContext $context): ?CognitiveMetricsCommandValidationSpecification - { + public function getFirstFailedSpecification( + CognitiveMetricsCommandContext $context + ): ?CognitiveMetricsCommandValidationSpecification { foreach ($this->specifications as $specification) { if (!$specification->isSatisfiedBy($context)) { return $specification; diff --git a/src/Command/CognitiveMetricsSpecifications/SortFieldValidSpecification.php b/src/Command/CognitiveMetricsSpecifications/SortFieldValidSpecification.php index a0fbd6c..00f3f3d 100644 --- a/src/Command/CognitiveMetricsSpecifications/SortFieldValidSpecification.php +++ b/src/Command/CognitiveMetricsSpecifications/SortFieldValidSpecification.php @@ -4,8 +4,6 @@ namespace Phauthentic\CognitiveCodeAnalysis\Command\CognitiveMetricsSpecifications; -use Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\CognitiveMetricsSorter; - class SortFieldValidSpecification implements CognitiveMetricsCommandValidationSpecification { private const SORTABLE_FIELDS = [ diff --git a/src/Config/ConfigLoader.php b/src/Config/ConfigLoader.php index 1ff65fb..39fae95 100644 --- a/src/Config/ConfigLoader.php +++ b/src/Config/ConfigLoader.php @@ -5,7 +5,6 @@ namespace Phauthentic\CognitiveCodeAnalysis\Config; use Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\MetricNames; -use PhpBench\Benchmark\Metadata\Annotations\Subject; use Symfony\Component\Config\Definition\Builder\TreeBuilder; use Symfony\Component\Config\Definition\ConfigurationInterface; diff --git a/tests/Command/ChurnSpecifications/ChurnSpecificationPatternTest.php b/tests/Command/ChurnSpecifications/ChurnSpecificationPatternTest.php index d8d22f7..221b396 100644 --- a/tests/Command/ChurnSpecifications/ChurnSpecificationPatternTest.php +++ b/tests/Command/ChurnSpecifications/ChurnSpecificationPatternTest.php @@ -4,7 +4,6 @@ namespace Phauthentic\CognitiveCodeAnalysis\Tests\Command\ChurnSpecifications; -use Phauthentic\CognitiveCodeAnalysis\Command\ChurnCommand; use Phauthentic\CognitiveCodeAnalysis\Command\ChurnSpecifications\ChurnCommandContext; use Phauthentic\CognitiveCodeAnalysis\Command\ChurnSpecifications\CoverageFormatExclusivitySpecification; use Phauthentic\CognitiveCodeAnalysis\Command\ChurnSpecifications\CoverageFileExistsSpecification; diff --git a/tests/Command/CognitiveMetricsSpecifications/CognitiveMetricsSpecificationPatternTest.php b/tests/Command/CognitiveMetricsSpecifications/CognitiveMetricsSpecificationPatternTest.php index c221877..ba6597d 100644 --- a/tests/Command/CognitiveMetricsSpecifications/CognitiveMetricsSpecificationPatternTest.php +++ b/tests/Command/CognitiveMetricsSpecifications/CognitiveMetricsSpecificationPatternTest.php @@ -4,7 +4,6 @@ namespace Phauthentic\CognitiveCodeAnalysis\Tests\Command\CognitiveMetricsSpecifications; -use Phauthentic\CognitiveCodeAnalysis\Command\CognitiveMetricsCommand; use Phauthentic\CognitiveCodeAnalysis\Command\CognitiveMetricsSpecifications\CognitiveMetricsCommandContext; use Phauthentic\CognitiveCodeAnalysis\Command\CognitiveMetricsSpecifications\CoverageFormatExclusivitySpecification; use Phauthentic\CognitiveCodeAnalysis\Command\CognitiveMetricsSpecifications\CoverageFileExistsSpecification; diff --git a/tests/Fixtures/CustomReporters/ConfigAwareChurnTextReporter.php b/tests/Fixtures/CustomReporters/ConfigAwareChurnTextReporter.php index 99a9126..4e32552 100644 --- a/tests/Fixtures/CustomReporters/ConfigAwareChurnTextReporter.php +++ b/tests/Fixtures/CustomReporters/ConfigAwareChurnTextReporter.php @@ -44,9 +44,11 @@ private function generateReport(array $classes): string $totalMethods = 0; foreach ($classes as $classData) { - if (isset($classData['methods'])) { - $totalMethods += count($classData['methods']); + if (!isset($classData['methods'])) { + continue; } + + $totalMethods += count($classData['methods']); } $output .= "Total Methods: " . $totalMethods . "\n\n"; diff --git a/tests/Fixtures/CustomReporters/ConfigAwareTextReporter.php b/tests/Fixtures/CustomReporters/ConfigAwareTextReporter.php index f3ca01d..555655f 100644 --- a/tests/Fixtures/CustomReporters/ConfigAwareTextReporter.php +++ b/tests/Fixtures/CustomReporters/ConfigAwareTextReporter.php @@ -74,9 +74,11 @@ private function generateTextContent(CognitiveMetricsCollection $metrics): strin $totalMethods++; $totalScore += $metric->getScore(); - if ($isAboveThreshold) { - $methodsAboveThreshold++; + if (!$isAboveThreshold) { + continue; } + + $methodsAboveThreshold++; } $content .= "\n===============================================\n"; diff --git a/tests/Fixtures/CustomReporters/CustomChurnTextReporter.php b/tests/Fixtures/CustomReporters/CustomChurnTextReporter.php index 804cd32..87be192 100644 --- a/tests/Fixtures/CustomReporters/CustomChurnTextReporter.php +++ b/tests/Fixtures/CustomReporters/CustomChurnTextReporter.php @@ -33,9 +33,11 @@ private function generateReport(array $classes): string $totalMethods = 0; foreach ($classes as $classData) { - if (isset($classData['methods'])) { - $totalMethods += count($classData['methods']); + if (!isset($classData['methods'])) { + continue; } + + $totalMethods += count($classData['methods']); } $output .= "Total Methods: " . $totalMethods . "\n\n"; diff --git a/tests/Unit/Business/Churn/Report/AbstractReporterTestCase.php b/tests/Unit/Business/Churn/Report/AbstractReporterTestCase.php index fc30e3c..9675d22 100644 --- a/tests/Unit/Business/Churn/Report/AbstractReporterTestCase.php +++ b/tests/Unit/Business/Churn/Report/AbstractReporterTestCase.php @@ -7,9 +7,6 @@ use Phauthentic\CognitiveCodeAnalysis\Business\Utility\Datetime; use PHPUnit\Framework\TestCase; -/** - * - */ class AbstractReporterTestCase extends TestCase { protected string $filename; diff --git a/tests/Unit/Business/Churn/Report/ChurnReporterFactoryCustomTest.php b/tests/Unit/Business/Churn/Report/ChurnReporterFactoryCustomTest.php index 08e404c..4b550b5 100644 --- a/tests/Unit/Business/Churn/Report/ChurnReporterFactoryCustomTest.php +++ b/tests/Unit/Business/Churn/Report/ChurnReporterFactoryCustomTest.php @@ -10,7 +10,6 @@ use Phauthentic\CognitiveCodeAnalysis\CognitiveAnalysisException; use Phauthentic\CognitiveCodeAnalysis\Config\ConfigService; use PHPUnit\Framework\Attributes\Test; -use PHPUnit\Framework\MockObject\Exception; use PHPUnit\Framework\TestCase; use PHPUnit\Framework\MockObject\MockObject; use Phauthentic\CognitiveCodeAnalysis\Tests\Unit\Business\Churn\Report\TestCognitiveConfig; diff --git a/tests/Unit/Business/Churn/Report/CsvExportTest.php b/tests/Unit/Business/Churn/Report/CsvExportTest.php index cf0474a..b245790 100644 --- a/tests/Unit/Business/Churn/Report/CsvExportTest.php +++ b/tests/Unit/Business/Churn/Report/CsvExportTest.php @@ -8,9 +8,6 @@ use Phauthentic\CognitiveCodeAnalysis\CognitiveAnalysisException; use PHPUnit\Framework\Attributes\Test; -/** - * - */ class CsvExportTest extends AbstractReporterTestCase { protected function setUp(): void diff --git a/tests/Unit/Business/Churn/Report/HtmlReporterTest.php b/tests/Unit/Business/Churn/Report/HtmlReporterTest.php index 2c33ccd..2476cf8 100644 --- a/tests/Unit/Business/Churn/Report/HtmlReporterTest.php +++ b/tests/Unit/Business/Churn/Report/HtmlReporterTest.php @@ -7,9 +7,6 @@ use Phauthentic\CognitiveCodeAnalysis\Business\Churn\Report\CsvReport; use PHPUnit\Framework\Attributes\Test; -/** - * - */ class HtmlReporterTest extends AbstractReporterTestCase { protected function setUp(): void diff --git a/tests/Unit/Business/Churn/Report/JsonReporterTest.php b/tests/Unit/Business/Churn/Report/JsonReporterTest.php index 40c331d..bbd98e3 100644 --- a/tests/Unit/Business/Churn/Report/JsonReporterTest.php +++ b/tests/Unit/Business/Churn/Report/JsonReporterTest.php @@ -7,9 +7,6 @@ use Phauthentic\CognitiveCodeAnalysis\Business\Churn\Report\JsonReport; use PHPUnit\Framework\Attributes\Test; -/** - * - */ class JsonReporterTest extends AbstractReporterTestCase { protected function setUp(): void diff --git a/tests/Unit/Business/Churn/Report/MarkdownReporterTest.php b/tests/Unit/Business/Churn/Report/MarkdownReporterTest.php index 5b54afa..f97318b 100644 --- a/tests/Unit/Business/Churn/Report/MarkdownReporterTest.php +++ b/tests/Unit/Business/Churn/Report/MarkdownReporterTest.php @@ -7,9 +7,6 @@ use Phauthentic\CognitiveCodeAnalysis\Business\Churn\Report\MarkdownReport; use PHPUnit\Framework\Attributes\Test; -/** - * - */ class MarkdownReporterTest extends AbstractReporterTestCase { protected function setUp(): void diff --git a/tests/Unit/Business/Churn/Report/SvgTreemapReporterTest.php b/tests/Unit/Business/Churn/Report/SvgTreemapReporterTest.php index f2cfadd..1c50ab0 100644 --- a/tests/Unit/Business/Churn/Report/SvgTreemapReporterTest.php +++ b/tests/Unit/Business/Churn/Report/SvgTreemapReporterTest.php @@ -7,9 +7,6 @@ use Phauthentic\CognitiveCodeAnalysis\Business\Churn\Report\SvgTreemapReport; use PHPUnit\Framework\Attributes\Test; -/** - * - */ class SvgTreemapReporterTest extends AbstractReporterTestCase { protected function setUp(): void diff --git a/tests/Unit/Business/Cognitive/Report/CsvReporterTest.php b/tests/Unit/Business/Cognitive/Report/CsvReporterTest.php index 703499d..ac0bad2 100644 --- a/tests/Unit/Business/Cognitive/Report/CsvReporterTest.php +++ b/tests/Unit/Business/Cognitive/Report/CsvReporterTest.php @@ -11,9 +11,6 @@ use PHPUnit\Framework\Attributes\Test; use PHPUnit\Framework\TestCase; -/** - * - */ class CsvReporterTest extends TestCase { private CsvReport $csvExporter; diff --git a/tests/Unit/Business/Cognitive/Report/HtmlReporterTest.php b/tests/Unit/Business/Cognitive/Report/HtmlReporterTest.php index d327570..254ad35 100644 --- a/tests/Unit/Business/Cognitive/Report/HtmlReporterTest.php +++ b/tests/Unit/Business/Cognitive/Report/HtmlReporterTest.php @@ -11,9 +11,6 @@ use PHPUnit\Framework\Attributes\Test; use PHPUnit\Framework\TestCase; -/** - * - */ class HtmlReporterTest extends TestCase { private HtmlReport $csvExporter; diff --git a/tests/Unit/Config/CustomExportersConfigTest.php b/tests/Unit/Config/CustomExportersConfigTest.php index 7b83cf6..c7a4f95 100644 --- a/tests/Unit/Config/CustomExportersConfigTest.php +++ b/tests/Unit/Config/CustomExportersConfigTest.php @@ -165,12 +165,14 @@ public function testEmptyCustomExporters(): void $this->assertArrayHasKey('cognitive', $processedConfig); // customExporters might not be present if not provided - if (isset($processedConfig['cognitive']['customExporters'])) { - $this->assertArrayHasKey('cognitive', $processedConfig['cognitive']['customExporters']); - $this->assertArrayHasKey('churn', $processedConfig['cognitive']['customExporters']); - $this->assertEmpty($processedConfig['cognitive']['customExporters']['cognitive']); - $this->assertEmpty($processedConfig['cognitive']['customExporters']['churn']); + if (!isset($processedConfig['cognitive']['customExporters'])) { + return; } + + $this->assertArrayHasKey('cognitive', $processedConfig['cognitive']['customExporters']); + $this->assertArrayHasKey('churn', $processedConfig['cognitive']['customExporters']); + $this->assertEmpty($processedConfig['cognitive']['customExporters']['cognitive']); + $this->assertEmpty($processedConfig['cognitive']['customExporters']['churn']); } #[Test] From 35458cd7e78972c54b3541815df9dcedb42ffbd2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20Kr=C3=A4mer?= Date: Mon, 13 Oct 2025 20:42:44 +0200 Subject: [PATCH 14/21] Refactoring Churn Reports --- config.yml | 9 +- src/Business/Churn/ChurnCalculator.php | 92 +++---- src/Business/Churn/ChurnMetrics.php | 184 ++++++++++++++ src/Business/Churn/ChurnMetricsCollection.php | 230 ++++++++++++++++++ src/Business/Churn/Report/CsvReport.php | 17 +- src/Business/Churn/Report/HtmlReport.php | 21 +- src/Business/Churn/Report/JsonReport.php | 6 +- src/Business/Churn/Report/MarkdownReport.php | 55 +++-- .../Churn/Report/ReportGeneratorInterface.php | 7 +- .../Churn/Report/SvgTreemapReport.php | 11 +- src/Business/MetricsFacade.php | 17 +- src/Command/ChurnCommand.php | 6 +- src/Command/Handler/ChurnReportHandler.php | 7 +- .../Presentation/ChurnTextRenderer.php | 40 +-- .../ConfigAwareChurnTextReporter.php | 49 ++-- .../CustomChurnTextReporter.php | 48 ++-- .../Business/Churn/ChurnCalculatorTest.php | 104 ++++---- .../Churn/Report/AbstractReporterTestCase.php | 118 +++++---- .../Report/ChurnReporterFactoryCustomTest.php | 6 +- .../Business/Churn/Report/CsvExportTest.php | 4 +- .../Churn/Report/JsonReporterContent.json | 27 +- 21 files changed, 755 insertions(+), 303 deletions(-) create mode 100644 src/Business/Churn/ChurnMetrics.php create mode 100644 src/Business/Churn/ChurnMetricsCollection.php diff --git a/config.yml b/config.yml index 7859b57..356ce0d 100644 --- a/config.yml +++ b/config.yml @@ -46,7 +46,8 @@ cognitive: # pdf: # class: 'My\Custom\PdfExporter' # file: '/path/to/PdfExporter.php' - # churn: - # xml: - # class: 'My\Custom\XmlChurnExporter' - # file: null + customExporters: + cognitive: + test: + class: '\CustomCognitiveExporter' + file: 'Test.php' diff --git a/src/Business/Churn/ChurnCalculator.php b/src/Business/Churn/ChurnCalculator.php index 52aa38b..f022c3e 100644 --- a/src/Business/Churn/ChurnCalculator.php +++ b/src/Business/Churn/ChurnCalculator.php @@ -14,42 +14,33 @@ class ChurnCalculator * * @param CognitiveMetricsCollection $metricsCollection * @param CoverageReportReaderInterface|null $coverageReader - * @return array> + * @return ChurnMetricsCollection */ public function calculate( CognitiveMetricsCollection $metricsCollection, ?CoverageReportReaderInterface $coverageReader = null - ): array { - $classes = []; - $classes = $this->groupByClasses($metricsCollection, $classes); - $classes = $this->calculateChurn($classes, $coverageReader); + ): ChurnMetricsCollection { + $collection = $this->groupByClasses($metricsCollection); + $collection = $this->calculateChurn($collection, $coverageReader); - return $this->sortClassesByChurnDescending($classes); + return $collection->sortByChurnDescending(); } - /** - * @param array> $classes - * @return array> - */ - public function sortClassesByChurnDescending(array $classes): array + public function sortClassesByChurnDescending(ChurnMetricsCollection $collection): ChurnMetricsCollection { - uasort($classes, function ($classA, $classB) { - return $classB['churn'] <=> $classA['churn']; - }); - - return $classes; + return $collection->sortByChurnDescending(); } - /** - * @param array> $classes - * @param CoverageReportReaderInterface|null $coverageReader - * @return array> - */ - public function calculateChurn(array $classes, ?CoverageReportReaderInterface $coverageReader = null): array - { - foreach ($classes as $className => $data) { + public function calculateChurn( + ChurnMetricsCollection $collection, + ?CoverageReportReaderInterface $coverageReader = null + ): ChurnMetricsCollection { + $newCollection = new ChurnMetricsCollection(); + + foreach ($collection as $metric) { // Calculate standard churn - $classes[$className]['churn'] = $data['timesChanged'] * $data['score']; + $churn = $metric->getTimesChanged() * $metric->getScore(); + $metric->setChurn($churn); // Add coverage information if available $coverage = null; @@ -57,43 +48,56 @@ public function calculateChurn(array $classes, ?CoverageReportReaderInterface $c $riskLevel = null; if ($coverageReader !== null) { - $coverage = $this->getCoverageForClass($className, $coverageReader); - $riskChurn = $data['timesChanged'] * $data['score'] * (1 - $coverage); - $riskLevel = $this->calculateRiskLevel($classes[$className]['churn'], $coverage); + $coverage = $this->getCoverageForClass($metric->getClassName(), $coverageReader); + $riskChurn = $metric->getTimesChanged() * $metric->getScore() * (1 - $coverage); + $riskLevel = $this->calculateRiskLevel($metric->getChurn(), $coverage); } - $classes[$className]['coverage'] = $coverage; - $classes[$className]['riskChurn'] = $riskChurn; - $classes[$className]['riskLevel'] = $riskLevel; + $metric->setCoverage($coverage); + $metric->setRiskChurn($riskChurn); + $metric->setRiskLevel($riskLevel); + + $newCollection->add($metric); } - return $classes; + return $newCollection; } - /** - * @param CognitiveMetricsCollection $metricsCollection - * @param array> $classes - * @return array> - */ - public function groupByClasses(CognitiveMetricsCollection $metricsCollection, array $classes): array + public function groupByClasses(CognitiveMetricsCollection $metricsCollection): ChurnMetricsCollection { + $collection = new ChurnMetricsCollection(); + $classData = []; + foreach ($metricsCollection as $metric) { if (empty($metric->getClass())) { continue; } - if (!isset($classes[$metric->getClass()])) { - $classes[$metric->getClass()] = [ + $className = $metric->getClass(); + if (!isset($classData[$className])) { + $classData[$className] = [ 'timesChanged' => 0, 'score' => 0, - 'file' => $metric->getFilename(), + 'file' => $metric->getFileName(), ]; } - $classes[$metric->getClass()]['timesChanged'] = $metric->getTimesChanged(); - $classes[$metric->getClass()]['score'] += $metric->getScore(); + $classData[$className]['timesChanged'] = $metric->getTimesChanged(); + $classData[$className]['score'] += $metric->getScore(); + } + + foreach ($classData as $className => $data) { + $churnMetric = new ChurnMetrics( + className: $className, + file: $data['file'], + score: $data['score'], + timesChanged: $data['timesChanged'], + churn: 0.0 // Will be calculated later + ); + $collection->add($churnMetric); } - return $classes; + + return $collection; } /** diff --git a/src/Business/Churn/ChurnMetrics.php b/src/Business/Churn/ChurnMetrics.php new file mode 100644 index 0000000..032de84 --- /dev/null +++ b/src/Business/Churn/ChurnMetrics.php @@ -0,0 +1,184 @@ +className = $className; + $this->file = $file; + $this->score = $score; + $this->timesChanged = $timesChanged; + $this->churn = $churn; + $this->coverage = $coverage; + $this->riskChurn = $riskChurn; + $this->riskLevel = $riskLevel; + } + + /** + * Create ChurnMetrics from array data (for backward compatibility). + * + * @param string $className + * @param array $data + * @return self + */ + public static function fromArray(string $className, array $data): self + { + return new self( + className: $className, + file: $data['file'] ?? '', + score: (float)($data['score'] ?? 0), + timesChanged: (int)($data['timesChanged'] ?? 0), + churn: (float)($data['churn'] ?? 0), + coverage: isset($data['coverage']) ? (float)$data['coverage'] : null, + riskChurn: isset($data['riskChurn']) ? (float)$data['riskChurn'] : null, + riskLevel: $data['riskLevel'] ?? null + ); + } + + /** + * Convert to array format (for backward compatibility). + * + * @return array + */ + public function toArray(): array + { + return [ + 'file' => $this->file, + 'score' => $this->score, + 'timesChanged' => $this->timesChanged, + 'churn' => $this->churn, + 'coverage' => $this->coverage, + 'riskChurn' => $this->riskChurn, + 'riskLevel' => $this->riskLevel, + ]; + } + + /** + * @return array + */ + public function jsonSerialize(): array + { + return [ + 'className' => $this->className, + 'file' => $this->file, + 'score' => $this->score, + 'timesChanged' => $this->timesChanged, + 'churn' => $this->churn, + 'coverage' => $this->coverage, + 'riskChurn' => $this->riskChurn, + 'riskLevel' => $this->riskLevel, + ]; + } + + public function getClassName(): string + { + return $this->className; + } + + public function getFile(): string + { + return $this->file; + } + + public function getScore(): float + { + return $this->score; + } + + public function setScore(float $score): void + { + $this->score = $score; + } + + public function getTimesChanged(): int + { + return $this->timesChanged; + } + + public function setTimesChanged(int $timesChanged): void + { + $this->timesChanged = $timesChanged; + } + + public function getChurn(): float + { + return $this->churn; + } + + public function setChurn(float $churn): void + { + $this->churn = $churn; + } + + public function getCoverage(): ?float + { + return $this->coverage; + } + + public function setCoverage(?float $coverage): void + { + $this->coverage = $coverage; + } + + public function getRiskChurn(): ?float + { + return $this->riskChurn; + } + + public function setRiskChurn(?float $riskChurn): void + { + $this->riskChurn = $riskChurn; + } + + public function getRiskLevel(): ?string + { + return $this->riskLevel; + } + + public function setRiskLevel(?string $riskLevel): void + { + $this->riskLevel = $riskLevel; + } + + /** + * Check if this metric has coverage data. + */ + public function hasCoverageData(): bool + { + return $this->coverage !== null; + } + + /** + * Check if this metric has risk data. + */ + public function hasRiskData(): bool + { + return $this->riskChurn !== null && $this->riskLevel !== null; + } +} diff --git a/src/Business/Churn/ChurnMetricsCollection.php b/src/Business/Churn/ChurnMetricsCollection.php new file mode 100644 index 0000000..67292b3 --- /dev/null +++ b/src/Business/Churn/ChurnMetricsCollection.php @@ -0,0 +1,230 @@ + + * @SuppressWarnings("PHPMD.TooManyPublicMethods") + */ +class ChurnMetricsCollection implements IteratorAggregate, Countable, JsonSerializable +{ + /** + * @var ChurnMetrics[] + */ + private array $metrics = []; + + /** + * Add a ChurnMetrics object to the collection. + */ + public function add(ChurnMetrics $metric): void + { + $this->metrics[$metric->getClassName()] = $metric; + } + + /** + * Filter the collection using a callback function. + * + * @return self A new collection with filtered results + */ + public function filter(Closure $callback): self + { + $filtered = array_filter($this->metrics, $callback); + + $newCollection = new self(); + foreach ($filtered as $metric) { + $newCollection->add($metric); + } + + return $newCollection; + } + + /** + * Get an iterator for the collection. + * + * @return Traversable + */ + #[\ReturnTypeWillChange] + public function getIterator(): Traversable + { + return new ArrayIterator($this->metrics); + } + + /** + * Get the count of metrics in the collection. + */ + public function count(): int + { + return count($this->metrics); + } + + /** + * Check if the collection contains a metric for the given class name. + */ + public function contains(string $className): bool + { + return isset($this->metrics[$className]); + } + + /** + * Get a metric by class name. + */ + public function getByClassName(string $className): ?ChurnMetrics + { + return $this->metrics[$className] ?? null; + } + + /** + * Filter metrics with churn greater than the specified value. + */ + public function filterWithChurnGreaterThan(float $churn): self + { + return $this->filter(function (ChurnMetrics $metric) use ($churn) { + return $metric->getChurn() > $churn; + }); + } + + /** + * Filter metrics with score greater than the specified value. + */ + public function filterWithScoreGreaterThan(float $score): self + { + return $this->filter(function (ChurnMetrics $metric) use ($score) { + return $metric->getScore() > $score; + }); + } + + /** + * Filter metrics that have coverage data. + */ + public function filterWithCoverage(): self + { + return $this->filter(function (ChurnMetrics $metric) { + return $metric->hasCoverageData(); + }); + } + + /** + * Filter metrics that have risk data. + */ + public function filterWithRiskData(): self + { + return $this->filter(function (ChurnMetrics $metric) { + return $metric->hasRiskData(); + }); + } + + /** + * Sort the collection by churn in descending order. + * + * @SuppressWarnings("PHPMD.ShortVariable") + */ + public function sortByChurnDescending(): self + { + $sorted = $this->metrics; + uasort($sorted, function (ChurnMetrics $a, ChurnMetrics $b) { + return $b->getChurn() <=> $a->getChurn(); + }); + + $newCollection = new self(); + foreach ($sorted as $metric) { + $newCollection->add($metric); + } + + return $newCollection; + } + + /** + * Sort the collection by score in descending order. + * + * @SuppressWarnings("PHPMD.ShortVariable") + */ + public function sortByScoreDescending(): self + { + $sorted = $this->metrics; + uasort($sorted, function (ChurnMetrics $a, ChurnMetrics $b) { + return $b->getScore() <=> $a->getScore(); + }); + + $newCollection = new self(); + foreach ($sorted as $metric) { + $newCollection->add($metric); + } + + return $newCollection; + } + + /** + * Convert to array format (for backward compatibility). + * + * @return array> + */ + public function toArray(): array + { + $result = []; + foreach ($this->metrics as $className => $metric) { + $result[$className] = $metric->toArray(); + } + return $result; + } + + /** + * Create collection from array format (for backward compatibility). + * + * @SuppressWarnings("PHPMD.StaticAccess") + * @param array> $data + * @return self + */ + public static function fromArray(array $data): self + { + $collection = new self(); + foreach ($data as $className => $metricData) { + $collection->add(ChurnMetrics::fromArray($className, $metricData)); + } + return $collection; + } + + /** + * @return array + */ + public function jsonSerialize(): array + { + return array_values($this->metrics); + } + + /** + * Get all class names in the collection. + * + * @return array + */ + public function getClassNames(): array + { + return array_keys($this->metrics); + } + + /** + * Check if the collection is empty. + */ + public function isEmpty(): bool + { + return empty($this->metrics); + } + + /** + * Clear all metrics from the collection. + */ + public function clear(): void + { + $this->metrics = []; + } +} diff --git a/src/Business/Churn/Report/CsvReport.php b/src/Business/Churn/Report/CsvReport.php index 47da5c9..60cfed3 100644 --- a/src/Business/Churn/Report/CsvReport.php +++ b/src/Business/Churn/Report/CsvReport.php @@ -4,6 +4,8 @@ namespace Phauthentic\CognitiveCodeAnalysis\Business\Churn\Report; +use Phauthentic\CognitiveCodeAnalysis\Business\Churn\ChurnMetricsCollection; + /** * CsvReport for Churn metrics. */ @@ -21,11 +23,10 @@ class CsvReport extends AbstractReport ]; /** - * @param array> $classes * @param string $filename * @throws \Phauthentic\CognitiveCodeAnalysis\CognitiveAnalysisException */ - public function export(array $classes, string $filename): void + public function export(ChurnMetricsCollection $metrics, string $filename): void { $this->assertFileIsWritable($filename); @@ -34,14 +35,14 @@ public function export(array $classes, string $filename): void /* @phpstan-ignore argument.type */ fputcsv($file, $this->header, ',', '"', '\\'); - foreach ($classes as $class => $data) { + foreach ($metrics as $metric) { /* @phpstan-ignore argument.type */ fputcsv($file, [ - $class, - $data['file'] ?? '', - $data['score'] ?? 0, - $data['churn'] ?? 0, - $data['timesChanged'] ?? 0, + $metric->getClassName(), + $metric->getFile(), + $metric->getScore(), + $metric->getChurn(), + $metric->getTimesChanged(), ], ',', '"', '\\'); } diff --git a/src/Business/Churn/Report/HtmlReport.php b/src/Business/Churn/Report/HtmlReport.php index 38e680e..a0fbb17 100644 --- a/src/Business/Churn/Report/HtmlReport.php +++ b/src/Business/Churn/Report/HtmlReport.php @@ -4,6 +4,7 @@ namespace Phauthentic\CognitiveCodeAnalysis\Business\Churn\Report; +use Phauthentic\CognitiveCodeAnalysis\Business\Churn\ChurnMetricsCollection; use Phauthentic\CognitiveCodeAnalysis\CognitiveAnalysisException; /** @@ -21,15 +22,14 @@ class HtmlReport extends AbstractReport ]; /** - * @param array> $classes * @param string $filename * @throws CognitiveAnalysisException */ - public function export(array $classes, string $filename): void + public function export(ChurnMetricsCollection $metrics, string $filename): void { $this->assertFileIsWritable($filename); - $html = $this->generateHtml($classes); + $html = $this->generateHtml($metrics); $this->writeFile($filename, $html); } @@ -45,11 +45,10 @@ private function formatNumber(float $number): string } /** - * @param array> $classes * @return string * @throws CognitiveAnalysisException */ - private function generateHtml(array $classes): string + private function generateHtml(ChurnMetricsCollection $metrics): string { ob_start(); ?> @@ -65,7 +64,7 @@ private function generateHtml(array $classes): string

Churn Metrics Report -

- This report contains the churn metrics for files. + This report contains the churn metrics for files.

@@ -77,12 +76,12 @@ private function generateHtml(array $classes): string - $data) : ?> + - - - - + + + + diff --git a/src/Business/Churn/Report/JsonReport.php b/src/Business/Churn/Report/JsonReport.php index 5793f6a..a324a3d 100644 --- a/src/Business/Churn/Report/JsonReport.php +++ b/src/Business/Churn/Report/JsonReport.php @@ -4,21 +4,21 @@ namespace Phauthentic\CognitiveCodeAnalysis\Business\Churn\Report; +use Phauthentic\CognitiveCodeAnalysis\Business\Churn\ChurnMetricsCollection; use Phauthentic\CognitiveCodeAnalysis\Business\Utility\Datetime; class JsonReport extends AbstractReport { /** - * @param array> $classes * @throws \JsonException|\Phauthentic\CognitiveCodeAnalysis\CognitiveAnalysisException */ - public function export(array $classes, string $filename): void + public function export(ChurnMetricsCollection $metrics, string $filename): void { $this->assertFileIsWritable($filename); $data = [ 'createdAt' => (new DateTime())->format('Y-m-d H:i:s'), - 'classes' => $classes, + 'classes' => $metrics->toArray(), ]; $jsonData = json_encode($data, JSON_PRETTY_PRINT | JSON_THROW_ON_ERROR); diff --git a/src/Business/Churn/Report/MarkdownReport.php b/src/Business/Churn/Report/MarkdownReport.php index ecaa11e..ecd6f4c 100644 --- a/src/Business/Churn/Report/MarkdownReport.php +++ b/src/Business/Churn/Report/MarkdownReport.php @@ -4,6 +4,8 @@ namespace Phauthentic\CognitiveCodeAnalysis\Business\Churn\Report; +use Phauthentic\CognitiveCodeAnalysis\Business\Churn\ChurnMetrics; +use Phauthentic\CognitiveCodeAnalysis\Business\Churn\ChurnMetricsCollection; use Phauthentic\CognitiveCodeAnalysis\Business\Reporter\MarkdownFormatterTrait; use Phauthentic\CognitiveCodeAnalysis\Business\Utility\CoverageDataDetector; use Phauthentic\CognitiveCodeAnalysis\Business\Utility\Datetime; @@ -40,43 +42,38 @@ class MarkdownReport extends AbstractReport ]; /** - * @param array> $classes * @param string $filename * @throws \Phauthentic\CognitiveCodeAnalysis\CognitiveAnalysisException */ - public function export(array $classes, string $filename): void + public function export(ChurnMetricsCollection $metrics, string $filename): void { $this->assertFileIsWritable($filename); - $markdown = $this->generateMarkdown($classes); + $markdown = $this->generateMarkdown($metrics); $this->writeFile($filename, $markdown); } - /** - * @param array> $classes - * @return string - */ - private function generateMarkdown(array $classes): string + private function generateMarkdown(ChurnMetricsCollection $metrics): string { - $hasCoverageData = $this->hasCoverageData($classes); + $hasCoverageData = $this->hasCoverageData($metrics); $header = $hasCoverageData ? $this->headerWithCoverage : $this->header; $markdown = "# Churn Metrics Report\n\n"; $markdown .= "Generated: " . (new Datetime())->format('Y-m-d H:i:s') . "\n\n"; - $markdown .= "Total Classes: " . count($classes) . "\n\n"; + $markdown .= "Total Classes: " . count($metrics) . "\n\n"; // Create table header $markdown .= $this->buildMarkdownTableHeader($header) . "\n"; $markdown .= $this->buildMarkdownTableSeparator(count($header)) . "\n"; // Add rows - foreach ($classes as $className => $data) { - if ($data['score'] == 0 || $data['churn'] == 0) { + foreach ($metrics as $metric) { + if ($metric->getScore() == 0 || $metric->getChurn() == 0) { continue; } - $markdown .= $this->addRow($className, $data, $hasCoverageData); + $markdown .= $this->addRow($metric, $hasCoverageData); } return $markdown; @@ -85,30 +82,42 @@ private function generateMarkdown(array $classes): string /** * Add a single row to the markdown table * - * @param string $className - * @param array $data + * @param ChurnMetrics $metric * @param bool $hasCoverageData * @return string */ - private function addRow(string $className, array $data, bool $hasCoverageData): string + private function addRow(ChurnMetrics $metric, bool $hasCoverageData): string { $row = [ - $this->escapeMarkdown($className), - (string)$data['score'], - (string)round((float)$data['churn'], 3), + $this->escapeMarkdown($metric->getClassName()), + (string)$metric->getScore(), + (string)round($metric->getChurn(), 3), ]; if ($hasCoverageData) { - $row[] = $data['riskChurn'] !== null ? (string)round((float)$data['riskChurn'], 3) : 'N/A'; + $row[] = $metric->getRiskChurn() !== null ? (string)round($metric->getRiskChurn(), 3) : 'N/A'; } - $row[] = (string)$data['timesChanged']; + $row[] = (string)$metric->getTimesChanged(); if ($hasCoverageData) { - $row[] = $data['coverage'] !== null ? sprintf('%.2f%%', $data['coverage'] * 100) : 'N/A'; - $row[] = $data['riskLevel'] ?? 'N/A'; + $row[] = $metric->getCoverage() !== null ? sprintf('%.2f%%', $metric->getCoverage() * 100) : 'N/A'; + $row[] = $metric->getRiskLevel() ?? 'N/A'; } return "| " . implode(" | ", $row) . " |\n"; } + + /** + * Check if the metrics collection has coverage data + */ + private function hasCoverageData(ChurnMetricsCollection $metrics): bool + { + foreach ($metrics as $metric) { + if ($metric->hasCoverageData()) { + return true; + } + } + return false; + } } diff --git a/src/Business/Churn/Report/ReportGeneratorInterface.php b/src/Business/Churn/Report/ReportGeneratorInterface.php index 54e20a3..205321b 100644 --- a/src/Business/Churn/Report/ReportGeneratorInterface.php +++ b/src/Business/Churn/Report/ReportGeneratorInterface.php @@ -4,10 +4,9 @@ namespace Phauthentic\CognitiveCodeAnalysis\Business\Churn\Report; +use Phauthentic\CognitiveCodeAnalysis\Business\Churn\ChurnMetricsCollection; + interface ReportGeneratorInterface { - /** - * @param array> $classes - */ - public function export(array $classes, string $filename): void; + public function export(ChurnMetricsCollection $metrics, string $filename): void; } diff --git a/src/Business/Churn/Report/SvgTreemapReport.php b/src/Business/Churn/Report/SvgTreemapReport.php index dc7e729..3440c29 100644 --- a/src/Business/Churn/Report/SvgTreemapReport.php +++ b/src/Business/Churn/Report/SvgTreemapReport.php @@ -4,6 +4,7 @@ namespace Phauthentic\CognitiveCodeAnalysis\Business\Churn\Report; +use Phauthentic\CognitiveCodeAnalysis\Business\Churn\ChurnMetricsCollection; use Phauthentic\CognitiveCodeAnalysis\CognitiveAnalysisException; /** @@ -29,15 +30,14 @@ public function __construct() } /** - * @param array> $classes * @param string $filename * @throws CognitiveAnalysisException */ - public function export(array $classes, string $filename): void + public function export(ChurnMetricsCollection $metrics, string $filename): void { $this->assertFileIsWritable($filename); - $svg = $this->generateSvgTreemap(classes: $classes); + $svg = $this->generateSvgTreemap(metrics: $metrics); if (file_put_contents($filename, $svg) === false) { throw new CognitiveAnalysisException("Unable to write to file: $filename"); @@ -47,12 +47,11 @@ public function export(array $classes, string $filename): void /** * Generates a treemap SVG for the churn data. * - * @param array> $classes * @return string */ - private function generateSvgTreemap(array $classes): string + private function generateSvgTreemap(ChurnMetricsCollection $metrics): string { - $items = $this->treemapMath->prepareItems($classes); + $items = $this->treemapMath->prepareItems($metrics->toArray()); [$minScore, $maxScore] = $this->treemapMath->findScoreRange($items); diff --git a/src/Business/MetricsFacade.php b/src/Business/MetricsFacade.php index c64cb37..ccf17b8 100644 --- a/src/Business/MetricsFacade.php +++ b/src/Business/MetricsFacade.php @@ -6,6 +6,7 @@ use Phauthentic\CognitiveCodeAnalysis\Business\Churn\ChangeCounter\ChangeCounterFactory; use Phauthentic\CognitiveCodeAnalysis\Business\Churn\ChurnCalculator; +use Phauthentic\CognitiveCodeAnalysis\Business\Churn\ChurnMetricsCollection; use Phauthentic\CognitiveCodeAnalysis\Business\Churn\Report\ChurnReportFactoryInterface; use Phauthentic\CognitiveCodeAnalysis\Business\CodeCoverage\CoverageReportReaderInterface; use Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\CognitiveMetrics; @@ -80,19 +81,12 @@ public function getCognitiveMetricsFromPaths( return $metricsCollection; } - /** - * @param string $path - * @param string $vcsType - * @param string $since - * @param CoverageReportReaderInterface|null $coverageReader - * @return array> - */ public function calculateChurn( string $path, string $vcsType = 'git', string $since = '1900-01-01', ?CoverageReportReaderInterface $coverageReader = null - ): array { + ): ChurnMetricsCollection { $metricsCollection = $this->getCognitiveMetrics($path); $counter = $this->changeCounterFactory->create($vcsType); @@ -122,16 +116,13 @@ public function getConfig(): CognitiveConfig return $this->configService->getConfig(); } - /** - * @param array> $classes - */ public function exportChurnReport( - array $classes, + ChurnMetricsCollection $metrics, string $reportType, string $filename ): void { $exporter = $this->churnReportFactory->create($reportType); - $exporter->export($classes, $filename); + $exporter->export($metrics, $filename); } public function exportMetricsReport( diff --git a/src/Command/ChurnCommand.php b/src/Command/ChurnCommand.php index 99c8074..b2312b2 100644 --- a/src/Command/ChurnCommand.php +++ b/src/Command/ChurnCommand.php @@ -148,7 +148,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int } // Calculate churn metrics - $classes = $this->metricsFacade->calculateChurn( + $metrics = $this->metricsFacade->calculateChurn( path: $context->getPath(), vcsType: $context->getVcsType(), since: $context->getSince(), @@ -158,13 +158,13 @@ protected function execute(InputInterface $input, OutputInterface $output): int // Handle report generation or display if ($context->hasReportOptions()) { return $this->report->exportToFile( - $classes, + $metrics, $context->getReportType(), $context->getReportFile() ); } - $this->renderer->renderChurnTable(classes: $classes); + $this->renderer->renderChurnTable(metrics: $metrics); return self::SUCCESS; } diff --git a/src/Command/Handler/ChurnReportHandler.php b/src/Command/Handler/ChurnReportHandler.php index 4bb2486..28c2199 100644 --- a/src/Command/Handler/ChurnReportHandler.php +++ b/src/Command/Handler/ChurnReportHandler.php @@ -5,6 +5,7 @@ namespace Phauthentic\CognitiveCodeAnalysis\Command\Handler; use Exception; +use Phauthentic\CognitiveCodeAnalysis\Business\Churn\ChurnMetricsCollection; use Phauthentic\CognitiveCodeAnalysis\Business\Churn\Report\ChurnReportFactoryInterface; use Phauthentic\CognitiveCodeAnalysis\Business\MetricsFacade; use Symfony\Component\Console\Command\Command; @@ -22,10 +23,10 @@ public function __construct( /** * Handles report option validation and report generation. * - * @param array> $classes + * @param ChurnMetricsCollection $metrics */ public function exportToFile( - array $classes, + ChurnMetricsCollection $metrics, ?string $reportType, ?string $reportFile, ): int { @@ -41,7 +42,7 @@ public function exportToFile( try { $this->metricsFacade->exportChurnReport( - classes: $classes, + metrics: $metrics, reportType: (string)$reportType, filename: (string)$reportFile ); diff --git a/src/Command/Presentation/ChurnTextRenderer.php b/src/Command/Presentation/ChurnTextRenderer.php index 2d613f8..f6e31ec 100644 --- a/src/Command/Presentation/ChurnTextRenderer.php +++ b/src/Command/Presentation/ChurnTextRenderer.php @@ -4,6 +4,7 @@ namespace Phauthentic\CognitiveCodeAnalysis\Command\Presentation; +use Phauthentic\CognitiveCodeAnalysis\Business\Churn\ChurnMetricsCollection; use Phauthentic\CognitiveCodeAnalysis\Business\Utility\CoverageDataDetector; use Symfony\Component\Console\Helper\Table; use Symfony\Component\Console\Output\OutputInterface; @@ -48,38 +49,34 @@ public function reportWritten(string $reportFile): void )); } - /** - * @param array $classes An associative array where keys are class names and values are arrays - * containing 'score', 'churn', 'timesChanged', and optionally 'coverage', 'riskChurn', 'riskLevel'. - */ - public function renderChurnTable(array $classes): void + public function renderChurnTable(ChurnMetricsCollection $metrics): void { // Determine if coverage data is available - $hasCoverageData = $this->hasCoverageData($classes); + $hasCoverageData = $this->hasCoverageData($metrics); $table = new Table($this->output); $table->setHeaders($hasCoverageData ? $this->churnTableHeaderWithCoverage : $this->churnTableHeader); - foreach ($classes as $className => $data) { - if ($data['score'] == 0 || $data['churn'] == 0) { + foreach ($metrics as $metric) { + if ($metric->getScore() == 0 || $metric->getChurn() == 0) { continue; } $row = [ - $className, - $data['score'], - round($data['churn'], 3), + $metric->getClassName(), + $metric->getScore(), + round($metric->getChurn(), 3), ]; if ($hasCoverageData) { - $row[] = $data['riskChurn'] !== null ? round($data['riskChurn'], 3) : 'N/A'; + $row[] = $metric->getRiskChurn() !== null ? round($metric->getRiskChurn(), 3) : 'N/A'; } - $row[] = $data['timesChanged']; + $row[] = $metric->getTimesChanged(); if ($hasCoverageData) { - $row[] = $data['coverage'] !== null ? sprintf('%.2f%%', $data['coverage'] * 100) : 'N/A'; - $row[] = $data['riskLevel'] ?? 'N/A'; + $row[] = $metric->getCoverage() !== null ? sprintf('%.2f%%', $metric->getCoverage() * 100) : 'N/A'; + $row[] = $metric->getRiskLevel() ?? 'N/A'; } $table->addRow($row); @@ -87,4 +84,17 @@ public function renderChurnTable(array $classes): void $table->render(); } + + /** + * Check if the metrics collection has coverage data + */ + private function hasCoverageData(ChurnMetricsCollection $metrics): bool + { + foreach ($metrics as $metric) { + if ($metric->hasCoverageData()) { + return true; + } + } + return false; + } } diff --git a/tests/Fixtures/CustomReporters/ConfigAwareChurnTextReporter.php b/tests/Fixtures/CustomReporters/ConfigAwareChurnTextReporter.php index 4e32552..d6cf98b 100644 --- a/tests/Fixtures/CustomReporters/ConfigAwareChurnTextReporter.php +++ b/tests/Fixtures/CustomReporters/ConfigAwareChurnTextReporter.php @@ -4,6 +4,7 @@ namespace Phauthentic\CognitiveCodeAnalysis\Tests\Fixtures\CustomReporters; +use Phauthentic\CognitiveCodeAnalysis\Business\Churn\ChurnMetricsCollection; use Phauthentic\CognitiveCodeAnalysis\Business\Churn\Report\ReportGeneratorInterface; use Phauthentic\CognitiveCodeAnalysis\Config\CognitiveConfig; @@ -17,19 +18,13 @@ public function __construct( ) { } - /** - * @param array> $classes - */ - public function export(array $classes, string $filename): void + public function export(ChurnMetricsCollection $metrics, string $filename): void { - $content = $this->generateReport($classes); + $content = $this->generateReport($metrics); file_put_contents($filename, $content); } - /** - * @param array> $classes - */ - private function generateReport(array $classes): string + private function generateReport(ChurnMetricsCollection $metrics): string { $output = "=== Config-Aware Churn Analysis Report ===\n"; $output .= "Generated by ConfigAwareChurnTextReporter\n\n"; @@ -40,15 +35,12 @@ private function generateReport(array $classes): string $output .= "Show Only Methods Exceeding Threshold: " . ($this->config->showOnlyMethodsExceedingThreshold ? 'Yes' : 'No') . "\n\n"; $output .= "Analysis Summary:\n"; - $output .= "Total Classes: " . count($classes) . "\n"; + $output .= "Total Classes: " . count($metrics) . "\n"; $totalMethods = 0; - foreach ($classes as $classData) { - if (!isset($classData['methods'])) { - continue; - } - - $totalMethods += count($classData['methods']); + foreach ($metrics as $metric) { + // Count methods based on score (simplified) + $totalMethods += (int)$metric->getScore(); } $output .= "Total Methods: " . $totalMethods . "\n\n"; @@ -57,28 +49,25 @@ private function generateReport(array $classes): string $aboveThresholdCount = 0; - foreach ($classes as $className => $classData) { - $score = $classData['score'] ?? 0; + foreach ($metrics as $metric) { + $score = $metric->getScore(); $isAboveThreshold = $score > $this->config->scoreThreshold; if ($isAboveThreshold) { $aboveThresholdCount++; - $output .= "Class: " . $className . " [ABOVE THRESHOLD]\n"; + $output .= "Class: " . $metric->getClassName() . " [ABOVE THRESHOLD]\n"; } else { - $output .= "Class: " . $className . "\n"; + $output .= "Class: " . $metric->getClassName() . "\n"; } - $output .= "File: " . ($classData['file'] ?? 'Unknown') . "\n"; - $output .= "Score: " . ($classData['score'] ?? 'N/A') . "\n"; - $output .= "Churn: " . ($classData['churn'] ?? 'N/A') . "\n"; - $output .= "Times Changed: " . ($classData['timesChanged'] ?? 'N/A') . "\n"; - - if (isset($classData['coverage'])) { - $output .= "Coverage: " . ($classData['coverage'] ?? 'N/A') . "%\n"; - } + $output .= "File: " . $metric->getFile() . "\n"; + $output .= "Score: " . $metric->getScore() . "\n"; + $output .= "Churn: " . $metric->getChurn() . "\n"; + $output .= "Times Changed: " . $metric->getTimesChanged() . "\n"; - if (isset($classData['riskLevel'])) { - $output .= "Risk Level: " . ($classData['riskLevel'] ?? 'N/A') . "\n"; + if ($metric->hasCoverageData()) { + $output .= "Coverage: " . ($metric->getCoverage() * 100) . "%\n"; + $output .= "Risk Level: " . $metric->getRiskLevel() . "\n"; } $output .= "\n"; diff --git a/tests/Fixtures/CustomReporters/CustomChurnTextReporter.php b/tests/Fixtures/CustomReporters/CustomChurnTextReporter.php index 87be192..a243747 100644 --- a/tests/Fixtures/CustomReporters/CustomChurnTextReporter.php +++ b/tests/Fixtures/CustomReporters/CustomChurnTextReporter.php @@ -4,6 +4,7 @@ namespace Phauthentic\CognitiveCodeAnalysis\Tests\Fixtures\CustomReporters; +use Phauthentic\CognitiveCodeAnalysis\Business\Churn\ChurnMetricsCollection; use Phauthentic\CognitiveCodeAnalysis\Business\Churn\Report\ReportGeneratorInterface; /** @@ -11,52 +12,41 @@ */ class CustomChurnTextReporter implements ReportGeneratorInterface { - /** - * @param array> $classes - */ - public function export(array $classes, string $filename): void + public function export(ChurnMetricsCollection $metrics, string $filename): void { - $content = $this->generateReport($classes); + $content = $this->generateReport($metrics); file_put_contents($filename, $content); } - /** - * @param array> $classes - */ - private function generateReport(array $classes): string + private function generateReport(ChurnMetricsCollection $metrics): string { $output = "=== Custom Churn Analysis Report ===\n"; $output .= "Generated by CustomChurnTextReporter\n\n"; $output .= "Analysis Summary:\n"; - $output .= "Total Classes: " . count($classes) . "\n"; + $output .= "Total Classes: " . count($metrics) . "\n"; $totalMethods = 0; - foreach ($classes as $classData) { - if (!isset($classData['methods'])) { - continue; - } - - $totalMethods += count($classData['methods']); + foreach ($metrics as $metric) { + // Count methods based on score (simplified) + $totalMethods += (int)$metric->getScore(); } $output .= "Total Methods: " . $totalMethods . "\n\n"; $output .= "Churn Analysis Results:\n"; $output .= str_repeat("-", 50) . "\n"; - foreach ($classes as $className => $classData) { - $output .= "Class: " . $className . "\n"; - $output .= "File: " . ($classData['file'] ?? 'Unknown') . "\n"; - $output .= "Score: " . ($classData['score'] ?? 'N/A') . "\n"; - $output .= "Churn: " . ($classData['churn'] ?? 'N/A') . "\n"; - $output .= "Times Changed: " . ($classData['timesChanged'] ?? 'N/A') . "\n"; - - if (isset($classData['coverage'])) { - $output .= "Coverage: " . ($classData['coverage'] ?? 'N/A') . "%\n"; - } - - if (isset($classData['riskLevel'])) { - $output .= "Risk Level: " . ($classData['riskLevel'] ?? 'N/A') . "\n"; + foreach ($metrics as $metric) { + $output .= "Class: " . $metric->getClassName() . "\n"; + $output .= " File: " . $metric->getFile() . "\n"; + $output .= " Score: " . $metric->getScore() . "\n"; + $output .= " Churn: " . $metric->getChurn() . "\n"; + $output .= " Times Changed: " . $metric->getTimesChanged() . "\n"; + + if ($metric->hasCoverageData()) { + $output .= " Coverage: " . ($metric->getCoverage() * 100) . "%\n"; + $output .= " Risk Churn: " . $metric->getRiskChurn() . "\n"; + $output .= " Risk Level: " . $metric->getRiskLevel() . "\n"; } $output .= "\n"; diff --git a/tests/Unit/Business/Churn/ChurnCalculatorTest.php b/tests/Unit/Business/Churn/ChurnCalculatorTest.php index 7a69d74..efc9ac0 100644 --- a/tests/Unit/Business/Churn/ChurnCalculatorTest.php +++ b/tests/Unit/Business/Churn/ChurnCalculatorTest.php @@ -5,6 +5,7 @@ namespace Phauthentic\CognitiveCodeAnalysis\Tests\Unit\Business\Churn; use Phauthentic\CognitiveCodeAnalysis\Business\Churn\ChurnCalculator; +use Phauthentic\CognitiveCodeAnalysis\Business\Churn\ChurnMetricsCollection; use Phauthentic\CognitiveCodeAnalysis\Business\CodeCoverage\CoverageReportReaderInterface; use Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\CognitiveMetrics; use Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\CognitiveMetricsCollection; @@ -18,11 +19,13 @@ public function testCalculate(): void $metric1->method('getClass')->willReturn('ClassA'); $metric1->method('getTimesChanged')->willReturn(5); $metric1->method('getScore')->willReturn(2.0); + $metric1->method('getFileName')->willReturn('ClassA.php'); $metric2 = $this->createMock(CognitiveMetrics::class); $metric2->method('getClass')->willReturn('ClassB'); $metric2->method('getTimesChanged')->willReturn(3); $metric2->method('getScore')->willReturn(4.0); + $metric2->method('getFileName')->willReturn('ClassB.php'); $metricsCollection = $this->createMock(CognitiveMetricsCollection::class); $metricsCollection->method('getIterator')->willReturn(new \ArrayIterator([$metric1, $metric2])); @@ -30,28 +33,24 @@ public function testCalculate(): void $churnCalculator = new ChurnCalculator(); $result = $churnCalculator->calculate($metricsCollection); - $expected = [ - 'ClassB' => [ - 'timesChanged' => 3, - 'score' => 4.0, - 'churn' => 12.0, - 'file' => '', - 'coverage' => null, - 'riskChurn' => null, - 'riskLevel' => null, - ], - 'ClassA' => [ - 'timesChanged' => 5, - 'score' => 2.0, - 'churn' => 10.0, - 'file' => '', - 'coverage' => null, - 'riskChurn' => null, - 'riskLevel' => null, - ], - ]; - - $this->assertEquals($expected, $result); + $this->assertInstanceOf(ChurnMetricsCollection::class, $result); + $this->assertCount(2, $result); + + // Check ClassB (should be first due to higher churn) + $classBMetric = $result->getByClassName('ClassB'); + $this->assertNotNull($classBMetric); + $this->assertEquals(3, $classBMetric->getTimesChanged()); + $this->assertEquals(4.0, $classBMetric->getScore()); + $this->assertEquals(12.0, $classBMetric->getChurn()); + $this->assertEquals('ClassB.php', $classBMetric->getFile()); + + // Check ClassA (should be second) + $classAMetric = $result->getByClassName('ClassA'); + $this->assertNotNull($classAMetric); + $this->assertEquals(5, $classAMetric->getTimesChanged()); + $this->assertEquals(2.0, $classAMetric->getScore()); + $this->assertEquals(10.0, $classAMetric->getChurn()); + $this->assertEquals('ClassA.php', $classAMetric->getFile()); } public function testCalculateWithCoverage(): void @@ -60,13 +59,13 @@ public function testCalculateWithCoverage(): void $metric1->method('getClass')->willReturn('ClassA'); $metric1->method('getTimesChanged')->willReturn(10); $metric1->method('getScore')->willReturn(3.0); - $metric1->method('getFilename')->willReturn('ClassA.php'); + $metric1->method('getFileName')->willReturn('ClassA.php'); $metric2 = $this->createMock(CognitiveMetrics::class); $metric2->method('getClass')->willReturn('ClassB'); $metric2->method('getTimesChanged')->willReturn(5); $metric2->method('getScore')->willReturn(8.0); - $metric2->method('getFilename')->willReturn('ClassB.php'); + $metric2->method('getFileName')->willReturn('ClassB.php'); $metricsCollection = $this->createMock(CognitiveMetricsCollection::class); $metricsCollection->method('getIterator')->willReturn(new \ArrayIterator([$metric1, $metric2])); @@ -84,15 +83,19 @@ public function testCalculateWithCoverage(): void // ClassA: churn=30, coverage=0.9, riskChurn=30*(1-0.9)=3 // ClassB: churn=40, coverage=0.2, riskChurn=40*(1-0.2)=32 - $this->assertEquals(40.0, $result['ClassB']['churn']); - $this->assertEqualsWithDelta(32.0, $result['ClassB']['riskChurn'], 0.01); - $this->assertEquals(0.2, $result['ClassB']['coverage']); - $this->assertEquals('CRITICAL', $result['ClassB']['riskLevel']); // churn>30 && coverage<0.5 - - $this->assertEquals(30.0, $result['ClassA']['churn']); - $this->assertEqualsWithDelta(3.0, $result['ClassA']['riskChurn'], 0.01); - $this->assertEquals(0.9, $result['ClassA']['coverage']); - $this->assertEquals('LOW', $result['ClassA']['riskLevel']); + $classBMetric = $result->getByClassName('ClassB'); + $this->assertNotNull($classBMetric); + $this->assertEquals(40.0, $classBMetric->getChurn()); + $this->assertEqualsWithDelta(32.0, $classBMetric->getRiskChurn(), 0.01); + $this->assertEquals(0.2, $classBMetric->getCoverage()); + $this->assertEquals('CRITICAL', $classBMetric->getRiskLevel()); // churn>30 && coverage<0.5 + + $classAMetric = $result->getByClassName('ClassA'); + $this->assertNotNull($classAMetric); + $this->assertEquals(30.0, $classAMetric->getChurn()); + $this->assertEqualsWithDelta(3.0, $classAMetric->getRiskChurn(), 0.01); + $this->assertEquals(0.9, $classAMetric->getCoverage()); + $this->assertEquals('LOW', $classAMetric->getRiskLevel()); } public function testCalculateRiskLevels(): void @@ -102,28 +105,28 @@ public function testCalculateRiskLevels(): void $metricCritical->method('getClass')->willReturn('CriticalClass'); $metricCritical->method('getTimesChanged')->willReturn(10); $metricCritical->method('getScore')->willReturn(4.0); // churn = 40 - $metricCritical->method('getFilename')->willReturn('CriticalClass.php'); + $metricCritical->method('getFileName')->willReturn('CriticalClass.php'); // Test HIGH: churn > 20 AND coverage < 0.7 $metricHigh = $this->createMock(CognitiveMetrics::class); $metricHigh->method('getClass')->willReturn('HighClass'); $metricHigh->method('getTimesChanged')->willReturn(5); $metricHigh->method('getScore')->willReturn(5.0); // churn = 25 - $metricHigh->method('getFilename')->willReturn('HighClass.php'); + $metricHigh->method('getFileName')->willReturn('HighClass.php'); // Test MEDIUM: churn > 10 AND coverage < 0.8 $metricMedium = $this->createMock(CognitiveMetrics::class); $metricMedium->method('getClass')->willReturn('MediumClass'); $metricMedium->method('getTimesChanged')->willReturn(3); $metricMedium->method('getScore')->willReturn(4.0); // churn = 12 - $metricMedium->method('getFilename')->willReturn('MediumClass.php'); + $metricMedium->method('getFileName')->willReturn('MediumClass.php'); // Test LOW $metricLow = $this->createMock(CognitiveMetrics::class); $metricLow->method('getClass')->willReturn('LowClass'); $metricLow->method('getTimesChanged')->willReturn(2); $metricLow->method('getScore')->willReturn(3.0); // churn = 6 - $metricLow->method('getFilename')->willReturn('LowClass.php'); + $metricLow->method('getFileName')->willReturn('LowClass.php'); $metricsCollection = $this->createMock(CognitiveMetricsCollection::class); $metricsCollection->method('getIterator')->willReturn( @@ -142,10 +145,21 @@ public function testCalculateRiskLevels(): void $churnCalculator = new ChurnCalculator(); $result = $churnCalculator->calculate($metricsCollection, $coverageReader); - $this->assertEquals('CRITICAL', $result['CriticalClass']['riskLevel']); - $this->assertEquals('HIGH', $result['HighClass']['riskLevel']); - $this->assertEquals('MEDIUM', $result['MediumClass']['riskLevel']); - $this->assertEquals('LOW', $result['LowClass']['riskLevel']); + $criticalMetric = $result->getByClassName('CriticalClass'); + $this->assertNotNull($criticalMetric); + $this->assertEquals('CRITICAL', $criticalMetric->getRiskLevel()); + + $highMetric = $result->getByClassName('HighClass'); + $this->assertNotNull($highMetric); + $this->assertEquals('HIGH', $highMetric->getRiskLevel()); + + $mediumMetric = $result->getByClassName('MediumClass'); + $this->assertNotNull($mediumMetric); + $this->assertEquals('MEDIUM', $mediumMetric->getRiskLevel()); + + $lowMetric = $result->getByClassName('LowClass'); + $this->assertNotNull($lowMetric); + $this->assertEquals('LOW', $lowMetric->getRiskLevel()); } public function testCalculateWithNoCoverageForClass(): void @@ -154,7 +168,7 @@ public function testCalculateWithNoCoverageForClass(): void $metric->method('getClass')->willReturn('ClassA'); $metric->method('getTimesChanged')->willReturn(5); $metric->method('getScore')->willReturn(2.0); - $metric->method('getFilename')->willReturn('ClassA.php'); + $metric->method('getFileName')->willReturn('ClassA.php'); $metricsCollection = $this->createMock(CognitiveMetricsCollection::class); $metricsCollection->method('getIterator')->willReturn(new \ArrayIterator([$metric])); @@ -166,7 +180,9 @@ public function testCalculateWithNoCoverageForClass(): void $result = $churnCalculator->calculate($metricsCollection, $coverageReader); // When coverage is null, assume 0.0 coverage - $this->assertEquals(0.0, $result['ClassA']['coverage']); - $this->assertEquals(10.0, $result['ClassA']['riskChurn']); // 5 * 2.0 * (1 - 0.0) + $classAMetric = $result->getByClassName('ClassA'); + $this->assertNotNull($classAMetric); + $this->assertEquals(0.0, $classAMetric->getCoverage()); + $this->assertEquals(10.0, $classAMetric->getRiskChurn()); // 5 * 2.0 * (1 - 0.0) } } diff --git a/tests/Unit/Business/Churn/Report/AbstractReporterTestCase.php b/tests/Unit/Business/Churn/Report/AbstractReporterTestCase.php index 9675d22..48dde52 100644 --- a/tests/Unit/Business/Churn/Report/AbstractReporterTestCase.php +++ b/tests/Unit/Business/Churn/Report/AbstractReporterTestCase.php @@ -4,6 +4,8 @@ namespace Phauthentic\CognitiveCodeAnalysis\Tests\Unit\Business\Churn\Report; +use Phauthentic\CognitiveCodeAnalysis\Business\Churn\ChurnMetrics; +use Phauthentic\CognitiveCodeAnalysis\Business\Churn\ChurnMetricsCollection; use Phauthentic\CognitiveCodeAnalysis\Business\Utility\Datetime; use PHPUnit\Framework\TestCase; @@ -26,60 +28,74 @@ protected function tearDown(): void Datetime::$fixedDate = null; } - protected function getTestData(): array + protected function getTestData(): ChurnMetricsCollection { - return [ - 'Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\CognitiveMetrics' => [ - 'timesChanged' => 6, - 'score' => 2.042, - 'file' => '/home/florian/projects/cognitive-code-checker/src/Business/Cognitive/CognitiveMetrics.php', - 'churn' => 12.252, - ], - 'Phauthentic\CognitiveCodeAnalysis\Command\Presentation\CognitiveMetricTextRenderer' => [ - 'timesChanged' => 10, - 'score' => 0.806, - 'file' => '/home/florian/projects/cognitive-code-checker/src/Command/Presentation/CognitiveMetricTextRenderer.php', - 'churn' => 8.06, - ], - 'Phauthentic\CognitiveCodeAnalysis\Business\MetricsFacade' => [ - 'timesChanged' => 8, - 'score' => 0.693, - 'file' => '/home/florian/projects/cognitive-code-checker/src/Business/MetricsFacade.php', - 'churn' => 5.544, - ], - ]; + $collection = new ChurnMetricsCollection(); + + $collection->add(new ChurnMetrics( + className: 'Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\CognitiveMetrics', + file: '/home/florian/projects/cognitive-code-checker/src/Business/Cognitive/CognitiveMetrics.php', + score: 2.042, + timesChanged: 6, + churn: 12.252 + )); + + $collection->add(new ChurnMetrics( + className: 'Phauthentic\CognitiveCodeAnalysis\Command\Presentation\CognitiveMetricTextRenderer', + file: '/home/florian/projects/cognitive-code-checker/src/Command/Presentation/CognitiveMetricTextRenderer.php', + score: 0.806, + timesChanged: 10, + churn: 8.06 + )); + + $collection->add(new ChurnMetrics( + className: 'Phauthentic\CognitiveCodeAnalysis\Business\MetricsFacade', + file: '/home/florian/projects/cognitive-code-checker/src/Business/MetricsFacade.php', + score: 0.693, + timesChanged: 8, + churn: 5.544 + )); + + return $collection; } - protected function getTestDataWithCoverage(): array + protected function getTestDataWithCoverage(): ChurnMetricsCollection { - return [ - 'Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\CognitiveMetrics' => [ - 'timesChanged' => 6, - 'score' => 2.042, - 'file' => '/home/florian/projects/cognitive-code-checker/src/Business/Cognitive/CognitiveMetrics.php', - 'churn' => 12.252, - 'coverage' => 0.85, - 'riskChurn' => 1.8378, - 'riskLevel' => 'low', - ], - 'Phauthentic\CognitiveCodeAnalysis\Command\Presentation\CognitiveMetricTextRenderer' => [ - 'timesChanged' => 10, - 'score' => 0.806, - 'file' => '/home/florian/projects/cognitive-code-checker/src/Command/Presentation/CognitiveMetricTextRenderer.php', - 'churn' => 8.06, - 'coverage' => 0.65, - 'riskChurn' => 2.821, - 'riskLevel' => 'medium', - ], - 'Phauthentic\CognitiveCodeAnalysis\Business\MetricsFacade' => [ - 'timesChanged' => 8, - 'score' => 0.693, - 'file' => '/home/florian/projects/cognitive-code-checker/src/Business/MetricsFacade.php', - 'churn' => 5.544, - 'coverage' => 0.92, - 'riskChurn' => 0.443, - 'riskLevel' => 'low', - ], - ]; + $collection = new ChurnMetricsCollection(); + + $collection->add(new ChurnMetrics( + className: 'Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\CognitiveMetrics', + file: '/home/florian/projects/cognitive-code-checker/src/Business/Cognitive/CognitiveMetrics.php', + score: 2.042, + timesChanged: 6, + churn: 12.252, + coverage: 0.85, + riskChurn: 1.8378, + riskLevel: 'low' + )); + + $collection->add(new ChurnMetrics( + className: 'Phauthentic\CognitiveCodeAnalysis\Command\Presentation\CognitiveMetricTextRenderer', + file: '/home/florian/projects/cognitive-code-checker/src/Command/Presentation/CognitiveMetricTextRenderer.php', + score: 0.806, + timesChanged: 10, + churn: 8.06, + coverage: 0.65, + riskChurn: 2.821, + riskLevel: 'medium' + )); + + $collection->add(new ChurnMetrics( + className: 'Phauthentic\CognitiveCodeAnalysis\Business\MetricsFacade', + file: '/home/florian/projects/cognitive-code-checker/src/Business/MetricsFacade.php', + score: 0.693, + timesChanged: 8, + churn: 5.544, + coverage: 0.92, + riskChurn: 0.443, + riskLevel: 'low' + )); + + return $collection; } } diff --git a/tests/Unit/Business/Churn/Report/ChurnReporterFactoryCustomTest.php b/tests/Unit/Business/Churn/Report/ChurnReporterFactoryCustomTest.php index 4b550b5..872acb3 100644 --- a/tests/Unit/Business/Churn/Report/ChurnReporterFactoryCustomTest.php +++ b/tests/Unit/Business/Churn/Report/ChurnReporterFactoryCustomTest.php @@ -53,10 +53,11 @@ public function testCreateCustomExporterWithFile(): void $classContent = <<<'PHP' expectException(CognitiveAnalysisException::class); $this->expectExceptionMessage('Directory /not/writable does not exist for file /not/writable/file.csv'); - $this->exporter->export([], '/not/writable/file.csv'); + $emptyCollection = new ChurnMetricsCollection(); + $this->exporter->export($emptyCollection, '/not/writable/file.csv'); } } diff --git a/tests/Unit/Business/Churn/Report/JsonReporterContent.json b/tests/Unit/Business/Churn/Report/JsonReporterContent.json index 0921001..c711916 100644 --- a/tests/Unit/Business/Churn/Report/JsonReporterContent.json +++ b/tests/Unit/Business/Churn/Report/JsonReporterContent.json @@ -2,22 +2,31 @@ "createdAt": "2023-10-01 12:00:00", "classes": { "Phauthentic\\CognitiveCodeAnalysis\\Business\\Cognitive\\CognitiveMetrics": { - "timesChanged": 6, - "score": 2.042, "file": "\/home\/florian\/projects\/cognitive-code-checker\/src\/Business\/Cognitive\/CognitiveMetrics.php", - "churn": 12.252 + "score": 2.042, + "timesChanged": 6, + "churn": 12.252, + "coverage": null, + "riskChurn": null, + "riskLevel": null }, "Phauthentic\\CognitiveCodeAnalysis\\Command\\Presentation\\CognitiveMetricTextRenderer": { - "timesChanged": 10, - "score": 0.806, "file": "\/home\/florian\/projects\/cognitive-code-checker\/src\/Command\/Presentation\/CognitiveMetricTextRenderer.php", - "churn": 8.06 + "score": 0.806, + "timesChanged": 10, + "churn": 8.06, + "coverage": null, + "riskChurn": null, + "riskLevel": null }, "Phauthentic\\CognitiveCodeAnalysis\\Business\\MetricsFacade": { - "timesChanged": 8, - "score": 0.693, "file": "\/home\/florian\/projects\/cognitive-code-checker\/src\/Business\/MetricsFacade.php", - "churn": 5.544 + "score": 0.693, + "timesChanged": 8, + "churn": 5.544, + "coverage": null, + "riskChurn": null, + "riskLevel": null } } } \ No newline at end of file From a7523618edd287333b1469514de8c4c4dca6087e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20Kr=C3=A4mer?= Date: Mon, 13 Oct 2025 22:07:00 +0200 Subject: [PATCH 15/21] Validate the custom reporters before running analysis --- config.yml | 5 - src/Business/MetricsFacade.php | 7 +- src/Command/ChurnCommand.php | 16 ++- .../CustomExporterValidationSpecification.php | 123 ++++++++++++++++++ src/Command/CognitiveMetricsCommand.php | 17 +++ .../CustomExporterValidationSpecification.php | 123 ++++++++++++++++++ src/Command/Handler/ChurnReportHandler.php | 11 ++ .../Handler/CognitiveMetricsReportHandler.php | 11 ++ src/Config/ConfigService.php | 7 +- 9 files changed, 311 insertions(+), 9 deletions(-) create mode 100644 src/Command/ChurnSpecifications/CustomExporterValidationSpecification.php create mode 100644 src/Command/CognitiveMetricsSpecifications/CustomExporterValidationSpecification.php diff --git a/config.yml b/config.yml index 356ce0d..1ea8c14 100644 --- a/config.yml +++ b/config.yml @@ -46,8 +46,3 @@ cognitive: # pdf: # class: 'My\Custom\PdfExporter' # file: '/path/to/PdfExporter.php' - customExporters: - cognitive: - test: - class: '\CustomCognitiveExporter' - file: 'Test.php' diff --git a/src/Business/MetricsFacade.php b/src/Business/MetricsFacade.php index ccf17b8..651adef 100644 --- a/src/Business/MetricsFacade.php +++ b/src/Business/MetricsFacade.php @@ -34,7 +34,7 @@ public function __construct( private readonly ChurnReportFactoryInterface $churnReportFactory, private readonly CognitiveReportFactoryInterface $cognitiveReportFactory ) { - $this->loadConfig(__DIR__ . '/../../config.yml'); + // Configuration will be loaded when needed } /** @@ -116,6 +116,11 @@ public function getConfig(): CognitiveConfig return $this->configService->getConfig(); } + public function getConfigService(): ConfigService + { + return $this->configService; + } + public function exportChurnReport( ChurnMetricsCollection $metrics, string $reportType, diff --git a/src/Command/ChurnCommand.php b/src/Command/ChurnCommand.php index b2312b2..b13f2a3 100644 --- a/src/Command/ChurnCommand.php +++ b/src/Command/ChurnCommand.php @@ -15,6 +15,7 @@ use Phauthentic\CognitiveCodeAnalysis\Command\ChurnSpecifications\ChurnCommandContext; use Phauthentic\CognitiveCodeAnalysis\Command\ChurnSpecifications\CompositeChurnValidationSpecification; use Phauthentic\CognitiveCodeAnalysis\Command\ChurnSpecifications\ChurnValidationSpecificationFactory; +use Phauthentic\CognitiveCodeAnalysis\Command\ChurnSpecifications\CustomExporterValidationSpecification; use Symfony\Component\Console\Attribute\AsCommand; use Symfony\Component\Console\Command\Command; use Symfony\Component\Console\Input\InputArgument; @@ -126,7 +127,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int { $context = new ChurnCommandContext($input); - // Validate all specifications + // Validate all specifications (except custom exporters which need config) if (!$this->validationSpecification->isSatisfiedBy($context)) { $errorMessage = $this->validationSpecification->getDetailedErrorMessage($context); $output->writeln('' . $errorMessage . ''); @@ -141,6 +142,19 @@ protected function execute(InputInterface $input, OutputInterface $output): int } } + // Validate custom exporters after config is loaded + if ($context->hasReportOptions()) { + $customExporterValidation = new CustomExporterValidationSpecification( + $this->report->getReportFactory(), + $this->report->getConfigService() + ); + if (!$customExporterValidation->isSatisfiedBy($context)) { + $errorMessage = $customExporterValidation->getErrorMessageWithContext($context); + $output->writeln('' . $errorMessage . ''); + return self::FAILURE; + } + } + // Load coverage reader $coverageReader = $this->loadCoverageReader($context, $output); if ($coverageReader === false) { diff --git a/src/Command/ChurnSpecifications/CustomExporterValidationSpecification.php b/src/Command/ChurnSpecifications/CustomExporterValidationSpecification.php new file mode 100644 index 0000000..bed2f18 --- /dev/null +++ b/src/Command/ChurnSpecifications/CustomExporterValidationSpecification.php @@ -0,0 +1,123 @@ +hasReportOptions()) { + return true; + } + + $reportType = $context->getReportType(); + if ($reportType === null) { + return true; + } + + // Check if it's a built-in type (always valid) + $builtInTypes = ['json', 'csv', 'html', 'markdown', 'svg-treemap', 'svg']; + if (in_array($reportType, $builtInTypes, true)) { + return true; + } + + // For custom exporters, validate they can be loaded + return $this->validateCustomExporter($reportType); + } + + public function getErrorMessage(): string + { + return 'Custom exporter validation failed'; + } + + public function getErrorMessageWithContext(ChurnCommandContext $context): string + { + $reportType = $context->getReportType(); + if ($reportType === null) { + return 'Report type is required for validation'; + } + + $config = $this->configService->getConfig(); + $customExporters = $config->customExporters['churn'] ?? []; + + if (!isset($customExporters[$reportType])) { + $supportedTypes = implode('`, `', $this->reportFactory->getSupportedTypes()); + return "Custom exporter `{$reportType}` not found in configuration. Supported types: `{$supportedTypes}`"; + } + + $exporterConfig = $customExporters[$reportType]; + $class = $exporterConfig['class'] ?? ''; + $file = $exporterConfig['file'] ?? null; + + if ($file !== null && !file_exists($file)) { + return "Exporter file not found: {$file}"; + } + + if ($file === null && !class_exists($class)) { + return "Exporter class not found: {$class}"; + } + + return "Custom exporter `{$reportType}` validation failed"; + } + + private function validateCustomExporter(string $reportType): bool + { + try { + $config = $this->configService->getConfig(); + $customExporters = $config->customExporters['churn'] ?? []; + + if (!isset($customExporters[$reportType])) { + return false; + } + + $exporterConfig = $customExporters[$reportType]; + $class = $exporterConfig['class'] ?? ''; + $file = $exporterConfig['file'] ?? null; + + // Validate file exists if specified + if ($file !== null && !file_exists($file)) { + return false; + } + + // For file-based exporters, we'll do basic validation + // The actual class loading will happen later with proper autoloading + if ($file !== null) { + // Check if the file is readable + try { + $content = file_get_contents($file); + if ($content === false) { + return false; + } + + // Basic check: does the file contain a class with the expected name? + // We'll look for the class name without the namespace prefix + $className = basename(str_replace('\\', '/', $class)); + return strpos($content, $className) !== false; + } catch (\Throwable) { + return false; + } + } + + // If no file specified, class should be autoloadable + return class_exists($class); + } catch (\Exception) { + return false; + } + } +} diff --git a/src/Command/CognitiveMetricsCommand.php b/src/Command/CognitiveMetricsCommand.php index fe83426..e5865e8 100644 --- a/src/Command/CognitiveMetricsCommand.php +++ b/src/Command/CognitiveMetricsCommand.php @@ -17,6 +17,7 @@ use Phauthentic\CognitiveCodeAnalysis\Command\CognitiveMetricsSpecifications\CognitiveMetricsCommandContext; use Phauthentic\CognitiveCodeAnalysis\Command\CognitiveMetricsSpecifications\CompositeCognitiveMetricsValidationSpecification; use Phauthentic\CognitiveCodeAnalysis\Command\CognitiveMetricsSpecifications\CognitiveMetricsValidationSpecificationFactory; +use Phauthentic\CognitiveCodeAnalysis\Command\CognitiveMetricsSpecifications\CustomExporterValidationSpecification; use Symfony\Component\Console\Attribute\AsCommand; use Symfony\Component\Console\Command\Command; use Symfony\Component\Console\Input\InputArgument; @@ -25,6 +26,8 @@ /** * Command to parse PHP files or directories and output method metrics. + * + * @SuppressWarnings("CyclomaticComplexity") */ #[AsCommand( name: 'analyse', @@ -153,6 +156,20 @@ protected function execute(InputInterface $input, OutputInterface $output): int } } + // Validate custom exporters after config is loaded + if ($context->hasReportOptions()) { + $customExporterValidation = new CustomExporterValidationSpecification( + $this->reportHandler->getReportFactory(), + $this->reportHandler->getConfigService() + ); + + if (!$customExporterValidation->isSatisfiedBy($context)) { + $errorMessage = $customExporterValidation->getErrorMessageWithContext($context); + $output->writeln('' . $errorMessage . ''); + return Command::FAILURE; + } + } + // Load coverage reader $coverageReader = $this->loadCoverageReader($context, $output); if ($coverageReader === false) { diff --git a/src/Command/CognitiveMetricsSpecifications/CustomExporterValidationSpecification.php b/src/Command/CognitiveMetricsSpecifications/CustomExporterValidationSpecification.php new file mode 100644 index 0000000..0c23841 --- /dev/null +++ b/src/Command/CognitiveMetricsSpecifications/CustomExporterValidationSpecification.php @@ -0,0 +1,123 @@ +hasReportOptions()) { + return true; + } + + $reportType = $context->getReportType(); + if ($reportType === null) { + return true; + } + + // Check if it's a built-in type (always valid) + $builtInTypes = ['json', 'csv', 'html', 'markdown']; + if (in_array($reportType, $builtInTypes, true)) { + return true; + } + + // For custom exporters, validate they can be loaded + return $this->validateCustomExporter($reportType); + } + + public function getErrorMessage(): string + { + return 'Custom exporter validation failed'; + } + + public function getErrorMessageWithContext(CognitiveMetricsCommandContext $context): string + { + $reportType = $context->getReportType(); + if ($reportType === null) { + return 'Report type is required for validation'; + } + + $config = $this->configService->getConfig(); + $customExporters = $config->customExporters['cognitive'] ?? []; + + if (!isset($customExporters[$reportType])) { + $supportedTypes = implode('`, `', $this->reportFactory->getSupportedTypes()); + return "Custom exporter `{$reportType}` not found in configuration. Supported types: `{$supportedTypes}`"; + } + + $exporterConfig = $customExporters[$reportType]; + $class = $exporterConfig['class'] ?? ''; + $file = $exporterConfig['file'] ?? null; + + if ($file !== null && !file_exists($file)) { + return "Exporter file not found: {$file}"; + } + + if ($file === null && !class_exists($class)) { + return "Exporter class not found: {$class}"; + } + + return "Custom exporter `{$reportType}` validation failed"; + } + + private function validateCustomExporter(string $reportType): bool + { + try { + $config = $this->configService->getConfig(); + $customExporters = $config->customExporters['cognitive'] ?? []; + + if (!isset($customExporters[$reportType])) { + return false; + } + + $exporterConfig = $customExporters[$reportType]; + $class = $exporterConfig['class'] ?? ''; + $file = $exporterConfig['file'] ?? null; + + // Validate file exists if specified + if ($file !== null && !file_exists($file)) { + return false; + } + + // For file-based exporters, we'll do basic validation + // The actual class loading will happen later with proper autoloading + if ($file !== null) { + // Check if the file is readable + try { + $content = file_get_contents($file); + if ($content === false) { + return false; + } + + // Basic check: does the file contain a class with the expected name? + // We'll look for the class name without the namespace prefix + $className = basename(str_replace('\\', '/', $class)); + return strpos($content, $className) !== false; + } catch (\Throwable) { + return false; + } + } + + // If no file specified, class should be autoloadable + return class_exists($class); + } catch (\Exception) { + return false; + } + } +} diff --git a/src/Command/Handler/ChurnReportHandler.php b/src/Command/Handler/ChurnReportHandler.php index 28c2199..78647f8 100644 --- a/src/Command/Handler/ChurnReportHandler.php +++ b/src/Command/Handler/ChurnReportHandler.php @@ -8,6 +8,7 @@ use Phauthentic\CognitiveCodeAnalysis\Business\Churn\ChurnMetricsCollection; use Phauthentic\CognitiveCodeAnalysis\Business\Churn\Report\ChurnReportFactoryInterface; use Phauthentic\CognitiveCodeAnalysis\Business\MetricsFacade; +use Phauthentic\CognitiveCodeAnalysis\Config\ConfigService; use Symfony\Component\Console\Command\Command; use Symfony\Component\Console\Output\OutputInterface; @@ -87,4 +88,14 @@ private function handleInvalidReportType(?string $reportType): int return Command::FAILURE; } + + public function getReportFactory(): ChurnReportFactoryInterface + { + return $this->exporterFactory; + } + + public function getConfigService(): ConfigService + { + return $this->metricsFacade->getConfigService(); + } } diff --git a/src/Command/Handler/CognitiveMetricsReportHandler.php b/src/Command/Handler/CognitiveMetricsReportHandler.php index 6a9949c..0051bb3 100644 --- a/src/Command/Handler/CognitiveMetricsReportHandler.php +++ b/src/Command/Handler/CognitiveMetricsReportHandler.php @@ -8,6 +8,7 @@ use Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\CognitiveMetricsCollection; use Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\Report\CognitiveReportFactoryInterface; use Phauthentic\CognitiveCodeAnalysis\Business\MetricsFacade; +use Phauthentic\CognitiveCodeAnalysis\Config\ConfigService; use Symfony\Component\Console\Command\Command; use Symfony\Component\Console\Output\OutputInterface; @@ -86,4 +87,14 @@ public function handleInvalidReporType(?string $reportType): int return Command::FAILURE; } + + public function getReportFactory(): CognitiveReportFactoryInterface + { + return $this->reportFactory; + } + + public function getConfigService(): ConfigService + { + return $this->metricsFacade->getConfigService(); + } } diff --git a/src/Config/ConfigService.php b/src/Config/ConfigService.php index 725d601..187a773 100644 --- a/src/Config/ConfigService.php +++ b/src/Config/ConfigService.php @@ -38,9 +38,12 @@ private function loadDefaultConfig(): void */ public function loadConfig(string $configFilePath): void { + $defaultConfig = Yaml::parseFile(__DIR__ . '/../../config.yml'); + $providedConfig = Yaml::parseFile($configFilePath); + $config = $this->processor->processConfiguration($this->configuration, [ - Yaml::parseFile(__DIR__ . '/../../config.yml'), - Yaml::parseFile($configFilePath), + $defaultConfig, + $providedConfig, ]); $this->config = (new ConfigFactory())->fromArray($config); From d1bdd69614f64616809e66a373320efae5e22ca9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20Kr=C3=A4mer?= Date: Mon, 13 Oct 2025 22:11:18 +0200 Subject: [PATCH 16/21] Renaming the interfaces --- src/Command/ChurnCommand.php | 8 ++++---- ...ionSpecification.php => ChurnCommandSpecification.php} | 2 +- .../ChurnValidationSpecificationFactory.php | 4 ++-- ...nSpecification.php => CompositeChurnSpecification.php} | 6 +++--- .../CoverageFileExistsSpecification.php | 2 +- .../CoverageFormatExclusivitySpecification.php | 2 +- .../CoverageFormatSupportedSpecification.php | 2 +- ...nSpecification.php => CustomExporterSpecification.php} | 2 +- .../ReportOptionsCompleteSpecification.php | 2 +- ...pecification.php => CognitiveMetricsSpecification.php} | 2 +- .../CompositeCognitiveMetricsValidationSpecification.php | 6 +++--- .../CoverageFileExistsSpecification.php | 2 +- .../CoverageFormatExclusivitySpecification.php | 2 +- .../CoverageFormatSupportedSpecification.php | 2 +- .../CustomExporterValidationSpecification.php | 2 +- .../SortFieldValidSpecification.php | 2 +- .../SortOrderValidSpecification.php | 2 +- .../ChurnSpecifications/ChurnSpecificationPatternTest.php | 4 ++-- 18 files changed, 27 insertions(+), 27 deletions(-) rename src/Command/ChurnSpecifications/{ChurnCommandValidationSpecification.php => ChurnCommandSpecification.php} (85%) rename src/Command/ChurnSpecifications/{CompositeChurnValidationSpecification.php => CompositeChurnSpecification.php} (87%) rename src/Command/ChurnSpecifications/{CustomExporterValidationSpecification.php => CustomExporterSpecification.php} (97%) rename src/Command/CognitiveMetricsSpecifications/{CognitiveMetricsCommandValidationSpecification.php => CognitiveMetricsSpecification.php} (83%) diff --git a/src/Command/ChurnCommand.php b/src/Command/ChurnCommand.php index b13f2a3..b20b571 100644 --- a/src/Command/ChurnCommand.php +++ b/src/Command/ChurnCommand.php @@ -13,9 +13,9 @@ use Phauthentic\CognitiveCodeAnalysis\Command\Handler\ChurnReportHandler; use Phauthentic\CognitiveCodeAnalysis\Command\Presentation\ChurnTextRenderer; use Phauthentic\CognitiveCodeAnalysis\Command\ChurnSpecifications\ChurnCommandContext; -use Phauthentic\CognitiveCodeAnalysis\Command\ChurnSpecifications\CompositeChurnValidationSpecification; +use Phauthentic\CognitiveCodeAnalysis\Command\ChurnSpecifications\CompositeChurnSpecification; use Phauthentic\CognitiveCodeAnalysis\Command\ChurnSpecifications\ChurnValidationSpecificationFactory; -use Phauthentic\CognitiveCodeAnalysis\Command\ChurnSpecifications\CustomExporterValidationSpecification; +use Phauthentic\CognitiveCodeAnalysis\Command\ChurnSpecifications\CustomExporterSpecification; use Symfony\Component\Console\Attribute\AsCommand; use Symfony\Component\Console\Command\Command; use Symfony\Component\Console\Input\InputArgument; @@ -38,7 +38,7 @@ class ChurnCommand extends Command public const OPTION_COVERAGE_COBERTURA = 'coverage-cobertura'; public const OPTION_COVERAGE_CLOVER = 'coverage-clover'; - private CompositeChurnValidationSpecification $validationSpecification; + private CompositeChurnSpecification $validationSpecification; /** * Constructor to initialize dependencies. @@ -144,7 +144,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int // Validate custom exporters after config is loaded if ($context->hasReportOptions()) { - $customExporterValidation = new CustomExporterValidationSpecification( + $customExporterValidation = new CustomExporterSpecification( $this->report->getReportFactory(), $this->report->getConfigService() ); diff --git a/src/Command/ChurnSpecifications/ChurnCommandValidationSpecification.php b/src/Command/ChurnSpecifications/ChurnCommandSpecification.php similarity index 85% rename from src/Command/ChurnSpecifications/ChurnCommandValidationSpecification.php rename to src/Command/ChurnSpecifications/ChurnCommandSpecification.php index 9f95e54..2ffa87a 100644 --- a/src/Command/ChurnSpecifications/ChurnCommandValidationSpecification.php +++ b/src/Command/ChurnSpecifications/ChurnCommandSpecification.php @@ -7,7 +7,7 @@ /** * @SuppressWarnings("LongClassName") */ -interface ChurnCommandValidationSpecification +interface ChurnCommandSpecification { public function isSatisfiedBy(ChurnCommandContext $context): bool; public function getErrorMessage(): string; diff --git a/src/Command/ChurnSpecifications/ChurnValidationSpecificationFactory.php b/src/Command/ChurnSpecifications/ChurnValidationSpecificationFactory.php index 3147f64..0dd7ab3 100644 --- a/src/Command/ChurnSpecifications/ChurnValidationSpecificationFactory.php +++ b/src/Command/ChurnSpecifications/ChurnValidationSpecificationFactory.php @@ -9,9 +9,9 @@ */ class ChurnValidationSpecificationFactory { - public function create(): CompositeChurnValidationSpecification + public function create(): CompositeChurnSpecification { - return new CompositeChurnValidationSpecification([ + return new CompositeChurnSpecification([ new CoverageFormatExclusivitySpecification(), new CoverageFileExistsSpecification(), new CoverageFormatSupportedSpecification(), diff --git a/src/Command/ChurnSpecifications/CompositeChurnValidationSpecification.php b/src/Command/ChurnSpecifications/CompositeChurnSpecification.php similarity index 87% rename from src/Command/ChurnSpecifications/CompositeChurnValidationSpecification.php rename to src/Command/ChurnSpecifications/CompositeChurnSpecification.php index 8b7c92d..9ecd872 100644 --- a/src/Command/ChurnSpecifications/CompositeChurnValidationSpecification.php +++ b/src/Command/ChurnSpecifications/CompositeChurnSpecification.php @@ -7,10 +7,10 @@ /** * @SuppressWarnings("LongClassName") */ -class CompositeChurnValidationSpecification implements ChurnCommandValidationSpecification +class CompositeChurnSpecification implements ChurnCommandSpecification { /** - * @param ChurnCommandValidationSpecification[] $specifications + * @param ChurnCommandSpecification[] $specifications */ public function __construct( private readonly array $specifications @@ -46,7 +46,7 @@ public function getDetailedErrorMessage(ChurnCommandContext $context): string return ''; } - public function getFirstFailedSpecification(ChurnCommandContext $context): ?ChurnCommandValidationSpecification + public function getFirstFailedSpecification(ChurnCommandContext $context): ?ChurnCommandSpecification { foreach ($this->specifications as $specification) { if (!$specification->isSatisfiedBy($context)) { diff --git a/src/Command/ChurnSpecifications/CoverageFileExistsSpecification.php b/src/Command/ChurnSpecifications/CoverageFileExistsSpecification.php index e03ddb5..3bd37f9 100644 --- a/src/Command/ChurnSpecifications/CoverageFileExistsSpecification.php +++ b/src/Command/ChurnSpecifications/CoverageFileExistsSpecification.php @@ -4,7 +4,7 @@ namespace Phauthentic\CognitiveCodeAnalysis\Command\ChurnSpecifications; -class CoverageFileExistsSpecification implements ChurnCommandValidationSpecification +class CoverageFileExistsSpecification implements ChurnCommandSpecification { public function isSatisfiedBy(ChurnCommandContext $context): bool { diff --git a/src/Command/ChurnSpecifications/CoverageFormatExclusivitySpecification.php b/src/Command/ChurnSpecifications/CoverageFormatExclusivitySpecification.php index 2b38821..7884cbd 100644 --- a/src/Command/ChurnSpecifications/CoverageFormatExclusivitySpecification.php +++ b/src/Command/ChurnSpecifications/CoverageFormatExclusivitySpecification.php @@ -4,7 +4,7 @@ namespace Phauthentic\CognitiveCodeAnalysis\Command\ChurnSpecifications; -class CoverageFormatExclusivitySpecification implements ChurnCommandValidationSpecification +class CoverageFormatExclusivitySpecification implements ChurnCommandSpecification { public function isSatisfiedBy(ChurnCommandContext $context): bool { diff --git a/src/Command/ChurnSpecifications/CoverageFormatSupportedSpecification.php b/src/Command/ChurnSpecifications/CoverageFormatSupportedSpecification.php index 57e4d38..a78735b 100644 --- a/src/Command/ChurnSpecifications/CoverageFormatSupportedSpecification.php +++ b/src/Command/ChurnSpecifications/CoverageFormatSupportedSpecification.php @@ -4,7 +4,7 @@ namespace Phauthentic\CognitiveCodeAnalysis\Command\ChurnSpecifications; -class CoverageFormatSupportedSpecification implements ChurnCommandValidationSpecification +class CoverageFormatSupportedSpecification implements ChurnCommandSpecification { public function isSatisfiedBy(ChurnCommandContext $context): bool { diff --git a/src/Command/ChurnSpecifications/CustomExporterValidationSpecification.php b/src/Command/ChurnSpecifications/CustomExporterSpecification.php similarity index 97% rename from src/Command/ChurnSpecifications/CustomExporterValidationSpecification.php rename to src/Command/ChurnSpecifications/CustomExporterSpecification.php index bed2f18..84bb337 100644 --- a/src/Command/ChurnSpecifications/CustomExporterValidationSpecification.php +++ b/src/Command/ChurnSpecifications/CustomExporterSpecification.php @@ -11,7 +11,7 @@ * Validation specification for custom exporters. * Ensures custom exporters are loadable before starting analysis. */ -class CustomExporterValidationSpecification implements ChurnCommandValidationSpecification +class CustomExporterSpecification implements ChurnCommandSpecification { public function __construct( private readonly ChurnReportFactoryInterface $reportFactory, diff --git a/src/Command/ChurnSpecifications/ReportOptionsCompleteSpecification.php b/src/Command/ChurnSpecifications/ReportOptionsCompleteSpecification.php index 8421d95..e68e720 100644 --- a/src/Command/ChurnSpecifications/ReportOptionsCompleteSpecification.php +++ b/src/Command/ChurnSpecifications/ReportOptionsCompleteSpecification.php @@ -4,7 +4,7 @@ namespace Phauthentic\CognitiveCodeAnalysis\Command\ChurnSpecifications; -class ReportOptionsCompleteSpecification implements ChurnCommandValidationSpecification +class ReportOptionsCompleteSpecification implements ChurnCommandSpecification { public function isSatisfiedBy(ChurnCommandContext $context): bool { diff --git a/src/Command/CognitiveMetricsSpecifications/CognitiveMetricsCommandValidationSpecification.php b/src/Command/CognitiveMetricsSpecifications/CognitiveMetricsSpecification.php similarity index 83% rename from src/Command/CognitiveMetricsSpecifications/CognitiveMetricsCommandValidationSpecification.php rename to src/Command/CognitiveMetricsSpecifications/CognitiveMetricsSpecification.php index c84e9e9..e0a3401 100644 --- a/src/Command/CognitiveMetricsSpecifications/CognitiveMetricsCommandValidationSpecification.php +++ b/src/Command/CognitiveMetricsSpecifications/CognitiveMetricsSpecification.php @@ -7,7 +7,7 @@ /** * @SuppressWarnings("LongClassName") */ -interface CognitiveMetricsCommandValidationSpecification +interface CognitiveMetricsSpecification { public function isSatisfiedBy(CognitiveMetricsCommandContext $context): bool; public function getErrorMessage(): string; diff --git a/src/Command/CognitiveMetricsSpecifications/CompositeCognitiveMetricsValidationSpecification.php b/src/Command/CognitiveMetricsSpecifications/CompositeCognitiveMetricsValidationSpecification.php index c3aba4d..f363f68 100644 --- a/src/Command/CognitiveMetricsSpecifications/CompositeCognitiveMetricsValidationSpecification.php +++ b/src/Command/CognitiveMetricsSpecifications/CompositeCognitiveMetricsValidationSpecification.php @@ -7,10 +7,10 @@ /** * @SuppressWarnings("LongClassName") */ -class CompositeCognitiveMetricsValidationSpecification implements CognitiveMetricsCommandValidationSpecification +class CompositeCognitiveMetricsValidationSpecification implements CognitiveMetricsSpecification { /** - * @param CognitiveMetricsCommandValidationSpecification[] $specifications + * @param CognitiveMetricsSpecification[] $specifications */ public function __construct( private array $specifications @@ -34,7 +34,7 @@ public function getErrorMessage(): string public function getFirstFailedSpecification( CognitiveMetricsCommandContext $context - ): ?CognitiveMetricsCommandValidationSpecification { + ): ?CognitiveMetricsSpecification { foreach ($this->specifications as $specification) { if (!$specification->isSatisfiedBy($context)) { return $specification; diff --git a/src/Command/CognitiveMetricsSpecifications/CoverageFileExistsSpecification.php b/src/Command/CognitiveMetricsSpecifications/CoverageFileExistsSpecification.php index 4555b9d..c53e47c 100644 --- a/src/Command/CognitiveMetricsSpecifications/CoverageFileExistsSpecification.php +++ b/src/Command/CognitiveMetricsSpecifications/CoverageFileExistsSpecification.php @@ -4,7 +4,7 @@ namespace Phauthentic\CognitiveCodeAnalysis\Command\CognitiveMetricsSpecifications; -class CoverageFileExistsSpecification implements CognitiveMetricsCommandValidationSpecification +class CoverageFileExistsSpecification implements CognitiveMetricsSpecification { public function isSatisfiedBy(CognitiveMetricsCommandContext $context): bool { diff --git a/src/Command/CognitiveMetricsSpecifications/CoverageFormatExclusivitySpecification.php b/src/Command/CognitiveMetricsSpecifications/CoverageFormatExclusivitySpecification.php index 5ab7637..611ad29 100644 --- a/src/Command/CognitiveMetricsSpecifications/CoverageFormatExclusivitySpecification.php +++ b/src/Command/CognitiveMetricsSpecifications/CoverageFormatExclusivitySpecification.php @@ -4,7 +4,7 @@ namespace Phauthentic\CognitiveCodeAnalysis\Command\CognitiveMetricsSpecifications; -class CoverageFormatExclusivitySpecification implements CognitiveMetricsCommandValidationSpecification +class CoverageFormatExclusivitySpecification implements CognitiveMetricsSpecification { public function isSatisfiedBy(CognitiveMetricsCommandContext $context): bool { diff --git a/src/Command/CognitiveMetricsSpecifications/CoverageFormatSupportedSpecification.php b/src/Command/CognitiveMetricsSpecifications/CoverageFormatSupportedSpecification.php index 7db1ca6..1085a47 100644 --- a/src/Command/CognitiveMetricsSpecifications/CoverageFormatSupportedSpecification.php +++ b/src/Command/CognitiveMetricsSpecifications/CoverageFormatSupportedSpecification.php @@ -4,7 +4,7 @@ namespace Phauthentic\CognitiveCodeAnalysis\Command\CognitiveMetricsSpecifications; -class CoverageFormatSupportedSpecification implements CognitiveMetricsCommandValidationSpecification +class CoverageFormatSupportedSpecification implements CognitiveMetricsSpecification { public function isSatisfiedBy(CognitiveMetricsCommandContext $context): bool { diff --git a/src/Command/CognitiveMetricsSpecifications/CustomExporterValidationSpecification.php b/src/Command/CognitiveMetricsSpecifications/CustomExporterValidationSpecification.php index 0c23841..0211e4b 100644 --- a/src/Command/CognitiveMetricsSpecifications/CustomExporterValidationSpecification.php +++ b/src/Command/CognitiveMetricsSpecifications/CustomExporterValidationSpecification.php @@ -11,7 +11,7 @@ * Validation specification for custom exporters in cognitive metrics command. * Ensures custom exporters are loadable before starting analysis. */ -class CustomExporterValidationSpecification implements CognitiveMetricsCommandValidationSpecification +class CustomExporterValidationSpecification implements CognitiveMetricsSpecification { public function __construct( private readonly CognitiveReportFactoryInterface $reportFactory, diff --git a/src/Command/CognitiveMetricsSpecifications/SortFieldValidSpecification.php b/src/Command/CognitiveMetricsSpecifications/SortFieldValidSpecification.php index 00f3f3d..3202d33 100644 --- a/src/Command/CognitiveMetricsSpecifications/SortFieldValidSpecification.php +++ b/src/Command/CognitiveMetricsSpecifications/SortFieldValidSpecification.php @@ -4,7 +4,7 @@ namespace Phauthentic\CognitiveCodeAnalysis\Command\CognitiveMetricsSpecifications; -class SortFieldValidSpecification implements CognitiveMetricsCommandValidationSpecification +class SortFieldValidSpecification implements CognitiveMetricsSpecification { private const SORTABLE_FIELDS = [ 'score', diff --git a/src/Command/CognitiveMetricsSpecifications/SortOrderValidSpecification.php b/src/Command/CognitiveMetricsSpecifications/SortOrderValidSpecification.php index fb83e5d..8f539b6 100644 --- a/src/Command/CognitiveMetricsSpecifications/SortOrderValidSpecification.php +++ b/src/Command/CognitiveMetricsSpecifications/SortOrderValidSpecification.php @@ -4,7 +4,7 @@ namespace Phauthentic\CognitiveCodeAnalysis\Command\CognitiveMetricsSpecifications; -class SortOrderValidSpecification implements CognitiveMetricsCommandValidationSpecification +class SortOrderValidSpecification implements CognitiveMetricsSpecification { private const VALID_SORT_ORDERS = ['asc', 'desc']; diff --git a/tests/Command/ChurnSpecifications/ChurnSpecificationPatternTest.php b/tests/Command/ChurnSpecifications/ChurnSpecificationPatternTest.php index 221b396..ff68c0a 100644 --- a/tests/Command/ChurnSpecifications/ChurnSpecificationPatternTest.php +++ b/tests/Command/ChurnSpecifications/ChurnSpecificationPatternTest.php @@ -7,7 +7,7 @@ use Phauthentic\CognitiveCodeAnalysis\Command\ChurnSpecifications\ChurnCommandContext; use Phauthentic\CognitiveCodeAnalysis\Command\ChurnSpecifications\CoverageFormatExclusivitySpecification; use Phauthentic\CognitiveCodeAnalysis\Command\ChurnSpecifications\CoverageFileExistsSpecification; -use Phauthentic\CognitiveCodeAnalysis\Command\ChurnSpecifications\CompositeChurnValidationSpecification; +use Phauthentic\CognitiveCodeAnalysis\Command\ChurnSpecifications\CompositeChurnSpecification; use PHPUnit\Framework\TestCase; use Symfony\Component\Console\Input\ArrayInput; use Symfony\Component\Console\Input\InputDefinition; @@ -83,7 +83,7 @@ public function testCoverageFileExistsSpecification(): void public function testCompositeValidationSpecification(): void { - $spec = new CompositeChurnValidationSpecification([ + $spec = new CompositeChurnSpecification([ new CoverageFormatExclusivitySpecification(), new CoverageFileExistsSpecification(), ]); From fa867a92ca5ae474d6e0bdb676e1af2df790c767 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20Kr=C3=A4mer?= Date: Mon, 13 Oct 2025 22:20:30 +0200 Subject: [PATCH 17/21] Refactoring the Cognitive Metrics Analyser Comamnd --- phpmd.xml | 4 +- src/Application.php | 36 ++- src/Command/CognitiveMetricsCommand.php | 208 ++++-------------- .../CognitiveAnalysis/BaselineHandler.php | 50 +++++ .../ConfigurationLoadHandler.php | 46 ++++ .../CognitiveAnalysis/CoverageLoadHandler.php | 76 +++++++ .../CognitiveAnalysis/SortingHandler.php | 49 +++++ src/Command/Result/OperationResult.php | 83 +++++++ 8 files changed, 388 insertions(+), 164 deletions(-) create mode 100644 src/Command/Handler/CognitiveAnalysis/BaselineHandler.php create mode 100644 src/Command/Handler/CognitiveAnalysis/ConfigurationLoadHandler.php create mode 100644 src/Command/Handler/CognitiveAnalysis/CoverageLoadHandler.php create mode 100644 src/Command/Handler/CognitiveAnalysis/SortingHandler.php create mode 100644 src/Command/Result/OperationResult.php diff --git a/phpmd.xml b/phpmd.xml index 5497422..e99933c 100644 --- a/phpmd.xml +++ b/phpmd.xml @@ -11,7 +11,9 @@ - + + + diff --git a/src/Application.php b/src/Application.php index 1dd2ea8..63a5e97 100644 --- a/src/Application.php +++ b/src/Application.php @@ -29,6 +29,10 @@ use Phauthentic\CognitiveCodeAnalysis\Command\EventHandler\ProgressBarHandler; use Phauthentic\CognitiveCodeAnalysis\Command\EventHandler\VerboseHandler; use Phauthentic\CognitiveCodeAnalysis\Command\Handler\ChurnReportHandler; +use Phauthentic\CognitiveCodeAnalysis\Command\Handler\CognitiveAnalysis\BaselineHandler; +use Phauthentic\CognitiveCodeAnalysis\Command\Handler\CognitiveAnalysis\ConfigurationLoadHandler; +use Phauthentic\CognitiveCodeAnalysis\Command\Handler\CognitiveAnalysis\CoverageLoadHandler; +use Phauthentic\CognitiveCodeAnalysis\Command\Handler\CognitiveAnalysis\SortingHandler; use Phauthentic\CognitiveCodeAnalysis\Command\Handler\CognitiveMetricsReportHandler; use Phauthentic\CognitiveCodeAnalysis\Command\Presentation\ChurnTextRenderer; use Phauthentic\CognitiveCodeAnalysis\Command\Presentation\CognitiveMetricTextRenderer; @@ -193,6 +197,31 @@ private function registerCommandHandlers(): void new Reference(CognitiveReportFactoryInterface::class), ]) ->setPublic(true); + + // Register cognitive analysis handlers + $this->containerBuilder->register(ConfigurationLoadHandler::class, ConfigurationLoadHandler::class) + ->setArguments([ + new Reference(MetricsFacade::class), + ]) + ->setPublic(true); + + $this->containerBuilder->register(CoverageLoadHandler::class, CoverageLoadHandler::class) + ->setArguments([ + new Reference(CodeCoverageFactory::class), + ]) + ->setPublic(true); + + $this->containerBuilder->register(BaselineHandler::class, BaselineHandler::class) + ->setArguments([ + new Reference(Baseline::class), + ]) + ->setPublic(true); + + $this->containerBuilder->register(SortingHandler::class, SortingHandler::class) + ->setArguments([ + new Reference(CognitiveMetricsSorter::class), + ]) + ->setPublic(true); } private function bootstrap(): void @@ -269,10 +298,11 @@ private function registerCommands(): void ->setArguments([ new Reference(MetricsFacade::class), new Reference(CognitiveMetricTextRendererInterface::class), - new Reference(Baseline::class), new Reference(CognitiveMetricsReportHandler::class), - new Reference(CognitiveMetricsSorter::class), - new Reference(CodeCoverageFactory::class), + new Reference(ConfigurationLoadHandler::class), + new Reference(CoverageLoadHandler::class), + new Reference(BaselineHandler::class), + new Reference(SortingHandler::class), new Reference(CognitiveMetricsValidationSpecificationFactory::class), ]) ->setPublic(true); diff --git a/src/Command/CognitiveMetricsCommand.php b/src/Command/CognitiveMetricsCommand.php index e5865e8..fc2bab6 100644 --- a/src/Command/CognitiveMetricsCommand.php +++ b/src/Command/CognitiveMetricsCommand.php @@ -4,14 +4,11 @@ namespace Phauthentic\CognitiveCodeAnalysis\Command; -use Exception; -use Phauthentic\CognitiveCodeAnalysis\Business\CodeCoverage\CodeCoverageFactory; -use Phauthentic\CognitiveCodeAnalysis\Business\CodeCoverage\CoverageReportReaderInterface; -use Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\Baseline; -use Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\CognitiveMetricsCollection; -use Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\CognitiveMetricsSorter; use Phauthentic\CognitiveCodeAnalysis\Business\MetricsFacade; -use Phauthentic\CognitiveCodeAnalysis\CognitiveAnalysisException; +use Phauthentic\CognitiveCodeAnalysis\Command\Handler\CognitiveAnalysis\BaselineHandler; +use Phauthentic\CognitiveCodeAnalysis\Command\Handler\CognitiveAnalysis\ConfigurationLoadHandler; +use Phauthentic\CognitiveCodeAnalysis\Command\Handler\CognitiveAnalysis\CoverageLoadHandler; +use Phauthentic\CognitiveCodeAnalysis\Command\Handler\CognitiveAnalysis\SortingHandler; use Phauthentic\CognitiveCodeAnalysis\Command\Handler\CognitiveMetricsReportHandler; use Phauthentic\CognitiveCodeAnalysis\Command\Presentation\CognitiveMetricTextRendererInterface; use Phauthentic\CognitiveCodeAnalysis\Command\CognitiveMetricsSpecifications\CognitiveMetricsCommandContext; @@ -51,10 +48,11 @@ class CognitiveMetricsCommand extends Command public function __construct( readonly private MetricsFacade $metricsFacade, readonly private CognitiveMetricTextRendererInterface $renderer, - readonly private Baseline $baselineService, readonly private CognitiveMetricsReportHandler $reportHandler, - readonly private CognitiveMetricsSorter $sorter, - readonly private CodeCoverageFactory $coverageFactory, + readonly private ConfigurationLoadHandler $configHandler, + readonly private CoverageLoadHandler $coverageHandler, + readonly private BaselineHandler $baselineHandler, + readonly private SortingHandler $sortingHandler, readonly private CognitiveMetricsValidationSpecificationFactory $validationSpecificationFactory ) { parent::__construct(); @@ -133,7 +131,6 @@ protected function configure(): void * @param InputInterface $input * @param OutputInterface $output * @return int Command status code. - * @throws Exception */ protected function execute(InputInterface $input, OutputInterface $output): int { @@ -141,19 +138,13 @@ protected function execute(InputInterface $input, OutputInterface $output): int // Validate all specifications if (!$this->validationSpecification->isSatisfiedBy($context)) { - $errorMessage = $this->validationSpecification->getDetailedErrorMessage($context); - $output->writeln('' . $errorMessage . ''); - return Command::FAILURE; + return $this->handleValidationError($context, $output); } - $paths = $context->getPaths(); - - // Load configuration if provided - if ($context->hasConfigFile()) { - $configFile = $context->getConfigFile(); - if ($configFile !== null && !$this->loadConfiguration($configFile, $output)) { - return Command::FAILURE; - } + // Load configuration + $configResult = $this->configHandler->load($context); + if ($configResult->isFailure()) { + return $configResult->toCommandStatus($output); } // Validate custom exporters after config is loaded @@ -164,164 +155,61 @@ protected function execute(InputInterface $input, OutputInterface $output): int ); if (!$customExporterValidation->isSatisfiedBy($context)) { - $errorMessage = $customExporterValidation->getErrorMessageWithContext($context); - $output->writeln('' . $errorMessage . ''); - return Command::FAILURE; + return $this->handleValidationError($context, $output, $customExporterValidation); } } // Load coverage reader - $coverageReader = $this->loadCoverageReader($context, $output); - if ($coverageReader === false) { - return Command::FAILURE; + $coverageResult = $this->coverageHandler->load($context); + if ($coverageResult->isFailure()) { + return $coverageResult->toCommandStatus($output); } - $metricsCollection = $this->metricsFacade->getCognitiveMetricsFromPaths($paths, $coverageReader); + // Get metrics + $metricsCollection = $this->metricsFacade->getCognitiveMetricsFromPaths( + $context->getPaths(), + $coverageResult->getData() + ); - $this->handleBaseLine($context, $metricsCollection); + // Apply baseline + $baselineResult = $this->baselineHandler->apply($context, $metricsCollection); + if ($baselineResult->isFailure()) { + return $baselineResult->toCommandStatus($output); + } - $sortResult = $this->applySorting($context, $output, $metricsCollection); - if ($sortResult['status'] === Command::FAILURE) { - return Command::FAILURE; + // Apply sorting + $sortResult = $this->sortingHandler->sort($context, $metricsCollection); + if ($sortResult->isFailure()) { + return $sortResult->toCommandStatus($output); } - $metricsCollection = $sortResult['collection']; - // Handle report generation or display + // Generate report or display results if ($context->hasReportOptions()) { - return $this->reportHandler->handle($metricsCollection, $context->getReportType(), $context->getReportFile()); + return $this->reportHandler->handle( + $sortResult->getData(), + $context->getReportType(), + $context->getReportFile() + ); } - $this->renderer->render($metricsCollection, $output); + $this->renderer->render($sortResult->getData(), $output); return Command::SUCCESS; } - /** - * Handles the baseline option and loads the baseline file if provided. - * - * @param CognitiveMetricsCommandContext $context - * @param CognitiveMetricsCollection $metricsCollection - * @throws Exception - */ - private function handleBaseLine( - CognitiveMetricsCommandContext $context, - CognitiveMetricsCollection $metricsCollection - ): void { - if (!$context->hasBaselineFile()) { - return; - } - - $baselineFile = $context->getBaselineFile(); - if ($baselineFile === null) { - return; - } - - $baseline = $this->baselineService->loadBaseline($baselineFile); - $this->baselineService->calculateDeltas($metricsCollection, $baseline); - } /** - * Apply sorting to metrics collection - * - * @return array{status: int, collection: CognitiveMetricsCollection} + * Handle validation errors with consistent error output. */ - private function applySorting( + private function handleValidationError( CognitiveMetricsCommandContext $context, OutputInterface $output, - CognitiveMetricsCollection $metricsCollection - ): array { - $sortBy = $context->getSortBy(); - $sortOrder = $context->getSortOrder(); - - if ($sortBy === null) { - return ['status' => Command::SUCCESS, 'collection' => $metricsCollection]; - } - - try { - $sorted = $this->sorter->sort($metricsCollection, $sortBy, $sortOrder); - return ['status' => Command::SUCCESS, 'collection' => $sorted]; - } catch (\InvalidArgumentException $e) { - $output->writeln('Sorting error: ' . $e->getMessage() . ''); - $output->writeln('Available sort fields: ' . implode(', ', $this->sorter->getSortableFields()) . ''); - return ['status' => Command::FAILURE, 'collection' => $metricsCollection]; - } - } - - /** - * Loads configuration and handles errors. - * - * @param string $configFile - * @param OutputInterface $output - * @return bool Success or failure. - */ - private function loadConfiguration(string $configFile, OutputInterface $output): bool - { - try { - $this->metricsFacade->loadConfig($configFile); - return true; - } catch (Exception $e) { - $output->writeln('Failed to load configuration: ' . $e->getMessage() . ''); - return false; - } - } - - /** - * Load coverage reader from file - * - * @param CognitiveMetricsCommandContext $context Command context containing coverage file information - * @param OutputInterface $output Output interface for error messages - * @return CoverageReportReaderInterface|null|false Returns reader instance, null if no file provided, or false on error - */ - private function loadCoverageReader( - CognitiveMetricsCommandContext $context, - OutputInterface $output - ): CoverageReportReaderInterface|null|false { - $coverageFile = $context->getCoverageFile(); - $format = $context->getCoverageFormat(); - - if ($coverageFile === null) { - return null; - } - - // Auto-detect format if not specified - if ($format === null) { - $format = $this->detectCoverageFormat($coverageFile); - if ($format === null) { - $output->writeln('Unable to detect coverage file format. Please specify format explicitly.'); - return false; - } - } - - try { - return $this->coverageFactory->createFromName($format, $coverageFile); - } catch (CognitiveAnalysisException $e) { - $output->writeln(sprintf( - 'Failed to load coverage file: %s', - $e->getMessage() - )); - return false; - } - } - - /** - * Detect coverage file format by examining the XML structure - */ - private function detectCoverageFormat(string $coverageFile): ?string - { - $content = file_get_contents($coverageFile); - if ($content === false) { - return null; - } - - // Cobertura format has root element with line-rate attribute - if (preg_match('/]*line-rate=/', $content)) { - return 'cobertura'; - } - - // Clover format has with generated attribute and child - if (preg_match('/]*generated=.*getErrorMessageWithContext($context) + : $this->validationSpecification->getDetailedErrorMessage($context); + + $output->writeln('' . $errorMessage . ''); + return Command::FAILURE; } } diff --git a/src/Command/Handler/CognitiveAnalysis/BaselineHandler.php b/src/Command/Handler/CognitiveAnalysis/BaselineHandler.php new file mode 100644 index 0000000..9ed0bd4 --- /dev/null +++ b/src/Command/Handler/CognitiveAnalysis/BaselineHandler.php @@ -0,0 +1,50 @@ +hasBaselineFile()) { + return OperationResult::success(); + } + + $baselineFile = $context->getBaselineFile(); + if ($baselineFile === null) { + return OperationResult::success(); + } + + try { + $baseline = $this->baselineService->loadBaseline($baselineFile); + $this->baselineService->calculateDeltas($metricsCollection, $baseline); + return OperationResult::success(); + } catch (Exception $e) { + return OperationResult::failure('Failed to process baseline: ' . $e->getMessage()); + } + } +} diff --git a/src/Command/Handler/CognitiveAnalysis/ConfigurationLoadHandler.php b/src/Command/Handler/CognitiveAnalysis/ConfigurationLoadHandler.php new file mode 100644 index 0000000..657de13 --- /dev/null +++ b/src/Command/Handler/CognitiveAnalysis/ConfigurationLoadHandler.php @@ -0,0 +1,46 @@ +hasConfigFile()) { + return OperationResult::success(); + } + + $configFile = $context->getConfigFile(); + if ($configFile === null) { + return OperationResult::success(); + } + + try { + $this->metricsFacade->loadConfig($configFile); + return OperationResult::success(); + } catch (Exception $e) { + return OperationResult::failure('Failed to load configuration: ' . $e->getMessage()); + } + } +} diff --git a/src/Command/Handler/CognitiveAnalysis/CoverageLoadHandler.php b/src/Command/Handler/CognitiveAnalysis/CoverageLoadHandler.php new file mode 100644 index 0000000..86ce40c --- /dev/null +++ b/src/Command/Handler/CognitiveAnalysis/CoverageLoadHandler.php @@ -0,0 +1,76 @@ +getCoverageFile(); + $format = $context->getCoverageFormat(); + + if ($coverageFile === null) { + return OperationResult::success(null); + } + + // Auto-detect format if not specified + if ($format === null) { + $format = $this->detectCoverageFormat($coverageFile); + if ($format === null) { + return OperationResult::failure('Unable to detect coverage file format. Please specify format explicitly.'); + } + } + + try { + $reader = $this->coverageFactory->createFromName($format, $coverageFile); + return OperationResult::success($reader); + } catch (CognitiveAnalysisException $e) { + return OperationResult::failure('Failed to load coverage file: ' . $e->getMessage()); + } + } + + /** + * Detect coverage file format by examining the XML structure. + */ + private function detectCoverageFormat(string $coverageFile): ?string + { + $content = file_get_contents($coverageFile); + if ($content === false) { + return null; + } + + // Cobertura format has root element with line-rate attribute + if (preg_match('/]*line-rate=/', $content)) { + return 'cobertura'; + } + + // Clover format has with generated attribute and child + if (preg_match('/]*generated=.*getSortBy(); + $sortOrder = $context->getSortOrder(); + + if ($sortBy === null) { + return OperationResult::success($metricsCollection); + } + + try { + $sorted = $this->sorter->sort($metricsCollection, $sortBy, $sortOrder); + return OperationResult::success($sorted); + } catch (\InvalidArgumentException $e) { + $availableFields = implode(', ', $this->sorter->getSortableFields()); + return OperationResult::failure( + "Sorting error: {$e->getMessage()}. Available sort fields: {$availableFields}" + ); + } + } +} diff --git a/src/Command/Result/OperationResult.php b/src/Command/Result/OperationResult.php new file mode 100644 index 0000000..bd97372 --- /dev/null +++ b/src/Command/Result/OperationResult.php @@ -0,0 +1,83 @@ +success; + } + + /** + * Check if the operation failed. + */ + public function isFailure(): bool + { + return !$this->success; + } + + /** + * Get the data from the operation (only available on success). + */ + public function getData(): mixed + { + return $this->data; + } + + /** + * Get the error message (only available on failure). + */ + public function getErrorMessage(): string + { + return $this->errorMessage; + } + + /** + * Convert the result to a command status code. + * Outputs error message if failed, returns appropriate status code. + */ + public function toCommandStatus(OutputInterface $output): int + { + if ($this->isFailure()) { + $output->writeln('' . $this->errorMessage . ''); + return 1; // Command::FAILURE + } + + return 0; // Command::SUCCESS + } +} From 284b944c744a25a1da99de29478fedae8e85b902 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20Kr=C3=A4mer?= Date: Mon, 13 Oct 2025 22:23:23 +0200 Subject: [PATCH 18/21] Refactoring --- src/Command/CognitiveMetricsCommand.php | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/src/Command/CognitiveMetricsCommand.php b/src/Command/CognitiveMetricsCommand.php index fc2bab6..38eada1 100644 --- a/src/Command/CognitiveMetricsCommand.php +++ b/src/Command/CognitiveMetricsCommand.php @@ -43,7 +43,7 @@ class CognitiveMetricsCommand extends Command public const OPTION_COVERAGE_CLOVER = 'coverage-clover'; private const ARGUMENT_PATH = 'path'; - private CompositeCognitiveMetricsValidationSpecification $validationSpecification; + private CompositeCognitiveMetricsValidationSpecification $specification; public function __construct( readonly private MetricsFacade $metricsFacade, @@ -53,10 +53,10 @@ public function __construct( readonly private CoverageLoadHandler $coverageHandler, readonly private BaselineHandler $baselineHandler, readonly private SortingHandler $sortingHandler, - readonly private CognitiveMetricsValidationSpecificationFactory $validationSpecificationFactory + readonly private CognitiveMetricsValidationSpecificationFactory $specificationFactory ) { parent::__construct(); - $this->validationSpecification = $this->validationSpecificationFactory->create(); + $this->specification = $this->specificationFactory->create(); } @@ -131,13 +131,14 @@ protected function configure(): void * @param InputInterface $input * @param OutputInterface $output * @return int Command status code. + * @throws \Phauthentic\CognitiveCodeAnalysis\CognitiveAnalysisException */ protected function execute(InputInterface $input, OutputInterface $output): int { $context = new CognitiveMetricsCommandContext($input); // Validate all specifications - if (!$this->validationSpecification->isSatisfiedBy($context)) { + if (!$this->specification->isSatisfiedBy($context)) { return $this->handleValidationError($context, $output); } @@ -193,6 +194,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int } $this->renderer->render($sortResult->getData(), $output); + return Command::SUCCESS; } @@ -207,9 +209,10 @@ private function handleValidationError( ): int { $errorMessage = $customExporterValidation !== null ? $customExporterValidation->getErrorMessageWithContext($context) - : $this->validationSpecification->getDetailedErrorMessage($context); + : $this->specification->getDetailedErrorMessage($context); $output->writeln('' . $errorMessage . ''); + return Command::FAILURE; } } From e156b6eed9e4119987b951149b999790cef941bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20Kr=C3=A4mer?= Date: Mon, 13 Oct 2025 22:28:12 +0200 Subject: [PATCH 19/21] Refactoring --- src/Business/Cognitive/Parser.php | 2 +- .../CyclomaticComplexityCalculator.php | 47 +++++++++++++++---- ...yclomaticComplexityCalculatorInterface.php | 2 +- src/PhpParser/CombinedMetricsVisitor.php | 2 +- src/PhpParser/CyclomaticComplexityVisitor.php | 2 +- .../CyclomaticComplexityCalculatorTest.php | 2 +- .../CyclomaticComplexityVisitorTest.php | 4 +- 7 files changed, 44 insertions(+), 17 deletions(-) rename src/Business/{CyclomaticComplexity => Cyclomatic}/CyclomaticComplexityCalculator.php (73%) rename src/Business/{CyclomaticComplexity => Cyclomatic}/CyclomaticComplexityCalculatorInterface.php (95%) diff --git a/src/Business/Cognitive/Parser.php b/src/Business/Cognitive/Parser.php index 9b12e81..c256c8a 100644 --- a/src/Business/Cognitive/Parser.php +++ b/src/Business/Cognitive/Parser.php @@ -4,8 +4,8 @@ namespace Phauthentic\CognitiveCodeAnalysis\Business\Cognitive; +use Phauthentic\CognitiveCodeAnalysis\Business\Cyclomatic\CyclomaticComplexityCalculator; use Phauthentic\CognitiveCodeAnalysis\Business\Halstead\HalsteadMetricsCalculator; -use Phauthentic\CognitiveCodeAnalysis\Business\CyclomaticComplexity\CyclomaticComplexityCalculator; use Phauthentic\CognitiveCodeAnalysis\CognitiveAnalysisException; use Phauthentic\CognitiveCodeAnalysis\PhpParser\AnnotationVisitor; use Phauthentic\CognitiveCodeAnalysis\PhpParser\CognitiveMetricsVisitor; diff --git a/src/Business/CyclomaticComplexity/CyclomaticComplexityCalculator.php b/src/Business/Cyclomatic/CyclomaticComplexityCalculator.php similarity index 73% rename from src/Business/CyclomaticComplexity/CyclomaticComplexityCalculator.php rename to src/Business/Cyclomatic/CyclomaticComplexityCalculator.php index afe1411..1176e73 100644 --- a/src/Business/CyclomaticComplexity/CyclomaticComplexityCalculator.php +++ b/src/Business/Cyclomatic/CyclomaticComplexityCalculator.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Phauthentic\CognitiveCodeAnalysis\Business\CyclomaticComplexity; +namespace Phauthentic\CognitiveCodeAnalysis\Business\Cyclomatic; class CyclomaticComplexityCalculator implements CyclomaticComplexityCalculatorInterface { @@ -30,7 +30,7 @@ public function calculateComplexity(array $decisionPointCounts): int } /** - * Create detailed breakdown of complexity factors. + * Create a detailed breakdown of complexity factors. * * @param array $decisionPointCounts Array of decision point counts * @param int $totalComplexity Total complexity value @@ -77,15 +77,22 @@ public function createSummary(array $classComplexities, array $methodComplexitie 'very_high_risk_methods' => [], ]; - // Class summary - foreach ($classComplexities as $className => $complexity) { - $summary['classes'][$className] = [ - 'complexity' => $complexity, - 'risk_level' => $this->getRiskLevel($complexity), - ]; - } + $summary = $this->classSummary($classComplexities, $summary); + $summary = $this->methodSummary($methodComplexities, $methodBreakdowns, $summary); + + return $summary; + } - // Method summary + /** + * Create method summary with risk assessment. + * + * @param array $methodComplexities Method complexities indexed by "ClassName::methodName" + * @param array> $methodBreakdowns Method breakdowns indexed by "ClassName::methodName" + * @param array $summary Summary array to populate + * @return array Updated summary with method data + */ + public function methodSummary(array $methodComplexities, array $methodBreakdowns, array $summary): array + { foreach ($methodComplexities as $methodKey => $complexity) { $riskLevel = $this->getRiskLevel($complexity); $summary['methods'][$methodKey] = [ @@ -97,6 +104,7 @@ public function createSummary(array $classComplexities, array $methodComplexitie if ($complexity >= 10) { $summary['high_risk_methods'][$methodKey] = $complexity; } + if ($complexity < 15) { continue; } @@ -106,4 +114,23 @@ public function createSummary(array $classComplexities, array $methodComplexitie return $summary; } + + /** + * Create class summary with risk assessment. + * + * @param array $classComplexities Class complexities indexed by class name + * @param array $summary Summary array to populate + * @return array Updated summary with class data + */ + public function classSummary(array $classComplexities, array $summary): array + { + foreach ($classComplexities as $className => $complexity) { + $summary['classes'][$className] = [ + 'complexity' => $complexity, + 'risk_level' => $this->getRiskLevel($complexity), + ]; + } + + return $summary; + } } diff --git a/src/Business/CyclomaticComplexity/CyclomaticComplexityCalculatorInterface.php b/src/Business/Cyclomatic/CyclomaticComplexityCalculatorInterface.php similarity index 95% rename from src/Business/CyclomaticComplexity/CyclomaticComplexityCalculatorInterface.php rename to src/Business/Cyclomatic/CyclomaticComplexityCalculatorInterface.php index 50bbd30..c37363b 100644 --- a/src/Business/CyclomaticComplexity/CyclomaticComplexityCalculatorInterface.php +++ b/src/Business/Cyclomatic/CyclomaticComplexityCalculatorInterface.php @@ -2,7 +2,7 @@ declare(strict_types=1); -namespace Phauthentic\CognitiveCodeAnalysis\Business\CyclomaticComplexity; +namespace Phauthentic\CognitiveCodeAnalysis\Business\Cyclomatic; interface CyclomaticComplexityCalculatorInterface { diff --git a/src/PhpParser/CombinedMetricsVisitor.php b/src/PhpParser/CombinedMetricsVisitor.php index 6c4c46a..3e920a6 100644 --- a/src/PhpParser/CombinedMetricsVisitor.php +++ b/src/PhpParser/CombinedMetricsVisitor.php @@ -4,8 +4,8 @@ namespace Phauthentic\CognitiveCodeAnalysis\PhpParser; +use Phauthentic\CognitiveCodeAnalysis\Business\Cyclomatic\CyclomaticComplexityCalculator; use Phauthentic\CognitiveCodeAnalysis\Business\Halstead\HalsteadMetricsCalculator; -use Phauthentic\CognitiveCodeAnalysis\Business\CyclomaticComplexity\CyclomaticComplexityCalculator; use PhpParser\Node; use PhpParser\NodeVisitor; diff --git a/src/PhpParser/CyclomaticComplexityVisitor.php b/src/PhpParser/CyclomaticComplexityVisitor.php index a3ee371..b7499db 100644 --- a/src/PhpParser/CyclomaticComplexityVisitor.php +++ b/src/PhpParser/CyclomaticComplexityVisitor.php @@ -4,7 +4,7 @@ namespace Phauthentic\CognitiveCodeAnalysis\PhpParser; -use Phauthentic\CognitiveCodeAnalysis\Business\CyclomaticComplexity\CyclomaticComplexityCalculatorInterface; +use Phauthentic\CognitiveCodeAnalysis\Business\Cyclomatic\CyclomaticComplexityCalculatorInterface; use PhpParser\Node; use PhpParser\NodeVisitorAbstract; diff --git a/tests/Unit/Business/CyclomaticComplexity/CyclomaticComplexityCalculatorTest.php b/tests/Unit/Business/CyclomaticComplexity/CyclomaticComplexityCalculatorTest.php index f88c02b..ffc7635 100644 --- a/tests/Unit/Business/CyclomaticComplexity/CyclomaticComplexityCalculatorTest.php +++ b/tests/Unit/Business/CyclomaticComplexity/CyclomaticComplexityCalculatorTest.php @@ -4,7 +4,7 @@ namespace Phauthentic\CognitiveCodeAnalysis\Tests\Unit\Business\CyclomaticComplexity; -use Phauthentic\CognitiveCodeAnalysis\Business\CyclomaticComplexity\CyclomaticComplexityCalculator; +use Phauthentic\CognitiveCodeAnalysis\Business\Cyclomatic\CyclomaticComplexityCalculator; use PHPUnit\Framework\TestCase; class CyclomaticComplexityCalculatorTest extends TestCase diff --git a/tests/Unit/PhpParser/CyclomaticComplexityVisitorTest.php b/tests/Unit/PhpParser/CyclomaticComplexityVisitorTest.php index d112261..fa65c76 100644 --- a/tests/Unit/PhpParser/CyclomaticComplexityVisitorTest.php +++ b/tests/Unit/PhpParser/CyclomaticComplexityVisitorTest.php @@ -4,10 +4,10 @@ namespace Phauthentic\CognitiveCodeAnalysis\Tests\Unit\PhpParser; -use Phauthentic\CognitiveCodeAnalysis\Business\CyclomaticComplexity\CyclomaticComplexityCalculator; +use Phauthentic\CognitiveCodeAnalysis\Business\Cyclomatic\CyclomaticComplexityCalculator; use Phauthentic\CognitiveCodeAnalysis\PhpParser\CyclomaticComplexityVisitor; -use PhpParser\ParserFactory; use PhpParser\NodeTraverser; +use PhpParser\ParserFactory; use PHPUnit\Framework\TestCase; class CyclomaticComplexityVisitorTest extends TestCase From b8657a720534c453a4f7f86f0c20638850c146e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20Kr=C3=A4mer?= Date: Tue, 14 Oct 2025 19:20:34 +0200 Subject: [PATCH 20/21] Renaming exporters to reporters --- config.yml | 11 +- docs/Creating-Custom-Reporters.md | 70 ++++---- docs/SpecificationPattern-Implementation.md | 167 ------------------ .../Churn/Report/ChurnReportFactory.php | 10 +- .../Report/CognitiveReportFactory.php | 10 +- .../CustomExporterSpecification.php | 12 +- .../CustomExporterValidationSpecification.php | 12 +- src/Config/CognitiveConfig.php | 4 +- src/Config/ConfigFactory.php | 2 +- src/Config/ConfigLoader.php | 2 +- .../config-aware-churn-reporter-config.yml | 2 +- .../config-aware-text-reporter-config.yml | 2 +- tests/Fixtures/config-exporter-config.yml | 2 +- .../Fixtures/custom-churn-exporter-config.yml | 2 +- .../custom-churn-text-reporter-config.yml | 2 +- .../custom-cognitive-exporter-config.yml | 2 +- tests/Fixtures/custom-exporters-config.yml | 2 +- .../Fixtures/custom-text-reporter-config.yml | 2 +- .../invalid-custom-exporter-config.yml | 2 +- .../Report/ChurnReporterFactoryCustomTest.php | 28 +-- .../Churn/Report/TestCognitiveConfig.php | 4 +- .../CognitiveReporterFactoryCustomTest.php | 36 ++-- .../MetricsFacadeCustomExportersTest.php | 8 +- .../Unit/Config/CustomExportersConfigTest.php | 46 ++--- 24 files changed, 137 insertions(+), 303 deletions(-) delete mode 100644 docs/SpecificationPattern-Implementation.md diff --git a/config.yml b/config.yml index 1ea8c14..09c2097 100644 --- a/config.yml +++ b/config.yml @@ -40,9 +40,12 @@ cognitive: threshold: 1 scale: 1.0 enabled: true - # Example of custom exporters: - # customExporters: + # Example of custom reporters: + # customReporters: # cognitive: # pdf: - # class: 'My\Custom\PdfExporter' - # file: '/path/to/PdfExporter.php' + # class: 'My\Custom\PdfReporter' + # file: '/path/to/PdfReporter.php' + # churn: + # class: 'My\Custom\ChurnReporter' + # file: '/path/to/ChurnReporter.php' diff --git a/docs/Creating-Custom-Reporters.md b/docs/Creating-Custom-Reporters.md index 43e10a5..6383d7b 100644 --- a/docs/Creating-Custom-Reporters.md +++ b/docs/Creating-Custom-Reporters.md @@ -4,18 +4,18 @@ This guide explains how to create custom reporters for the Cognitive Code Checke ## Overview -The Cognitive Code Checker supports two types of reporters: +The Cognitive Code Checker supports two types of reports: -- **Cognitive Reporters**: Export cognitive complexity metrics -- **Churn Reporters**: Export code churn metrics +- **Cognitive reporter**: Export cognitive complexity metrics +- **Churn reporter**: Export code churn metrics Both types follow similar patterns but have different interfaces and data structures. ## Reporter Types -### Cognitive Reporters +### Cognitive reporter -Cognitive reporters handle cognitive complexity metrics data and implement the `ReportGeneratorInterface` from the `Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\Report` namespace. +Cognitive reporter handle cognitive complexity metrics data and implement the `ReportGeneratorInterface` from the `Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\Report` namespace. **Interface:** @@ -35,9 +35,9 @@ interface ReportGeneratorInterface - `getLineCountWeight()`, `getArgCountWeight()`, etc. - Individual metric weights - `getLineCountWeightDelta()`, etc. - Delta values for comparison -### Churn Reporters +### Churn reporter -Churn reporters handle code churn metrics data and implement the `ReportGeneratorInterface` from the `Phauthentic\CognitiveCodeAnalysis\Business\Churn\Report` namespace. +Churn reporter handle code churn metrics data and implement the `ReportGeneratorInterface` from the `Phauthentic\CognitiveCodeAnalysis\Business\Churn\Report` namespace. **Interface:** @@ -61,20 +61,20 @@ interface ReportGeneratorInterface ## Configuration -Add your custom reporters to the `config.yml` file under the `customExporters` section: +Add your custom reporter to the `config.yml` file under the `customReporters` section: ```yaml cognitive: # ... other cognitive settings ... - customExporters: + customReporters: cognitive: pdf: # Custom reporter name class: 'My\Custom\PdfReporter' file: '/path/to/PdfReporter.php' churn: - xml: # Custom reporter name - class: 'My\Custom\XmlChurnReporter' - file: null # null if class is autoloaded + churn: # Custom reporter name + class: 'My\Custom\ChurnReporter' + file: '/path/to/ChurnReporter.php' ``` ### Configuration Parameters @@ -180,7 +180,7 @@ class PdfReporter implements ReportGeneratorInterface ## Creating a Custom Churn Reporter -Here's an example of a custom XML reporter for churn metrics: +Here's an example of a custom churn reporter for churn metrics: ```php generateXmlContent($classes); + // Generate churn content + $churnContent = $this->generateChurnContent($classes); // Write to file - if (file_put_contents($filename, $xmlContent) === false) { + if (file_put_contents($filename, $churnContent) === false) { throw new CognitiveAnalysisException("Could not write to file: {$filename}"); } } - private function generateXmlContent(array $classes): string + private function generateChurnContent(array $classes): string { - $xml = '' . "\n"; - $xml .= '' . "\n"; + $content = "Churn Report\n"; + $content .= "============\n\n"; foreach ($classes as $className => $data) { - $xml .= " \n"; - $xml .= " {$data['file']}\n"; - $xml .= " {$data['score']}\n"; - $xml .= " {$data['churn']}\n"; - $xml .= " {$data['timesChanged']}\n"; - $xml .= " \n"; + $content .= "Class: {$className}\n"; + $content .= "File: {$data['file']}\n"; + $content .= "Score: {$data['score']}\n"; + $content .= "Churn: {$data['churn']}\n"; + $content .= "Times Changed: {$data['timesChanged']}\n"; + $content .= "---\n"; } - $xml .= ''; - - return $xml; + return $content; } } ``` @@ -241,7 +239,7 @@ Once configured, you can use your custom reporter by specifying its name when ge php bin/cognitive-report --format=pdf --output=report.pdf # For churn metrics -php bin/churn-report --format=xml --output=churn.xml +php bin/churn-report --format=churn --output=churn.txt ``` ## Best Practices @@ -252,18 +250,18 @@ php bin/churn-report --format=xml --output=churn.xml 4. **Configuration**: Use `CognitiveConfig` if you need access to settings 5. **Testing**: Test your reporter with real data to ensure proper formatting -## Built-in Reporters Reference +## Built-in reporter Reference -For inspiration, examine the built-in reporters: +For inspiration, examine the built-in reporter: -**Cognitive Reporters:** +**Cognitive reporter:** - - `JsonReport` - JSON format - `CsvReport` - CSV format - `HtmlReport` - HTML with Bootstrap styling - `MarkdownReport` - Markdown tables -**Churn Reporters:** +**Churn reporter:** - `JsonReport` - JSON format - `CsvReport` - CSV format @@ -284,5 +282,5 @@ For inspiration, examine the built-in reporters: - Check the configuration syntax in `config.yml` - Verify file paths are absolute or relative to the project root -- Test with simple reporters first before complex implementations -- Use the built-in reporters as templates for your custom ones +- Test with simple reporter first before complex implementations +- Use the built-in reporter as templates for your custom ones diff --git a/docs/SpecificationPattern-Implementation.md b/docs/SpecificationPattern-Implementation.md deleted file mode 100644 index 89028c8..0000000 --- a/docs/SpecificationPattern-Implementation.md +++ /dev/null @@ -1,167 +0,0 @@ -# Specification Pattern Implementation for ChurnCommand - -## Overview - -The Specification pattern has been successfully implemented in the `ChurnCommand` to reduce conditional complexity and improve maintainability. This refactoring separates validation logic from business logic and makes the code more testable and extensible. - -## Files Created - -### Core Pattern Files -- `src/Command/ChurnSpecifications/ChurnCommandContext.php` - Context object holding command input data -- `src/Command/ChurnSpecifications/ChurnCommandValidationSpecification.php` - Base interface for specifications -- `src/Command/ChurnSpecifications/CompositeChurnValidationSpecification.php` - Composite pattern for combining specifications - -### Individual Specifications -- `src/Command/ChurnSpecifications/CoverageFormatExclusivitySpecification.php` - Validates only one coverage format is specified -- `src/Command/ChurnSpecifications/CoverageFileExistsSpecification.php` - Validates coverage file exists -- `src/Command/ChurnSpecifications/CoverageFormatSupportedSpecification.php` - Validates coverage format is supported -- `src/Command/ChurnSpecifications/ReportOptionsCompleteSpecification.php` - Validates report options are complete - -### Test File -- `tests/Command/ChurnSpecifications/ChurnSpecificationPatternTest.php` - Unit tests demonstrating the pattern - -## Key Changes - -### Before (Original ChurnCommand.execute method) -```php -protected function execute(InputInterface $input, OutputInterface $output): int -{ - // Load configuration if provided - $configFile = $input->getOption(self::OPTION_CONFIG_FILE); - if ($configFile !== null) { - if (!$this->loadConfiguration($configFile, $output)) { - return self::FAILURE; - } - } - - $coberturaFile = $input->getOption(self::OPTION_COVERAGE_COBERTURA); - $cloverFile = $input->getOption(self::OPTION_COVERAGE_CLOVER); - - // Validate that only one coverage option is specified - if ($coberturaFile !== null && $cloverFile !== null) { - $output->writeln('Only one coverage format can be specified at a time.'); - return self::FAILURE; - } - - $coverageFile = $coberturaFile ?? $cloverFile; - $coverageFormat = $coberturaFile !== null ? 'cobertura' : ($cloverFile !== null ? 'clover' : null); - - if (!$this->coverageFileExists($coverageFile, $output)) { - return self::FAILURE; - } - - $coverageReader = $this->loadCoverageReader($coverageFile, $coverageFormat, $output); - if ($coverageReader === false) { - return self::FAILURE; - } - - // ... rest of method -} -``` - -### After (Refactored with Specifications) -```php -protected function execute(InputInterface $input, OutputInterface $output): int -{ - $context = new CommandContext($input); - - // Validate all specifications - if (!$this->validationSpecification->isSatisfiedBy($context)) { - $failedSpec = $this->validationSpecification->getFirstFailedSpecification($context); - $output->writeln('' . $failedSpec->getErrorMessage() . ''); - return self::FAILURE; - } - - // Load configuration if provided - if ($context->hasConfigFile()) { - if (!$this->loadConfiguration($context->getConfigFile(), $output)) { - return self::FAILURE; - } - } - - // Load coverage reader - $coverageReader = $this->loadCoverageReader($context, $output); - if ($coverageReader === false) { - return self::FAILURE; - } - - // ... rest of method -} -``` - -## Benefits Achieved - -### 1. **Reduced Conditional Complexity** -- Eliminated multiple nested if statements -- Single validation point with clear error handling -- Cleaner, more readable execute method - -### 2. **Separation of Concerns** -- Validation logic separated from business logic -- Each validation rule is isolated and focused -- Easy to understand what each specification validates - -### 3. **Improved Testability** -- Each specification can be unit tested independently -- Mock CommandContext for testing different scenarios -- Clear test cases for each validation rule - -### 4. **Enhanced Maintainability** -- Adding new validation rules requires only creating a new specification -- No need to modify existing code -- Easy to reorder or remove validation rules - -### 5. **Better Reusability** -- Specifications can be reused across different commands -- Composite specifications can be combined in different ways -- Easy to create command-specific validation sets - -### 6. **Consistent Error Handling** -- Standardized error message format -- First failure stops validation chain (fail-fast) -- Clear, specific error messages for each validation failure - -## Usage Example - -```php -// Adding a new validation rule is now trivial -class ConfigFileExistsSpecification implements CommandValidationSpecification -{ - public function isSatisfiedBy(CommandContext $context): bool - { - $configFile = $context->getConfigFile(); - return $configFile === null || file_exists($configFile); - } - - public function getErrorMessage(): string - { - return sprintf('Configuration file not found: %s', $context->getConfigFile()); - } -} - -// Just add it to the composite specification -$this->validationSpecification = new CompositeValidationSpecification([ - new CoverageFormatExclusivitySpecification(), - new CoverageFileExistsSpecification(), - new CoverageFormatSupportedSpecification(), - new ReportOptionsCompleteSpecification(), - new ConfigFileExistsSpecification(), // <- New validation rule -]); -``` - -## Testing - -The implementation includes comprehensive unit tests demonstrating: -- Individual specification validation -- Composite specification behavior -- Error message generation -- Context object functionality - -Run tests with: -```bash -phpunit tests/Command/ChurnSpecifications/ChurnSpecificationPatternTest.php -``` - -## Conclusion - -The Specification pattern implementation successfully reduces conditional complexity while improving code maintainability, testability, and extensibility. The refactored code is cleaner, more focused, and easier to extend with new validation rules. diff --git a/src/Business/Churn/Report/ChurnReportFactory.php b/src/Business/Churn/Report/ChurnReportFactory.php index ea7e470..2ab455d 100644 --- a/src/Business/Churn/Report/ChurnReportFactory.php +++ b/src/Business/Churn/Report/ChurnReportFactory.php @@ -31,7 +31,7 @@ public function __construct( public function create(string $type): ReportGeneratorInterface { $config = $this->configService->getConfig(); - $customExporters = $config->customExporters['churn'] ?? []; + $customReporters = $config->customReporters['churn'] ?? []; // Check built-in exporters first $builtIn = match ($type) { @@ -48,8 +48,8 @@ public function create(string $type): ReportGeneratorInterface } // Check custom exporters - if (isset($customExporters[$type])) { - return $this->createCustomExporter($customExporters[$type]); + if (isset($customReporters[$type])) { + return $this->createCustomExporter($customReporters[$type]); } throw new InvalidArgumentException("Unsupported exporter type: {$type}"); @@ -85,11 +85,11 @@ private function createCustomExporter(array $config): ReportGeneratorInterface public function getSupportedTypes(): array { $config = $this->configService->getConfig(); - $customExporters = $config->customExporters['churn'] ?? []; + $customReporters = $config->customReporters['churn'] ?? []; return array_merge( ['json', 'csv', 'html', 'markdown', 'svg-treemap', 'svg'], - array_keys($customExporters) + array_keys($customReporters) ); } diff --git a/src/Business/Cognitive/Report/CognitiveReportFactory.php b/src/Business/Cognitive/Report/CognitiveReportFactory.php index 446b098..aebba33 100644 --- a/src/Business/Cognitive/Report/CognitiveReportFactory.php +++ b/src/Business/Cognitive/Report/CognitiveReportFactory.php @@ -31,7 +31,7 @@ public function __construct( public function create(string $type): ReportGeneratorInterface { $config = $this->configService->getConfig(); - $customExporters = $config->customExporters['cognitive'] ?? []; + $customReporters = $config->customReporters['cognitive'] ?? []; // Check built-in exporters first $builtIn = match ($type) { @@ -46,8 +46,8 @@ public function create(string $type): ReportGeneratorInterface return $builtIn; } - if (isset($customExporters[$type])) { - return $this->createCustomExporter($customExporters[$type]); + if (isset($customReporters[$type])) { + return $this->createCustomExporter($customReporters[$type]); } throw new InvalidArgumentException("Unsupported exporter type: {$type}"); @@ -83,11 +83,11 @@ private function createCustomExporter(array $config): ReportGeneratorInterface public function getSupportedTypes(): array { $config = $this->configService->getConfig(); - $customExporters = $config->customExporters['cognitive'] ?? []; + $customReporters = $config->customReporters['cognitive'] ?? []; return array_merge( ['json', 'csv', 'html', 'markdown'], - array_keys($customExporters) + array_keys($customReporters) ); } diff --git a/src/Command/ChurnSpecifications/CustomExporterSpecification.php b/src/Command/ChurnSpecifications/CustomExporterSpecification.php index 84bb337..ced6f75 100644 --- a/src/Command/ChurnSpecifications/CustomExporterSpecification.php +++ b/src/Command/ChurnSpecifications/CustomExporterSpecification.php @@ -54,14 +54,14 @@ public function getErrorMessageWithContext(ChurnCommandContext $context): string } $config = $this->configService->getConfig(); - $customExporters = $config->customExporters['churn'] ?? []; + $customReporters = $config->customReporters['churn'] ?? []; - if (!isset($customExporters[$reportType])) { + if (!isset($customReporters[$reportType])) { $supportedTypes = implode('`, `', $this->reportFactory->getSupportedTypes()); return "Custom exporter `{$reportType}` not found in configuration. Supported types: `{$supportedTypes}`"; } - $exporterConfig = $customExporters[$reportType]; + $exporterConfig = $customReporters[$reportType]; $class = $exporterConfig['class'] ?? ''; $file = $exporterConfig['file'] ?? null; @@ -80,13 +80,13 @@ private function validateCustomExporter(string $reportType): bool { try { $config = $this->configService->getConfig(); - $customExporters = $config->customExporters['churn'] ?? []; + $customReporters = $config->customReporters['churn'] ?? []; - if (!isset($customExporters[$reportType])) { + if (!isset($customReporters[$reportType])) { return false; } - $exporterConfig = $customExporters[$reportType]; + $exporterConfig = $customReporters[$reportType]; $class = $exporterConfig['class'] ?? ''; $file = $exporterConfig['file'] ?? null; diff --git a/src/Command/CognitiveMetricsSpecifications/CustomExporterValidationSpecification.php b/src/Command/CognitiveMetricsSpecifications/CustomExporterValidationSpecification.php index 0211e4b..b5e619d 100644 --- a/src/Command/CognitiveMetricsSpecifications/CustomExporterValidationSpecification.php +++ b/src/Command/CognitiveMetricsSpecifications/CustomExporterValidationSpecification.php @@ -54,14 +54,14 @@ public function getErrorMessageWithContext(CognitiveMetricsCommandContext $conte } $config = $this->configService->getConfig(); - $customExporters = $config->customExporters['cognitive'] ?? []; + $customReporters = $config->customReporters['cognitive'] ?? []; - if (!isset($customExporters[$reportType])) { + if (!isset($customReporters[$reportType])) { $supportedTypes = implode('`, `', $this->reportFactory->getSupportedTypes()); return "Custom exporter `{$reportType}` not found in configuration. Supported types: `{$supportedTypes}`"; } - $exporterConfig = $customExporters[$reportType]; + $exporterConfig = $customReporters[$reportType]; $class = $exporterConfig['class'] ?? ''; $file = $exporterConfig['file'] ?? null; @@ -80,13 +80,13 @@ private function validateCustomExporter(string $reportType): bool { try { $config = $this->configService->getConfig(); - $customExporters = $config->customExporters['cognitive'] ?? []; + $customReporters = $config->customReporters['cognitive'] ?? []; - if (!isset($customExporters[$reportType])) { + if (!isset($customReporters[$reportType])) { return false; } - $exporterConfig = $customExporters[$reportType]; + $exporterConfig = $customReporters[$reportType]; $class = $exporterConfig['class'] ?? ''; $file = $exporterConfig['file'] ?? null; diff --git a/src/Config/CognitiveConfig.php b/src/Config/CognitiveConfig.php index a346411..6ec5d33 100644 --- a/src/Config/CognitiveConfig.php +++ b/src/Config/CognitiveConfig.php @@ -13,7 +13,7 @@ class CognitiveConfig * @param array $excludeFilePatterns * @param array $excludePatterns * @param array $metrics - * @param array> $customExporters + * @param array> $customReporters * @SuppressWarnings("PHPMD.ExcessiveParameterList") */ public function __construct( @@ -26,7 +26,7 @@ public function __construct( public readonly bool $showCyclomaticComplexity = false, public readonly bool $groupByClass = false, public readonly bool $showDetailedCognitiveMetrics = true, - public readonly array $customExporters = [], + public readonly array $customReporters = [], ) { } } diff --git a/src/Config/ConfigFactory.php b/src/Config/ConfigFactory.php index 3ad0213..55876b4 100644 --- a/src/Config/ConfigFactory.php +++ b/src/Config/ConfigFactory.php @@ -30,7 +30,7 @@ public function fromArray(array $config): CognitiveConfig showCyclomaticComplexity: $config['cognitive']['showCyclomaticComplexity'] ?? false, groupByClass: $config['cognitive']['groupByClass'] ?? true, showDetailedCognitiveMetrics: $config['cognitive']['showDetailedCognitiveMetrics'] ?? true, - customExporters: $config['cognitive']['customExporters'] ?? [] + customReporters: $config['cognitive']['customReporters'] ?? [] ); } } diff --git a/src/Config/ConfigLoader.php b/src/Config/ConfigLoader.php index 39fae95..7834c5f 100644 --- a/src/Config/ConfigLoader.php +++ b/src/Config/ConfigLoader.php @@ -132,7 +132,7 @@ public function getConfigTreeBuilder(): TreeBuilder }) ->end() ->end() - ->arrayNode('customExporters') + ->arrayNode('customReporters') ->children() ->arrayNode('cognitive') ->useAttributeAsKey('name') diff --git a/tests/Fixtures/config-aware-churn-reporter-config.yml b/tests/Fixtures/config-aware-churn-reporter-config.yml index 0e467c2..b0029c9 100644 --- a/tests/Fixtures/config-aware-churn-reporter-config.yml +++ b/tests/Fixtures/config-aware-churn-reporter-config.yml @@ -12,7 +12,7 @@ cognitive: threshold: 60 scale: 25.0 enabled: true - customExporters: + customReporters: churn: configchurn: class: 'Phauthentic\CognitiveCodeAnalysis\Tests\Fixtures\CustomReporters\ConfigAwareChurnTextReporter' diff --git a/tests/Fixtures/config-aware-text-reporter-config.yml b/tests/Fixtures/config-aware-text-reporter-config.yml index 1c62927..532cf17 100644 --- a/tests/Fixtures/config-aware-text-reporter-config.yml +++ b/tests/Fixtures/config-aware-text-reporter-config.yml @@ -12,7 +12,7 @@ cognitive: threshold: 60 scale: 25.0 enabled: true - customExporters: + customReporters: cognitive: configtext: class: 'Tests\Fixtures\CustomReporters\ConfigAwareTextReporter' diff --git a/tests/Fixtures/config-exporter-config.yml b/tests/Fixtures/config-exporter-config.yml index 86a561e..eb88f61 100644 --- a/tests/Fixtures/config-exporter-config.yml +++ b/tests/Fixtures/config-exporter-config.yml @@ -12,7 +12,7 @@ cognitive: threshold: 60 scale: 25.0 enabled: true - customExporters: + customReporters: cognitive: config: class: 'TestConfigExporter\ConfigExporter' diff --git a/tests/Fixtures/custom-churn-exporter-config.yml b/tests/Fixtures/custom-churn-exporter-config.yml index 3e3982d..196f73c 100644 --- a/tests/Fixtures/custom-churn-exporter-config.yml +++ b/tests/Fixtures/custom-churn-exporter-config.yml @@ -12,7 +12,7 @@ cognitive: threshold: 60 scale: 25.0 enabled: true - customExporters: + customReporters: churn: custom: class: 'Phauthentic\CognitiveCodeAnalysis\Business\Churn\Report\JsonReport' diff --git a/tests/Fixtures/custom-churn-text-reporter-config.yml b/tests/Fixtures/custom-churn-text-reporter-config.yml index 956fa40..081ae47 100644 --- a/tests/Fixtures/custom-churn-text-reporter-config.yml +++ b/tests/Fixtures/custom-churn-text-reporter-config.yml @@ -12,7 +12,7 @@ cognitive: threshold: 60 scale: 25.0 enabled: true - customExporters: + customReporters: churn: customchurn: class: 'Phauthentic\CognitiveCodeAnalysis\Tests\Fixtures\CustomReporters\CustomChurnTextReporter' diff --git a/tests/Fixtures/custom-cognitive-exporter-config.yml b/tests/Fixtures/custom-cognitive-exporter-config.yml index 30f9065..8304c55 100644 --- a/tests/Fixtures/custom-cognitive-exporter-config.yml +++ b/tests/Fixtures/custom-cognitive-exporter-config.yml @@ -12,7 +12,7 @@ cognitive: threshold: 60 scale: 25.0 enabled: true - customExporters: + customReporters: cognitive: custom: class: 'Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\Report\JsonReport' diff --git a/tests/Fixtures/custom-exporters-config.yml b/tests/Fixtures/custom-exporters-config.yml index cfac2c6..61bfa9e 100644 --- a/tests/Fixtures/custom-exporters-config.yml +++ b/tests/Fixtures/custom-exporters-config.yml @@ -12,7 +12,7 @@ cognitive: threshold: 60 scale: 25.0 enabled: true - customExporters: + customReporters: cognitive: test: class: 'Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\Report\JsonReport' diff --git a/tests/Fixtures/custom-text-reporter-config.yml b/tests/Fixtures/custom-text-reporter-config.yml index b4ad6ba..1aab439 100644 --- a/tests/Fixtures/custom-text-reporter-config.yml +++ b/tests/Fixtures/custom-text-reporter-config.yml @@ -12,7 +12,7 @@ cognitive: threshold: 60 scale: 25.0 enabled: true - customExporters: + customReporters: cognitive: customtext: class: 'Tests\Fixtures\CustomReporters\CustomTextReporter' diff --git a/tests/Fixtures/invalid-custom-exporter-config.yml b/tests/Fixtures/invalid-custom-exporter-config.yml index 78bf899..6c15920 100644 --- a/tests/Fixtures/invalid-custom-exporter-config.yml +++ b/tests/Fixtures/invalid-custom-exporter-config.yml @@ -12,7 +12,7 @@ cognitive: threshold: 60 scale: 25.0 enabled: true - customExporters: + customReporters: cognitive: invalid: class: 'NonExistent\Exporter' diff --git a/tests/Unit/Business/Churn/Report/ChurnReporterFactoryCustomTest.php b/tests/Unit/Business/Churn/Report/ChurnReporterFactoryCustomTest.php index 872acb3..d50986a 100644 --- a/tests/Unit/Business/Churn/Report/ChurnReporterFactoryCustomTest.php +++ b/tests/Unit/Business/Churn/Report/ChurnReporterFactoryCustomTest.php @@ -22,10 +22,10 @@ class ChurnReporterFactoryCustomTest extends TestCase /** * @throws Exception */ - private function createMockConfigService(array $customExporters = []): ConfigService&MockObject + private function createMockConfigService(array $customReporters = []): ConfigService&MockObject { // Create TestCognitiveConfig with the custom exporters - $config = new TestCognitiveConfig(customExporters: ['churn' => $customExporters]); + $config = new TestCognitiveConfig(customReporters: ['churn' => $customReporters]); $configService = $this->createMock(ConfigService::class); $configService->method('getConfig')->willReturn($config); @@ -65,14 +65,14 @@ public function export(ChurnMetricsCollection $metrics, string $filename): void file_put_contents($tempFile, $classContent); try { - $customExporters = [ + $customReporters = [ 'custom' => [ 'class' => 'TestCustomChurn\CustomChurnExporter', 'file' => $tempFile ] ]; - $factory = new ChurnReportFactory($this->createMockConfigService($customExporters)); + $factory = new ChurnReportFactory($this->createMockConfigService($customReporters)); $exporter = $factory->create('custom'); $this->assertInstanceOf(ReportGeneratorInterface::class, $exporter); @@ -103,14 +103,14 @@ public function export(ChurnMetricsCollection $metrics, string $filename): void require_once $tempFile; try { - $customExporters = [ + $customReporters = [ 'autoloaded' => [ 'class' => 'TestAutoloadedChurn\AutoloadedChurnExporter', 'file' => null ] ]; - $factory = new ChurnReportFactory($this->createMockConfigService($customExporters)); + $factory = new ChurnReportFactory($this->createMockConfigService($customReporters)); $exporter = $factory->create('autoloaded'); $this->assertInstanceOf(ReportGeneratorInterface::class, $exporter); @@ -134,7 +134,7 @@ public function testCreateUnsupportedExporter(): void #[Test] public function testGetSupportedTypesIncludesCustomExporters(): void { - $customExporters = [ + $customReporters = [ 'custom1' => [ 'class' => 'TestCustom1\Exporter', 'file' => null @@ -145,7 +145,7 @@ public function testGetSupportedTypesIncludesCustomExporters(): void ] ]; - $factory = new ChurnReportFactory($this->createMockConfigService($customExporters)); + $factory = new ChurnReportFactory($this->createMockConfigService($customReporters)); $supportedTypes = $factory->getSupportedTypes(); $expectedBuiltInTypes = ['json', 'csv', 'html', 'markdown', 'svg-treemap', 'svg']; @@ -163,14 +163,14 @@ public function testGetSupportedTypesIncludesCustomExporters(): void #[Test] public function testIsSupportedWithCustomExporters(): void { - $customExporters = [ + $customReporters = [ 'custom' => [ 'class' => 'TestCustom\Exporter', 'file' => null ] ]; - $factory = new ChurnReportFactory($this->createMockConfigService($customExporters)); + $factory = new ChurnReportFactory($this->createMockConfigService($customReporters)); $this->assertTrue($factory->isSupported('json')); $this->assertTrue($factory->isSupported('custom')); @@ -195,14 +195,14 @@ public function export(array $classes, string $filename): void { file_put_contents($tempFile, $classContent); try { - $customExporters = [ + $customReporters = [ 'invalid' => [ 'class' => 'TestInvalidChurn\InvalidChurnExporter', 'file' => $tempFile ] ]; - $factory = new ChurnReportFactory($this->createMockConfigService($customExporters)); + $factory = new ChurnReportFactory($this->createMockConfigService($customReporters)); $this->expectException(CognitiveAnalysisException::class); $this->expectExceptionMessage('Exporter must implement Phauthentic\CognitiveCodeAnalysis\Business\Churn\Report\ReportGeneratorInterface'); @@ -216,14 +216,14 @@ public function export(array $classes, string $filename): void { #[Test] public function testCustomExporterWithNonExistentFile(): void { - $customExporters = [ + $customReporters = [ 'missing' => [ 'class' => 'TestMissing\Exporter', 'file' => '/non/existent/file.php' ] ]; - $factory = new ChurnReportFactory($this->createMockConfigService($customExporters)); + $factory = new ChurnReportFactory($this->createMockConfigService($customReporters)); $this->expectException(CognitiveAnalysisException::class); $this->expectExceptionMessage('Exporter file not found: /non/existent/file.php'); diff --git a/tests/Unit/Business/Churn/Report/TestCognitiveConfig.php b/tests/Unit/Business/Churn/Report/TestCognitiveConfig.php index 3a9a8a1..3531074 100644 --- a/tests/Unit/Business/Churn/Report/TestCognitiveConfig.php +++ b/tests/Unit/Business/Churn/Report/TestCognitiveConfig.php @@ -21,7 +21,7 @@ public function __construct( bool $showCyclomaticComplexity = false, bool $groupByClass = false, bool $showDetailedCognitiveMetrics = true, - array $customExporters = [] + array $customReporters = [] ) { parent::__construct( excludeFilePatterns: $excludeFilePatterns, @@ -33,7 +33,7 @@ public function __construct( showCyclomaticComplexity: $showCyclomaticComplexity, groupByClass: $groupByClass, showDetailedCognitiveMetrics: $showDetailedCognitiveMetrics, - customExporters: $customExporters + customReporters: $customReporters ); } } diff --git a/tests/Unit/Business/Cognitive/Report/CognitiveReporterFactoryCustomTest.php b/tests/Unit/Business/Cognitive/Report/CognitiveReporterFactoryCustomTest.php index a0c9e4e..b7d7165 100644 --- a/tests/Unit/Business/Cognitive/Report/CognitiveReporterFactoryCustomTest.php +++ b/tests/Unit/Business/Cognitive/Report/CognitiveReporterFactoryCustomTest.php @@ -33,7 +33,7 @@ protected function setUp(): void ); } - private function createMockConfigService(array $customExporters = []): ConfigService&MockObject + private function createMockConfigService(array $customReporters = []): ConfigService&MockObject { $config = new CognitiveConfig( excludeFilePatterns: [], @@ -41,7 +41,7 @@ private function createMockConfigService(array $customExporters = []): ConfigSer metrics: [], showOnlyMethodsExceedingThreshold: false, scoreThreshold: 0.5, - customExporters: ['cognitive' => $customExporters] + customReporters: ['cognitive' => $customReporters] ); $configService = $this->createMock(ConfigService::class); @@ -92,14 +92,14 @@ public function export(CognitiveMetricsCollection $metrics, string $filename): v file_put_contents($tempFile, $classContent); try { - $customExporters = [ + $customReporters = [ 'custom' => [ 'class' => 'TestCustomCognitive\CustomCognitiveExporter', 'file' => $tempFile, ] ]; - $factory = new CognitiveReportFactory($this->createMockConfigService($customExporters)); + $factory = new CognitiveReportFactory($this->createMockConfigService($customReporters)); $exporter = $factory->create('custom'); $this->assertInstanceOf(ReportGeneratorInterface::class, $exporter); @@ -136,14 +136,14 @@ public function export(CognitiveMetricsCollection $metrics, string $filename): v file_put_contents($tempFile, $classContent); try { - $customExporters = [ + $customReporters = [ 'config' => [ 'class' => 'TestConfigCognitive\ConfigCognitiveExporter', 'file' => $tempFile, ] ]; - $factory = new CognitiveReportFactory($this->createMockConfigService($customExporters)); + $factory = new CognitiveReportFactory($this->createMockConfigService($customReporters)); $exporter = $factory->create('config'); $this->assertInstanceOf(ReportGeneratorInterface::class, $exporter); @@ -174,14 +174,14 @@ public function export(CognitiveMetricsCollection $metrics, string $filename): v require_once $tempFile; try { - $customExporters = [ + $customReporters = [ 'autoloaded' => [ 'class' => 'TestAutoloadedCognitive\AutoloadedCognitiveExporter', 'file' => null, ] ]; - $factory = new CognitiveReportFactory($this->createMockConfigService($customExporters)); + $factory = new CognitiveReportFactory($this->createMockConfigService($customReporters)); $exporter = $factory->create('autoloaded'); $this->assertInstanceOf(ReportGeneratorInterface::class, $exporter); @@ -205,7 +205,7 @@ public function testCreateUnsupportedExporter(): void #[Test] public function testGetSupportedTypesIncludesCustomExporters(): void { - $customExporters = [ + $customReporters = [ 'custom1' => [ 'class' => 'TestCustom1\Exporter', 'file' => null, @@ -217,7 +217,7 @@ public function testGetSupportedTypesIncludesCustomExporters(): void ] ]; - $factory = new CognitiveReportFactory($this->createMockConfigService($customExporters)); + $factory = new CognitiveReportFactory($this->createMockConfigService($customReporters)); $supportedTypes = $factory->getSupportedTypes(); $expectedBuiltInTypes = ['json', 'csv', 'html', 'markdown']; @@ -235,7 +235,7 @@ public function testGetSupportedTypesIncludesCustomExporters(): void #[Test] public function testIsSupportedWithCustomExporters(): void { - $customExporters = [ + $customReporters = [ 'custom' => [ 'class' => 'TestCustom\Exporter', 'file' => null, @@ -243,7 +243,7 @@ public function testIsSupportedWithCustomExporters(): void ] ]; - $factory = new CognitiveReportFactory($this->createMockConfigService($customExporters)); + $factory = new CognitiveReportFactory($this->createMockConfigService($customReporters)); $this->assertTrue($factory->isSupported('json')); $this->assertTrue($factory->isSupported('custom')); @@ -268,14 +268,14 @@ public function export($metrics, $filename): void { file_put_contents($tempFile, $classContent); try { - $customExporters = [ + $customReporters = [ 'invalid' => [ 'class' => 'TestInvalidCognitive\InvalidCognitiveExporter', 'file' => $tempFile, ] ]; - $factory = new CognitiveReportFactory($this->createMockConfigService($customExporters)); + $factory = new CognitiveReportFactory($this->createMockConfigService($customReporters)); $this->expectException(\Phauthentic\CognitiveCodeAnalysis\CognitiveAnalysisException::class); $this->expectExceptionMessage('Exporter must implement Phauthentic\CognitiveCodeAnalysis\Business\Cognitive\Report\ReportGeneratorInterface'); @@ -289,7 +289,7 @@ public function export($metrics, $filename): void { #[Test] public function testCustomExporterWithNonExistentFile(): void { - $customExporters = [ + $customReporters = [ 'missing' => [ 'class' => 'TestMissing\Exporter', 'file' => '/non/existent/file.php', @@ -297,7 +297,7 @@ public function testCustomExporterWithNonExistentFile(): void ] ]; - $factory = new CognitiveReportFactory($this->createMockConfigService($customExporters)); + $factory = new CognitiveReportFactory($this->createMockConfigService($customReporters)); $this->expectException(\Phauthentic\CognitiveCodeAnalysis\CognitiveAnalysisException::class); $this->expectExceptionMessage('Exporter file not found: /non/existent/file.php'); @@ -332,7 +332,7 @@ public function export(CognitiveMetricsCollection $metrics, string $filename): v file_put_contents($tempFile, $classContent); try { - $customExporters = [ + $customReporters = [ 'nullconfig' => [ 'class' => 'TestNullConfigCognitive\NullConfigCognitiveExporter', 'file' => $tempFile, @@ -340,7 +340,7 @@ public function export(CognitiveMetricsCollection $metrics, string $filename): v ] ]; - $factory = new CognitiveReportFactory($this->createMockConfigService($customExporters)); + $factory = new CognitiveReportFactory($this->createMockConfigService($customReporters)); $exporter = $factory->create('nullconfig'); $this->assertInstanceOf(ReportGeneratorInterface::class, $exporter); diff --git a/tests/Unit/Business/MetricsFacadeCustomExportersTest.php b/tests/Unit/Business/MetricsFacadeCustomExportersTest.php index 0d7b4b2..b9076c1 100644 --- a/tests/Unit/Business/MetricsFacadeCustomExportersTest.php +++ b/tests/Unit/Business/MetricsFacadeCustomExportersTest.php @@ -33,10 +33,10 @@ public function testMetricsFacadeWithCustomExporters(): void $config = $this->metricsFacade->getConfig(); $this->assertInstanceOf(CognitiveConfig::class, $config); - $this->assertArrayHasKey('cognitive', $config->customExporters); - $this->assertArrayHasKey('churn', $config->customExporters); - $this->assertArrayHasKey('test', $config->customExporters['cognitive']); - $this->assertArrayHasKey('test', $config->customExporters['churn']); + $this->assertArrayHasKey('cognitive', $config->customReporters); + $this->assertArrayHasKey('churn', $config->customReporters); + $this->assertArrayHasKey('test', $config->customReporters['cognitive']); + $this->assertArrayHasKey('test', $config->customReporters['churn']); } #[Test] diff --git a/tests/Unit/Config/CustomExportersConfigTest.php b/tests/Unit/Config/CustomExportersConfigTest.php index c7a4f95..b94235c 100644 --- a/tests/Unit/Config/CustomExportersConfigTest.php +++ b/tests/Unit/Config/CustomExportersConfigTest.php @@ -41,7 +41,7 @@ public function testCustomExportersConfiguration(): void 'enabled' => true ] ], - 'customExporters' => [ + 'customReporters' => [ 'cognitive' => [ 'pdf' => [ 'class' => 'My\Custom\PdfExporter', @@ -65,12 +65,12 @@ public function testCustomExportersConfiguration(): void $processedConfig = $processor->process($configTree, [$config]); $this->assertArrayHasKey('cognitive', $processedConfig); - $this->assertArrayHasKey('customExporters', $processedConfig['cognitive']); - $this->assertArrayHasKey('cognitive', $processedConfig['cognitive']['customExporters']); - $this->assertArrayHasKey('churn', $processedConfig['cognitive']['customExporters']); + $this->assertArrayHasKey('customReporters', $processedConfig['cognitive']); + $this->assertArrayHasKey('cognitive', $processedConfig['cognitive']['customReporters']); + $this->assertArrayHasKey('churn', $processedConfig['cognitive']['customReporters']); // Test cognitive exporters - $cognitiveExporters = $processedConfig['cognitive']['customExporters']['cognitive']; + $cognitiveExporters = $processedConfig['cognitive']['customReporters']['cognitive']; $this->assertArrayHasKey('pdf', $cognitiveExporters); $this->assertArrayHasKey('xml', $cognitiveExporters); @@ -81,7 +81,7 @@ public function testCustomExportersConfiguration(): void $this->assertNull($cognitiveExporters['xml']['file']); // Test churn exporters - $churnExporters = $processedConfig['cognitive']['customExporters']['churn']; + $churnExporters = $processedConfig['cognitive']['customReporters']['churn']; $this->assertArrayHasKey('custom', $churnExporters); $this->assertEquals('My\Custom\ChurnExporter', $churnExporters['custom']['class']); $this->assertEquals('/path/to/ChurnExporter.php', $churnExporters['custom']['file']); @@ -112,7 +112,7 @@ public function testCustomExportersWithDefaults(): void 'enabled' => true ] ], - 'customExporters' => [ + 'customReporters' => [ 'cognitive' => [ 'minimal' => [ 'class' => 'My\Custom\MinimalExporter' @@ -125,7 +125,7 @@ public function testCustomExportersWithDefaults(): void $processedConfig = $processor->process($configTree, [$config]); - $cognitiveExporters = $processedConfig['cognitive']['customExporters']['cognitive']; + $cognitiveExporters = $processedConfig['cognitive']['customReporters']['cognitive']; $this->assertArrayHasKey('minimal', $cognitiveExporters); $this->assertEquals('My\Custom\MinimalExporter', $cognitiveExporters['minimal']['class']); $this->assertNull($cognitiveExporters['minimal']['file']); @@ -156,7 +156,7 @@ public function testEmptyCustomExporters(): void 'enabled' => true ] ] - // No customExporters section + // No customReporters section ] ]; @@ -164,15 +164,15 @@ public function testEmptyCustomExporters(): void $this->assertArrayHasKey('cognitive', $processedConfig); - // customExporters might not be present if not provided - if (!isset($processedConfig['cognitive']['customExporters'])) { + // customReporters might not be present if not provided + if (!isset($processedConfig['cognitive']['customReporters'])) { return; } - $this->assertArrayHasKey('cognitive', $processedConfig['cognitive']['customExporters']); - $this->assertArrayHasKey('churn', $processedConfig['cognitive']['customExporters']); - $this->assertEmpty($processedConfig['cognitive']['customExporters']['cognitive']); - $this->assertEmpty($processedConfig['cognitive']['customExporters']['churn']); + $this->assertArrayHasKey('cognitive', $processedConfig['cognitive']['customReporters']); + $this->assertArrayHasKey('churn', $processedConfig['cognitive']['customReporters']); + $this->assertEmpty($processedConfig['cognitive']['customReporters']['cognitive']); + $this->assertEmpty($processedConfig['cognitive']['customReporters']['churn']); } #[Test] @@ -195,7 +195,7 @@ public function testConfigFactoryWithCustomExporters(): void 'enabled' => true ] ], - 'customExporters' => [ + 'customReporters' => [ 'cognitive' => [ 'test' => [ 'class' => 'Test\Exporter', @@ -216,15 +216,15 @@ public function testConfigFactoryWithCustomExporters(): void $cognitiveConfig = $configFactory->fromArray($config); $this->assertInstanceOf(CognitiveConfig::class, $cognitiveConfig); - $this->assertArrayHasKey('cognitive', $cognitiveConfig->customExporters); - $this->assertArrayHasKey('churn', $cognitiveConfig->customExporters); + $this->assertArrayHasKey('cognitive', $cognitiveConfig->customReporters); + $this->assertArrayHasKey('churn', $cognitiveConfig->customReporters); - $cognitiveExporters = $cognitiveConfig->customExporters['cognitive']; + $cognitiveExporters = $cognitiveConfig->customReporters['cognitive']; $this->assertArrayHasKey('test', $cognitiveExporters); $this->assertEquals('Test\Exporter', $cognitiveExporters['test']['class']); $this->assertEquals('/test/file.php', $cognitiveExporters['test']['file']); - $churnExporters = $cognitiveConfig->customExporters['churn']; + $churnExporters = $cognitiveConfig->customReporters['churn']; $this->assertArrayHasKey('test', $churnExporters); $this->assertEquals('Test\ChurnExporter', $churnExporters['test']['class']); $this->assertNull($churnExporters['test']['file']); @@ -250,7 +250,7 @@ public function testConfigFactoryWithoutCustomExporters(): void 'enabled' => true ] ] - // No customExporters section + // No customReporters section ] ]; @@ -258,7 +258,7 @@ public function testConfigFactoryWithoutCustomExporters(): void $cognitiveConfig = $configFactory->fromArray($config); $this->assertInstanceOf(CognitiveConfig::class, $cognitiveConfig); - $this->assertEmpty($cognitiveConfig->customExporters); + $this->assertEmpty($cognitiveConfig->customReporters); } #[Test] @@ -286,7 +286,7 @@ public function testInvalidCustomExporterConfiguration(): void 'enabled' => true ] ], - 'customExporters' => [ + 'customReporters' => [ 'cognitive' => [ 'invalid' => [ // Missing required 'class' field From 27a844b88da10d25172dfc7c8f3fcc855fa61b39 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Florian=20Kr=C3=A4mer?= Date: Tue, 14 Oct 2025 19:32:51 +0200 Subject: [PATCH 21/21] Removing the Specification suffix --- src/Command/ChurnCommand.php | 4 ++-- .../ChurnValidationSpecificationFactory.php | 8 +++---- ...ecification.php => CoverageFileExists.php} | 2 +- ...tion.php => CoverageFormatExclusivity.php} | 2 +- ...cation.php => CoverageFormatSupported.php} | 2 +- ...erSpecification.php => CustomExporter.php} | 2 +- ...fication.php => ReportOptionsComplete.php} | 2 +- src/Command/CognitiveMetricsCommand.php | 6 ++--- ...eMetricsValidationSpecificationFactory.php | 10 ++++---- ...ecification.php => CoverageFileExists.php} | 2 +- ...tion.php => CoverageFormatExclusivity.php} | 2 +- ...cation.php => CoverageFormatSupported.php} | 2 +- ...ation.php => CustomExporterValidation.php} | 2 +- ...idSpecification.php => SortFieldValid.php} | 2 +- ...idSpecification.php => SortOrderValid.php} | 2 +- .../ChurnSpecificationPatternTest.php | 14 +++++------ ...gnitiveMetricsSpecificationPatternTest.php | 24 +++++++++---------- 17 files changed, 44 insertions(+), 44 deletions(-) rename src/Command/ChurnSpecifications/{CoverageFileExistsSpecification.php => CoverageFileExists.php} (88%) rename src/Command/ChurnSpecifications/{CoverageFormatExclusivitySpecification.php => CoverageFormatExclusivity.php} (82%) rename src/Command/ChurnSpecifications/{CoverageFormatSupportedSpecification.php => CoverageFormatSupported.php} (88%) rename src/Command/ChurnSpecifications/{CustomExporterSpecification.php => CustomExporter.php} (98%) rename src/Command/ChurnSpecifications/{ReportOptionsCompleteSpecification.php => ReportOptionsComplete.php} (88%) rename src/Command/CognitiveMetricsSpecifications/{CoverageFileExistsSpecification.php => CoverageFileExists.php} (88%) rename src/Command/CognitiveMetricsSpecifications/{CoverageFormatExclusivitySpecification.php => CoverageFormatExclusivity.php} (83%) rename src/Command/CognitiveMetricsSpecifications/{CoverageFormatSupportedSpecification.php => CoverageFormatSupported.php} (88%) rename src/Command/CognitiveMetricsSpecifications/{CustomExporterValidationSpecification.php => CustomExporterValidation.php} (98%) rename src/Command/CognitiveMetricsSpecifications/{SortFieldValidSpecification.php => SortFieldValid.php} (94%) rename src/Command/CognitiveMetricsSpecifications/{SortOrderValidSpecification.php => SortOrderValid.php} (90%) diff --git a/src/Command/ChurnCommand.php b/src/Command/ChurnCommand.php index b20b571..4ba6361 100644 --- a/src/Command/ChurnCommand.php +++ b/src/Command/ChurnCommand.php @@ -15,7 +15,7 @@ use Phauthentic\CognitiveCodeAnalysis\Command\ChurnSpecifications\ChurnCommandContext; use Phauthentic\CognitiveCodeAnalysis\Command\ChurnSpecifications\CompositeChurnSpecification; use Phauthentic\CognitiveCodeAnalysis\Command\ChurnSpecifications\ChurnValidationSpecificationFactory; -use Phauthentic\CognitiveCodeAnalysis\Command\ChurnSpecifications\CustomExporterSpecification; +use Phauthentic\CognitiveCodeAnalysis\Command\ChurnSpecifications\CustomExporter; use Symfony\Component\Console\Attribute\AsCommand; use Symfony\Component\Console\Command\Command; use Symfony\Component\Console\Input\InputArgument; @@ -144,7 +144,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int // Validate custom exporters after config is loaded if ($context->hasReportOptions()) { - $customExporterValidation = new CustomExporterSpecification( + $customExporterValidation = new CustomExporter( $this->report->getReportFactory(), $this->report->getConfigService() ); diff --git a/src/Command/ChurnSpecifications/ChurnValidationSpecificationFactory.php b/src/Command/ChurnSpecifications/ChurnValidationSpecificationFactory.php index 0dd7ab3..18fb319 100644 --- a/src/Command/ChurnSpecifications/ChurnValidationSpecificationFactory.php +++ b/src/Command/ChurnSpecifications/ChurnValidationSpecificationFactory.php @@ -12,10 +12,10 @@ class ChurnValidationSpecificationFactory public function create(): CompositeChurnSpecification { return new CompositeChurnSpecification([ - new CoverageFormatExclusivitySpecification(), - new CoverageFileExistsSpecification(), - new CoverageFormatSupportedSpecification(), - new ReportOptionsCompleteSpecification(), + new CoverageFormatExclusivity(), + new CoverageFileExists(), + new CoverageFormatSupported(), + new ReportOptionsComplete(), ]); } } diff --git a/src/Command/ChurnSpecifications/CoverageFileExistsSpecification.php b/src/Command/ChurnSpecifications/CoverageFileExists.php similarity index 88% rename from src/Command/ChurnSpecifications/CoverageFileExistsSpecification.php rename to src/Command/ChurnSpecifications/CoverageFileExists.php index 3bd37f9..af586d2 100644 --- a/src/Command/ChurnSpecifications/CoverageFileExistsSpecification.php +++ b/src/Command/ChurnSpecifications/CoverageFileExists.php @@ -4,7 +4,7 @@ namespace Phauthentic\CognitiveCodeAnalysis\Command\ChurnSpecifications; -class CoverageFileExistsSpecification implements ChurnCommandSpecification +class CoverageFileExists implements ChurnCommandSpecification { public function isSatisfiedBy(ChurnCommandContext $context): bool { diff --git a/src/Command/ChurnSpecifications/CoverageFormatExclusivitySpecification.php b/src/Command/ChurnSpecifications/CoverageFormatExclusivity.php similarity index 82% rename from src/Command/ChurnSpecifications/CoverageFormatExclusivitySpecification.php rename to src/Command/ChurnSpecifications/CoverageFormatExclusivity.php index 7884cbd..89751a2 100644 --- a/src/Command/ChurnSpecifications/CoverageFormatExclusivitySpecification.php +++ b/src/Command/ChurnSpecifications/CoverageFormatExclusivity.php @@ -4,7 +4,7 @@ namespace Phauthentic\CognitiveCodeAnalysis\Command\ChurnSpecifications; -class CoverageFormatExclusivitySpecification implements ChurnCommandSpecification +class CoverageFormatExclusivity implements ChurnCommandSpecification { public function isSatisfiedBy(ChurnCommandContext $context): bool { diff --git a/src/Command/ChurnSpecifications/CoverageFormatSupportedSpecification.php b/src/Command/ChurnSpecifications/CoverageFormatSupported.php similarity index 88% rename from src/Command/ChurnSpecifications/CoverageFormatSupportedSpecification.php rename to src/Command/ChurnSpecifications/CoverageFormatSupported.php index a78735b..240d3a8 100644 --- a/src/Command/ChurnSpecifications/CoverageFormatSupportedSpecification.php +++ b/src/Command/ChurnSpecifications/CoverageFormatSupported.php @@ -4,7 +4,7 @@ namespace Phauthentic\CognitiveCodeAnalysis\Command\ChurnSpecifications; -class CoverageFormatSupportedSpecification implements ChurnCommandSpecification +class CoverageFormatSupported implements ChurnCommandSpecification { public function isSatisfiedBy(ChurnCommandContext $context): bool { diff --git a/src/Command/ChurnSpecifications/CustomExporterSpecification.php b/src/Command/ChurnSpecifications/CustomExporter.php similarity index 98% rename from src/Command/ChurnSpecifications/CustomExporterSpecification.php rename to src/Command/ChurnSpecifications/CustomExporter.php index ced6f75..1395b97 100644 --- a/src/Command/ChurnSpecifications/CustomExporterSpecification.php +++ b/src/Command/ChurnSpecifications/CustomExporter.php @@ -11,7 +11,7 @@ * Validation specification for custom exporters. * Ensures custom exporters are loadable before starting analysis. */ -class CustomExporterSpecification implements ChurnCommandSpecification +class CustomExporter implements ChurnCommandSpecification { public function __construct( private readonly ChurnReportFactoryInterface $reportFactory, diff --git a/src/Command/ChurnSpecifications/ReportOptionsCompleteSpecification.php b/src/Command/ChurnSpecifications/ReportOptionsComplete.php similarity index 88% rename from src/Command/ChurnSpecifications/ReportOptionsCompleteSpecification.php rename to src/Command/ChurnSpecifications/ReportOptionsComplete.php index e68e720..9e0afd0 100644 --- a/src/Command/ChurnSpecifications/ReportOptionsCompleteSpecification.php +++ b/src/Command/ChurnSpecifications/ReportOptionsComplete.php @@ -4,7 +4,7 @@ namespace Phauthentic\CognitiveCodeAnalysis\Command\ChurnSpecifications; -class ReportOptionsCompleteSpecification implements ChurnCommandSpecification +class ReportOptionsComplete implements ChurnCommandSpecification { public function isSatisfiedBy(ChurnCommandContext $context): bool { diff --git a/src/Command/CognitiveMetricsCommand.php b/src/Command/CognitiveMetricsCommand.php index 38eada1..2d9ebab 100644 --- a/src/Command/CognitiveMetricsCommand.php +++ b/src/Command/CognitiveMetricsCommand.php @@ -14,7 +14,7 @@ use Phauthentic\CognitiveCodeAnalysis\Command\CognitiveMetricsSpecifications\CognitiveMetricsCommandContext; use Phauthentic\CognitiveCodeAnalysis\Command\CognitiveMetricsSpecifications\CompositeCognitiveMetricsValidationSpecification; use Phauthentic\CognitiveCodeAnalysis\Command\CognitiveMetricsSpecifications\CognitiveMetricsValidationSpecificationFactory; -use Phauthentic\CognitiveCodeAnalysis\Command\CognitiveMetricsSpecifications\CustomExporterValidationSpecification; +use Phauthentic\CognitiveCodeAnalysis\Command\CognitiveMetricsSpecifications\CustomExporterValidation; use Symfony\Component\Console\Attribute\AsCommand; use Symfony\Component\Console\Command\Command; use Symfony\Component\Console\Input\InputArgument; @@ -150,7 +150,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int // Validate custom exporters after config is loaded if ($context->hasReportOptions()) { - $customExporterValidation = new CustomExporterValidationSpecification( + $customExporterValidation = new CustomExporterValidation( $this->reportHandler->getReportFactory(), $this->reportHandler->getConfigService() ); @@ -205,7 +205,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int private function handleValidationError( CognitiveMetricsCommandContext $context, OutputInterface $output, - ?CustomExporterValidationSpecification $customExporterValidation = null + ?CustomExporterValidation $customExporterValidation = null ): int { $errorMessage = $customExporterValidation !== null ? $customExporterValidation->getErrorMessageWithContext($context) diff --git a/src/Command/CognitiveMetricsSpecifications/CognitiveMetricsValidationSpecificationFactory.php b/src/Command/CognitiveMetricsSpecifications/CognitiveMetricsValidationSpecificationFactory.php index 1ff5e91..c45feb8 100644 --- a/src/Command/CognitiveMetricsSpecifications/CognitiveMetricsValidationSpecificationFactory.php +++ b/src/Command/CognitiveMetricsSpecifications/CognitiveMetricsValidationSpecificationFactory.php @@ -12,11 +12,11 @@ class CognitiveMetricsValidationSpecificationFactory public function create(): CompositeCognitiveMetricsValidationSpecification { return new CompositeCognitiveMetricsValidationSpecification([ - new CoverageFormatExclusivitySpecification(), - new CoverageFileExistsSpecification(), - new CoverageFormatSupportedSpecification(), - new SortFieldValidSpecification(), - new SortOrderValidSpecification(), + new CoverageFormatExclusivity(), + new CoverageFileExists(), + new CoverageFormatSupported(), + new SortFieldValid(), + new SortOrderValid(), ]); } } diff --git a/src/Command/CognitiveMetricsSpecifications/CoverageFileExistsSpecification.php b/src/Command/CognitiveMetricsSpecifications/CoverageFileExists.php similarity index 88% rename from src/Command/CognitiveMetricsSpecifications/CoverageFileExistsSpecification.php rename to src/Command/CognitiveMetricsSpecifications/CoverageFileExists.php index c53e47c..1bd1a9a 100644 --- a/src/Command/CognitiveMetricsSpecifications/CoverageFileExistsSpecification.php +++ b/src/Command/CognitiveMetricsSpecifications/CoverageFileExists.php @@ -4,7 +4,7 @@ namespace Phauthentic\CognitiveCodeAnalysis\Command\CognitiveMetricsSpecifications; -class CoverageFileExistsSpecification implements CognitiveMetricsSpecification +class CoverageFileExists implements CognitiveMetricsSpecification { public function isSatisfiedBy(CognitiveMetricsCommandContext $context): bool { diff --git a/src/Command/CognitiveMetricsSpecifications/CoverageFormatExclusivitySpecification.php b/src/Command/CognitiveMetricsSpecifications/CoverageFormatExclusivity.php similarity index 83% rename from src/Command/CognitiveMetricsSpecifications/CoverageFormatExclusivitySpecification.php rename to src/Command/CognitiveMetricsSpecifications/CoverageFormatExclusivity.php index 611ad29..11f42bb 100644 --- a/src/Command/CognitiveMetricsSpecifications/CoverageFormatExclusivitySpecification.php +++ b/src/Command/CognitiveMetricsSpecifications/CoverageFormatExclusivity.php @@ -4,7 +4,7 @@ namespace Phauthentic\CognitiveCodeAnalysis\Command\CognitiveMetricsSpecifications; -class CoverageFormatExclusivitySpecification implements CognitiveMetricsSpecification +class CoverageFormatExclusivity implements CognitiveMetricsSpecification { public function isSatisfiedBy(CognitiveMetricsCommandContext $context): bool { diff --git a/src/Command/CognitiveMetricsSpecifications/CoverageFormatSupportedSpecification.php b/src/Command/CognitiveMetricsSpecifications/CoverageFormatSupported.php similarity index 88% rename from src/Command/CognitiveMetricsSpecifications/CoverageFormatSupportedSpecification.php rename to src/Command/CognitiveMetricsSpecifications/CoverageFormatSupported.php index 1085a47..4dd7edf 100644 --- a/src/Command/CognitiveMetricsSpecifications/CoverageFormatSupportedSpecification.php +++ b/src/Command/CognitiveMetricsSpecifications/CoverageFormatSupported.php @@ -4,7 +4,7 @@ namespace Phauthentic\CognitiveCodeAnalysis\Command\CognitiveMetricsSpecifications; -class CoverageFormatSupportedSpecification implements CognitiveMetricsSpecification +class CoverageFormatSupported implements CognitiveMetricsSpecification { public function isSatisfiedBy(CognitiveMetricsCommandContext $context): bool { diff --git a/src/Command/CognitiveMetricsSpecifications/CustomExporterValidationSpecification.php b/src/Command/CognitiveMetricsSpecifications/CustomExporterValidation.php similarity index 98% rename from src/Command/CognitiveMetricsSpecifications/CustomExporterValidationSpecification.php rename to src/Command/CognitiveMetricsSpecifications/CustomExporterValidation.php index b5e619d..9dcf04d 100644 --- a/src/Command/CognitiveMetricsSpecifications/CustomExporterValidationSpecification.php +++ b/src/Command/CognitiveMetricsSpecifications/CustomExporterValidation.php @@ -11,7 +11,7 @@ * Validation specification for custom exporters in cognitive metrics command. * Ensures custom exporters are loadable before starting analysis. */ -class CustomExporterValidationSpecification implements CognitiveMetricsSpecification +class CustomExporterValidation implements CognitiveMetricsSpecification { public function __construct( private readonly CognitiveReportFactoryInterface $reportFactory, diff --git a/src/Command/CognitiveMetricsSpecifications/SortFieldValidSpecification.php b/src/Command/CognitiveMetricsSpecifications/SortFieldValid.php similarity index 94% rename from src/Command/CognitiveMetricsSpecifications/SortFieldValidSpecification.php rename to src/Command/CognitiveMetricsSpecifications/SortFieldValid.php index 3202d33..d8b8ef8 100644 --- a/src/Command/CognitiveMetricsSpecifications/SortFieldValidSpecification.php +++ b/src/Command/CognitiveMetricsSpecifications/SortFieldValid.php @@ -4,7 +4,7 @@ namespace Phauthentic\CognitiveCodeAnalysis\Command\CognitiveMetricsSpecifications; -class SortFieldValidSpecification implements CognitiveMetricsSpecification +class SortFieldValid implements CognitiveMetricsSpecification { private const SORTABLE_FIELDS = [ 'score', diff --git a/src/Command/CognitiveMetricsSpecifications/SortOrderValidSpecification.php b/src/Command/CognitiveMetricsSpecifications/SortOrderValid.php similarity index 90% rename from src/Command/CognitiveMetricsSpecifications/SortOrderValidSpecification.php rename to src/Command/CognitiveMetricsSpecifications/SortOrderValid.php index 8f539b6..3df3b98 100644 --- a/src/Command/CognitiveMetricsSpecifications/SortOrderValidSpecification.php +++ b/src/Command/CognitiveMetricsSpecifications/SortOrderValid.php @@ -4,7 +4,7 @@ namespace Phauthentic\CognitiveCodeAnalysis\Command\CognitiveMetricsSpecifications; -class SortOrderValidSpecification implements CognitiveMetricsSpecification +class SortOrderValid implements CognitiveMetricsSpecification { private const VALID_SORT_ORDERS = ['asc', 'desc']; diff --git a/tests/Command/ChurnSpecifications/ChurnSpecificationPatternTest.php b/tests/Command/ChurnSpecifications/ChurnSpecificationPatternTest.php index ff68c0a..4eda900 100644 --- a/tests/Command/ChurnSpecifications/ChurnSpecificationPatternTest.php +++ b/tests/Command/ChurnSpecifications/ChurnSpecificationPatternTest.php @@ -5,8 +5,8 @@ namespace Phauthentic\CognitiveCodeAnalysis\Tests\Command\ChurnSpecifications; use Phauthentic\CognitiveCodeAnalysis\Command\ChurnSpecifications\ChurnCommandContext; -use Phauthentic\CognitiveCodeAnalysis\Command\ChurnSpecifications\CoverageFormatExclusivitySpecification; -use Phauthentic\CognitiveCodeAnalysis\Command\ChurnSpecifications\CoverageFileExistsSpecification; +use Phauthentic\CognitiveCodeAnalysis\Command\ChurnSpecifications\CoverageFormatExclusivity; +use Phauthentic\CognitiveCodeAnalysis\Command\ChurnSpecifications\CoverageFileExists; use Phauthentic\CognitiveCodeAnalysis\Command\ChurnSpecifications\CompositeChurnSpecification; use PHPUnit\Framework\TestCase; use Symfony\Component\Console\Input\ArrayInput; @@ -33,7 +33,7 @@ private function createInput(array $parameters): ArrayInput } public function testCoverageFormatExclusivitySpecification(): void { - $spec = new CoverageFormatExclusivitySpecification(); + $spec = new CoverageFormatExclusivity(); // Test valid case - only cobertura $input1 = $this->createInput([ @@ -64,7 +64,7 @@ public function testCoverageFormatExclusivitySpecification(): void public function testCoverageFileExistsSpecification(): void { - $spec = new CoverageFileExistsSpecification(); + $spec = new CoverageFileExists(); // Test valid case - no coverage file $input1 = $this->createInput(['path' => '/test']); @@ -84,8 +84,8 @@ public function testCoverageFileExistsSpecification(): void public function testCompositeValidationSpecification(): void { $spec = new CompositeChurnSpecification([ - new CoverageFormatExclusivitySpecification(), - new CoverageFileExistsSpecification(), + new CoverageFormatExclusivity(), + new CoverageFileExists(), ]); // Test valid case @@ -103,7 +103,7 @@ public function testCompositeValidationSpecification(): void $this->assertFalse($spec->isSatisfiedBy($context2)); $failedSpec = $spec->getFirstFailedSpecification($context2); - $this->assertInstanceOf(CoverageFormatExclusivitySpecification::class, $failedSpec); + $this->assertInstanceOf(CoverageFormatExclusivity::class, $failedSpec); $this->assertEquals('Only one coverage format can be specified at a time.', $failedSpec->getErrorMessage()); } } diff --git a/tests/Command/CognitiveMetricsSpecifications/CognitiveMetricsSpecificationPatternTest.php b/tests/Command/CognitiveMetricsSpecifications/CognitiveMetricsSpecificationPatternTest.php index ba6597d..225f63f 100644 --- a/tests/Command/CognitiveMetricsSpecifications/CognitiveMetricsSpecificationPatternTest.php +++ b/tests/Command/CognitiveMetricsSpecifications/CognitiveMetricsSpecificationPatternTest.php @@ -5,11 +5,11 @@ namespace Phauthentic\CognitiveCodeAnalysis\Tests\Command\CognitiveMetricsSpecifications; use Phauthentic\CognitiveCodeAnalysis\Command\CognitiveMetricsSpecifications\CognitiveMetricsCommandContext; -use Phauthentic\CognitiveCodeAnalysis\Command\CognitiveMetricsSpecifications\CoverageFormatExclusivitySpecification; -use Phauthentic\CognitiveCodeAnalysis\Command\CognitiveMetricsSpecifications\CoverageFileExistsSpecification; +use Phauthentic\CognitiveCodeAnalysis\Command\CognitiveMetricsSpecifications\CoverageFormatExclusivity; +use Phauthentic\CognitiveCodeAnalysis\Command\CognitiveMetricsSpecifications\CoverageFileExists; use Phauthentic\CognitiveCodeAnalysis\Command\CognitiveMetricsSpecifications\CompositeCognitiveMetricsValidationSpecification; -use Phauthentic\CognitiveCodeAnalysis\Command\CognitiveMetricsSpecifications\SortFieldValidSpecification; -use Phauthentic\CognitiveCodeAnalysis\Command\CognitiveMetricsSpecifications\SortOrderValidSpecification; +use Phauthentic\CognitiveCodeAnalysis\Command\CognitiveMetricsSpecifications\SortFieldValid; +use Phauthentic\CognitiveCodeAnalysis\Command\CognitiveMetricsSpecifications\SortOrderValid; use PHPUnit\Framework\TestCase; use Symfony\Component\Console\Input\ArrayInput; use Symfony\Component\Console\Input\InputDefinition; @@ -37,7 +37,7 @@ private function createInput(array $parameters): ArrayInput } public function testCoverageFormatExclusivitySpecification(): void { - $spec = new CoverageFormatExclusivitySpecification(); + $spec = new CoverageFormatExclusivity(); // Test valid case - only cobertura $input1 = $this->createInput([ @@ -68,7 +68,7 @@ public function testCoverageFormatExclusivitySpecification(): void public function testCoverageFileExistsSpecification(): void { - $spec = new CoverageFileExistsSpecification(); + $spec = new CoverageFileExists(); // Test valid case - no coverage file $input1 = $this->createInput(['path' => '/test']); @@ -87,7 +87,7 @@ public function testCoverageFileExistsSpecification(): void public function testSortFieldValidSpecification(): void { - $spec = new SortFieldValidSpecification(); + $spec = new SortFieldValid(); // Test valid case - no sort field $input1 = $this->createInput(['path' => '/test']); @@ -118,7 +118,7 @@ public function testSortFieldValidSpecification(): void public function testSortOrderValidSpecification(): void { - $spec = new SortOrderValidSpecification(); + $spec = new SortOrderValid(); // Test valid case - asc $input1 = $this->createInput([ @@ -152,9 +152,9 @@ public function testSortOrderValidSpecification(): void public function testCompositeValidationSpecification(): void { $spec = new CompositeCognitiveMetricsValidationSpecification([ - new CoverageFormatExclusivitySpecification(), - new CoverageFileExistsSpecification(), - new SortFieldValidSpecification(), + new CoverageFormatExclusivity(), + new CoverageFileExists(), + new SortFieldValid(), ]); // Test valid case @@ -172,7 +172,7 @@ public function testCompositeValidationSpecification(): void $this->assertFalse($spec->isSatisfiedBy($context2)); $failedSpec = $spec->getFirstFailedSpecification($context2); - $this->assertInstanceOf(CoverageFormatExclusivitySpecification::class, $failedSpec); + $this->assertInstanceOf(CoverageFormatExclusivity::class, $failedSpec); $this->assertEquals('Only one coverage format can be specified at a time.', $failedSpec->getErrorMessage()); // Test detailed error message
formatNumber((float)($data['churn'] ?? 0)); ?>escape($metric->getClassName()); ?>getScore(); ?>getTimesChanged(); ?>formatNumber($metric->getChurn()); ?>